forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/tj/libata Pull libata changes from Tejun Heo: "Except for a few, all the changes are for ahci platform drivers for the arm devices. Nothing too interesting or dangerous. There's one merge from libata/for-3.16-fixes to pull in dependent changes" * 'for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata: (23 commits) ata: libahci: Silence compiler warning on 64-bit Documentation: bindings: document the sub-nodes AHCI bindings ata: ahci_platform: add a generic AHCI compatible ata: libahci: allow to use multiple PHYs ata: libahci_platform: move port_map parameters into the AHCI structure ahci: imx: add missing clk_disable_unprepare() on error in imx_sata_enable() ahci_xgene: Use correct OOB tunning parameters for APM X-Gene SoC AHCI SATA Host controller driver. ahci_xgene: Fix the watermark threshold for the APM X-Gene SATA host controller driver. ahci: st: Make of_device_id array const sata_sil24: Identify which card suffered IRQ status error ahci: st: Provide DT bindings for ST's SATA implementation ata: Add support for the Tegra124 SATA controller ata: ahci_platform: Increase AHCI_MAX_CLKS to 4 of: Add NVIDIA Tegra SATA controller binding dt-bindings: ata: document ability to disable spread-spectrum clock ata: ahci_imx: add disable for spread-spectrum dt-bindings: ata: add ahci_imx electrical properties ata: ahci_imx: allow hardware parameters to be specified in DT dt-bindings: ata: create bindings for imx sata controller ata: pata_samsung_cf: removes s5pc100 related ata codes ...
- Loading branch information
Showing
25 changed files
with
917 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
STMicroelectronics STi SATA controller | ||
|
||
This binding describes a SATA device. | ||
|
||
Required properties: | ||
- compatible : Must be "st,sti-ahci" | ||
- reg : Physical base addresses and length of register sets | ||
- interrupts : Interrupt associated with the SATA device | ||
- interrupt-names : Associated name must be; "hostc" | ||
- resets : The power-down and soft-reset lines of SATA IP | ||
- reset-names : Associated names must be; "pwr-dwn" and "sw-rst" | ||
- clocks : The phandle for the clock | ||
- clock-names : Associated name must be; "ahci_clk" | ||
- phys : The phandle for the PHY device | ||
- phy-names : Associated name must be; "ahci_phy" | ||
|
||
Example: | ||
|
||
sata0: sata@fe380000 { | ||
compatible = "st,sti-ahci"; | ||
reg = <0xfe380000 0x1000>; | ||
interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>; | ||
interrupt-names = "hostc"; | ||
phys = <&miphy365x_phy MIPHY_PORT_0 MIPHY_TYPE_SATA>; | ||
phy-names = "ahci_phy"; | ||
resets = <&powerdown STIH416_SATA0_POWERDOWN>, | ||
<&softreset STIH416_SATA0_SOFTRESET>; | ||
reset-names = "pwr-dwn", "sw-rst"; | ||
clocks = <&clk_s_a0_ls CLK_ICN_REG>; | ||
clock-names = "ahci_clk"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
* Freescale i.MX AHCI SATA Controller | ||
|
||
The Freescale i.MX SATA controller mostly conforms to the AHCI interface | ||
with some special extensions at integration level. | ||
|
||
Required properties: | ||
- compatible : should be one of the following: | ||
- "fsl,imx53-ahci" for i.MX53 SATA controller | ||
- "fsl,imx6q-ahci" for i.MX6Q SATA controller | ||
- interrupts : interrupt mapping for SATA IRQ | ||
- reg : registers mapping | ||
- clocks : list of clock specifiers, must contain an entry for each | ||
required entry in clock-names | ||
- clock-names : should include "sata", "sata_ref" and "ahb" entries | ||
|
||
Optional properties: | ||
- fsl,transmit-level-mV : transmit voltage level, in millivolts. | ||
- fsl,transmit-boost-mdB : transmit boost level, in milli-decibels | ||
- fsl,transmit-atten-16ths : transmit attenuation, in 16ths | ||
- fsl,receive-eq-mdB : receive equalisation, in milli-decibels | ||
Please refer to the technical documentation or the driver source code | ||
for the list of legal values for these options. | ||
- fsl,no-spread-spectrum : disable spread-spectrum clocking on the SATA | ||
link. | ||
|
||
Examples: | ||
|
||
sata@02200000 { | ||
compatible = "fsl,imx6q-ahci"; | ||
reg = <0x02200000 0x4000>; | ||
interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&clks IMX6QDL_CLK_SATA>, | ||
<&clks IMX6QDL_CLK_SATA_REF_100M>, | ||
<&clks IMX6QDL_CLK_AHB>; | ||
clock-names = "sata", "sata_ref", "ahb"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Tegra124 SoC SATA AHCI controller | ||
|
||
Required properties : | ||
- compatible : "nvidia,tegra124-ahci". | ||
- reg : Should contain 2 entries: | ||
- AHCI register set (SATA BAR5) | ||
- SATA register set | ||
- interrupts : Defines the interrupt used by SATA | ||
- 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: | ||
- sata | ||
- sata-oob | ||
- cml1 | ||
- pll_e | ||
- resets : Must contain an entry for each entry in reset-names. | ||
See ../reset/reset.txt for details. | ||
- reset-names : Must include the following entries: | ||
- sata | ||
- sata-oob | ||
- sata-cold | ||
- phys : Must contain an entry for each entry in phy-names. | ||
See ../phy/phy-bindings.txt for details. | ||
- phy-names : Must include the following entries: | ||
- 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 | ||
- target-5v-supply : Defines the SATA 5V power regulator | ||
- target-12v-supply : Defines the SATA 12V power regulator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.