From: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Cc: Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@aj.id.au>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-aspeed@lists.ozlabs.org,
Linus Walleij <linus.walleij@linaro.org>,
Lee Jones <lee.jones@linaro.org>
Subject: Re: [PATCH v2 2/2] dt-bindings: gpu: Convert aspeed-gfx bindings to yaml
Date: Mon, 7 Mar 2022 18:57:33 -0600 [thread overview]
Message-ID: <Yiap/f48pLUXzaQ0@robh.at.kernel.org> (raw)
In-Reply-To: <44308465-db4c-80e7-2beb-b0f676d16edf@canonical.com>
On Sat, Mar 05, 2022 at 10:49:05PM +0100, Krzysztof Kozlowski wrote:
> On 04/03/2022 01:03, Joel Stanley wrote:
> > Convert the bindings to yaml and add the ast2600 compatible string.
> >
> > The legacy mfd description was put in place before the gfx bindings
> > existed, to document the compatible that is used in the pinctrl
> > bindings.
> >
> > Signed-off-by: Joel Stanley <joel@jms.id.au>
> > ---
> > .../devicetree/bindings/gpu/aspeed,gfx.yaml | 69 +++++++++++++++++++
> > .../devicetree/bindings/gpu/aspeed-gfx.txt | 41 -----------
> > .../devicetree/bindings/mfd/aspeed-gfx.txt | 17 -----
> > 3 files changed, 69 insertions(+), 58 deletions(-)
> > create mode 100644 Documentation/devicetree/bindings/gpu/aspeed,gfx.yaml
> > delete mode 100644 Documentation/devicetree/bindings/gpu/aspeed-gfx.txt
> > delete mode 100644 Documentation/devicetree/bindings/mfd/aspeed-gfx.txt
> >
> > diff --git a/Documentation/devicetree/bindings/gpu/aspeed,gfx.yaml b/Documentation/devicetree/bindings/gpu/aspeed,gfx.yaml
> > new file mode 100644
> > index 000000000000..8ddc4fa6e8e4
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/gpu/aspeed,gfx.yaml
> > @@ -0,0 +1,69 @@
> > +# SPDX-License-Identifier: GPL-2.0-only
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/gpu/aspeed,gfx.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: ASPEED GFX display device
> > +
> > +maintainers:
> > + - Joel Stanley <joel@jms.id.au>
> > +
> > +properties:
> > + compatible:
> > + items:
> > + - enum:
> > + - aspeed,ast2400-gfx
> > + - aspeed,ast2500-gfx
> > + - aspeed,ast2600-gfx
>
> That's different than original bindings - new patch. It's not currently
> supported, so adding it is more than just updating bindings to current
> state.
>
> > + - const: syscon
> > +
> > + reg:
> > + minItems: 1
>
> maxItems?
>
> > +
> > + interrupts:
> > + maxItems: 1
> > +
> > + clocks:
> > + maxItems: 1
> > +
> > + resets:
> > + maxItems: 1
> > +
> > + memory-region: true
Also need to define how many (maxItems: 1).
> > +
> > + syscon: true
>
> You need at least description. I see old bindings did not mention it
> (except that it is required)... I think you also need a type, because it
> is not a standard property.
>
> > +
> > + reg-io-width: true
>
> Some constraints? Can it be anything from syscon schema?
>
> Best regards,
> Krzysztof
>
prev parent reply other threads:[~2022-03-08 0:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-04 0:03 [PATCH v2 0/2] dt-bindings: Convert GFX bindings to yaml Joel Stanley
2022-03-04 0:03 ` [PATCH v2 1/2] dt-bindings: pinctrl: aspeed: Update gfx node in example Joel Stanley
2022-03-15 1:21 ` Linus Walleij
2022-03-15 1:26 ` Joel Stanley
2022-03-24 22:27 ` Linus Walleij
2022-03-04 0:03 ` [PATCH v2 2/2] dt-bindings: gpu: Convert aspeed-gfx bindings to yaml Joel Stanley
2022-03-04 15:29 ` Rob Herring
2022-03-05 21:49 ` Krzysztof Kozlowski
2022-03-08 0:57 ` Rob Herring [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yiap/f48pLUXzaQ0@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=andrew@aj.id.au \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=joel@jms.id.au \
--cc=krzysztof.kozlowski@canonical.com \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-aspeed@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).