MLK-17815-2 ata: imx: imx8qm: configure phy impedance ratio
authorRichard Zhu <hongxing.zhu@nxp.com>
Tue, 13 Mar 2018 09:14:07 +0000 (17:14 +0800)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:45:37 +0000 (18:45 +0800)
commit57de12e1e7863a78d68a9ce001dd04581ae716f0
treef5f97725a4a04a3e47b7a8cc0291ac7ed105f68c
parentf52e26a9694c89ac2f625c5adff7ee0936a90446
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 <hongxing.zhu@nxp.com>
Documentation/devicetree/bindings/ata/imx-sata.txt
drivers/ata/ahci_imx.c
drivers/clk/imx/clk-imx8qm.c