[PATCH] dt-bindings: mmc: sdhci-pxa: Add minItems to pinctrl-names

Duje Mihanović posted 1 patch 4 weeks, 1 day ago
Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml | 2 ++
1 file changed, 2 insertions(+)
[PATCH] dt-bindings: mmc: sdhci-pxa: Add minItems to pinctrl-names
Posted by Duje Mihanović 4 weeks, 1 day ago
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>

Re: [PATCH] dt-bindings: mmc: sdhci-pxa: Add minItems to pinctrl-names
Posted by Ulf Hansson 2 weeks, 6 days ago
On Wed, 3 Sept 2025 at 12:51, Duje Mihanović <duje@dujemihanovic.xyz> 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>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  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>
>
Re: [PATCH] dt-bindings: mmc: sdhci-pxa: Add minItems to pinctrl-names
Posted by Rob Herring (Arm) 4 weeks, 1 day ago
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>