Commit Graph

8317 Commits

Author SHA1 Message Date
Gregory Nutt e30d31367a WM8904 interface enable method now returns the previous interrupt state. Correct ordering of some WM8904: Need to provide MCLK before initializing the WM8904, not after 2014-08-04 14:56:20 -06:00
Gregory Nutt eebdae30b2 Correct the WM8904 interrupt configuration, active high level. Fix that and don't pull-up 2014-08-04 14:54:20 -06:00
Gregory Nutt b305f9186a WM8904 interface enable method now returns the previous interrupt state 2014-08-04 14:52:59 -06:00
Gregory Nutt c68e42c437 WM8904: Restore mystery bit in setup that was accidentally tossed before 2014-08-03 19:29:02 -06:00
Gregory Nutt 678c0aac8d WM8904: Tried disabling the SYSCLK while updating the FLL. Didn't help but is still probably a correct change 2014-08-03 18:44:51 -06:00
Gregory Nutt 72b739fbcb WM8904: Add logic to analyze BCLK setup 2014-08-03 17:11:38 -06:00
Gregory Nutt b9384ced60 WM8904: Various updates to get BCLK/LRCLK correct. Acutally worse the parent, but I think is on the right track 2014-08-03 13:28:20 -06:00
Gregory Nutt c948521408 Update ChangeLog 2014-08-03 11:02:42 -06:00
Gregory Nutt 1f213064e0 SAMA5 WM8904: Add option to use MAINCK as WM8904 MCLK 2014-08-03 11:01:02 -06:00
Gregory Nutt 55e6fd5381 Update ChangeLog 2014-08-03 10:19:26 -06:00
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