dt-bindings: i2c-mpc: Document interrupt property as required
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Mon, 29 Mar 2021 01:52:01 +0000 (14:52 +1300)
committerWolfram Sang <wsa@kernel.org>
Sat, 10 Apr 2021 20:14:06 +0000 (22:14 +0200)
All of the in-tree device-trees that use the one of the compatible
strings from i2c-mpc.c supply an interrupts property. Make this property
mandatory to aid refactoring the driver.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Documentation/devicetree/bindings/i2c/i2c-mpc.txt

index 42a390526957f3dc659774fa7ae40c2d61fbe046..b15acb43d84de20f3e66d9b088586f0a87f35b06 100644 (file)
@@ -7,14 +7,14 @@ Required properties :
    compatible processor, e.g. mpc8313, mpc8543, mpc8544, mpc5121,
    mpc5200 or mpc5200b. For the mpc5121, an additional node
    "fsl,mpc5121-i2c-ctrl" is required as shown in the example below.
-
-Recommended properties :
-
  - interrupts : <a b> where a is the interrupt number and b is a
    field that represents an encoding of the sense and level
    information for the interrupt.  This should be encoded based on
    the information in section 2) depending on the type of interrupt
    controller you have.
+
+Recommended properties :
+
  - fsl,preserve-clocking : boolean; if defined, the clock settings
    from the bootloader are preserved (not touched).
  - clock-frequency : desired I2C bus clock frequency in Hz.