Re: [PATCH] dt-bindings: clock: versal: Correct example dts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30/03/2023 10:48, Shubhrajyoti Datta wrote:
> From: Jay Buddhabhatti <jay.buddhabhatti@xxxxxxxxxx>
> 
> Correct firmware node name and compatible string in versal clock
> dt-bindings.

That was a valid compatible, so you need you describe why you are doing
it. IOW, what was wrong and required correction. Because correcting a
correct compatible is really not obvious.

> 
> Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@xxxxxxxxxx>
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxx>
> ---
> 
>  Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml b/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml
> index 229af98b1d30..4bbf96484b56 100644
> --- a/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml
> +++ b/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml
> @@ -50,8 +50,8 @@ additionalProperties: false
>  examples:
>    - |
>      firmware {
> -      zynqmp_firmware: zynqmp-firmware {
> -        compatible = "xlnx,zynqmp-firmware";
> +      versal_firmware: versal-firmware {

No. If you touch it, at least make it really correct:

Node names should be generic.
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation



Best regards,
Krzysztof




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux