diff options
Diffstat (limited to 'patches.renesas/0164-ARM-shmobile-armadillo800eva-dts-Add-pinctrl-and-gpi.patch')
-rw-r--r-- | patches.renesas/0164-ARM-shmobile-armadillo800eva-dts-Add-pinctrl-and-gpi.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/patches.renesas/0164-ARM-shmobile-armadillo800eva-dts-Add-pinctrl-and-gpi.patch b/patches.renesas/0164-ARM-shmobile-armadillo800eva-dts-Add-pinctrl-and-gpi.patch new file mode 100644 index 00000000000000..a57732348f2ea2 --- /dev/null +++ b/patches.renesas/0164-ARM-shmobile-armadillo800eva-dts-Add-pinctrl-and-gpi.patch @@ -0,0 +1,51 @@ +From 51bcd06769df2338b4624611d8bbf5ef14a7afde Mon Sep 17 00:00:00 2001 +From: Geert Uytterhoeven <geert+renesas@glider.be> +Date: Wed, 17 Jun 2015 10:38:56 +0200 +Subject: [PATCH 164/326] ARM: shmobile: armadillo800eva dts: Add pinctrl and + gpio-hog for lcdc0 + +Configure pinctrl and a GPIO-controller board mux for LCD use. +This allows the armadillo800eva board staging code to enable lcdc0. + +Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> +Signed-off-by: Simon Horman <horms+renesas@verge.net.au> +(cherry picked from commit ffd2f9a5afb730b9f6c1d1938934213c3cfcf249) +Signed-off-by: Simon Horman <horms+renesas@verge.net.au> +--- + arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts +index 2e31d8c01cbf..105d9c95de4a 100644 +--- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts ++++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts +@@ -224,6 +224,9 @@ + }; + + &pfc { ++ pinctrl-0 = <&lcd0_pins>; ++ pinctrl-names = "default"; ++ + ether_pins: ether { + renesas,groups = "gether_mii", "gether_int"; + renesas,function = "gether"; +@@ -259,6 +262,16 @@ + "fsia_data_in_1", "fsia_data_out_0"; + renesas,function = "fsia"; + }; ++ ++ lcd0_pins: lcd0 { ++ renesas,groups = "lcd0_data24_0", "lcd0_lclk_1", "lcd0_sync"; ++ renesas,function = "lcd0"; ++ ++ /* DBGMD/LCDC0/FSIA MUX */ ++ gpio-hog; ++ gpios = <176 0>; ++ output-high; ++ }; + }; + + &tpu { +-- +2.6.2 + |