[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <653a9c34-7699-13d4-7599-f64e43345b14@linaro.org>
Date: Thu, 13 Apr 2023 18:17:09 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Ryan Chen <ryan_chen@...eedtech.com>,
Brendan Higgins <brendan.higgins@...ux.dev>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Joel Stanley <joel@....id.au>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Andrew Jeffery <andrew@...id.au>,
Philipp Zabel <p.zabel@...gutronix.de>,
Wolfram Sang <wsa@...nel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-i2c@...r.kernel.org, Florian Fainelli <f.fainelli@...il.com>,
Jean Delvare <jdelvare@...e.de>,
William Zhang <william.zhang@...adcom.com>,
Tyrone Ting <kfting@...oton.com>,
Tharun Kumar P <tharunkumar.pasumarthi@...rochip.com>,
Conor Dooley <conor.dooley@...rochip.com>,
Phil Edworthy <phil.edworthy@...esas.com>,
openbmc@...ts.ozlabs.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-aspeed@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v9 1/2 RESEND] dt-bindings: i2c: aspeed: support for
AST2600-i2cv2
On 13/04/2023 09:53, Ryan Chen wrote:
> Add ast2600-i2cv2 compatible and aspeed,global-regs, aspeed,enable-dma
> and description for ast2600-i2cv2.
>
> Signed-off-by: Ryan Chen <ryan_chen@...eedtech.com>
> required:
> - reg
> - compatible
> @@ -57,6 +73,26 @@ required:
>
> unevaluatedProperties: false
>
> +allOf:
allOf goes before unevaluatedProperties. Use example-schema.yaml as your
template/guidance.
> + - $ref: /schemas/i2c/i2c-controller.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: aspeed,ast2600-i2cv2
> +
> + then:
> + properties:
> + reg:
> + minItems: 2
> + required:
> + - aspeed,global-regs
> + else:
> + properties:
> + aspeed,global-regs: false
> + aspeed,enable-dma: false
> +
> +
Only one blank line.
Best regards,
Krzysztof
Powered by blists - more mailing lists