From d2b62091032cb4dd194139ea6592e95ea09cf2a4 Mon Sep 17 00:00:00 2001 From: Richard Zhu Date: Tue, 13 Mar 2018 17:14:07 +0800 Subject: MLK-17815-2 ata: imx: imx8qm: configure phy impedance ratio - To save power consumption, PHY related CLKs can be gated off after the configurations are done. - The impedance ratio should be configured refer to differnet REXT values. 0x6c <--> REXT valuse is 85Ohms Default values 0x80 <--> REXT value is 100Ohms. - IMX8QM_HSIO_PHY_X1_APB_CLK is mandatory required when access SATA PHY registers. Change the power domain to SATA. Signed-off-by: Richard Zhu --- Documentation/devicetree/bindings/ata/imx-sata.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation') diff --git a/Documentation/devicetree/bindings/ata/imx-sata.txt b/Documentation/devicetree/bindings/ata/imx-sata.txt index fa511db18408..49c4135dd9f2 100644 --- a/Documentation/devicetree/bindings/ata/imx-sata.txt +++ b/Documentation/devicetree/bindings/ata/imx-sata.txt @@ -7,6 +7,7 @@ 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,imx8qm-ahci" for i.MX8QM SATA controller - interrupts : interrupt mapping for SATA IRQ - reg : registers mapping - clocks : list of clock specifiers, must contain an entry for each @@ -22,6 +23,9 @@ Optional properties: for the list of legal values for these options. - fsl,no-spread-spectrum : disable spread-spectrum clocking on the SATA link. +- fsl,phy-imp: PHY impedance ratio value refer to the differnt HW design. + Set it to 0x6c when 85OHM is used, keep it to default value 0x80 when + 100OHM is used. Examples: -- cgit v1.2.3