Three operating mode are available to convey the graphical data
to the display:
- Video mode streams over the high-speed link the RGB data and the
associated synchronization signals directly generated by the LCDC.
The streaming starts as soon as the DSI Host and the LCDC are enabled.
This continuous refresh is the best way to interface with a display
without Graphics RAM.
- APB command mode sends commands over the high-speed link for
configuration as it is done using a legacy serial interface (SPI).
The commands are launched using the DSI Host APB interface.
- Adapted command mode is the best way to interface with a display
having its own internal Graphics RAM. The DSI Host captures only
one full frame coming from the LCDC and transforms it into a series
of write commands to update the display Graphics RAM.
Change-Id: Id2a9ccf71997f42126a3719bc349576013970158
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Just the same as in Midgard device driver.
This could resolve Defect #170228 and #184427 in RK redmine.
In addition, add err log for the case that alloc_page() returns NULL.
Change-Id: Ie1ddfae9429236900e4308e2cfecec2cd75a183a
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
The max parent rate of dclk_vop_frac is improved to 800MHz on rk3308b.
Change-Id: Ie36120ac7048fc4c983547539a6bce34d737529d
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
drivers/regulator/tps65132-regulator.c:274:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Change-Id: Ib866380f61097209fb04421a8c8b4a105ee3111f
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 43594dd453)
TPS65132_REG_CONTROL(0xFF) is the latest valid register.
Change-Id: Iac34a8a9b011664c74ce593e10a93416e308a6a9
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 5abca06c21)
Add regulator driver for the device TI TPS65132 which is single
inductor - dual output power supply device. TPS65132 device is
designed to support general positive/negative driven applications
like TFT display panels.
TPS65132 regulator driver supports to enable/disable and set voltage
on its output.
Change-Id: Ia3b6fac8a596657635c1e45e7feb7b99dc25acd3
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 77c129bfef)
This patch adds support to calculate the static power in milliwatts
consumed by devices.
Change-Id: Ied4ba5adecea45ff34b372a6e23c70882000aef3
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
add usb2 and usb3 qos node,
set qos_pcie\qos_usb2\qos_usb3 status = "disabled" by default.
Change-Id: I20653cc485c4c923b3b89af8e801634f4d7447a3
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
drm_panel_attach() return EBUSY if panel->connector already set,
which indicate that panel and connector are already bound.
Because the .bind() function might call multiple times, so it is
unnecessary to check its return value.
Change-Id: I45e82983dc177825561ff4796e585dafe0f7c201
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
The average value of dynamic-power-coefficient is about 74.
Change-Id: I71906da6bd024022b4b64c4dd4fb9f03182fd4e8
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
1.It is found that some SPI Nand device run abnormal at 100M frequency in
rk3128 gameplay project
Change-Id: I78f78c7ea5eea5d294d2a195bc68141283c515f3
Signed-off-by: jon.lin <jon.lin@rock-chips.com>
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>