CHROMIUM: exynos: dt: Match ptn3460 node bindings
authorSean Paul <seanpaul@chromium.org>
Mon, 6 Aug 2012 22:35:48 +0000 (15:35 -0700)
committerGerrit <chrome-bot@google.com>
Tue, 7 Aug 2012 16:08:44 +0000 (09:08 -0700)
Rename the ptn3460 device tree node to match the bindings documentation
in Documentation/devicetree/bindings/video/ptn3460.txt

BUG=chrome-os-partner:10829
BUG=chrome-os-partner:11158
BUG=chrome-os-partner:12046
TEST=Tested on snow, screen came up on power-on and resume

Change-Id: Ib884fd732272e21bfbc8b42350b9bc49bec08dc1
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/29344
Reviewed-by: Olof Johansson <olofj@chromium.org>
arch/arm/boot/dts/exynos5250-snow.dts
arch/arm/mach-exynos/mach-exynos5-dt.c

index 1a7c381..2cc8554 100644 (file)
                        <&gpe0 4 0 3 0>;
        };
        i2c@12CD0000 {
-               dp_bridge@20 {
+               ptn3460-bridge@20 {
                        compatible = "nxp,ptn3460";
                        reg = <0x20>;
-                       pd_n_gpio = <&gpy2 5 1 0 0>;
-                       rst_n_gpio = <&gpx1 5 1 0 0>;
+                       powerdown-gpio = <&gpy2 5 1 0 0>;
+                       reset-gpio = <&gpx1 5 1 0 0>;
                };
        };
 };
index 1d3a4da..f9f0c65 100644 (file)
@@ -588,8 +588,8 @@ static void get_dp_bridge_gpios(int *pd_n_gpio, int *rst_n_gpio)
        struct device_node *np;
 
        np = of_find_compatible_node(NULL, NULL, "nxp,ptn3460");
-       *pd_n_gpio = np ? of_get_named_gpio(np, "pd_n_gpio", 0) : -1;
-       *rst_n_gpio = np ? of_get_named_gpio(np, "rst_n_gpio", 0) : -1;
+       *pd_n_gpio = np ? of_get_named_gpio(np, "powerdown-gpio", 0) : -1;
+       *rst_n_gpio = np ? of_get_named_gpio(np, "reset-gpio", 0) : -1;
 }
 
 static void dp_phy_init(void)