Documentation: dt: update ti,am33xx-hsmmc swakeup workaround
Subsystems (2)
PATCH 1/1 Documentation: dt: update ti,am33xx-hsmmc swakeup workaround
Before 5b83b2234be6733cf the driver was hard coding the wakeup irq to be active low. The generic pm wakeirq does not override the active high/low parameter, hence it must be specified correctly in the device tree.
Mind that SDIO IRQ is active low as defined in the SDIO specification
--- Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt +1 -1
@@ -102,7 +102,7 @@ not every application needs SDIO irq, e.g. MMC cards. pinctrl-1 = <&mmc1_idle>; pinctrl-2 = <&mmc1_sleep>; ... - interrupts-extended = <&intc 64 &gpio2 28 0>; + interrupts-extended = <&intc 64 &gpio2 28 GPIO_ACTIVE_LOW>; }; mmc1_idle : pinmux_cirq_pin {
Signature · 1 line
2.1.4
Quoted 16 lines · Andreas Fenkart
Before
5b83b2234be6733cfthe driver was hard coding the wakeup irq to be active low. The generic pm wakeirq does not override the active high/low parameter, hence it must be specified correctly in the device tree.
Mind that SDIO IRQ is active low as defined in the SDIO specificationSigned-off-by Andreas Fenkart <[email protected]>--- Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt +0
-0
Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt not every application needs SDIO irq, e.g. MMC cards. · line 108
Quoted 8 lines
Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt +1
-1@@ -102,7 +102,7 @@ not every application needs SDIO irq, e.g. MMC cards. pinctrl-1 = <&mmc1_idle>; pinctrl-2 = <&mmc1_sleep>; - interrupts-extended = <&intc 64 &gpio2 28 0>; + interrupts-extended = <&intc 64 &gpio2 28 GPIO_ACTIVE_LOW>; }; mmc1_idle : pinmux_cirq_pin {
Looks good to me:
Ulf Hansson
AppliedQuoted 7 lines · Andreas Fenkart
Before
5b83b2234be6733cfthe driver was hard coding the wakeup irq to be active low. The generic pm wakeirq does not override the active high/low parameter, hence it must be specified correctly in the device tree.
Mind that SDIO IRQ is active low as defined in the SDIO specificationSigned-off-by Andreas Fenkart <[email protected]>
Thanks, applied!
Kind regards
Uffe
Quoted 20 lines
--- Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt +1
-2@@ -102,7 +102,7 @@ not every application needs SDIO irq, e.g. MMC cards. pinctrl-1 = <&mmc1_idle>; pinctrl-2 = <&mmc1_sleep>; - interrupts-extended = <&intc 64 &gpio2 28 0>; + interrupts-extended = <&intc 64 &gpio2 28 GPIO_ACTIVE_LOW>; }; mmc1_idle : pinmux_cirq_pin { --2.1.4