at91sam9g20-ek pinctrl conflicts
Subsystems (2)
Hi,
Booting an at91sam9g20-ek I see errors loading the MMC driver due to conflicts with SPI:
pinctrl-at91 pinctrl.2: pin pioA1 already requested by fffc8000.spi; cannot claim for fffa8000.mmc pinctrl-at91 pinctrl.2: pin-1 (fffa8000.mmc) status -22
pinctrl-at91 pinctrl.2: could not request pin 1 (pioA1) from group mmc0_slot1_cmd_dat0-0 on device pinctrl.2
One of the devices seems to be configured incorrectly here but I don't have schematics so it's not immediately obvious which.
Thanks,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131016/4682f89b/attachment-0001.sig>
Quoted 8 lines · Mark Brown
Hi,
Booting an at91sam9g20-ek I see errors loading the MMC driver due to conflicts with SPI:
pinctrl-at91 pinctrl.2: pin pioA1 already requested by fffc8000.spi; cannot claim for fffa8000.mmc pinctrl-at91 pinctrl.2: pin-1 (fffa8000.mmc) status -22
pinctrl-at91 pinctrl.2: could not request pin 1 (pioA1) from group mmc0_slot1_cmd_dat0-0 on device pinctrl.2
it's not really an error as the hw support both but not at the same time
Quoted 3 lines
One of the devices seems to be configured incorrectly here but I don't have schematics so it's not immediately obvious which.
it's SPI *or* MMC, on the default hw configuration it's mmc
Best Regards,
J.
Quoted 3 lines
Thanks,
Mark
Quoted 10 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 8 lines · Mark Brown
Hi,
Booting an at91sam9g20-ek I see errors loading the MMC driver due to conflicts with SPI:
pinctrl-at91 pinctrl.2: pin pioA1 already requested by fffc8000.spi; cannot claim for fffa8000.mmc pinctrl-at91 pinctrl.2: pin-1 (fffa8000.mmc) status -22
pinctrl-at91 pinctrl.2: could not request pin 1 (pioA1) from group mmc0_slot1_cmd_dat0-0 on device pinctrl.2
Quoted 6 lines
it's not really an error as the hw support both but not at the same time
Quoted 3 lines
One of the devices seems to be configured incorrectly here but I don't have schematics so it's not immediately obvious which.
it's SPI *or* MMC, on the default hw configuration it's mmc
this should fix the issue
arch/arm/boot/dts/at91sam9g20ek_common.dtsi +0 -1
@@ -96,7 +96,6 @@ }; spi0: spi at fffc8000 { - status = "okay"; cs-gpios = <0>, <&pioC 11 0>, <0>, <0>; mtd_dataflash at 0 { compatible = "atmel,at45", "atmel,dataflash";
Best Regards,
J.
Quoted 13 lines
Best Regards,
J.Quoted 3 lines
Thanks,
Mark_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 7 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 3 lines · Mark Brown
pinctrl-at91 pinctrl.2: pin pioA1 already requested by fffc8000.spi; cannot claim for fffa8000.mmc pinctrl-at91 pinctrl.2: pin-1 (fffa8000.mmc) status -22
pinctrl-at91 pinctrl.2: could not request pin 1 (pioA1) from group mmc0_slot1_cmd_dat0-0 on device pinctrl.2it's not really an error as the hw support both but not at the same time
No, I think it is an error - if only one can be enabled at once the
device tree should accurately describe this (preferrably with comments
to help identify how the configurations are selected). Based on your
description it seems like right now the current DT is breaking the MMC
since the hardware is in the default configuration.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131016/dc9259da/attachment.sig>