devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mmc: sdhci-pxa: Add minItems to pinctrl-names
@ 2025-09-03 10:51 Duje Mihanović
  2025-09-03 21:52 ` Rob Herring (Arm)
  0 siblings, 1 reply; 2+ messages in thread
From: Duje Mihanović @ 2025-09-03 10:51 UTC (permalink / raw)
  To: Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-mmc, devicetree, linux-kernel, kernel test robot,
	Duje Mihanović

Some older boards only require a default pinctrl. Add a minItems
property so these don't cause dt-validate warnings.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202509030625.PBgLIAwG-lkp@intel.com/
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
---
 Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
index fba1cc50fdf07cc25d42f45512c385a9b8207b9b..186ce8ff4626a1eb07633e08aeb6322ae2eb25a8 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
+++ b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
@@ -44,6 +44,7 @@ allOf:
           items:
             - const: default
             - const: state_cmd_gpio
+          minItems: 1
 
         pinctrl-1:
           description:
@@ -61,6 +62,7 @@ allOf:
           items:
             - const: default
             - const: state_uhs
+          minItems: 1
 
         pinctrl-1:
           description:

---
base-commit: 5d50cf9f7cf20a17ac469c20a2e07c29c1f6aab7
change-id: 20250903-pxav3-uhs-fix-9cbcfd2ec0b1

Best regards,
-- 
Duje Mihanović <duje@dujemihanovic.xyz>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: mmc: sdhci-pxa: Add minItems to pinctrl-names
  2025-09-03 10:51 [PATCH] dt-bindings: mmc: sdhci-pxa: Add minItems to pinctrl-names Duje Mihanović
@ 2025-09-03 21:52 ` Rob Herring (Arm)
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-09-03 21:52 UTC (permalink / raw)
  To: Duje Mihanović
  Cc: linux-kernel, Ulf Hansson, Krzysztof Kozlowski, linux-mmc,
	kernel test robot, Conor Dooley, devicetree


On Wed, 03 Sep 2025 12:51:39 +0200, Duje Mihanović wrote:
> Some older boards only require a default pinctrl. Add a minItems
> property so these don't cause dt-validate warnings.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202509030625.PBgLIAwG-lkp@intel.com/
> Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
> ---
>  Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-03 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03 10:51 [PATCH] dt-bindings: mmc: sdhci-pxa: Add minItems to pinctrl-names Duje Mihanović
2025-09-03 21:52 ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).