Commit Graph

8157 Commits

Author SHA1 Message Date
Gregory Nutt
159bcc255d SAMA5 PCK: Add Main clock as an option for the PCK clock source 2014-08-03 10:17:50 -06:00
Gregory Nutt
eafa4aeaa1 Update ChangeLog 2014-08-02 14:30:46 -06:00
Gregory Nutt
36f8e23c12 WM8904 driver: Fix wm8904_dump_registers macro: Wrong number of parameters. 2014-08-02 14:28:30 -06:00
Gregory Nutt
b0d0ac72a7 WM8904 driver: Disable the FFL at the end of playing. 2014-08-02 14:28:10 -06:00
Gregory Nutt
108ca4eaa5 SAMA5D3X-EK NxPlayer Configuration: Update with last WM8904 settings 2014-08-02 14:27:42 -06:00
Gregory Nutt
f287d0f9ca PCM decoder: Correct the end of audio stream handling. It was not being detected before so that logic was not examining the WAV header in the first buffer of the next audio file 2014-08-02 14:27:12 -06:00
Gregory Nutt
c75bf6d741 SAMA5 SSC: Verify that the requested bit width is supported. Correct some alignment tests that depend upon the data bit width. 2014-08-02 14:26:49 -06:00
Gregory Nutt
1de482762d Update ChangeLog 2014-08-02 12:41:42 -06:00
Gregory Nutt
a2d6c0c2b4 WM8904: Add logic to program the FLL to achieve the bitrate 2014-08-02 12:40:57 -06:00
Gregory Nutt
06657a3b6f Update ChangeLog 2014-08-02 06:53:57 -06:00
Gregory Nutt
f4bc0ad99a WM8904: Add an option to control WM8904 register dumping 2014-08-02 06:52:42 -06:00
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