Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1736926 > unrolled thread

[PATCH 0/7] ARM: dts: meson: clean pin offsets

Started byJerome Brunet <jbrunet@baylibre.com>
First post2017-09-21 19:20 +0200
Last post2017-09-21 19:20 +0200
Articles 3 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/7] ARM: dts: meson: clean pin offsets Jerome Brunet <jbrunet@baylibre.com> - 2017-09-21 19:20 +0200
    [PATCH 5/7] ARM64: dts: meson-gxbb: adjust odroid-c2 gpio-line-names Jerome Brunet <jbrunet@baylibre.com> - 2017-09-21 19:20 +0200
    [PATCH 6/7] ARM64: dts: meson-gxl: adjust kvim gpio-line-names Jerome Brunet <jbrunet@baylibre.com> - 2017-09-21 19:20 +0200

#1736926 — [PATCH 0/7] ARM: dts: meson: clean pin offsets

FromJerome Brunet <jbrunet@baylibre.com>
Date2017-09-21 19:20 +0200
Subject[PATCH 0/7] ARM: dts: meson: clean pin offsets
Message-ID<usdiO-3Se-3@gated-at.bofh.it>
The series is the device-tree part of the series sent to pinctrl [0]
The present patchset depends on the pinctrl part.

The purpose of this series is to:
1) remove the hardcoded gpio offset
2) adjust gpio-ranges with respect to the new pin number of each
   controller
3) adjust gpio-line-names accordingly for the boards having this property.

[0]: https://lkml.kernel.org/r/20170918134610.17743-1-jbrunet@baylibre.com

Jerome Brunet (7):
  ARM: dts: meson8: remove gpio offset
  ARM64: dts: meson-gx: remove gpio offset
  ARM64: dts: meson-gx: adjust gpio-ranges for TEST_N
  ARM64: dts: meson-gxbb: adjust nanopi-k2 gpio-line-names
  ARM64: dts: meson-gxbb: adjust odroid-c2 gpio-line-names
  ARM64: dts: meson-gxl: adjust kvim gpio-line-names
  ARM64: dts: meson-gxl: adjust libretech-cc gpio-line-names

 arch/arm/boot/dts/meson8.dtsi                                |  2 +-
 arch/arm/boot/dts/meson8b.dtsi                               |  2 +-
 arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts         | 10 +++++-----
 arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts          | 10 +++++-----
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi                  |  2 +-
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts   |  8 ++++----
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts |  8 ++++----
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi                   |  2 +-
 8 files changed, 22 insertions(+), 22 deletions(-)

-- 
2.13.5

[toc] | [next] | [standalone]


#1736932 — [PATCH 5/7] ARM64: dts: meson-gxbb: adjust odroid-c2 gpio-line-names

FromJerome Brunet <jbrunet@baylibre.com>
Date2017-09-21 19:20 +0200
Subject[PATCH 5/7] ARM64: dts: meson-gxbb: adjust odroid-c2 gpio-line-names
Message-ID<usdiQ-3Se-69@gated-at.bofh.it>
In reply to#1736926
GPIOX22 is now declared properly and TEST_N has been moved so
the gpio-line-names of the odroid-c2 must be adjusted accordingly

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
index d147c853ab05..9fc50bc5f9f4 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
@@ -194,7 +194,9 @@
 			  "USB HUB nRESET", "USB OTG Power En",
 			  "J7 Header Pin2", "IR In", "J7 Header Pin4",
 			  "J7 Header Pin6", "J7 Header Pin5", "J7 Header Pin7",
-			  "HDMI CEC", "SYS LED";
+			  "HDMI CEC", "SYS LED",
+			  /* GPIO_TEST_N */
+			  "";
 };
 
 &pinctrl_periphs {
@@ -233,11 +235,9 @@
 			  "J2 Header Pin12", "J2 Header Pin13",
 			  "J2 Header Pin8", "J2 Header Pin10",
 			  "", "", "", "", "",
-			  "J2 Header Pin11", "", "J2 Header Pin7",
+			  "J2 Header Pin11", "", "J2 Header Pin7", "",
 			  /* Bank GPIOCLK */
-			  "", "", "", "",
-			  /* GPIO_TEST_N */
-			  "";
+			  "", "", "", "";
 };
 
 &saradc {
-- 
2.13.5

[toc] | [prev] | [next] | [standalone]


#1736933 — [PATCH 6/7] ARM64: dts: meson-gxl: adjust kvim gpio-line-names

FromJerome Brunet <jbrunet@baylibre.com>
Date2017-09-21 19:20 +0200
Subject[PATCH 6/7] ARM64: dts: meson-gxl: adjust kvim gpio-line-names
Message-ID<usdiQ-3Se-71@gated-at.bofh.it>
In reply to#1736926
TEST_N gpio has been moved so the gpio-line-names of the kvim
must be adjusted accordingly

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
index edc512ad0bac..71a6e1ce7ad5 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
@@ -122,7 +122,9 @@
 			  "J9 Header Pin33",
 			  "IR In",
 			  "HDMI CEC",
-			  "SYS LED";
+			  "SYS LED",
+			  /* GPIO_TEST_N */
+			  "";
 };
 
 &pinctrl_periphs {
@@ -163,9 +165,7 @@
 			  "WIFI 32K", "Bluetooth Enable",
 			  "Bluetooth WAKE HOST",
 			  /* Bank GPIOCLK */
-			  "", "J9 Header Pin39",
-			  /* GPIO_TEST_N */
-			  "";
+			  "", "J9 Header Pin39";
 };
 
 &pwm_AO_ab {
-- 
2.13.5

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web