# Re: \[PATCH v1 1/1\] pinctrl: add pinctrl/GPIO driver for Apple SoCs

- From: Sven Peter \<hidden\>
- Date: 2021-09-26 12:56:49 
- List: linux-gpio
- Page: https://ratatoskr.run/linux-gpio/2021/09/8513701
- Thread: https://ratatoskr.run/linux-gpio/2021/09/8513666/t.md

```text
Hi,

On Sun, Sep 26, 2021, at 14:48, Linus Walleij wrote:
> I think npins should be known from the compatible (we know that
> this version of the SoC has so and so many pins) and the base
> should always be 0? It's not like we have several pin controllers
> of this type in the SoC is it?

I've just checked: Looks like there are four different pin controllers of
this type with a different number of pins each in Apple's device tree for
the M1.


Best,


Sven
```
