Commit 18f07514 authored by Tudor Ambarus's avatar Tudor Ambarus Committed by Mark Brown

dt-bindings: spi: atmel-quadspi: make "pclk" mandatory

Naming clocks is a good practice. Make "pclk" madatory even if
we support unnamed clock in the driver, to be backward compatible
with old DTs.
Suggested-by: default avatarBoris Brezillon <bbrezillon@kernel.org>
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: default avatarBoris Brezillon <bbrezillon@kernel.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 90484f9b
...@@ -9,6 +9,7 @@ Required properties: ...@@ -9,6 +9,7 @@ Required properties:
- qspi_mmap: memory mapped address space - qspi_mmap: memory mapped address space
- interrupts: Should contain the interrupt for the device. - interrupts: Should contain the interrupt for the device.
- clocks: The phandle of the clock needed by the QSPI controller. - clocks: The phandle of the clock needed by the QSPI controller.
- clock-names: Should contain "pclk" for the peripheral clock.
- #address-cells: Should be <1>. - #address-cells: Should be <1>.
- #size-cells: Should be <0>. - #size-cells: Should be <0>.
...@@ -20,6 +21,7 @@ spi@f0020000 { ...@@ -20,6 +21,7 @@ spi@f0020000 {
reg-names = "qspi_base", "qspi_mmap"; reg-names = "qspi_base", "qspi_mmap";
interrupts = <52 IRQ_TYPE_LEVEL_HIGH 7>; interrupts = <52 IRQ_TYPE_LEVEL_HIGH 7>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 52>; clocks = <&pmc PMC_TYPE_PERIPHERAL 52>;
clock-names = "pclk";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pinctrl-names = "default"; pinctrl-names = "default";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment