Message ID | 1401881559-18469-2-git-send-email-mperttunen@nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 06/04/2014 05:32 AM, Mikko Perttunen wrote: > This patch adds device tree binding documentation for the SATA > controller found on NVIDIA Tegra SoCs. Just one nit below: > diff --git a/Documentation/devicetree/bindings/ata/tegra-sata.txt b/Documentation/devicetree/bindings/ata/tegra-sata.txt > + - clocks : Defines the clocks listed in the clock-names property. > + - clock-names : The following clock names must be present: > + - sata ... It would be nice if the binding could use the exact same wording as all the other Tegra bindings, i.e.: ========== - 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: - pll_a - pll_a_out0 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) ========== Same for the resets property.
diff --git a/Documentation/devicetree/bindings/ata/tegra-sata.txt b/Documentation/devicetree/bindings/ata/tegra-sata.txt new file mode 100644 index 0000000..70e3119 --- /dev/null +++ b/Documentation/devicetree/bindings/ata/tegra-sata.txt @@ -0,0 +1,29 @@ +Tegra124 SoC SATA AHCI controller + +Required properties : + - compatible : Should be "nvidia,tegra124-ahci". + - reg : Defines the following set of registers, in the order listed: + - AHCI register set (SATA BAR5) + - SATA register set + - interrupts : Defines the interrupt used by SATA + - clocks : Defines the clocks listed in the clock-names property. + - clock-names : The following clock names must be present: + - sata + - sata-oob + - cml1 + - pll_e + - resets : Defines the resets listed in the reset-names property + - reset-names : The following reset names must be present: + - sata + - sata-oob + - sata-cold + - phys : Defines the phys listed in the phy-names property + - phy-names : The following phy names must be present: + - sata-phy : XUSB PADCTL SATA PHY + - hvdd-supply : Defines the SATA HVDD regulator + - vddio-supply : Defines the SATA VDDIO regulator + - avdd-supply : Defines the SATA AVDD regulator + +Optional properties: + - target-supply : Defines a regulator for a power output connector + for SATA devices.
This patch adds device tree binding documentation for the SATA controller found on NVIDIA Tegra SoCs. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Cc: devicetree@vger.kernel.org --- .../devicetree/bindings/ata/tegra-sata.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/ata/tegra-sata.txt