mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
da795ec26e
This patch adds the compatible string in sdhci-of-arasan.c to support sdhci-arasan5.1 version of controller. No documented controller IP version is found in the TRM, so we use ths version of command queueing engine integrated into this controller by arasan to specify our controller. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
Device Tree Bindings for the Arasan SDHCI Controller
|
|
|
|
The bindings follow the mmc[1], clock[2] and interrupt[3] bindings. Only
|
|
deviations are documented here.
|
|
|
|
[1] Documentation/devicetree/bindings/mmc/mmc.txt
|
|
[2] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
[3] Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
|
|
|
|
Required Properties:
|
|
- compatible: Compatibility string. Must be 'arasan,sdhci-8.9a' or
|
|
'arasan,sdhci-4.9a' or 'arasan,sdhci-5.1'
|
|
- reg: From mmc bindings: Register location and length.
|
|
- clocks: From clock bindings: Handles to clock inputs.
|
|
- clock-names: From clock bindings: Tuple including "clk_xin" and "clk_ahb"
|
|
- interrupts: Interrupt specifier
|
|
- interrupt-parent: Phandle for the interrupt controller that services
|
|
interrupts for this device.
|
|
|
|
Example:
|
|
sdhci@e0100000 {
|
|
compatible = "arasan,sdhci-8.9a";
|
|
reg = <0xe0100000 0x1000>;
|
|
clock-names = "clk_xin", "clk_ahb";
|
|
clocks = <&clkc 21>, <&clkc 32>;
|
|
interrupt-parent = <&gic>;
|
|
interrupts = <0 24 4>;
|
|
} ;
|