[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <874d26cf-af3d-4d24-860e-72573920da27@kernel.org>
Date: Sun, 22 Dec 2024 09:39:18 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Dave Stevenson <dave.stevenson@...pberrypi.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>, Eric Anholt <eric@...olt.net>,
MaĆra Canal <mcanal@...lia.com>,
Raspberry Pi Kernel Maintenance <kernel-list@...pberrypi.com>,
Ray Jui <rjui@...adcom.com>, Scott Branden <sbranden@...adcom.com>,
Doug Berger <opendmb@...il.com>, Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, Thomas Gleixner <tglx@...utronix.de>,
Stefan Wahren <wahrenst@....net>
Cc: dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-rpi-kernel@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Florian Fainelli <f.fainelli@...il.com>,
linux-gpio@...r.kernel.org
Subject: Re: [PATCH v5 2/3] dt-bindings: display: Fix brcm,bcm2835-hvs
bindings for BCM2712
On 20/12/2024 19:11, Dave Stevenson wrote:
> Commit 6cfcbe548a3a ("dt-bindings: display: Add BCM2712 HVS bindings")
> added the compatible string for BCM2712, but missed out that
> the number of interrupts and clocks changed too.
>
> The driver commit adding support for BCM2712 [1] also requires that
The driver commit foo ("bar") ... BCM2712 also requires...
> both interrupts and clocks are named, so the relevant -names
> properties are also added to "required" for BCM2712.
>
> Update to validate clock, interrupts, and their names for the BCM2712
> variant. (There should be no change in the binding requirements for
> the other variants).
>
> [1] Commit 7687a12153d3 ("drm/vc4: hvs: Add support for BCM2712 HVS")
And drop this.
>
> Fixes: 6cfcbe548a3a ("dt-bindings: display: Add BCM2712 HVS bindings")
> Signed-off-by: Dave Stevenson <dave.stevenson@...pberrypi.com>
> ---
> .../bindings/display/brcm,bcm2835-hvs.yaml | 88 ++++++++++++++++++----
> 1 file changed, 74 insertions(+), 14 deletions(-)
>
...
> + properties:
> + compatible:
> + contains:
> + const: brcm,bcm2711-hvs
> +
> + then:
> + properties:
> + clocks:
> + items:
> + - description: Core Clock
> + interrupts:
> + maxItems: 1
> + clock-names: false
> + interrupt-names: false
> +
> + required:
> + - clocks
> +
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: brcm,bcm2712-hvs
> +
> + then:
> + properties:
> + clocks:
> + minItems: 2
> + maxItems: 2
> + clock-names:
> + items:
> + - const: core
> + - const: disp
> + interrupts:
> + items:
> + - description: Channel 0 End of frame
> + - description: Channel 1 End of frame
> + - description: Channel 2 End of frame
> + interrupt-names:
> + items:
> + - const: ch0-eof
> + - const: ch1-eof
> + - const: ch2-eof
> + required:
> + - clocks
> + - clock-names
> + - interrupt-names
> +
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: brcm,bcm2835-hvs
> +
> + then:
> + properties:
What about clocks here? Why isn't this a part of block with bcm2711 (as
enum)?
> + interrupts:
> + maxItems: 1
> + clock-names: false
> + interrupt-names: false
>
> examples:
> - |
>
Best regards,
Krzysztof
Powered by blists - more mailing lists