Hello everybody, I am trying to make the support for the Olimex A20-SOM-EVB a bit more feature-complete; in particular I would like to enable the SD slot on the baseboard as well as the android-style LRADC keys.
Following are two patches to add the necessary dt bits. Unfortunately neither the keys nor the SD slot work fully as expected :-(. Any ideas/comments are welcome. LRADC keys ========== I have specified the key voltages as described in the "Buttons" part of the board schematics at https://www.olimex.com/Products/SOM/A20/A20-SOM-EVB/resources/A20-SOM-EVB_schematic.pdf After the system has freshly booted, usually everything works as expected: keypresses as well as key releases get reported by the "showkey" command. Unfortunately most of the time this works only for very few keypresses; after that, a keypress gets reported and then no more key events get detected until the next reboot. Has anybody experienced a similar effect, possibly on different hardware with LRADC keys? Any idea what could be going wrong here? Baseboard SD socket =================== The driver initalizes the mmc controller without errors: sunxi-mmc 1c12000.mmc: No vqmmc regulator found sunxi-mmc 1c12000.mmc: Got CD GPIO sunxi-mmc 1c12000.mmc: base:0xf09c8000 irq:27 mmc1: host does not support reading read-only switch, assuming write-enable The card insertion gets detected properly: mmc1: new high speed SDHC card at address 0007 mmcblk1: mmc1:0007 SD16G 14.6 GiB mmcblk1: p1 Reading from and writing to the card works without problems, but when I remove the card (the filesystem on it is unmounted), I get: sunxi-mmc 1c12000.mmc: smc 1 err, cmd 13, RTO !! sunxi-mmc 1c12000.mmc: smc 1 err, cmd 13, RTO !! sunxi-mmc 1c12000.mmc: smc 1 err, cmd 13, RTO !! sunxi-mmc 1c12000.mmc: smc 1 err, cmd 13, RTO !! mmc1: card 0007 removed Any idea what could be that cause for these errors? Regards, Karsten P.S.: All tests run on current mainline (4.4rc4). Karsten Merker (2): ARM: dts: sun7i: Olimex A20-SOM-EVB: Add LRADC keys ARM: dts: sun7i: Olimex A20-SOM-EVB: Enable mmc3 (baseboard SD socket) arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 73 ++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) -- 2.1.4 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
