2018-08-07 23:27:46

by Tuomas Tynkkynen

[permalink] [raw]
Subject: [PATCH 1/2] ARM: dts: sunxi: Don't use cd-inverted in sun8i-r40-bananapi-m2-ultra

Another user of cd-inverted seems to have crept in. Switch it away from
cd-inverted to be consistent with other sunxi boards.

Signed-off-by: Tuomas Tynkkynen <[email protected]>
---
arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
index c39b9169ea64..a891a387e8f1 100644
--- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
+++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
@@ -159,8 +159,7 @@
&mmc0 {
vmmc-supply = <&reg_dcdc1>;
bus-width = <4>;
- cd-gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>; /* PH13 */
- cd-inverted;
+ cd-gpios = <&pio 7 13 GPIO_ACTIVE_LOW>; /* PH13 */
status = "okay";
};

--
2.16.3



2018-08-07 23:27:35

by Tuomas Tynkkynen

[permalink] [raw]
Subject: [PATCH 2/2] arm64: dts: sunxi: Don't use cd-inverted in sun50i-a64-pinebook

Another user of cd-inverted seems to have crept in. Switch it away from
cd-inverted to be consistent with other sunxi boards.

Signed-off-by: Tuomas Tynkkynen <[email protected]>
---
arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
index 897e60cbe38d..4b8fe453bacd 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
@@ -80,8 +80,7 @@
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
vmmc-supply = <&reg_dcdc1>;
- cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
- cd-inverted;
+ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
disable-wp;
bus-width = <4>;
status = "okay";
--
2.16.3


2018-08-20 13:02:47

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH 1/2] ARM: dts: sunxi: Don't use cd-inverted in sun8i-r40-bananapi-m2-ultra

On Wed, Aug 08, 2018 at 02:25:53AM +0300, Tuomas Tynkkynen wrote:
> Another user of cd-inverted seems to have crept in. Switch it away from
> cd-inverted to be consistent with other sunxi boards.
>
> Signed-off-by: Tuomas Tynkkynen <[email protected]>

Queued for 4.20, thanks!
Maxime

--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


Attachments:
(No filename) (411.00 B)
signature.asc (849.00 B)
Download all attachments

2018-08-20 14:41:40

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH 2/2] arm64: dts: sunxi: Don't use cd-inverted in sun50i-a64-pinebook

On Wed, Aug 08, 2018 at 02:25:54AM +0300, Tuomas Tynkkynen wrote:
> Another user of cd-inverted seems to have crept in. Switch it away from
> cd-inverted to be consistent with other sunxi boards.
>
> Signed-off-by: Tuomas Tynkkynen <[email protected]>

Queued for 4.20, thanks!
Maxime

--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


Attachments:
(No filename) (411.00 B)
signature.asc (849.00 B)
Download all attachments