Message ID | 1374510105-21896-4-git-send-email-g.liakhovetski@gmx.de (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts index e5b84d1c..c9976af 100644 --- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts +++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts @@ -252,7 +252,7 @@ vmmc-supply = <&vmmc_sdhi2>; bus-width = <4>; - broken-cd; + cd-gpios = <&pfc 13 GPIO_ACTIVE_LOW>; dmas = <&dmac 0xcd &dmac 0xce>; dma-names = "tx", "rx";
On kzm9g GPIO 13 is connected to card detection on the SDHI2 slot. Add it to the device tree node. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> --- So far this only enables polling of the GPIO, because irqpin GPIO-to-IRQ is currently not functioning on shmobile in the DT case. The reason for the problem is, that shmobile currently uses a static GPIO-to-IRQ mapping with a fixed offset, whereas with DT the mapping is dynamic. As soon as this problem is fixed, this binding will enable the use of a card-detection IRQ instead of polling. arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)