MLK-16836 PCI: imx: add the bus freq sysfile interface
authorRichard Zhu <hongxing.zhu@nxp.com>
Wed, 15 Nov 2017 04:57:23 +0000 (12:57 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:47:00 +0000 (15:47 -0500)
commit552baa3dcfb28f88939ffda225064fd3abf256f6
treef9f0e0a7640568d0fcf996fbd2f2fe068700f545
parente3573e3323eed7244fb37022f7ea42a68d153a59
MLK-16836 PCI: imx: add the bus freq sysfile interface

To support the bus freq power saving mode, add the
sysfile interface.
request bus high: echo 1 > /sys/devices/platform/xxxxxxxx.pcie/bus_freq
release bus high: echo 1 > /sys/devices/platform/xxxxxxxx.pcie/bus_freq

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
drivers/pci/host/pci-imx6.c