[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YhUj3uRQinOVF4eM@robh.at.kernel.org>
Date: Tue, 22 Feb 2022 11:56:46 -0600
From: Rob Herring <robh@...nel.org>
To: Tyrone Ting <warp5tw@...il.com>
Cc: avifishman70@...il.com, tmaimon77@...il.com, tali.perry1@...il.com,
venture@...gle.com, yuenn@...gle.com, benjaminfair@...gle.com,
krzysztof.kozlowski@...onical.com, semen.protsenko@...aro.org,
yangyicong@...ilicon.com, wsa@...nel.org, jie.deng@...el.com,
sven@...npeter.dev, bence98@....bme.hu,
christophe.leroy@...roup.eu, lukas.bulwahn@...il.com,
olof@...om.net, arnd@...db.de, digetx@...il.com,
andriy.shevchenko@...ux.intel.com, tali.perry@...oton.com,
Avi.Fishman@...oton.com, tomer.maimon@...oton.com,
KWLIU@...oton.com, JJLIU0@...oton.com, kfting@...oton.com,
openbmc@...ts.ozlabs.org, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 02/11] dt-bindings: i2c: npcm: support NPCM845
On Sun, Feb 20, 2022 at 11:53:12AM +0800, Tyrone Ting wrote:
> From: Tyrone Ting <kfting@...oton.com>
>
> Add compatible and nuvoton,sys-mgr description for NPCM i2c module.
>
> Signed-off-by: Tyrone Ting <kfting@...oton.com>
> Signed-off-by: Tali Perry <tali.perry1@...il.com>
> ---
> .../bindings/i2c/nuvoton,npcm7xx-i2c.yaml | 17 ++++++++++++-----
> 1 file changed, 12 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/i2c/nuvoton,npcm7xx-i2c.yaml b/Documentation/devicetree/bindings/i2c/nuvoton,npcm7xx-i2c.yaml
> index 128444942aec..809c51ac32fe 100644
> --- a/Documentation/devicetree/bindings/i2c/nuvoton,npcm7xx-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/nuvoton,npcm7xx-i2c.yaml
> @@ -7,17 +7,18 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
> title: nuvoton NPCM7XX I2C Controller Device Tree Bindings
>
> description: |
> - The NPCM750x includes sixteen I2C bus controllers. All Controllers support
> - both master and slave mode. Each controller can switch between master and slave
> - at run time (i.e. IPMB mode). Each controller has two 16 byte HW FIFO for TX and
> - RX.
> + I2C bus controllers of the NPCM series support both master and
> + slave mode. Each controller can switch between master and slave at run time
> + (i.e. IPMB mode). HW FIFO for TX and RX are supported.
>
> maintainers:
> - Tali Perry <tali.perry1@...il.com>
>
> properties:
> compatible:
> - const: nuvoton,npcm750-i2c
> + enum:
> + - nuvoton,npcm750-i2c
> + - nuvoton,npcm845-i2c
>
> reg:
> maxItems: 1
> @@ -36,11 +37,16 @@ properties:
> default: 100000
> enum: [100000, 400000, 1000000]
>
> + nuvoton,sys-mgr:
> + $ref: "/schemas/types.yaml#/definitions/phandle"
> + description: The phandle of system manager register node.
> +
> required:
> - compatible
> - reg
> - interrupts
> - clocks
> + - nuvoton,sys-mgr
You can't make nuvoton,sys-mgr required for existing users. You can add
an if/then schema for nuvoton,npcm845-i2c if you want to make it
required in that case.
Rob
Powered by blists - more mailing lists