mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 19:51:01 +07:00
e5878732a5
- Regarding to imx6q ahci sata, imx6qp ahci sata has the reset mechanism. Add the imx6qp ahci sata support in this commit. - Use the specific reset callback for imx53 sata, and use the default ahci_ops.softreset for the others. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> Signed-off-by: Tejun Heo <tj@kernel.org>
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
* 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
|
|
- "fsl,imx6qp-ahci" for i.MX6QP 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@2200000 {
|
|
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";
|
|
};
|