Commit Graph

3143 Commits

Author SHA1 Message Date
Gregory Nutt
7a1d5866e5 SAMA5: Initial WDT timer (untested) 2013-10-19 12:26:47 -06:00
Gregory Nutt
49b3366eff SAMA5: Hook RTC into build system; Finish RTC alarm logic; Verify correct behavior of the basic RTC functionality 2013-10-19 10:41:20 -06:00
Gregory Nutt
0a5d287e69 SAMA5: Add GPBR register definitions 2013-10-19 10:22:21 -06:00
Gregory Nutt
d1d9cf4de6 SAMA5 RTC: Beginning of an RTC driver for the SAMA5 2013-10-18 16:56:46 -06:00
Gregory Nutt
0eea9f2ebe SAMA5: Add RTC and WDT register definition header files 2013-10-18 14:47:50 -06:00
Gregory Nutt
b661ba3e2a STM32 DMA Priority: Select the correct default for F1 and other family members 2013-10-18 14:13:53 -06:00
Gregory Nutt
1b3127149c SAMA5 LCD: Move framebuffers to center of free memory region. That creates a guard band around the framebuffers that gives a little protection from any bad writes into the framebuffer 2013-10-18 10:11:20 -06:00
Gregory Nutt
5c3f7f118c Add SDIO preflight method 2013-10-18 08:15:09 -06:00
Gregory Nutt
fd468d219f Changes to stm32_dmacapable interfaces from Mike Smith 2013-10-18 08:06:23 -06:00
Gregory Nutt
0c44715f07 STM32 DMA priority corrections from Mike Smith 2013-10-18 07:37:24 -06:00
Gregory Nutt
cda1fd00c7 Typo fixes for UART7 and UART8 DMA configs. From Mike Smith 2013-10-18 07:17:55 -06:00
Gregory Nutt
2d831bc717 SAMA5 TSD: Fix to prohibit reading samples when not valid 2013-10-17 17:26:06 -06:00
Gregory Nutt
8924101566 STM32 F103C: Correct some errors in pinmapping. From David Sidrane 2013-10-16 07:26:41 -06:00
Gregory Nutt
83982f3ef9 Misc changes to README files; Update SAMA5D3x-EK NxWM configuration to use Calibration instruction messages 2013-10-14 14:53:38 -06:00
Gregory Nutt
98ffd096a0 SAMA5 LCDC: Correct how framebuffer memory was being mapped; Remove options to get framebuffer memory in various. Because of the mapping and aligment requirements, those options really cannot be supported 2013-10-13 13:08:05 -06:00
Gregory Nutt
a3bb8d3d94 SAMA5 LCDC: Move framebuffer to lower memory; I suspect some corruption by interference 2013-10-13 10:42:14 -06:00
Gregory Nutt
34557b8c6b SAMA5 LCDC: Fixed backlight PWM divider. Backlight no longer flashes 2013-10-11 17:12:35 -06:00
Gregory Nutt
1d0e7aaeff SAMA5 LCDC: Wait when the LCDC is resynchronizing (SIF); Try start-up parameters from Barebox (this still don't work) 2013-10-10 18:44:08 -06:00
Gregory Nutt
57d04d3ff5 SAMA5 LCDC: Default resolution if now RGB565; Add option to select a different output resolution than the sofware resolution (needs to the 24BPP for this LCD). 2013-10-10 18:41:42 -06:00
Gregory Nutt
c79ae66fc2 SAMA5 LCDC: Move DMA descriptors out of internal SRAM and into SDRAM. I am not completely clear, but it looks like the LCDC cannot support DMA from internal SRAM 2013-10-10 12:02:41 -06:00
Gregory Nutt
1dfcee203c SAMA5: Allow portions of external memory to be added to the heap instead of the whole thing 2013-10-10 12:00:32 -06:00
Gregory Nutt
e4e4912712 SAMA5 LCDC: Fix a few compilation errors that show up when additional layers are enabled 2013-10-09 18:46:05 -06:00
Gregory Nutt
b7f4a51ee2 SAMA5 LCDC: Few more bug fixes but still not working 2013-10-09 18:22:21 -06:00
Gregory Nutt
cc23806fa1 SAMA5 LCDC: Corrections from first debug sessions. Still a way to go 2013-10-09 13:21:27 -06:00
Gregory Nutt
f3a4fc42d7 SAMA5: LCDC driver incorporated into the build system. 2013-10-08 15:30:38 -06:00
Gregory Nutt
3ccbb7a07f SAMA5: LCD driver is code complete but untested 2013-10-08 12:16:30 -06:00
Gregory Nutt
3fd7f4f855 SAMA5: More LCDC driver progress 2013-10-08 08:57:48 -06:00
Gregory Nutt
f6dc32c30c SAMA5: More LCDC driver progress 2013-10-07 15:54:08 -06:00
Gregory Nutt
c7c6186356 SAMA5: LCDC driver progress 2013-10-07 12:05:16 -06:00
Gregory Nutt
cfd257cc0c SAMA5 LCDC: Add 'skeleton' files that will eventually become an LCDC driver for the SAMA5 2013-10-06 09:08:52 -06:00
Gregory Nutt
74db990b7e SAMA5: Completes LDCDC register definition file 2013-10-04 15:43:19 -06:00
Gregory Nutt
021bdecb05 SAMA5: Add LCD register definition header file 2013-10-04 10:11:12 -06:00
Gregory Nutt
5c9926b61e SAMA5: Touchscreen driver now works 2013-10-04 08:03:38 -06:00
Gregory Nutt
ac66287ba7 SAMA5: First changes from touchscreen debug 2013-10-03 17:11:30 -06:00
Gregory Nutt
889ea78194 SAMA5: ADC and touchscreen drivers now build without errors 2013-10-03 14:32:21 -06:00
Gregory Nutt
0001191f6c SAMA5: Integrate touchscreen and ADC drivers into the build 2013-10-03 12:49:13 -06:00
Gregory Nutt
db6d76baf5 SAMA5 ADC and touchscreen: Drivers are code complete and ready for test 2013-10-03 10:06:14 -06:00
Gregory Nutt
8b8523f935 SAMA Touchscreen/ADC: More progress 2013-10-02 16:55:22 -06:00
Gregory Nutt
b885459624 Add framework for Spark Core board support. The initial commit is a clone of the Maple Mini and still needs Spark customizations 2013-10-02 08:24:46 -06:00
Gregory Nutt
afa475e948 SAMA5 ADC/Touchscreen: A little more logic 2013-10-01 14:40:34 -06:00
Gregory Nutt
183421fe07 KL: Now builds up_puts 2013-10-01 11:51:27 -06:00
Gregory Nutt
e4074e1e21 KL: Missing header file in low level getc logic 2013-10-01 11:25:01 -06:00
Gregory Nutt
bb6b31f495 SAMA5 touchscreen and ADC: A little more progress 2013-10-01 11:23:24 -06:00
Gregory Nutt
7120517af0 SAMA5 ADC/Touchscreen: A little more progress. Still not complete 2013-09-30 14:28:42 -06:00
Gregory Nutt
d4e689ef1a Add freedom-kl25z/minnsh configuration: This is an experiment to see just how small we and get an NSH configuration. From Alan Carvalho de Assis. 2013-09-30 09:20:11 -06:00
Gregory Nutt
dc3ac21264 KL25Z: Add low-level up_lowgetc function that can be used to provide an NSH console when the file system (and hence the serial driver) is disabled. From Alan Carvalho de Assis 2013-09-30 09:15:31 -06:00
Gregory Nutt
babcd56908 KL25Z: Add low-level up_lowgetc function that can be used to provide an NSH console when the file system (and hence the serial driver) is disabled. From Alan Carvalho de Assis 2013-09-30 09:11:54 -06:00
Gregory Nutt
3027dd3c54 SAMA5: Framework for an touchscreen driver (incomplete) 2013-09-30 09:04:21 -06:00
Gregory Nutt
e1fc3f51b3 SAMA5 ADC: Framework for an ADC driver (incomplete) 2013-09-30 07:22:34 -06:00
Gregory Nutt
05eb7e3da4 SAMA5 ADC: Beginning ADC register definition file 2013-09-29 18:34:09 -06:00
Gregory Nutt
fbf5359a39 Work around a start-up error in the GMAC that I still do not understand 2013-09-29 16:46:22 -06:00
Gregory Nutt
0e5caa2ae3 SAMA5 GMAC: Various fixes from initial debug 2013-09-29 15:03:57 -06:00
Gregory Nutt
7c81618f2f Dependency generation fix for directories that keep object files in a sub-directory 2013-09-29 11:46:10 -06:00
Gregory Nutt
4aaee6fb3c Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
22d0ebeb07 configs/compal_e88 converted to use the kconfig-frontends tools 2013-09-27 16:12:44 -06:00
Gregory Nutt
9fcbd8879a SAMA5 GMAC and GMII support is code complete and ready for test 2013-09-27 13:12:04 -06:00
Gregory Nutt
f519f94926 Networking: Fix backward conditional in test to see if address is in ARP table. From Max Holtzberg 2013-09-27 08:27:35 -06:00
Gregory Nutt
fbd09bd75f Beginng of support for GMII/RGMII PHYs 2013-09-26 15:55:21 -06:00
Gregory Nutt
48f1227fbf SAMA5 GMAC: Initial driver check-in is just the EMAC driver forced to compile with the GMAC register definitions 2013-09-26 10:35:52 -06:00
Gregory Nutt
9dd0680f0e SAMA5: Completes GMAC register definition header file 2013-09-26 09:13:14 -06:00
Gregory Nutt
5f4682c874 SAMA5 EMAC: Need to pace RX and TX because and RX can result in a TX; Process TX interrupt events before TX interrupt events for the same reason 2013-09-25 14:22:35 -06:00
Gregory Nutt
d53a0189f7 SAMA5 EMAC: Add some need D-Cache Flush/Invalidate operations. Add support for CONFIG_NET_DUMPPACKET 2013-09-25 11:51:49 -06:00
Gregory Nutt
ea4c8bbf68 Move CONFIG_NET_DUMPPACKET from LPC17 and STM32 to commong network drivers. Automatically enabled CONFIG_NETDEVICES when any Ethernet driver is enabled 2013-09-25 11:50:31 -06:00
Gregory Nutt
52b0a16cd3 Move CONFIG_NET_DUMPPACKET from LPC17 and STM32 to commong network drivers. Automatically enabled CONFIG_NETDEVICES when any Ethernet driver is enabled 2013-09-25 11:50:05 -06:00
Gregory Nutt
694080ba47 Fix badly applied patch to ENCX24J600 2013-09-25 08:26:56 -06:00
Gregory Nutt
d979859754 SAMA5 UDPHS: Dont' reject read request submissions while stalled. That causes an infinite loop. When stalling, cancel all pending write requests, but cancel only a reqd request if it is in progress. It will be immediately requeued 2013-09-24 15:06:17 -06:00
Gregory Nutt
5783fec78b Comment out assertion that apparently fires inappropriately 2013-09-24 15:01:25 -06:00
Gregory Nutt
245f5ad32d Slightly improved debug output 2013-09-24 13:47:03 -06:00
Gregory Nutt
f0ca9c2a8d Stack monitor fixes 2013-09-24 12:14:52 -06:00
Gregory Nutt
a8461747b9 Standardize stack checking interface 2013-09-24 11:45:13 -06:00
Gregory Nutt
7c767c4ebe SAMA5 UDPHS: Minor clean-up of STALL logic 2013-09-23 18:10:41 -06:00
Gregory Nutt
a070e748fd SAMA5 HSMCI: Disable TX DMA. it is not reliable 2013-09-23 13:54:32 -06:00
Gregory Nutt
d167a09c74 SAMA5 HSMCI DMA clean-up. There are still some issues 2013-09-23 11:25:39 -06:00
Gregory Nutt
306a8743e0 Cosmetic changes to comments and coding style fixes 2013-09-22 14:48:22 -06:00
Gregory Nutt
b2e3a95565 Un-neccesary, cosmetic changes to label names and comments 2013-09-22 08:54:06 -06:00
Gregory Nutt
a768f32532 SAMA5 OHCI: Back out a change, the real root cause was a bug in the cache logic so the hack is no longer necessary 2013-09-22 07:53:51 -06:00
Gregory Nutt
d1ac44242f ARMv7-A: Fix some error in alignment to cache line boundaries in the cache operations 2013-09-21 15:47:00 -06:00
Gregory Nutt
da37aa6413 SAMA5 OHCI: Fix some strange Dcache problems that I still don't understand; end address on cache operations is end+1, not end 2013-09-21 12:21:10 -06:00
Gregory Nutt
c9050ae5fd ARMv7-A: Clarify end address paramet in cache operations: It is the end+1 address, not the end address 2013-09-21 12:16:34 -06:00
Gregory Nutt
f3d56e8695 SAMA5 OHCI: Fix some problems with D-Cache coherency and physical addressing related to interrupt endpoints 2013-09-20 15:22:09 -06:00
Gregory Nutt
f72ad05d0f SAMA5 OHCI: When UPLL drives OHCI the logically correct divider of 10 does not work; But a divider of 5 does. Why? 2013-09-19 16:10:46 -06:00
Gregory Nutt
07cca4b318 SAMA5 EHCI: Fix bits being clobbered in PORTSC on hand-off to OHCI. OHCI: Fix some more trace configuration issues. Both: Don't muck with SFR port selection bits once they have been initialized 2013-09-19 10:52:33 -06:00
Gregory Nutt
f7436ee22f More USB host trace conditional compilation problems 2013-09-19 09:08:55 -06:00
Gregory Nutt
48ed2b88d3 Fix inconsistency in USB host tracing definitions 2013-09-19 08:46:33 -06:00
Gregory Nutt
ef9032b4d6 SAMA5: Add support for the FPU OS test 2013-09-18 10:35:03 -06:00
Gregory Nutt
71354eb2c3 LPC17xx SPI: Remove an unused static prototype that caused a compile time warning 2013-09-17 17:14:08 -06:00
Gregory Nutt
425c26d27a SAMA5 EMAC: Changes from early debug sessions. Still a way to go 2013-09-17 15:52:19 -06:00
Gregory Nutt
2c63995099 SAMA5 EMAC: Resolve issues with DUAL PHY support needed for both EMAC and GMAC peripherals. EMAC driver is now code complete and builds without complaint 2013-09-17 10:55:13 -06:00
Gregory Nutt
82cd614b66 Add prefex ETH0 to all PHY configurations to support multiple NICs 2013-09-17 10:45:07 -06:00
Gregory Nutt
a634dc0f33 SAMA4 EMAC: Remove some editor garbage that ended up in the last commit 2013-09-16 18:04:38 -06:00
Gregory Nutt
ec499a3aa8 SAMA5 EMAC: Add basic PHY logic 2013-09-16 18:00:21 -06:00
Gregory Nutt
2a10afb311 SAMA5 EMAC: Packet transmission logic 2013-09-16 14:58:11 -06:00
Gregory Nutt
97a0e3b74b SAMA4 EMAC: Add basic interrupt handling logic 2013-09-16 13:57:57 -06:00
Gregory Nutt
f267cea5b6 SAMA5 EMAC: Incremental progress. Still not code complete 2013-09-16 11:36:12 -06:00
Gregory Nutt
47d4b41bad Freescale Kinetis KL25Z PIT and TPM module register definitions 2013-09-15 17:00:50 -06:00
Gregory Nutt
ec03861315 SAMA4 EMAC buffer allocation logic 2013-09-15 14:26:25 -06:00
Gregory Nutt
45e4425687 SAMA5 Ethernet: Add support for PHY interrupts 2013-09-15 12:24:42 -06:00
Gregory Nutt
7c13790901 SAMA5: Update Ethernet initalization logic to handle both EMAC and GMAC 2013-09-14 08:19:36 -06:00
Gregory Nutt
7b6a1a57eb SAMA5 EMAC: Create a empty, skeleton file that will eventually become the SAMA5 EMAC driver 2013-09-13 15:04:46 -06:00
Gregory Nutt
64825db9c2 STM32: Support for the LeafLabs Maple and Maple Mini boards. From Librae 2013-09-13 12:45:33 -06:00
Gregory Nutt
e31f62e1b5 STM32 Kconfig: Fix STM32 UART7/8 kconfig names and UART DMA. Provided by Lorenz Meier 2013-09-13 11:45:32 -06:00
Gregory Nutt
1b17b8fbea Make filter register accessible for CAN1 and CAN2. Provided by Lorenz Meier 2013-09-13 11:20:10 -06:00
Gregory Nutt
363df90d81 SAMA5 EMAC and GMAC: More additions to register definition files 2013-09-13 03:35:56 -06:00
Gregory Nutt
91a065e9fc SAMA5: Beginning of EMAC and GMAC register definition header files 2013-09-12 15:45:12 -06:00
Gregory Nutt
9f937bc0e4 SAMA5D3x-EK README update 2013-09-12 14:17:56 -06:00
Gregory Nutt
1d40c068fb SAMA5 TWI: Misc improvements during debug (still not getting interupts) 2013-09-12 12:25:31 -06:00
Gregory Nutt
3bb6a8b164 SAMA5 TWI: Cleanup compilation errors that occur when I2C debug is enabled 2013-09-12 09:46:20 -06:00
Gregory Nutt
950ea5830a SAMA5 TWI: Add support for I2C readwrite and transfer methods 2013-09-11 17:52:23 -06:00
Gregory Nutt
42b547f73c SAMA5: Barebones TWI driver implementation 2013-09-11 16:48:56 -06:00
Gregory Nutt
f2a5c43b25 SAMA5: Framework for a TWI driver (incomplete) 2013-09-11 12:28:52 -06:00
Gregory Nutt
f9afaf89fc SAMA5: TWI register definition file 2013-09-11 10:23:46 -06:00
Gregory Nutt
11a515eca0 SAMA5D3x-EK demo configuration now supports HSMCI0 and HSMCI1 2013-09-11 09:50:36 -06:00
Gregory Nutt
dac363d43e Clean-up a few USB trace formats 2013-09-10 16:17:06 -06:00
Gregory Nutt
9f3e2e3bec SAMA5: Add tracing support to the OHCI driver 2013-09-10 16:01:44 -06:00
Gregory Nutt
92aa5785bf SAMA5 EHCI: Did not work with DEBUG off. Appears to be because of some D-Cache flushing that was performed only with DEBUG ON. Now is unconditional 2013-09-10 10:12:51 -06:00
Gregory Nutt
a4e6a3b80f Extent the the USB host trace logic to include verbose debug output 2013-09-09 17:27:21 -06:00
Gregory Nutt
1a18d1e3e7 USB monitor extended so that it can also be used with USB host trace data 2013-09-09 15:02:33 -06:00
Gregory Nutt
8f69c6c66c Beginning of support for USB host side tracing 2013-09-09 14:01:52 -06:00
Gregory Nutt
31e1e7506a USB MSC host class driver: Don't bother retrying to initialize the FLASH if the interface is returning fatal transfer errors 2013-09-09 10:00:16 -06:00
Gregory Nutt
10a9fcff30 Trivial updates assocaited with USB host mass storage and SAMA5 EHCI 2013-09-08 13:42:56 -06:00
Gregory Nutt
e5841a74a9 SAMA5: Add support EHCI/OHCI to sama5d3x-ek/demo (does not work yet); Fix some EHCI/OHCI compilation issues when DEBUG is disabled 2013-09-07 11:43:06 -06:00
Gregory Nutt
6e5df6259e SAMA5D3x-EK: Add a new 'demo' configuration 2013-09-06 11:40:46 -06:00
Gregory Nutt
1fcc8894e6 CDC/ACM and PL2303 device drivers: Don't use the max packet size assigned to an endpoint in order to determine the request buffer size. The endpoint has not yet been configured that max packet size may be wrong. 2013-09-05 18:00:16 -06:00
Gregory Nutt
ec01a41da7 SAMA5 UDPHS: Fix bad setup for sam_req_write call introduce in last commit 2013-09-05 15:51:27 -06:00
Gregory Nutt
54d5e1a49d SAMA5 UDPHS: Major changes to DMA interrupt and request handling to better handle DMA 2013-09-05 14:33:27 -06:00
Gregory Nutt
9861f18ee1 SAMA5 UDPHS: Fix DMA channel vs. matching endpoint 2013-09-04 15:08:19 -06:00
Gregory Nutt
75b53ad12b SAMA5 UDPHS: More USB fixes mostly related to byte counts, endpoint configuration, and dma configuration 2013-09-04 13:36:52 -06:00
Gregory Nutt
2d9c62d3ef SAMA5 UDPHS: More zero length packet fixes; revamped request queue structures 2013-09-04 09:48:08 -06:00
Gregory Nutt
c09b08f4a5 SAMA5 UDPHS: Fixes related to null packet and SETUP OUT data handling 2013-09-03 19:13:34 -06:00
Gregory Nutt
3e505efe73 SAMA5 UDPHS: Small change to zero length packet handling 2013-09-03 16:24:11 -06:00
Gregory Nutt
adc7248d6c SAMA5 UDPHS: Fix some issues with TX interrupt handling 2013-09-03 14:53:10 -06:00
Gregory Nutt
74d0e02850 SAMA5 UDPHS: A little debugging progress. Not all transfers are working yet 2013-09-03 13:09:50 -06:00
Gregory Nutt
4e2894c6ae SAMA5 UDPHS: Changes from initial debug session. Still a long way to go 2013-09-02 16:59:07 -06:00
Gregory Nutt
abd29a5ede SAMA5 UDPHS: Fixes related to soft connect pullup and DMA buffer allocation 2013-09-02 14:55:33 -06:00
Gregory Nutt
df39b67fd6 SAMA5 UDPHS: Some very early debug corrections. Not yet working. 2013-09-02 12:26:15 -06:00
Gregory Nutt
8905de3826 SAMA5 UDPHS: Add logic to handle deferred address setting; add logic to handle EP0 SETUP OUT data 2013-09-02 10:08:18 -06:00
Gregory Nutt
928d0ddd8a STM32 Timer Register Bit Definitions: Some CCER bit settings changed per SourceForge bug #18 submitted by CCCTSAO 2013-09-02 08:01:09 -06:00
Gregory Nutt
4cbe61cdd3 SAMA5 UDPHS: Clean up some write request handling 2013-09-01 16:56:22 -06:00
Gregory Nutt
7fd159779e SAMA5 UDPHS: Resolve a few of easier REVISIT pre-processor warnings 2013-09-01 15:36:17 -06:00
Gregory Nutt
80a498aa8b SAMA5 UPPHS: Fix a small mountain of compilation errors. Still things to REVISIT so it is not ready for test 2013-09-01 11:31:12 -06:00
Gregory Nutt
3ba3dfd9bc SAMA5 UDPHS: Support USPHS clock configuration 2013-09-01 11:29:51 -06:00
Gregory Nutt
06355a17e1 SAMA UDPHS: Add pull-up and stall logic. Added to build system but does not yet build 2013-08-31 17:37:51 -06:00
Gregory Nutt
5693f4b8b0 Remove empty README.txt files 2013-08-31 13:17:04 -06:00
Gregory Nutt
30cf03d3e8 SAMA5 UDPHS: Add endpoint configuration and read DMA logic 2013-08-31 12:20:00 -06:00
Gregory Nutt
f22b388cb4 SAMA5 UDPHS: Bring in UDPHS endpoint interrupt handling logic 2013-08-31 10:43:58 -06:00
Gregory Nutt
ab1c21609d SAMA5 UDPHS: Write DMA logic added. Still incomplete 2013-08-30 15:41:06 -06:00
Gregory Nutt
07ffab9308 SAMA5: Updated UDPHS driver. Still incomplete 2013-08-30 14:51:41 -06:00
Gregory Nutt
ca2709296d SAMA5 UDPHS interrupt decoding logic 2013-08-29 18:11:34 -06:00
Gregory Nutt
eeaeb369fe SAMA5 UDPHS interrupt decoding logic 2013-08-29 17:34:05 -06:00
Gregory Nutt
a4f58596d4 SAMA5: Initial framework for a UDPHS USB device side driver 2013-08-29 16:29:27 -06:00