Re: [PATCH 18/18] dt-bindings: devfreq: event: convert Rockchip DFI binding to yaml
From: Sascha Hauer <s.hauer@pengutronix.de>
Date: 2023-02-03 16:02:29
Also in:
linux-devicetree, linux-pm, linux-rockchip
On Fri, Feb 03, 2023 at 04:14:56PM +0100, Krzysztof Kozlowski wrote:
On 03/02/2023 13:50, Sascha Hauer wrote:quoted
Convert the Rockchip DFI binding to yaml. While at it add the newly supported rk3568-dfi to the binding. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel.
That's what I did. I skipped you and Rob because I know you're wathcing the list anyway.
quoted
diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.yaml b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.yaml new file mode 100644 index 0000000000000..e082a0df7895a --- /dev/null +++ b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.yamlrockchip,dfi.yaml
ok.
quoted
@@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/devfreq/event/rockchip-dfi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip DFI + +maintainers: + - Sascha Hauer <s.hauer@pengutronix.de> + +properties: + compatible: + enum: + - rk3399-dfi + - rk3568-dfiThese are not correct compatibles.
What's wrong with them?
quoted
+ + clocks: + maxItems: 1 + + rockchip,pmu: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the syscon managing the "PMU general register files". + +required: + - compatible + - regclocks were required
They are no longer, the RK3568 doesn't have a clock. Do I have to add something to make the clock optional on RK3568 only? Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel