mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-13 04:39:36 +02:00
dt-bindings: adc: axi-adc: add clocks property
[ Upstream commit19fb11d722
] Add a required clock property as we can't access the device registers if the AXI bus clock is not properly enabled. Note this clock is a very fundamental one that is typically enabled pretty early during boot. Independently of that, we should really rely on it to be enabled. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Fixes:96553a44e9
("dt-bindings: iio: adc: add bindings doc for AXI ADC driver") Signed-off-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240426-ad9467-new-features-v2-3-6361fc3ba1cc@analog.com Cc: <Stable@ver.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a291998f8a
commit
69f245b86c
|
@ -28,6 +28,9 @@ properties:
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
||||||
|
clocks:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
dmas:
|
dmas:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
||||||
|
@ -48,6 +51,7 @@ required:
|
||||||
- compatible
|
- compatible
|
||||||
- dmas
|
- dmas
|
||||||
- reg
|
- reg
|
||||||
|
- clocks
|
||||||
|
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
|
||||||
|
@ -58,6 +62,7 @@ examples:
|
||||||
reg = <0x44a00000 0x10000>;
|
reg = <0x44a00000 0x10000>;
|
||||||
dmas = <&rx_dma 0>;
|
dmas = <&rx_dma 0>;
|
||||||
dma-names = "rx";
|
dma-names = "rx";
|
||||||
|
clocks = <&axi_clk>;
|
||||||
#io-backend-cells = <0>;
|
#io-backend-cells = <0>;
|
||||||
};
|
};
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user