From 5d0f1950a80d694f0884309797516ea378858d6e Mon Sep 17 00:00:00 2001 From: Brett-Michael Green Date: Fri, 30 Oct 2026 14:44:01 -0400 Subject: [PATCH 1/4] dt-bindings: pinctrl: samsung: Add the Tensor G3 wake-up interrupts zuma's (Tensor G3) ALIVE pin controller has a wake-up interrupt controller like Tensor G4's: each pin has its own GIC interrupt, and its EINT registers are at the same offsets. Document zuma's compatible with Tensor G4's as the fallback. Assisted-by: LLM Signed-off-by: Brett-Michael Green --- .../bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml index c1dffa2565..721e589eec 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml @@ -61,6 +61,9 @@ properties: - const: google,gs101-wakeup-eint - const: samsung,exynos850-wakeup-eint - const: samsung,exynos7-wakeup-eint + - items: + - const: google,zuma-wakeup-eint + - const: google,zumapro-wakeup-eint interrupts: description: From 20f2645ada49296f656403334249a1eca786f616 Mon Sep 17 00:00:00 2001 From: Brett-Michael Green Date: Fri, 30 Oct 2026 14:51:26 -0400 Subject: [PATCH 2/4] pinctrl: samsung: zuma: ALIVE has no GPIO interrupts All of zuma's ALIVE banks are wake-up EINT banks, each pin on its own GIC interrupt, so the controller has no interrupt for GPIO EINTs. exynos_eint_gpio_init() only serves EINT_TYPE_GPIO banks, and without an interrupt on the controller node it logs "irq number not available" at every boot. Drop it from ALIVE, as gs101's ALIVE controller does. Fixes: 6d5bc3a01525 ("pinctrl: samsung: Add Tensor G3 pin banks") Assisted-by: LLM Signed-off-by: Brett-Michael Green --- drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c index 74bcc38069..bab951eb0a 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c @@ -2658,7 +2658,6 @@ static const struct samsung_pin_ctrl zuma_pin_ctrl[] __initconst = { /* Controller 0: ALIVE */ .pin_banks = zuma_pin_alive, .nr_banks = ARRAY_SIZE(zuma_pin_alive), - .eint_gpio_init = exynos_eint_gpio_init, .eint_wkup_init = exynos_eint_wkup_init, }, { /* Controller 1: CUSTOM */ From e522bd08adce478c6bb9a3f56c1be41874b408be Mon Sep 17 00:00:00 2001 From: Brett-Michael Green Date: Fri, 30 Oct 2026 14:45:25 -0400 Subject: [PATCH 3/4] arm64: dts: exynos: google: zuma: add the ALIVE pin controller Add zuma's ALIVE pin controller at 0x154d0000, controller 0 of the driver's zuma data, with its ten banks (gpa0-gpa4, gpa6-gpa10) and its wake-up interrupt controller. As in stock's live device tree, each of the 50 pins has its own interrupt, SPI 10 to 59 in pin order, level high. Like PERIC0 and HSI2UFS, the controller takes the bus-clock stand-in, since zuma has no clock driver yet and ABL leaves the clock running. The power and volume keys are on this controller. Assisted-by: LLM Signed-off-by: Brett-Michael Green --- .../boot/dts/exynos/google/zuma-pinctrl.dtsi | 133 ++++++++++++++++++ arch/arm64/boot/dts/exynos/google/zuma.dtsi | 13 ++ 2 files changed, 146 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/zuma-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/google/zuma-pinctrl.dtsi index 581cb8c8a5..42e7e7f095 100644 --- a/arch/arm64/boot/dts/exynos/google/zuma-pinctrl.dtsi +++ b/arch/arm64/boot/dts/exynos/google/zuma-pinctrl.dtsi @@ -7,6 +7,139 @@ #include "gs101-pinctrl.h" +&pinctrl_gpio_alive { + gpa0: gpa0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + }; + + gpa1: gpa1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + ; + }; + + gpa2: gpa2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + }; + + gpa3: gpa3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + }; + + gpa4: gpa4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + ; + }; + + gpa6: gpa6-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + ; + }; + + gpa7: gpa7-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + }; + + gpa8: gpa8-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + }; + + gpa9: gpa9-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + ; + }; + + gpa10: gpa10-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + ; + }; + +}; + &pinctrl_peric0 { gpp0: gpp0-gpio-bank { gpio-controller; diff --git a/arch/arm64/boot/dts/exynos/google/zuma.dtsi b/arch/arm64/boot/dts/exynos/google/zuma.dtsi index e47c62529d..92bef7f97d 100644 --- a/arch/arm64/boot/dts/exynos/google/zuma.dtsi +++ b/arch/arm64/boot/dts/exynos/google/zuma.dtsi @@ -21,6 +21,7 @@ /* The pin controllers are numbered as in Tensor G4's driver data. */ aliases { + pinctrl0 = &pinctrl_gpio_alive; pinctrl10 = &pinctrl_hsi2ufs; pinctrl11 = &pinctrl_peric0; }; @@ -430,6 +431,18 @@ mode-recovery = <0xff>; }; }; + + pinctrl_gpio_alive: pinctrl@154d0000 { + compatible = "google,zuma-pinctrl"; + reg = <0x154d0000 0x1000>; + clocks = <&clk_gpio_stub>; + clock-names = "pclk"; + + wakeup-interrupt-controller { + compatible = "google,zuma-wakeup-eint", + "google,zumapro-wakeup-eint"; + }; + }; }; }; From e30780bc2f45e34a87d3709691fdbdfc91af5fd8 Mon Sep 17 00:00:00 2001 From: Brett-Michael Green Date: Fri, 30 Oct 2026 14:45:25 -0400 Subject: [PATCH 4/4] arm64: dts: exynos: google: zuma-husky: add the buttons Describe the power and volume keys as gpio-keys, as stock does: power on gpa4-0 (pulled up), volume down on gpa4-1 and volume up on gpa6-2, all active low and in their wake-up interrupt function. Values come from a retail Pixel 8 Pro's live device tree. Assisted-by: LLM Signed-off-by: Brett-Michael Green --- .../boot/dts/exynos/google/zuma-husky.dts | 28 +++++++++++++++++++ .../boot/dts/exynos/google/zuma-pinctrl.dtsi | 20 +++++++++++++ 2 files changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/zuma-husky.dts b/arch/arm64/boot/dts/exynos/google/zuma-husky.dts index 979a1a6090..074eee930f 100644 --- a/arch/arm64/boot/dts/exynos/google/zuma-husky.dts +++ b/arch/arm64/boot/dts/exynos/google/zuma-husky.dts @@ -6,6 +6,7 @@ /dts-v1/; #include +#include #include "zuma.dtsi" / { @@ -77,6 +78,33 @@ }; }; + gpio-keys { + compatible = "gpio-keys"; + pinctrl-0 = <&key_voldown>, <&key_volup>, <&key_power>; + pinctrl-names = "default"; + + button-vol-down { + label = "KEY_VOLUMEDOWN"; + linux,code = ; + gpios = <&gpa4 1 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + button-vol-up { + label = "KEY_VOLUMEUP"; + linux,code = ; + gpios = <&gpa6 2 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + button-power { + label = "KEY_POWER"; + linux,code = ; + gpios = <&gpa4 0 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + }; + reserved-memory { #address-cells = <2>; #size-cells = <1>; diff --git a/arch/arm64/boot/dts/exynos/google/zuma-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/google/zuma-pinctrl.dtsi index 42e7e7f095..724ef95913 100644 --- a/arch/arm64/boot/dts/exynos/google/zuma-pinctrl.dtsi +++ b/arch/arm64/boot/dts/exynos/google/zuma-pinctrl.dtsi @@ -138,6 +138,26 @@ ; }; + key_power: key-power-pins { + samsung,pins = "gpa4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_voldown: key-voldown-pins { + samsung,pins = "gpa4-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_volup: key-volup-pins { + samsung,pins = "gpa6-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; }; &pinctrl_peric0 {