Skip to content

Commit

Permalink
Change device tree for P22 to insulate UWB from AoC crashes
Browse files Browse the repository at this point in the history
Description: drive uwb_rst_L as an output directly from AP.

Bug: 240205717
Test: see b/253540544
Signed-off-by: Yang Qi <[email protected]>
Change-Id: I10ed786d36f72a0a5d67e6e66af1aebbb4d2952f
  • Loading branch information
Yang Qi committed Nov 14, 2022
1 parent 2ffcc83 commit da7bcb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/google/gs101-raven-uwb.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
&pinctrl_4 {
dw3xxx_ap_rst: dw3xxx-ap-rst {
samsung,pins = "gpp11-0";
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
samsung,pin-pud-pdn = <EXYNOS_PIN_PDN_PREV>;
Expand All @@ -54,7 +54,7 @@
pinctrl-0 = <&spi10_cs &dw3xxx_irq &dw3xxx_ap_rst &dw3xxx_sync>;
spi-max-frequency = <40000000>;

uwbhal,reset-gpio = <&aoc_gpiochip 0 GPIO_OPEN_DRAIN>;
uwbhal,reset-gpio = <&gpp11 0 GPIO_OPEN_DRAIN>;
power_reg_2p5-supply = <&s_ldo4_reg>;
power_reg_1p8-supply = <&s_ldo14_reg>;

Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/google/gs201-ravenclaw-uwb.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
&pinctrl_4 {
dw3xxx_ap_rst: dw3xxx-ap-rst {
samsung,pins = "gpp2-3";
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
samsung,pin-pud-pdn = <EXYNOS_PIN_PDN_PREV>;
Expand All @@ -45,7 +45,7 @@
pinctrl-0 = <&spi16_cs &dw3xxx_irq &dw3xxx_ap_rst>;
spi-max-frequency = <40000000>;

uwbhal,reset-gpio = <&aoc_gpiochip 0 GPIO_OPEN_DRAIN>;
uwbhal,reset-gpio = <&gpp2 3 GPIO_OPEN_DRAIN>;
power_reg_2p5-supply = <&s_ldo16_reg>;
power_reg_1p8-supply = <&s_ldo17_reg>;

Expand Down

0 comments on commit da7bcb7

Please sign in to comment.