diff options
author | Ray Chi <raychi@google.com> | 2023-12-05 13:55:00 +0800 |
---|---|---|
committer | Ray Chi <raychi@google.com> | 2023-12-05 13:55:00 +0800 |
commit | 0eb08105c968ca1d96ddaef0882dec4740bdd0ed (patch) | |
tree | 202b861e24e994d9dfa2099642953dc981b97258 | |
parent | aa4912b5e85db790fe4983da0284bbe00c3df163 (diff) | |
download | shusky-0eb08105c968ca1d96ddaef0882dec4740bdd0ed.tar.gz |
arm64/dts: shusky: update pinctrl of eUSB repeater
Since the gpio control of eUSB repeater is removed, this patch just
add a init state (H-Z) for resetb gpio.
Bug: 305145476
Change-Id: Iefa2406751b7237704f762a84b57200d5769ae6e
Signed-off-by: Ray Chi <raychi@google.com>
-rw-r--r-- | dts/google/zuma-shusky-usb.dtsi | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/dts/google/zuma-shusky-usb.dtsi b/dts/google/zuma-shusky-usb.dtsi index 1b2710c..632ef70 100644 --- a/dts/google/zuma-shusky-usb.dtsi +++ b/dts/google/zuma-shusky-usb.dtsi @@ -19,17 +19,12 @@ }; &pinctrl_12 { - eusb_power_off: eusb_power_off { + eusb_init_state: eusb_init_state { samsung,pins = "gpp21-3"; - samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; - samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; - samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_DOWN>; - }; - - eusb_power_on: eusb_power_on { - samsung,pins = "gpp21-3"; - samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; - samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; + samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; + samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>; + samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; }; }; @@ -87,10 +82,8 @@ compatible = "samsung,eusb-repeater"; reg = <0x3E>; status = "okay"; - pinctrl-names = "power_off", "power_on"; - pinctrl-0 = <&eusb_power_off>; - pinctrl-1 = <&eusb_power_on>; - eusb,gpio_eusb_resetb = <&gpp21 3 GPIO_ACTIVE_LOW>; + pinctrl-names = "init_state"; + pinctrl-0 = <&eusb_init_state>; repeater_tune_param = <&eusb_repeater_tune>; }; }; |