[PATCH v1 1/3] dt-bindings: drm: rockchip: convert inno_hdmi-rockchip.txt to yaml
Conor Dooley
conor at kernel.org
Tue Dec 5 08:55:42 PST 2023
On Mon, Dec 04, 2023 at 09:47:15PM +0100, Johan Jonker wrote:
> On 12/4/23 19:56, Alex Bee wrote:
> > Am 04.12.23 um 18:39 schrieb Johan Jonker:
> >> diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml
> >> new file mode 100644
> >> index 000000000000..96889c86849a
> >> --- /dev/null
> >> +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml
> >> @@ -0,0 +1,103 @@
> >> +# SPDX-License-Identifier: GPL-2.0
> >> +%YAML 1.2
> >> +---
> >> +$id: http://devicetree.org/schemas/display/rockchip/rockchip,inno-hdmi.yaml#
> >> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> >> +
> >> +title: Rockchip Innosilicon HDMI controller
> >> +
> >> +maintainers:
> >> + - Sandy Huang <hjc at rock-chips.com>
> >> + - Heiko Stuebner <heiko at sntech.de>
> >> +
> >> +properties:
> >> + compatible:
> >> + enum:
> >> + - rockchip,rk3036-inno-hdmi
> >> +
> >> + reg:
> >> + maxItems: 1
> >> +
> >> + interrupts:
> >> + maxItems: 1
> >> +
> >> + clocks:
> >> + maxItems: 1
>
> > The interrupts/clock description exists already in the txt-bindings - so how about:
> >
> > + items:
> > + - descrition: ....
> >> +
>
> It's not common to do so when there's only one clock and nothing special to mention.
> Used this style for most of my conversions.
> Further rational might be given by Krzysztof and co.
Ye, when there is no ambiguity, having the description is not
required.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20231205/a6d09f0f/attachment.sig>
More information about the Linux-rockchip
mailing list