Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mtd: cadence: document required clock-names

The clock-names property is required because the driver requests
the clock by name and not the index.
Update the example to use &clk instead of &nf_clk for the clocks
property to avoid confusion with the clock-names property "nf_clk".

Fixes: 1f05f823a16c (dt-bindings: mtd: cadence: convert cadence-nand-controller.txt to yaml)
Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

authored by

Niravkumar L Rabara and committed by
Miquel Raynal
41758630 86ede0a6

+7 -1
+7 -1
Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml
··· 33 33 clocks: 34 34 maxItems: 1 35 35 36 + clock-names: 37 + items: 38 + - const: nf_clk 39 + 36 40 dmas: 37 41 maxItems: 1 38 42 ··· 55 51 - reg-names 56 52 - interrupts 57 53 - clocks 54 + - clock-names 58 55 59 56 unevaluatedProperties: false 60 57 ··· 71 66 #address-cells = <1>; 72 67 #size-cells = <0>; 73 68 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 74 - clocks = <&nf_clk>; 69 + clocks = <&clk>; 70 + clock-names = "nf_clk"; 75 71 cdns,board-delay-ps = <4830>; 76 72 77 73 nand@0 {