The devfreq ues the OPP library to handle the voltage and frequency
for the device basically. This patch adds the dependency on CONFIG_PM_OPP
in order to prevent either the build break or the unknow behavior.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Change-Id: I06946f5a40266c0e1facc228bdac75390bc46434
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
(cherry picked from commit b9c69e0432)
The PCIe controller driver will take over to control this, as it need
more action after link up.
Change-Id: Ie9a690d1addf48855d385162d0d8ba4d0054c544
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
We need to use uniform current jiffies to avoid
the delta_capt too fast and the playback data is
cleared.
Change-Id: I15e46a3857d76ca37b01a4af4c4d331ec41febfc
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Add device tree binding documentation for the OV7725 sensor.
Change-Id: I9a804ba72b1e37b817fbc88dcb1cb44afd155882
Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
Add device tree binding documentation for the OV7251 sensor.
Change-Id: I39774f9018483f768d7dc18207d2f5b2d5a41eef
Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
Add device tree binding documentation for the OV7750 sensor.
Change-Id: I48acb7fbd0b5537bd16e579fd6edd91777bd64f0
Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
Add device tree binding documentation for the OV2735 sensor.
Change-Id: Ieab6251eefba56141026be56c6b1c7a71551a6ea
Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
The PCIe driver need configure some bits after passing link
trainning, which belongs to the controller driver part but
can not make use of PHY API.
Change-Id: I8c3d5f8a25de6184bee572c7c954c9f3d9df20c2
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
change to use act8865_power_off instead of psci_sys_poweroff
if the property "system-power-controller" is set.
Change-Id: Ie3a46255419488063b57b2829da2ae8f15f014ae
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Add PCIe node for rk1808 evb. If actviating PCIe, we
should set usbdrd_dwc3 as disabled.
Change-Id: I807e16d7950cbf76ceb07053c12905ee4566bdaa
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This reverts commit 7e9c1889d8.
The rk3399pro evb has no battery.
Change-Id: I6d5bc6f17c3335923e34e8d05f2dc1a563b09b00
Signed-off-by: Shunqing Chen <csq@rock-chips.com>
This reverts commit e014552989.
Now we can support the psci, let's enable it.
Change-Id: I39723b8ca2e26487d3a59a52469a515343bcdf6d
Signed-off-by: David Wu <david.wu@rock-chips.com>
add usb2 and usb3 qos node,
set qos_pcie\qos_usb2\qos_usb3 status = "disabled" by default.
Change-Id: I307be4138c04c3bea5ae779ed85a9a4d2420ad0a
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This patch adds PCIe support for rk1808 Soc in EP mode.
Change-Id: I5305d7b5ba7a2f087f64df8102c95926e73a7940
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This patch adds combphy power on/off ops to save power
consumption for USB 3.0 mode when system enter deep sleep.
I test the 0.8V and 1.8V power consumption for USB 3.0
mode while system enter deep sleep on RK1808-EVB.
With out this patch:
- 0.8V : 14.5mA
- 1.8V : 1.5mA
With this patch:
- 0.8V : 6.7mA
- 1.8V : 1.3mA
Change-Id: Ife9d382493de1c3244c00a21d004bf4bad956bae
Signed-off-by: William Wu <william.wu@rock-chips.com>
The PHY lane 1isn't used for USB 3.0, we can
disable it to reduce power consumption.
I test the 0.8V and 1.8V power consumption for
USB 3.0 mode while the PHY is in P2 state which
controlled by USB 3.0 controller on RK1808-EVB.
Without this patch:
- 0.8V : 35mA
- 1.8V : 56mA
With this patch:
- 0.8V : 16.6mA
- 1.8V : 16.4mA
Change-Id: I24e57faa8a862053c2492fe4e7df9e5de25b757f
Signed-off-by: William Wu <william.wu@rock-chips.com>
RK1808 MIPI CSI DPHY support 2 Gbps maximum data transfer rate per lane.
Enable calibration reception if data rate is bigger than 1.5 Gbps.
Change-Id: Iec2088ac74f8f9599de96d5b8ad5dd986665ce0e
Signed-off-by: Wenlong Zhuang <daisen.zhuang@rock-chips.com>