forked from Minki/linux
d8f64797c5
Many of the Tegra DT binding documents say nothing about the clocks or clock-names properties, yet those are present and required in DT files. This patch simply updates the documentation file to match the implicit definition of the binding, based on real-world DT content. All Tegra bindings that mention clocks are updated to have consistent wording and formatting of the clock-related properties. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-By: Terje Bergstrom <tbergstrom@nvidia.com>
31 lines
937 B
Plaintext
31 lines
937 B
Plaintext
NVIDIA Tegra114 SPI controller.
|
|
|
|
Required properties:
|
|
- compatible : should be "nvidia,tegra114-spi".
|
|
- reg: Should contain SPI registers location and length.
|
|
- interrupts: Should contain SPI interrupts.
|
|
- nvidia,dma-request-selector : The Tegra DMA controller's phandle and
|
|
request selector for this SPI controller.
|
|
- clocks : Must contain an entry for each entry in clock-names.
|
|
See ../clocks/clock-bindings.txt for details.
|
|
- clock-names : Must include the following entries:
|
|
- spi
|
|
|
|
Recommended properties:
|
|
- spi-max-frequency: Definition as per
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
Example:
|
|
|
|
spi@7000d600 {
|
|
compatible = "nvidia,tegra114-spi";
|
|
reg = <0x7000d600 0x200>;
|
|
interrupts = <0 82 0x04>;
|
|
nvidia,dma-request-selector = <&apbdma 16>;
|
|
spi-max-frequency = <25000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
clocks = <&tegra_car 44>;
|
|
clock-names = "spi";
|
|
status = "disabled";
|
|
};
|