Thread (14 messages) 14 messages, 5 authors, 2022-11-10

Re: [PATCH 1/2] dt-bindings: pinctrl: add schema for NXP S32 SoCs

From: Linus Walleij <hidden>
Date: 2022-11-08 12:31:33
Also in: linux-devicetree, linux-gpio, lkml

Hi Chester,

thanks for your patch!

On Mon, Oct 31, 2022 at 11:09 AM Chester Lin [off-list ref] wrote:
Add DT schema for the pinctrl driver of NXP S32 SoC family.

Signed-off-by: Larisa Grigore <redacted>
Signed-off-by: Ghennadi Procopciuc <redacted>
Signed-off-by: Chester Lin <redacted>
(...)
+  nxp,pins:
+    $ref: /schemas/types.yaml#/definitions/uint32-array
+    description:
+      A list of [start, end] pin ID boundaries that correspond to each of
+      the register regions reserved.
That's an interesting approach.

But what about just hardcoding this into the driver instead?

If you have the compatible, surely you know these indexes from
that compatible string?

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help