aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2024-01-24 13:05:51 -0600
committerRob Herring <robh@kernel.org>2024-02-12 16:42:04 -0600
commit91f9a47ddb9d6f24028540d843d8464b97f05b0a (patch)
tree98caab5ce5488899863f48bf27f5bc1b3bc29252
parentdt-bindings: i2c: mux: i2c-demux-pinctrl: Drop i2c-mux.yaml reference (diff)
downloadlinux-rng-91f9a47ddb9d6f24028540d843d8464b97f05b0a.tar.xz
linux-rng-91f9a47ddb9d6f24028540d843d8464b97f05b0a.zip
dt-bindings: i2c: mux: i2c-demux-pinctrl: Define "i2c-parent" constraints
The 'phandle-array' type is a bit ambiguous. It can be either just an array of phandles or an array of phandles plus args. "i2c-parent" is the former and needs to constrain each entry to a single phandle value. Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20240124190552.1551929-2-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml b/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml
index dd3d24212551..b813f6d4810c 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml
@@ -40,6 +40,8 @@ properties:
i2c-parent:
$ref: /schemas/types.yaml#/definitions/phandle-array
+ items:
+ maxItems: 1
description:
List of phandles of I2C masters available for selection. The first one
will be used as default.