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>
<&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>;
};
};
};
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)