[PATCH v2 1/2] dt-bindings: spmi: Add Google LGA SPMI controller

Doug Anderson dianders at chromium.org
Wed Nov 25 12:26:01 PST 2026


Hi,

On Sun, Nov 15, 2026 at 10:02 AM vamshi gajjela
<vamshigajjela at google.com> wrote:
>
> +allOf:
> +  - $ref: spmi.yaml#
> +
> +properties:
> +  compatible:
> +    const: google,lga-spmi
> +
> +  reg:
> +    maxItems: 1
> +
> +  clocks:
> +    maxItems: 1
> +
> +  resets:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +  - clocks
> +  - resets
> +
> +unevaluatedProperties: false

Looking at downstream usage, we may also want to add:

power-domains:
  maxItems: 1

Since at least some instances of this IP are power-gated by a domain.

We probably also want to add:

interrupts:
  maxItems: 1:

Even though the driver can work with polling (and I guess that's what
you do now), the interrupt should be wired up and the DT should
describe the hardware.

Neither of the two should be listed in "required".


> +examples:
> +  - |
> +    #include <dt-bindings/spmi/spmi.h>
> +
> +    spmi at 14853000 {
> +        compatible = "google,lga-spmi";
> +        reg = <0x14853000 0x100>;

Should the example address match an actual instance of the SPMI on
lga? From what I see, it could be:

reg = <0x3a1b0000 0x200>

...you'd want to update the unit address on the node name too, then.


> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -25243,6 +25243,12 @@ T:     git https://github.com/cschaufler/smack-next.git
>  F:     Documentation/admin-guide/LSM/Smack.rst
>  F:     security/smack/
>
> +SMARTDV SPMI CONTROLLER DRIVER
> +M:     Vamshi Gajjela <vamshigajjela at google.com>
> +L:     linux-kernel at vger.kernel.org
> +S:     Maintained
> +F:     Documentation/devicetree/bindings/spmi/google,lga-spmi.yaml

Instead of a separate maintainer entry, maybe just add this under
"GOOGLE TENSOR SoC SUPPORT" ?



More information about the linux-arm-kernel mailing list