Since the PSR feature can help to reduce the power consumption, the
Source device, which can support PSR function, should enable PSR if
the PSR capability of Sink device is detected rather than depending
on the user to add 'support-psr' DTS property manually.
Change-Id: I2f51312621f62519f388e06561fb61f01145256b
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
rockchip,clk-trcm = <1> to rockchip,trcm-sync-tx-only
rockchip,clk-trcm = <2> to rockchip,trcm-sync-rx-only
remove rockchip,clk-trcm = <0> because of it's the default
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: I10938cb1eec02456e86c775113bb83ec329390e4
In android 9,10,11,12,13, we have already support 16k wbs in
hardware level code. So, enable 16k support in kernel dts default.
Info:
In future, to support BTSCO 16k, it only need to change the
default setting of bluedroid's "DISABLE_WBS" setting.
Change-Id: I31db010004b09723840c9674a093eaaa78822658
Signed-off-by: Zou Dengming <marsow.zou@rock-chips.com>
we don't directly add all evb board to enable bt-sco cards
because it may take some i2s/pcm, which may use dma,
but dmas may limit.
so we just prepare this settings, then if any one who want to
support bt-sco, he/she can just add dts in board-level dts.
now, we enable rk3588-evb1 sco just for example.
Diff in "rk3588-evb1-lp4-v10.dts" is like this:
+&bt_sco {
+ status = "okay";
+};
+
+&bt_sound {
+ status = "okay";
+};
+
+&i2s2_2ch {
+ status = "okay";
+};
The default pcm/i2s setting is:
Format: PCM, dsp_a, MSB first, short sync, rising edge and delay 1 bclk.
rockchip soc: master; Bt controller: slave
Change-Id: Id161dd43ec3ea657e758852f7214727488633977
Signed-off-by: Zou Dengming <marsow.zou@rock-chips.com>
pulseaudio ucm2 config can not handle the character "," or long name,
so change it.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Idd25349d3b11e058b391bb5b0c205288ccdb3e74
This patch can save 0.6mA for PMUIO2(3V3).
Tested on RK3588_EVB1_LP4_V10 platform.
Change-Id: If9298b7de5859e8bfd28baf3e1022b71efd78218
Signed-off-by: Liang Chen <cl@rock-chips.com>
Fixes: 94a5dd9f32 ("arm64: dts: rockchip: add vepu support and separate jpege for rk3588")
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Idc14891685c81f0103477d264d44a58585756cd5
The av1d node is register av1dec_bus not platform bus,
so it no need to set okay status.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Change-Id: I9c88340d6542c497b3e4b24406db93bd60369fd8
Add new property "rockchip,typec-vbus-det" for the RK3588 and
RK3588S boards which support Type-C interface and the vbus det
pin is always pulled up.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I0cc1bc339238f41b0dc05c374fa69bf3daeeb42a
The uboot Type-C PD driver needs to poll the interrupt gpio level,
but the uboot code does not have a suitable interface to convert the
attributes of "interrupt-parent" and "interrupts" to standard gpio,
so add int-n-gpios configure for uboot to analyze and use.
Change-Id: Ib415902f11a35f8f8ee141297a53aa80dbb1cbaa
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
tablet's camera hardware power has been modified,
modify configs to adapt it.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Ibc1804c9a1730a8b9d32dafe4cdcb722f603d7a2
At present, the charger ic output otg current limit is 500mA, the
high-current usb device (for example, usb3.0 hard disk) cannot work
normally in Type-C0, such as disconnection and reconnection. According
to the requirements of the usb3.0 protocol, the minimum vbus current
limit is 900mA. We set the charger ic output otg current limit to 900mA,
and the video playback in the usb3.0 hard disk is still unstable.
The rk3588-evb Type-C vbus current limit is about 1.44v, the usb3.0 hard
disk can work stably, so the rk3588s tablet output otg current limit is
configured to 1.5A.
Change-Id: I47bbc6c8f06025504857067d42d780aa783007c6
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
Just as the commit 25e44a6ed98b("bq25700: register otg vbus regulator")
said that there will be some problems with the current vbus control,
and the patch has registered the otg vbus regulator in the charger ic
driver, then the otg vbus regulator can be referenced in the fusb302 node.
Change-Id: Id4c9f866a3d131eee6f732300ff642a7f5489672
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
Fixes: 7534ec9a51 ("arm64: dts: rockchip: rk806: bind the rk806 to the rk3588")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I01cd29ea965fc3a03e68a02f1a6a18ad5c44a73c
The tablet only uses edp and dp display interfaces(edp->vp2,dp->vp1),
so remove vp0&vp3
Signed-off-by: Jianhui Wang <wjh@rock-chips.com>
Change-Id: I1c56a95c4bd3c052f18ed43fd3b9962156b59b22
Tablet's rear camera convert fpc decrease the dvdd,
so need raise nldo4 voltage to ensure rear camera ov50c40 normal.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Id36f920dd80d9072cf3265a6cc992ae648c77142