This patch replaces the deprecated extcon API as following:
- extcon_get_cable_state_() -> extcon_get_state()
Change-Id: Id800b939bad8695f23841d5534c285b51dd60fb0
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
Only the powerofff callback feature is supported through the
rockchip,system-power-controller.
Change-Id: I55e73c05a749edab6c3710e304ee86c03812ab6f
Signed-off-by: Shengfei xu <xsf@rock-chips.com>
clang emits a warning about a negative shift count for an
unused part of a conditional constant expression:
drivers/soc/rockchip/pm_domains.c:795:21: error: shift count is negative [-Werror,-Wshift-count-negative]
[RK3328_PD_VIO] = DOMAIN_RK3328(-1, 8, 8, false),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/soc/rockchip/pm_domains.c:129:2: note: expanded from macro 'DOMAIN_RK3328'
DOMAIN_M(pwr, pwr, req, (req) + 10, req, wakeup)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/soc/rockchip/pm_domains.c:105:33: note: expanded from macro 'DOMAIN_M'
.status_mask = (status >= 0) ? BIT(status) : 0, \
^~~~~~~~~~~
include/linux/bits.h:6:24: note: expanded from macro 'BIT'
This is a bug in clang that will be fixed in the future, but in order
to build cleanly with clang-8, it would be helpful to shut up this
warning. This file is the only instance reported by kernelci at the
moment.
The best solution I could come up with is to move the BIT() usage
out of the macro into the instantiation, so we can avoid using
BIT(-1).
Link: https://lore.kernel.org/r/20190703153112.2767411-1-arnd@arndb.de
Link: https://bugs.llvm.org/show_bug.cgi?id=38789
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
(cherry picked from commit b27aca2e55)
Change-Id: Iaab1301533c185524d17fa95182e87ab9dd2d428
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Note that rng and crypto employ the same hardware resource, they're
incomatible.
Change-Id: I1ec49380bcc8b7ca23c1bf6b98220f0bb8b53938
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
drivers/video/rockchip/rga2/rga2_mmu_info.c:284:20: warning: explicitly assigning value of variable of type 'uint32_t' (aka 'unsigned int') to itself [-Wself-assign]
stride = stride;
~~~~~~ ^ ~~~~~~
Change-Id: I1c5d3b2f3354437777c8431ad027a98815f1fe70
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")
Change-Id: I38bd7f57b8836f8caa9d7046c22fdf5232b78bae
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")
Change-Id: Iece900f2814f84d14e1f67fb3d78d724b3ad9dc3
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")
Change-Id: I5a2e62f5dbac3e2b894445274dce2d3c1644f192
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")
Change-Id: Id38e4632f951242bcbebef3fba066c118d2203e3
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")
Change-Id: I355e2752197b0625123e3af61fcbd871a59f0c71
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")
Change-Id: Ic142e054b3366737f0fcdc34ac0a19fc7dcd78d6
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")
Change-Id: I8bc69ec067623e05a610b816990e128e853d01a6
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")
Change-Id: I2b342c28a0c1d44adebd589b48ea95c9dcd7182d
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")
Change-Id: Ia4dd086bdb8260a5fc839287e872c89a4b57cb22
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to
commit 8a31d9d942 ("PM / OPP: Update OPP users to put reference")
Change-Id: I56e2212f19eee5bcd570d8729d3a5154f6a02ef4
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
The note /dev/vendor_storage include api to update loader,
this node must config root user access only, but some
project set this node`s owner as bluetooth ,it is a high
risk that the loader data will be corrupted.
Disable this api by default.
Change-Id: I6beb1b3cf51bffebd0ae05368d8c266439a61f91
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This patch adds the related dts binding document for Rockchip NAND
controller v9.
Change-Id: I783cb1cd957907744812ace2179bb861e7ca4e63
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
The nand controller V9 driver for RK3326 and RKPX30.
Change-Id: Ife2190218c29f4ed33def72c092e1fe510c838d0
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This patch adds the related dts binding document for Rockchip NAND
controller v6.
Change-Id: Ib2b196d723a29f8aad95f56905a954547bc93e91
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
Don't rechanged the params of dma_trx_obj if /dev/pcie-dev be opened more
than one time
Change-Id: Ie73870e12115d091dcd33afa604c8256388b82b9
Signed-off-by: Simon Xue <xxm@rock-chips.com>
1. Delete unused files
2. Add PCIe udma transfer support
3. Use default Max Payload size setting(128 Bytes)
It's safe to use default Max Payload size setting to support most
devices
Change-Id: I68b60192a90962e03fe52b907a17234e8567e4b4
Signed-off-by: Simon Xue <xxm@rock-chips.com>
RK1608 requires 24M mclk to power on. Some boards(like our
rk1608 board) use external clock source, some are not.
This patch adds 24M mclk reference in rk1608 driver, and
enables it when power on, disables when power off.
Change-Id: I97dc5eeb7c921b53aa2b1edc70926b43a6cc18cd
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>