Message ID | 20210607083921.2668568-8-ping.bai@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add imx8ulp basic dtsi support | expand |
On Mon, Jun 7, 2021 at 4:35 PM Jacky Bai <ping.bai@nxp.com> wrote: > > For i.MX8ULP, it uses two compatible strings, so Add the compatible > string for i.MX8ULP. > > Signed-off-by: Jacky Bai <ping.bai@nxp.com> As previously mentioned, pls improve commit message, otherwise: Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Regards Aisheng > --- > .../devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml > index 51d6d482bbc2..fb603a20e396 100644 > --- a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml > +++ b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml > @@ -14,8 +14,11 @@ allOf: > > properties: > compatible: > - enum: > - - fsl,imx7ulp-wdt > + oneOf: > + - const: fsl,imx7ulp-wdt > + - items: > + - const: fsl,imx8ulp-wdt > + - const: fsl,imx7ulp-wdt > > reg: > maxItems: 1 > -- > 2.26.2 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
On Mon, 07 Jun 2021 16:39:17 +0800, Jacky Bai wrote: > For i.MX8ULP, it uses two compatible strings, so Add the compatible > string for i.MX8ULP. > > Signed-off-by: Jacky Bai <ping.bai@nxp.com> > --- > .../devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > Acked-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml index 51d6d482bbc2..fb603a20e396 100644 --- a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml @@ -14,8 +14,11 @@ allOf: properties: compatible: - enum: - - fsl,imx7ulp-wdt + oneOf: + - const: fsl,imx7ulp-wdt + - items: + - const: fsl,imx8ulp-wdt + - const: fsl,imx7ulp-wdt reg: maxItems: 1
For i.MX8ULP, it uses two compatible strings, so Add the compatible string for i.MX8ULP. Signed-off-by: Jacky Bai <ping.bai@nxp.com> --- .../devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)