From 7d75d02f66894e663fdbb75ba250e02770faca64 Mon Sep 17 00:00:00 2001 From: Lef Date: Tue, 10 Nov 2026 19:00:07 +0200 Subject: [PATCH 1/2] dt-bindings: mfd: samsung,s2mpg15-pmic: the sub-PMIC is on Tensor G3 and G4 The Pixel 8 Pro (Tensor G3) has an S2MPG15 sub-PMIC too, with the same three GNSS LDOs, as its zuma-husky node shows. Say G3 and G4 in the descriptions of the PMIC and of its regulators. No property changes. Signed-off-by: Lef --- Documentation/devicetree/bindings/mfd/samsung,s2mpg15-pmic.yaml | 2 +- .../bindings/regulator/samsung,s2mpg15-regulator.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/samsung,s2mpg15-pmic.yaml b/Documentation/devicetree/bindings/mfd/samsung,s2mpg15-pmic.yaml index 90d7e84423..0d6ba7675e 100644 --- a/Documentation/devicetree/bindings/mfd/samsung,s2mpg15-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/samsung,s2mpg15-pmic.yaml @@ -10,7 +10,7 @@ maintainers: - W4HO <87742609+W4HO-ham@users.noreply.github.com> description: | - S2MPG15 is the sub PMIC paired with Google's Tensor G4 and is reached + S2MPG15 is the sub PMIC paired with Google's Tensor G3 and G4 and is reached through ACPM. Its LDOs supply the AoC sensors, the GNSS receiver, the camera sensors and the fingerprint sensor. Interrupt, meter, GPIO and RTC functions are not described here. diff --git a/Documentation/devicetree/bindings/regulator/samsung,s2mpg15-regulator.yaml b/Documentation/devicetree/bindings/regulator/samsung,s2mpg15-regulator.yaml index 4134157536..b2afeff2d6 100644 --- a/Documentation/devicetree/bindings/regulator/samsung,s2mpg15-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/samsung,s2mpg15-regulator.yaml @@ -10,7 +10,7 @@ maintainers: - W4HO <87742609+W4HO-ham@users.noreply.github.com> description: | - The sub-PMIC paired with Google's Tensor G4. LDO5S and LDO7S supply the + The sub-PMIC paired with Google's Tensor G3 and G4. LDO5S and LDO7S supply the AoC sensors, LDO9S, LDO10S and LDO11S the GNSS receiver's core, RF front end and auxiliary supply, LDO12S the camera sensors' 1.8 V and LDO15S the fingerprint sensor's 3.3 V. Enable control and voltage readback are From 8eb3a34a066cf6c7302f08ef9da1ad0bab7aa963 Mon Sep 17 00:00:00 2001 From: Lef Date: Mon, 9 Nov 2026 21:22:44 +0200 Subject: [PATCH 2/2] arm64: dts: exynos: google: zuma-husky: add the BCM4775x GNSS node on spi21, disabled The Pixel 8 Pro's GNSS receiver is a BCM4775x on HSI0 USI3 (Google's spi_21). Add a gnss@0 node for the brcm,bcm4775-gnss binding, as the Pixel 7 Pro does, with the lines from stock's bcm4775@0: host request gpa5-3, mcu request gpp4-3, nstandby gph3-3 and mcu response gph3-2, and the three supplies from the S2MPG15 LDOs (ldo9s, ldo10s, ldo11s). The four pin groups sit in this file beside the Wi-Fi ones, with the pull and power-down states stock has. The GPIOs are raw levels with nstandby active high, not active low as stock writes it: the driver sets nstandby with raw values. The host request line is also the interrupt (level high), as on the 7 Pro. spi-max-frequency (26 MHz) and samsung,spi-feedback-delay (1) are stock's values for this node. Chip select is the controller's native one, as stock has no cs-gpios and no pin group for spi_21; the spi driver's manual_native_cs path handles that. Stock's node also has samsung,spi-chip-select-mode = <0>, which this tree's spi driver does not read, so it is left out. The node is status = "disabled" and sits on the pin controllers and the gpa5, gph3 and gpp4 banks that omamobile already has, and on spi21 and the S2MPG15 sub-PMIC (both already in, the latter from the S2MPG15 commit that merged earlier). Built, not booted. Signed-off-by: Lef --- .../boot/dts/exynos/google/zuma-husky.dts | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/zuma-husky.dts b/arch/arm64/boot/dts/exynos/google/zuma-husky.dts index bedcfcc527..be6b992bb0 100644 --- a/arch/arm64/boot/dts/exynos/google/zuma-husky.dts +++ b/arch/arm64/boot/dts/exynos/google/zuma-husky.dts @@ -327,6 +327,14 @@ samsung,pin-con-pdn = ; samsung,pin-pud-pdn = ; }; + + gnss_host_req: gnss-host-req-pins { + samsung,pins = "gpa5-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; }; &pinctrl_hsi2 { @@ -347,6 +355,32 @@ samsung,pin-con-pdn = ; samsung,pin-pud-pdn = ; }; + + gnss_mcu_resp: gnss-mcu-resp-pins { + samsung,pins = "gph3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; + + gnss_nstandby: gnss-nstandby-pins { + samsung,pins = "gph3-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; +}; + +&pinctrl_peric0 { + gnss_mcu_req: gnss-mcu-req-pins { + samsung,pins = "gpp4-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; }; &spi20 { @@ -674,3 +708,40 @@ }; }; }; + +/* + * The BCM4775x GNSS receiver on HSI0 USI3 (Google's spi_21), as stock's + * bcm4775@0 and the Pixel 7 Pro's node. The lines are raw levels, because + * the driver drives nstandby with raw GPIO values (lhd writes 1 to run the + * chip), so nstandby is not marked active low as stock marks it. The bus + * and the sub-PMIC are disabled here, and a bring-up overlay enables them + * together with this node. Stock's spi-max-frequency (26 MHz) and feedback + * delay (1) are used as they are; its chip-select-mode property is not read + * by this tree's spi driver. + */ +&spi21 { + gnss@0 { + compatible = "brcm,bcm4775-gnss"; + reg = <0>; + spi-max-frequency = <26000000>; + spi-cpol; + spi-cpha; + interrupts-extended = <&gpa5 3 IRQ_TYPE_LEVEL_HIGH>; + nstandby-gpios = <&gph3 3 GPIO_ACTIVE_HIGH>; + mcu-req-gpios = <&gpp4 3 GPIO_ACTIVE_HIGH>; + mcu-resp-gpios = <&gph3 2 GPIO_ACTIVE_HIGH>; + host-req-gpios = <&gpa5 3 GPIO_ACTIVE_HIGH>; + vddcore-supply = <&ldo9s>; + vddrf-supply = <&ldo10s>; + vddaux-supply = <&ldo11s>; + pinctrl-names = "default"; + pinctrl-0 = <&gnss_nstandby &gnss_mcu_resp &gnss_mcu_req + &gnss_host_req>; + status = "disabled"; + + /* Stock's value; whether 26 MHz needs it is not known. */ + controller-data { + samsung,spi-feedback-delay = <1>; + }; + }; +};