RK3588s evb supports pcie;
evb2 does not have pcie.
Note that the pin name in schematic is named by PHY;
and here is the map for phy and controller on rk3588s:
pcie2x1l0 - Not exist in rk3588s
pcie2x1l1 - PCIE20_2(PHY MUX_2)
pcie2x1l2 - PCIE20_0(PHY MUX_0)
Change-Id: Ibf4a66f79c377155d1c23d5f99a63306f9556432
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
On RK3588 platform, there are two voltage inputs for each cluster,
VDD_LOGIC and VDD_MEM are supplied by two regulators. when scaling
voltage inputs of the cluster, the voltages of two regulator inputs
need to be controlled by software under the SoC specific limitation:
VDD_MEM: 675mV ~ 950mV
VDD_LOGIC: 550mV ~ 950mV
VDD_MEM - VDD_LOGIC <= 400mV
VDD_LOGIC - VDD_MEM <= 150mV
So when scaling up voltage, change the voltage of VDD_MEM before
VDD_LOGIC, and when scaling down voltage, change the voltage of
VDD_LOGIC before VDD_MEM.
Change-Id: I1a603335e0fd98b1b70e4d0ccbcad10d33cc8a8a
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
RK3588 VOP should enable DataStream mode when mipi dsi
work at cmd mode, this is different from rk356x.
Change-Id: I770f98dd78d12e4b1a6411f0b1ffb9572dda62a4
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Actually, rk809 codec has two dais, so, should be "#sound-dai-cells = <1>"
Fix warning:
arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi:205.4-31:
Warning (sound_dai_property): /rk809-sound/simple-audio-card,codec:sound-dai:
property size (4) too small for cell size 1
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I641a33a5fe0cad21efb65e4e20655d0968373100
PCIE3.0 x4 and x2 controller is in RK3588_PD_PCIE.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Change-Id: Ic062c42824d70fa0a33959afda6fa1225b6c65bf
reason:
1. might_sleep is called by pm_runtime_xx, thus, it cannot covered by
rcu_read_lock/unlock which is atomic context.
2. it need use device_links_read_lock/unlock when meets
dev->links.suppliers. however, device_links_read_lock/unlock are
not export symbols.
thus use rockchip_iommu_disable/enable instead.
Change-Id: I545eced499533383f6cfbdf81e696064f42b6c3e
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Because of the signal relationship, PD_VDPU should be power up if
PD_RKVDEC0 or PD_RKVDEC1 wants to work, PD_NVM should be power up if
PD_SDIO wants to work, PD_VOP should be power up if PD_VOP0 wants to
work.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I3b85124dcb979ee154acbc89082b83ed31cdf9ab
-CONFIG_MALI_MEMORY_GROUP_MANAGER=y
-CONFIG_TOUCHSCREEN_GSLX6801=y
-CONFIG_TOUCHSCREEN_GSLX680_VR=y
-CONFIG_TOUCHSCREEN_GSL3673_800X1280=y
-CONFIG_TOUCHSCREEN_GSL3676=y
-CONFIG_TOUCHSCREEN_GT9XX=y
-CONFIG_TOUCHSCREEN_HYN_CST2XX=y
-CONFIG_TOUCHSCREEN_WACOM_W9013=y
-CONFIG_TOUCHSCREEN_FTS=y
-CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5=y
-CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICETREE_SUPPORT=y
-CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_I2C=y
-CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS=y
-CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER=y
-CONFIG_DEVFREQ_THERMAL=y
-CONFIG_MALI_BIFROST_DEVFREQ=y
-CONFIG_BACKLIGHT_LCD_SUPPORT=y
-# CONFIG_LCD_CLASS_DEVICE is not set
-# CONFIG_BACKLIGHT_GENERIC is not set
-CONFIG_PM_DEVFREQ=y
-CONFIG_PHY_ROCKCHIP_INNO_MIPI_DPHY=y
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I744730358d42051459cadcb2d51e9f9aa037f3a2
As one domain may have multiple parent domains, so the domain may
appear multiple times in pmu device node, it will be added repeatedly.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I2d87c265d52c4e767d710f41dac6dd11b91baa69
Cluster window only support rotation(x/ymirror, rotation90/270)
at afbc mode.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I6439a59793f724bd5d0e643c2d02486cce733165
The port mux configuration of two mipi dsi hosts on rk3588 break
the direct mapping rules used on other soc and other connector
interfaces. We need add a translation here.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: If3d6ae26c685e40e00e8c783b28856be3ec2d524
1. add overscan feature to indicate rk3588 can't support overscan;
2. add more feature info for rk3588;
3. fix some feature character error;
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I708e506db87c36078453232530bfb4d78e779010
Setting frame.prev_type to STACK_TYPE_UNKNOWN to solve it.
prev_type is new for struct stackframe of linux5.10 arm64.
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: I6df1d6b860a79f4e15e3ce40f6471aa1de02f986
Add optee node to supply OP-TEE required properties
for Android products which need OP-TEE enable default.
/optee node is supposed to be below /firmware node.
Change-Id: Ie0e483e02336def9feba47bbfbebdd8d8693d480
Signed-off-by: Elon Zhang <zhangzj@rock-chips.com>
Remove default optee node in SoC core devicetree because optee
is not an inherent component in SoC.
Add optee node to supply OP-TEE required properties for Android
products which need OP-TEE enable default.
Change-Id: I0754a3498c5e6d7b7db57bb35c42c3875afd27c9
Signed-off-by: Elon Zhang <zhangzj@rock-chips.com>
The SPDIF receiver is a self-clocking, serial, unidirectional
interface for the interconnection of digital audio equipment
for consumer and professional applications.
Change-Id: Ic73337671b37c8c45352e523a875281edd552d1b
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This patch add vbus regulator and fusb302 nodes for
rk3588 and rk3588s evbs, and also disable unused usb
controllers and phys node.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I59678e7cd34de76ed09cc55010a1d8533fe58602