This patch do these operation:
42a2c3610d88 Revert "Revert "arm64: dts: rockchip: update iommu clk name from "hclk" to "iface"""
ca40255ac827 arm64: dts: rockchip: adjust dmc opp-table for rk1808
3c867de9a7f3 arm64: dts: rockchip: rk1808: set PCIe as RC default
5eab28bdf11e arm64: dts: rockchip: rk1808: add usb3phy_grf_p for combo phy
a3bb2719be95 arm64: dts: rockchip: rk1808: set min voltage for dmc when low temperature
e0d40e1af1dd arm64: dts: rockchip: limit vdd_npu to 0.88V for rk1808 SoCs
ccffc153ed72 arm64: dts: rockchip: rk1808: add mipi csi dts config
ca3c7ea638a7 arm64: dts: rockchip: rk1808: Add wide-temperature configure
6d4c56b8202a arm64: dts: rockchip: Add system monitor node
77cd099b752f arm64: dts: rockchip: rk1808: disable peri ms and sram auto CS
f4eb4471e1c2 arm64: dts: rockchip: rk1808: Correct the drive strength for rgmii/rmii
302df1d57c63 arm64: dts: rockchip: modify io driver strength for rk1808
6a8dfe606a0a arm64: dts: rockchip: rk1808: assigned-clock-parents for clk_32k_ioe
c2901bf3f30e soc: rockchip: Change the parameter of power model for cpu and npu
71812e7394a4 arm64: dts: rockchip: add soc_bus support for rk1808
2463e3323cd7 arm64: dts: rockchip: adjust opp-table for rk1808 SoCs
4c3b6ea9751c arm64: dts: rockchip: rk1808: support cpu idle
e2037aa67f8f Revert "arm64: dts: rockchip: rk1808: Correct the drive strength for rgmii/rmii"
bca7a337bb60 Revert "soc: rockchip: Change the parameter of power model for cpu and npu"
63f5e887d360 Revert "arm64: dts: rockchip: Add system monitor node"
d691a5bf4b5f Revert "arm64: dts: rockchip: update iommu clk name from "hclk" to "iface""
Change-Id: Ic5915c50019710b57d28e6d1833a6132af57c870
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
I replace "sg_dma_len" with "MALI_SG_DMA_LEN"
and rename configs which have duplicated names in midgard/, as before.
Note that drivers/gpu/arm/bifrost on DDK r20
depends on drivers/base/memory_group_manager.
Change-Id: Ie51fda035a98b5151f25a0fcf7294b88d4ecc978
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
drivers/gpu/arm/bifrost on DDK r20 depends on this module.
Change-Id: I175fbd2429aa1b8a658c431ce71503c67976db3d
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
The RK3399 has the interesting property to be a so called "big-little"
system, where not all the CPUs are equal (the A53s are much weaker
than the A72s).
So far, we're not telling the OS that there is such a difference in
processing capacity, and Linux assumes that they are equal. Too bad.
Let's tell the OS about this by using the capacity-dmips-mhz
property. The values used here are those used on the Juno platform,
which is quite similar. This leads to the scheduler knowing that
it can pack more tasks on the A72s, and leads to a better interactive
experience.
Tested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from commit 97df3aa76b)
Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: I778b5decfbee73c8f78d9f746c9546ecff065039
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>