ARM: dts: at91: sama5d2: Name the qspi clock
authorTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 9 Dec 2021 10:25:42 +0000 (12:25 +0200)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Mon, 13 Dec 2021 13:46:42 +0000 (14:46 +0100)
Naming clocks is a good practice. The atmel-quadspi driver supports
an unnamed clock for the peripheral clock in order to be backward
compatible with old DTs, but it is recommended to name the clocks
on new DTs. The driver's bindings file requires the clock-names
property, so name the clock.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20211209102542.254153-1-tudor.ambarus@microchip.com
arch/arm/boot/dts/sama5d2.dtsi

index 801969c..09c741e 100644 (file)
                                reg-names = "qspi_base", "qspi_mmap";
                                interrupts = <52 IRQ_TYPE_LEVEL_HIGH 7>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 52>;
+                               clock-names = "pclk";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                status = "disabled";
                                reg-names = "qspi_base", "qspi_mmap";
                                interrupts = <53 IRQ_TYPE_LEVEL_HIGH 7>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 53>;
+                               clock-names = "pclk";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                status = "disabled";