summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i2c/i2c-imx.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-01-19 04:52:53 +0300
committerRob Herring <robh@kernel.org>2022-02-04 18:43:43 +0300
commit8682016ca04371d13f3384b2e14de779286f8549 (patch)
tree44758f921c374166849f762f58594295d75139f9 /Documentation/devicetree/bindings/i2c/i2c-imx.yaml
parent58bcfe0a082d5b3bf53135c7ee812beb9404803e (diff)
downloadlinux-8682016ca04371d13f3384b2e14de779286f8549.tar.xz
dt-bindings: i2c: imx: Make each example a separate entry
Each independent example should be a separate entry. This allows for 'interrupts' to have different cell sizes. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.kernel.org/r/20220119015253.2437352-1-robh@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-imx.yaml')
-rw-r--r--Documentation/devicetree/bindings/i2c/i2c-imx.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx.yaml
index c167958ae2a9..01720e338b4c 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-imx.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-imx.yaml
@@ -88,9 +88,7 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/imx5-clock.h>
- #include <dt-bindings/clock/vf610-clock.h>
- #include <dt-bindings/gpio/gpio.h>
- #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
i2c@83fc4000 {
compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
@@ -99,6 +97,9 @@ examples:
clocks = <&clks IMX5_CLK_I2C2_GATE>;
};
+ - |
+ #include <dt-bindings/clock/vf610-clock.h>
+
i2c@40066000 {
compatible = "fsl,vf610-i2c";
reg = <0x40066000 0x1000>;