Commit Graph

854241 Commits

Author SHA1 Message Date
Tao Huang
a6c9add575 soc: rockchip: decompress: Probe driver early
By create device early.

Change-Id: Id9071bf5f988958b1604a5066f7b99e67abc0675
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-06-22 18:48:26 +08:00
Tao Huang
ab3221eae8 nvmem: core: Call nvmem_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y
rockchip_otp_module_init() depends on nvmem_init() to init nvmem_bus_type.
But rockchip_otp_module_init() and nvmem_init() are both in the same
subsys_initcall level.

Change-Id: I58bc66519fb76179be3e6a170048a67c0861b224
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-06-22 18:48:26 +08:00
Wyon Bi
1b0ad3ab86 arm64: dts: rockchip: rk3368-android: Add default port link for dsi
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I72109bc00c177318eff94212363566902020cec1
2020-06-22 17:19:51 +08:00
Yifeng Zhao
93979fb7e0 soc: rockchip: mtd_vendor_storage: fix issue data structure not align to 4KB
The size of vendor_info need align to 4KB and compatible with uboot.

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I16ae2cf5c976032e944bfb590d38ec89831f9b2f
2020-06-22 16:02:43 +08:00
Cai YiWei
df4424d974 media: rockchip: isp: fix dmarx iommu error
dmarx isr is unreliable, using MI frame end to replace it

Change-Id: Iabb4f405aedf3e81995d009ce2f4bddce2d12ed3
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2020-06-22 16:01:51 +08:00
Finley Xiao
6d419c0c10 video: rockchip: mpp: rkvenc: register cooling device
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I6d802a97abe35d94039471161466868bfdf0d113
2020-06-22 14:32:55 +08:00
Nickey Yang
abb2f8fc45 media: i2c: os04a10: fix power on sequence
1.The reset signal is directly controlled by GPIO,
so there is no need to wait for the delay of RC circuit

2.Correct the level setting of reset signal

Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I808a7ba13f23f630d1ab9d11c54cb33a1e85123c
2020-06-22 14:08:02 +08:00
Tao Huang
6e63958128 Input: sensor-dev - Fix warning
drivers/input/sensors/sensor-dev.c:1600:5: warning:
no previous prototype for 'sensor_probe' [-Wmissing-prototypes]

drivers/input/sensors/sensor-dev.c:1854:3: warning:
this statement may fall through [-Wimplicit-fallthrough=]

drivers/input/sensors/sensor-dev.c:1857 sensor_probe() warn:
missing break? reassigning 'sensor->input_dev->name'

drivers/input/sensors/sensor-dev.c:1602:30: warning:
Value stored to 'sensor' during its initialization is never read

drivers/input/sensors/sensor-dev.c:504:3: warning:
Value stored to 'result' is never read

Unneeded variable: "result". Return "0" on line 893
Unneeded variable: "result". Return "0" on line 908

Fixes: a32d316fcc ("driver: sensors: improve sensor driver to pass android vts test")
Change-Id: I95bdc5373694e0a78f9a29583a3138e14eae6126
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-06-19 21:44:51 +08:00
Tao Huang
a392d416cc MALI: rockchip: Fix make distclean
make distclean
scripts/Makefile.clean:15: drivers/gpu/arm/midgard_for_linux/Makefile:
No such file or directory

Fixes: 25bb952677 ("MALI: rockchip: remove drivers/gpu/arm/midgard_for_linux/")
Change-Id: Ia47e2581d9679f3bcca809ad4506b61068e1710d
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-06-19 21:41:20 +08:00
Cai YiWei
51f1725a15 media: rockchip: isp: support lvds interface
Change-Id: I36e8c8eecd590e1862d0d6fa7dbd5f1091567020
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2020-06-19 20:03:45 +08:00
Hans de Goede
c01c6215ad UPSTREAM: usb: typec: fusb302: 2 small misc. fixes
Fix a copy and paste error in an error message and a spelling error
in a comment.

Change-Id: Iedd73b96b75da80a507e6ee7ef0bbb87e5f672d5
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 7511c9a9d3)
2020-06-19 20:00:50 +08:00
Hans de Goede
be3232364c UPSTREAM: usb: typec: fusb302: Fix fusb302_handle_togdone_src Ra handling
The FUSB302 will stop toggling with a FUSB_REG_STATUS1A_TOGSS_SRC? status,
as soon as it sees either Ra or Rd on a CC pin.

Before this commit fusb302_handle_togdone_src would assume that the toggle-
engine always stopped at the CC pin indicating the polarity, IOW it assumed
that it stopped at the pin connected to Rd. It did check the CC-status of
that pin, but it did not expect to get a CC-status of Ra and therefore
treated this as CC-open. This lead to the following 2 problems:

1) If a powered cable/adapter gets plugged in with Ra on CC1 and Rd on CC2
then 4 of 5 times when plugged in toggling will stop with a togdone_result
of FUSB_REG_STATUS1A_TOGSS_SRC1.  3/5th of the time the toggle-engine is
testing for being connected as a sink and after that it tests 1/5th of the
time for connected as a src through CC1 before finally testing the last
1/5th of the time for being a src connected through CC2.

This was a problem because we would only check the CC pin status for the
pin on which the toggling stopped which in this polarity 4 out of 5
times would be the Ra pin. The code before this commit would treat Ra as
CC-open and then restart toggling. Once toggling is restarted we are
guaranteed to end with FUSB_REG_STATUS1A_TOGSS_SRC1 as CC1 is tested first,
leading to a CC-status of Ra again and an infinite restart toggling loop.
So 4 out of 5 times when plugged in in this polarity a powered adapter
will not work.

2) Even if we happen to have the right polarity or 1/5th of the time in
the polarity with problem 1), we would report the non Rd pin as CC-open
rather then as Ra, resulting in the tcpm.c code not enabling Vconn which
is a problem for some adapters.

This commit fixes this by getting the CC-status of *both* pins and then
determining the polarity based on that, rather then on where the toggling
stopped.

Change-Id: I533585441147cdc869381f96bcdfa05a5f451f8a
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 702ad49fb8)
2020-06-19 20:00:50 +08:00
Hans de Goede
0ca55809b6 UPSTREAM: usb: typec: fusb302: Make fusb302_set_cc_polarity also set pull ups / downs
The 2 callers of fusb302_set_cc_polarity both call fusb302_set_cc_pull
directly before calling fusb302_set_cc_polarity, this is not ideal for
2 reasons:

1) fusb302_set_cc_pull uses the cached polarity when applying the pull-ups,
which maybe changed immediately afterwards, to fix this set_cc_polarity
already does the pull-up setting.

2) Both touch the SWITCHES0 register in a r-w-modify cycle, this leads to
read reg, write reg, read reg, write reg. If we fold the setting of
the pull-downs into fusb302_set_cc_polarity then not only can we avoid
doing the reads / writes twice, at this point we set all bits, so we
can skip the read, turning 4 (slowish) i2c-transfers into 1.

Doing this also avoids the need to cache the pull_up state in
struct fusb302_chip.

Change-Id: I1e3687063ba4d1f8c321bf99cc2464c92300344a
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 31df7fadf5)
2020-06-19 20:00:50 +08:00
Stephen Boyd
976f712726 UPSTREAM: usb: typec: Fix copy/paste on typec_set_vconn_role() kerneldoc
This must have been copy pasted from the function above. Fix it.

Change-Id: I34f701e5c8347a9fc2abd229fc92a67176400745
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit f65861c645)
2020-06-19 20:00:50 +08:00
YueHaibing
0d472519c6 UPSTREAM: usb: typec: remove set but not used variables 'snk_ma, min_mv'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/usb/typec/tcpm/tcpm.c: In function 'tcpm_pd_select_pps_apdo':
drivers/usb/typec/tcpm/tcpm.c:2212:39: warning:
 variable 'snk_ma' set but not used [-Wunused-but-set-variable]

drivers/usb/typec/tcpm/tcpm.c: In function 'tcpm_pd_build_pps_request':
drivers/usb/typec/tcpm/tcpm.c:2405:37: warning:
 variable 'min_mv' set but not used [-Wunused-but-set-variable]

Change-Id: I030bc96a2faca98946fa95b51c1dbdadbb9abc1b
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 8e4657c60c)
2020-06-19 20:00:50 +08:00
Adam Thomson
9a96e29459 UPSTREAM: usb: typec: fusb302: Resolve fixed power role contract setup
When the controller is configured for a fixed power role (Source
only or Sink only), attach does not proceed within the TCPM state
machine as there is no CC event generated by this driver to update
the CC line status.

To rectify this, when CC is configured as Source or Sink we now
make use of the hardware's automatic fixed Source or Sink
toggling mechanism, which detects attaches in the same way as for
DRP toggling. In this way the result of toggling is handled in the
same way by the 'fusb302_handle_togdone()' function, and CC events
are generated as expected for TCPM allowing a contract to be
established.

Change-Id: I736243adf0ddc9a11c00aa02be07c7039d26811d
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit ea3b4d5523)
2020-06-19 20:00:50 +08:00
Adam Thomson
962eda85c8 UPSTREAM: usb: typec: fusb302: Correct spelling mistake for toggling state
There's a typo in the enum name of the 'OFF' state for toggling
(TOGGLINE instead of TOGGLING). This commit resolves that trivial
spelling inconsistency.

Change-Id: Ic7888efb03267fbe72ae1cc2f4c365800a187450
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 40326e857c)
2020-06-19 20:00:50 +08:00
Heikki Krogerus
eef67719e3 UPSTREAM: usb: typec: Group all TCPCI/TCPM code together
Moving all the drivers that depend on the Port Controller
Manager under a new directory drivers/usb/typec/tcpm/ and
making Guenter Roeck the designated reviewer of that code.

Change-Id: I72c3f00dc70b6a93dfc26c48b57635b96697305a
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit ae8a2ca8a2)
2020-06-19 20:00:50 +08:00
Heikki Krogerus
21af73b6cc UPSTREAM: usb: typec: fusb302: reorganizing the probe function a little
The debugfs needs to be initialized as the last step in
probe in this case. The struct dentry *rootdir can't be
pointing to anything unless driver probe really finishes
successfully.

It is also not necessary to clear the i2c clientdata if the
probe fails, so removing the extra label used for that.

Change-Id: I07bbb25430921572231faf9dfac7328981055ff4
Acked-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit c800c51f58)
2020-06-19 20:00:50 +08:00
Adam Thomson
44d0361b09 UPSTREAM: usb: typec: fusb302: Populate tcpc fwnode for TCPM property handling
This update populates the tcpc handle's fwnode pointer with the
child usb-connector node, if it exists, so that TCPM can perform
generic property handling to define the ports capabilities.

Change-Id: Ifaad94abeab5bca8e381f445e00e5c248a340877
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 38c6528d40)
2020-06-19 20:00:50 +08:00
Colin Ian King
4c99f92186 UPSTREAM: USB: typec: fsusb302: remove unused variables snk_pdo and toggling_mode_name
Variables snk_pdo and toggling_mode_name are defined but are not used and
hence can be removed.

Cleans up clang warnings:
warning: 'snk_pdo' defined but not used [-Wunused-const-variable=]
warning: 'toggling_mode_name' defined but not used [-Wunused-const-variable=]

Change-Id: I94d335fee54eda1a3e10ade5333a1db1a6c93336
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 697fa834c3)
2020-06-19 20:00:50 +08:00
Shunqing Chen
0517528b8e power: rk817_charger: fix error of Unbalanced enable for IRQ
------------[ cut here ]------------
WARNING: at kernel/irq/manage.c:513
Modules linked in: bifrost_kbase
CPU: 1 PID: 41 Comm: kworker/u8:1 Not tainted 4.4.138 #373
Hardware name: Rockchip PX30 yito board (DT)
Workqueue: rk817-usb-wq rk817_charge_host_evt_worker
task: ffffffc0107ca880 task.stack: ffffffc07bc20000
PC is at __enable_irq+0x38/0x60
LR is at __enable_irq+0x38/0x60
...
Call trace:
 __enable_irq+0x38/0x60
 enable_irq+0x88/0x9c
 rk817_charge_set_otg_state+0x140/0x15c
 rk817_charge_host_evt_worker+0x8c/0xc0
 process_one_work+0x274/0x3c4
 worker_thread+0x2d8/0x398
 kthread+0xe8/0xf8
 ret_from_fork+0x10/0x30

Change-Id: Id044e8e9dbec7f6e07fd8377a18717208b13b434
Signed-off-by: Shunqing Chen <csq@rock-chips.com>
2020-06-19 19:48:33 +08:00
XiaoTan Luo
b666ebc49f arm64: dts: rockchip: rename rk_headset to rk_headset: rk-headset
Signed-off-by: XiaoTan Luo <lxt@rock-chips.com>
Change-Id: I58dc0f16c61daeff3e03442eae620965552c5f43
2020-06-19 19:40:27 +08:00
Zefa Chen
7407ef7aeb media: i2c: camera driver gc4c33 add cmd for get nr switch threshold
Change-Id: Ibf8365c0c3d55496f37438577497b086b14a7496
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
2020-06-19 19:16:11 +08:00
Wang Panzhenzhuan
d957d70931 media: i2c: gc2145: fix mipi interface preview issues
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: If42e73bbdf7eb4ff95385e7899e87656ea1be50b
2020-06-19 19:14:10 +08:00
Jianqun Xu
8a0ad6ca56 fs: debugfs: add debugfs_create_u32_array_hex
Change-Id: I87ccffbc7510e58dd3724b47bc7b759a3a588ca8
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-06-19 19:13:05 +08:00
Algea Cao
625bdf8418 mfd: rk1000: Add rk1000 core driver to kbuild
RK1000's control register block need mclk for i2c communication.
So mclk should be enabled in advance.
RK1000's control register block should be registered before RK1000
TVE.

Change-Id: Iba9a2a410fe927666072f8d246995462a860ec3a
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2020-06-19 18:56:21 +08:00
Ding Wei
a496199ca4 video: rockchip: mpp: fix issue for px30 switch grf workaround
if iommu had paged, then skip the enable process.

Change-Id: I07ae8ca8e0836472f79dcabf7b14f5fbba4b8870
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-06-19 18:52:06 +08:00
Ding Wei
2d16c73564 video: rockchip: mpp: refresh pm_runtime for shared iommu
when iommu shared, such as px30 rk3368, each device power on affect
iommu usage_count add once. in this case, it should pm_runtime_put/get
by usage_count times,then hardware will really suspend/resume.

Change-Id: I7e57818e4eaf8af84e52c2d77030791329721c2e
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-06-19 18:48:45 +08:00
Finley Xiao
2b78ae6654 ARM: dts: rockchip: rv1126: Add cooling devices
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I6e6728be799899dac60e975759fe7ae7f68a9fbc
2020-06-19 18:46:42 +08:00
Wang Panzhenzhuan
6769034d02 arm64: rockchip_defconfig: enable CONFIG_VIDEO_ROCKCHIP_CIF
for cif controller

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Ibf69d373a539f10d6144311c3bb1e4bc1e42e662
2020-06-19 17:09:38 +08:00
Wang Panzhenzhuan
4537f70e26 drivers: media: platform: rockchip: cif: support rk3368 cif
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I95a48292196f78152387a08da0f5253b1478d063
2020-06-19 17:09:06 +08:00
Wang Panzhenzhuan
3c962262c9 arm64: dts: rockchip: add a new cif node for rk3368
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I747f1b15dc5ae27e43cb1e97736bdc5434c6f355
2020-06-19 17:08:48 +08:00
Finley Xiao
befc9caa81 FROMLIST: thermal: cpu_cooling: Fix wrong frequency converted from power
The function cpu_power_to_freq is used to find a frequency and set the
cooling device to consume at most the power to be converted. For example,
if the power to be converted is 80mW, and the em table is as follow.
struct em_cap_state table[] = {
	/* KHz     mW */
	{ 1008000, 36, 0 },
	{ 1200000, 49, 0 },
	{ 1296000, 59, 0 },
	{ 1416000, 72, 0 },
	{ 1512000, 86, 0 },
};
The target frequency should be 1416000KHz, not 1512000KHz.

Fixes: 349d39dc57 ("thermal: cpu_cooling: merge frequency and power tables")

Link: https://patchwork.kernel.org/patch/11613103/
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ia9d407787834f10190c8ba1e77ea1c23ed2bb25b
2020-06-19 16:42:59 +08:00
Finley Xiao
d603a61ded ARM: configs: rv1126_defconfig: Enable ENERGY_MODEL for CPU cooling
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ide2c79f8e7e94cba30e8404465196a125303b76b
2020-06-19 16:42:37 +08:00
Zhenke Fan
23e78f669f media: i2c: gc4c33: add set dpcc cfg
Signed-off-by: Zhenke Fan <fanzy.fan@rock-chips.com>
Change-Id: I3216c75987d8fa2046668cb47adba72826e1dca6
2020-06-19 16:36:50 +08:00
Finley Xiao
656c0d90f6 ARM: dts: rockchip: rv1109: Delete NPU 700MHz, 800MHz and 934MHz
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I969d529595bc607dee3c9722a0ea98236442acc3
2020-06-19 16:34:41 +08:00
Jianqun Xu
67b64a1fdd net: wireless: rockchip_wlan: fix missing MODULE_LICENSE warning
WARNING: modpost: missing MODULE_LICENSE() in drivers/net/wireless/rockchip_wlan/rkwifi/rk_wifi_config.o
see include/linux/module.h for more information

Change-Id: Ie683a00a1d0c66633fa7c169179298b08ef95452
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-06-19 16:30:23 +08:00
William Wu
124b7feb0e usb: gadget: uvc: allow zero bytesused for rockchip uvc
For rockchip platforms, the userspace uvc application use
bytesused == 0 as a way to indicate that the data is all
zero and unused. In that case, the uvc driver should use
the allow_zero_bytesused flag to keep bytesused 0 rather
than use the buf actual size instead. This can help to
preview 1080P@MJPG faster.

Change-Id: Ic4d561f18e85d759b5a2405db4f6fb48533e1781
Signed-off-by: William Wu <william.wu@rock-chips.com>
2020-06-19 16:27:12 +08:00
Finley Xiao
c7dc380f57 ARM: dts: rockchip: rv1126: Add 934MHz for NPU
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I84c644c0c85b8fdc16a9e6b8091c32fd1763f00b
2020-06-19 16:24:19 +08:00
Wu Liangqing
f149693cee arm64: rockchip_defconfig: add sensors for rk3368a tablet
+CONFIG_TOUCHSCREEN_GSL3676=y
+CONFIG_GS_SC7660=y
+CONFIG_GS_SC7A20=y
+CONFIG_GS_DA223=y
+CONFIG_VIDEO_OV2680=y
+CONFIG_VIDEO_GC032A=y

Change-Id: Ifb6eac8e1f36fad84a911efb09e23b8ec9bd5c57
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2020-06-19 16:21:21 +08:00
Wang Panzhenzhuan
5da20c9b79 media: i2c: add gc032a sensor driver
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Idb24a891f8ef9a3987a153844d0d8c641b0c1134
2020-06-19 16:15:31 +08:00
Wu Liangqing
e634183e78 driver: input: sensor: add sc7660 sc7a20 da223
Change-Id: I4206f328ed2245fdfe1f7d2955603b0bb5a5e0e3
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2020-06-19 15:58:40 +08:00
Wu Liangqing
549e092cc4 driver: input: touchsrceen: add gsl3676
Change-Id: Ic6d5ca1e76ce35d69c7d5ce2f8326d9e7f830c0b
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2020-06-19 14:21:30 +08:00
Jianqun Xu
468f9d08f5 ARM: dts: rv1126-iotest-v10: sync to rv11xx-evb.dtsi
Change-Id: I95a32ef8d42a64bc52b1d471cb3ba981604e3e28
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-06-18 19:48:49 +08:00
Cai YiWei
5c4c228eec dt-bindings: media: add rx dphy for rv1126
rv1126 rx dphy support mipi or lvds

Change-Id: I70d0c53b7a3c97e87f1fadcfb6cccf66e7958403
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2020-06-18 19:24:31 +08:00
Cai YiWei
5fda33fe2e include: rk-camera-module: add ioctl lvds mode
Change-Id: I3baa26f3257a84f43bb29cc563f27cfc742a5ce8
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2020-06-18 19:21:53 +08:00
Cai YiWei
08192186ef phy: rockchip: mipi-dphy-rx: rv1126 support lvds
config bus-type in dts to distinguish between mipi and lvds.
bus-type = <3> for lvds interface.

Change-Id: I5c043bd238522768280e6e117c79476f27118c65
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2020-06-18 19:20:13 +08:00
Nickey Yang
6fd5088470 ARM: dts: rockchip: use ports to link DSI node and panel
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I86c3c28578bca973bed5a2df595f35b86fa03129
2020-06-18 19:12:39 +08:00
Nickey Yang
d3d4f3e92d arm64: dts: rockchip: use ports to link DSI node and panel
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I35f699d231fa75c8c261ad9b248d80ee80c3bbc9
2020-06-18 19:11:47 +08:00