Commit Graph

8146 Commits

Author SHA1 Message Date
Gregory Nutt
1f2428c087 WM8904: Ad the MCLK frequency to the interface definition. The WM8904 driver needs to know this frequency in order to configure the FLL to generate the correct bitrate 2014-08-01 18:37:56 -06:00
Gregory Nutt
7e576e308a WM8904 I2C: Fix an error in writing. I am not sure why this fixes the problem 2014-08-01 18:22:33 -06:00
Gregory Nutt
2ced090bc8 Update ChangeLog 2014-08-01 18:08:16 -06:00
Gregory Nutt
e59bb45b33 Add debug logic to dump WM8904 registers 2014-08-01 18:07:20 -06:00
Gregory Nutt
83dab03576 SAMA5 WM8904: Fix errors in programmable clock output configuration 2014-08-01 15:18:58 -06:00
Gregory Nutt
3bd90f8c74 Update ChangeLog 2014-08-01 14:15:01 -06:00
Gregory Nutt
805a02965c SAMA5 SSC: Start Delay is now configurable 2014-08-01 14:10:37 -06:00
Gregory Nutt
50bd2ba46c SAMA5 SSC: Frame Synch Delay is now configurable 2014-08-01 12:25:31 -06:00
Gregory Nutt
e4e383a106 Update ChangeLog 2014-07-31 19:15:58 -06:00
Gregory Nutt
3e1e15b04a WM8904: Can't reset the WM8904 unless we also reinitiailize all registers. Try to get a saner timeout based on sample rate, bits-per-sample, and buffer size. 2014-07-31 19:14:41 -06:00
Gregory Nutt
0b4090df0d SAMA5D SSC: Needs to account for data offset in audio buffer. 2014-07-31 19:14:24 -06:00
Gregory Nutt
41af511655 Update ChangeLog 2014-07-31 16:39:29 -06:00
Gregory Nutt
e214382264 Audio: Change how the end of the audio stream is detected by the leaf audio component. This used by be done by looking for the first partial buffer. That does not work with the in-place sub-sampling performed by the PCM decoder: That always reduces the size of the buffer so that all buffers only partially filled by the time they get to the leaf. Now, a flag is set in the audio buffer flags set to indicate the final buffer in the stream. 2014-07-31 16:36:09 -06:00
Gregory Nutt
319d07dc69 Update ChangeLog 2014-07-31 15:04:10 -06:00
Gregory Nutt
19abe47a6f sem_wait: Use set_errno() and get_errno(). Direce access inside the OS may not be supported in the future. 2014-07-31 15:01:37 -06:00
Gregory Nutt
487a672d76 WM8904: Was not saving i2s interface instance 2014-07-31 15:00:45 -06:00
Gregory Nutt
e836a974a5 Updated README 2014-07-31 15:00:24 -06:00
Gregory Nutt
1130fbc6d1 Audio: More debug outpu 2014-07-31 15:00:12 -06:00
Gregory Nutt
5074f6cf7e SAMA5D3x-EK NxPlayer: Updated Configuration 2014-07-31 11:32:44 -06:00
Gregory Nutt
49a6c52226 Update ChangeLog 2014-07-31 11:20:12 -06:00
Gregory Nutt
72f43393ed SAMA5D3x-EK: Add a configuration to support the command line NxPlayer. 2014-07-31 11:17:28 -06:00
Gregory Nutt
8450147004 SAMA5D3X-EK: Add support for the WM8904 audio CODEC 2014-07-31 11:15:52 -06:00
Gregory Nutt
c657139b30 SAMA5D3X-EK: Add support for the WM8904 audio CODEC 2014-07-31 11:14:57 -06:00
Gregory Nutt
78ffe6df56 SAMA5D3X-EK NSH: Refresh configuration 2014-07-31 11:13:10 -06:00
Gregory Nutt
24af676c05 SAMA5: Changes needed for a clean SAMA5D3 build after all of the recent SAMA5D4 changes. 2014-07-31 11:09:56 -06:00
Gregory Nutt
0ad5d9f85d Add short document for running the NxWM demo 2014-07-31 08:18:07 -06:00
Gregory Nutt
2bdb126d2c SAMA5D4-EK NxWM: The USB keyboard is now the default input device 2014-07-30 17:37:02 -06:00
Gregory Nutt
e9c92d702a Update ChangeLog 2014-07-30 17:03:31 -06:00
Gregory Nutt
f91c608d4c dd support for a USB keyboard as the NxConsole and text widget input. Not fully functional as of this initial check-in. Basic functionality is there, but there are conditions were the keyboard gets lost. 2014-07-30 17:01:51 -06:00
Gregory Nutt
376a7bcc12 Costmetic: Update TODO list, README files, refreshed configuration, updated comments 2014-07-30 14:26:50 -06:00
Gregory Nutt
a422cd951b Update ChangeLog 2014-07-30 11:22:42 -06:00
Gregory Nutt
276cc44878 SAMA5 HSMCI: e-enable TX DMA and verify that DMA writes to the SD card are functional. They are so now TX DMA is re-enabled in the driver. This might affect the SAMA5D3 platforms where the TX DMA problem was found. The SAMA4D3 and 4 use the same HSMCI driver. Much has change since then and it is not surprising that DMA is now functional. However, the has not be re-verified on the SAMA5D3 which has a different DMA controller. 2014-07-30 11:20:06 -06:00
Gregory Nutt
bb06d31038 Auto-mounter: Fix state setting. Not harmful other than it can cause a debug assertion to fire if you manually unmount the media before removing it which is, of course, what you are supposed to do. 2014-07-30 11:05:08 -06:00
Gregory Nutt
f492e0f094 Update ChangeLog 2014-07-30 10:20:56 -06:00
Gregory Nutt
4df0fbec04 SAMA5D HSMCI: Fix a problem on card insertion/removal callback handling. Interrupts were being disable so that the callbacks occurred with interrupts disabled. This resulted in loss of some interrupts and some not-so-good behaviors. The solution is to perform all callbacks on the work thread unconditionally (2014-7-29). 2014-07-30 10:19:41 -06:00
Gregory Nutt
9c80dfb31c Updated README file, cosmetic changes to comments and debug output 2014-07-30 10:19:09 -06:00
Gregory Nutt
fd98a31014 Update ChangeLog 2014-07-29 21:15:02 -06:00
Gregory Nutt
70be3bae16 SAMA5D HSMCI: Add method to do RX transfer without DMA. The 8-byte SCR transfer was failing silently with the DMA transfer, leaving the SD card in single bit mode 2014-07-29 21:13:28 -06:00
Gregory Nutt
be8fe9a311 Costmetic update to comments 2014-07-29 20:03:52 -06:00
Gregory Nutt
941df0945a Update TODO listi and README 2014-07-29 20:02:34 -06:00
Gregory Nutt
d5fa0ab153 Update ChangeLog 2014-07-29 16:39:18 -06:00
Gregory Nutt
a826adb679 The SAMA5D4-EK NSH and NxWM configurations now have the auto-mounter configured to automatically mount the FAT file system on HSMCI0 at /mnt/sdcard 2014-07-29 16:36:15 -06:00
Gregory Nutt
3d49eadc80 Cosmetic updates to comments and README files and some naming 2014-07-29 16:35:47 -06:00
Gregory Nutt
d547e59767 Minor warning/latent bug clean-up of auto-mounter logic 2014-07-29 16:35:17 -06:00
Gregory Nutt
adbc8df0f1 Update ChangeLog 2014-07-29 15:35:26 -06:00
Gregory Nutt
7b1b915226 SAMA5D4: Add auto-mounter support for HSMCI0 2014-07-29 15:34:31 -06:00
Gregory Nutt
31d21640af Update the automounter so that it will handle the initial insertion state 2014-07-29 13:00:35 -06:00
Gregory Nutt
35d8e3bfcb Update ChangeLog 2014-07-29 12:52:21 -06:00
Gregory Nutt
8e506be4dd Add support for an automounter that will automatically mount and unmount a file system a media is inserted and removed 2014-07-29 12:50:08 -06:00
Gregory Nutt
b7227f0088 Cosmetic changes, mostly to comments 2014-07-29 12:49:40 -06:00