diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2017-09-06 21:47:14 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:30:31 +0800 |
commit | 9373cd9ec933072bea759527edbf0a9bbbea053a (patch) | |
tree | f423baefffffb2eeb1874dd622116b05502a0de8 /arch/arm/boot/dts/imx7ulp-evk-wm8960.dts | |
parent | 6b8c64504f15abe2984be94ab2a3b3dc80cd685c (diff) |
MLK-17491-13 dts: imx7ulp: improve the gpio using
Currently people have no idea on which pad is correspding to which gpio
controller as there's no hints in dts. Let's add a proper prefix for gpio
nodes as follows in dts to make it much easier to use.
gpio0 = &gpio_ptc;
gpio1 = &gpio_ptd;
gpio2 = &gpio_pte;
gpio3 = &gpio_ptf;
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7ulp-evk-wm8960.dts')
-rw-r--r-- | arch/arm/boot/dts/imx7ulp-evk-wm8960.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx7ulp-evk-wm8960.dts b/arch/arm/boot/dts/imx7ulp-evk-wm8960.dts index 3389d952ee03..25d431e86920 100644 --- a/arch/arm/boot/dts/imx7ulp-evk-wm8960.dts +++ b/arch/arm/boot/dts/imx7ulp-evk-wm8960.dts @@ -125,8 +125,8 @@ codec-master; /* JD3: hp detect high for headphone*/ hp-det = <3 0>; - hp-det-gpios = <&gpio3 0 0>; - mic-det-gpios = <&gpio3 0 0>; + hp-det-gpios = <&gpio_ptf 0 0>; + mic-det-gpios = <&gpio_ptf 0 0>; audio-routing = "Headphone Jack", "HP_L", "Headphone Jack", "HP_R", |