Thread (13 messages) 13 messages, 4 authors, 2025-07-15

Re: [PATCH v16 1/5] dt-bindings: mmc: sdhci-pxa: restrict pinctrl to pxav1

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2025-07-09 07:32:09
Also in: linux-arm-kernel, linux-hardening, linux-mmc, lkml, phone-devel

On Tue, Jul 08, 2025 at 07:09:46PM +0200, Duje Mihanović wrote:
The current pinctrl properties apply only to the pxav1 controller.
Why they are not applicable for pxav3?
Adding one default pinctrl node to a pxav3 controller therefore causes
a schema warning.

Check the existing properties only on pxav1. pxav2 and pxav3 may add
their own set of pinctrl properties if and when needed.
This should be rather made complete here, because properties should be
defined in top-level, not in allOf: block. Strictly speaking pinctrl-xxx
are defined in core schema, but still the binding should follow same
rule - define them in top.

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help