build/patch/kernel/archive/odroidxu4-5.12/0090-ODROID-N2-arm64-dts-Move-gpio-line-names-into-the-pe.patch

45 lines
1.5 KiB
Diff

From 0142b646784e944d23ccabef00f129050d97cf2b Mon Sep 17 00:00:00 2001
From: Deokgyu Yang <secugyu@gmail.com>
Date: Tue, 30 Mar 2021 09:57:28 +0900
Subject: [PATCH 090/109] ODROID-N2: arm64/dts: Move gpio-line-names into the
periphs_pinctrl node
In general, the gpio-line-names property should belong to the node
whereby the gpio-controller property by the related document written.
But from now, at least for the Odroid boards based on AMLogic SoC,
the property has to be in the periphs_pinctrl node so that the
function for assigning the line names recognizes that.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1b491db19dd7e6b678d34c4d288de7549458d783
---
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
index 04c1aaef54f4..7e2071cd44e3 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
@@ -450,7 +450,7 @@ &frddr_c {
status = "okay";
};
-&gpio {
+&periphs_pinctrl {
gpio-line-names =
/* GPIOZ */
"", "", "", "", "", "", "", "",
@@ -496,6 +496,9 @@ &gpio {
"PIN_3", /* GPIOX_17 */
"PIN_5", /* GPIOX_18 */
"PIN_36"; /* GPIOX_19 */
+};
+
+&gpio {
/*
* WARNING: The USB Hub on the Odroid-N2 needs a reset signal
* to be turned high in order to be detected by the USB Controller
--
2.25.1