[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <88bcb8db-1e19-fdf6-6527-6f3755cd5709@roeck-us.net>
Date: Tue, 25 Aug 2020 15:21:19 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Mark Rutland <mark.rutland@....com>,
Thierry Reding <thierry.reding@...il.com>,
Anson Huang <Anson.Huang@....com>,
Li Yang <leoyang.li@....com>, Han Xu <han.xu@....com>,
Frank Li <frank.li@....com>, Fugang Duan <fugang.duan@....com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mmc@...r.kernel.org, linux-mtd@...ts.infradead.org,
linux-pwm@...r.kernel.org, linux-serial@...r.kernel.org,
linux-pm@...r.kernel.org, linux-watchdog@...r.kernel.org
Subject: Re: [PATCH v3 08/19] dt-bindings: watchdog: fsl-imx-wdt: Add i.MX 8M
compatibles
On 8/25/20 12:35 PM, Krzysztof Kozlowski wrote:
> DTSes with new i.MX 8M SoCs introduce their own compatibles so add them
> to fix dtbs_check warnings like:
>
> arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dt.yaml: watchdog@...80000:
> compatible:0: 'fsl,imx8mm-wdt' is not one of ['fsl,imx21-wdt']
> From schema: Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml
>
> arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dt.yaml: watchdog@...80000:
> compatible: ['fsl,imx8mm-wdt', 'fsl,imx21-wdt'] is too long
>
> arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dt.yaml: watchdog@...80000:
> compatible: Additional items are not allowed ('fsl,imx21-wdt' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
> Reviewed-by: Rob Herring <robh@...nel.org>
Reviewed-by: Guenter Roeck <linux@...ck-us.net>
> ---
> .../devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml
> index d96b93b11fad..991b4e33486e 100644
> --- a/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml
> @@ -14,8 +14,15 @@ allOf:
>
> properties:
> compatible:
> - enum:
> - - fsl,imx21-wdt
> + oneOf:
> + - const: fsl,imx21-wdt
> + - items:
> + - enum:
> + - fsl,imx8mm-wdt
> + - fsl,imx8mn-wdt
> + - fsl,imx8mp-wdt
> + - fsl,imx8mq-wdt
> + - const: fsl,imx21-wdt
>
> reg:
> maxItems: 1
>
Powered by blists - more mailing lists