This patch add support for rockchip sai controller:
* support flexible timing creation, e.g. I2S, PCM, TDM...
* support up to 128 slots per lane
* support up to 4 lanes per direction
* support slot mask
* support mono transfer and receive
* support digital loopback
* support data counter for flow control
* support clk sync among controllers which varies on chips
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I3cd5eb1c1178cc3ca3b6069863787d1fa040b60c
When the session exits, there is no need to operate the rga_job directly.
Update driver version to 1.2.21
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0369dce427dc749795803eae064dc80e33747a7e
if all cameras need deal by isp, only support readback mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Id943e8150fec09e1e7d4eddc0fd92a23ce94c669
There is a compatibility problem between the RK3588 and some eMMC devices
with HS400ES mode.
log:
mmc2: mmc_ select_ hs400es failed, error -84
mmc2: error -84 whilst initialising MMC card
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ib617b25ed404000ff2c890a423d74c15cd1a60db
When the mmu is shared between multi devices the iommu pagefault handler
and its arg should switch to corresponding device for each task.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Id639c7010fb4632a8f03dea6102ac635bc99c4bd
This patch add support for RK730 audio codec.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ia3d883d10cb8a0418f5f4313154f593cc90a1700
This reverts commit 3cf189f222.
VOP only supports the negative polarity of vsync/hsync on rk3588.
Change-Id: I67ea19f04213739149e245fa1aa5a556e92b5698
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This patch allow driver to stop controller in shutdown flow.
A clean stage is safety to reboot. otherwise, there maybe
a risk to hang on DMAC-AXI-I2S state.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I7d04d7a128004ef371cf94bec04aedc895370cd6
As saradc is disabled, so adc-key is disabled default.
To enable adc-key, add saradc as follow:
&saradc {
status = "okay";
vref-supply = <&vcc_1v8>;
};
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: Ia111f503ed187432ca13dd9a6d37cc000ac25d2b
The pd without devices also will power off when release keepon.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I3e37d5909b6fbc28400320959f448f3c92116e17
rockchip_rk3588_pll_round_rate will return a -EINVAL for
a too low or too high freq, which will make the clk framework
auto round up to a higher freq.
So there is no need to do this at clk driver.
static long rockchip_rk3588_pll_round_rate(struct clk_hw *hw,
unsigned long drate, unsigned long *prate)
{
if ((drate < 37 * MHZ) || (drate > 4500 * MHZ))
return -EINVAL;
else
return drate;
}
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I3f521e07b1a7639d44efbe12bdc05c4b88621a6e
drm_bridge require a display mode which pass through by calling
mode_set hooks, but mode_set only be called after setting mode_changed
flags, so call bridge->funcs->mode_set once in advance during kernel
logo which will not setting mode_changed flags.
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: I81a9c0f05f42dd68a376b669af823c6130462df3
configure dsi host in bridge->funcs->pre_enable/enable which is
called to enable the bridge instead of in bridge->funcs->mode_set
which should be called to set the given mode on the bridge.
Change-Id: Ic242064f0b8433f8bbe8975cc7e35e1f26bf8079
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
There are two identical lines for cw2015_battery.
Fixes: 93120310c3 ("power: battery/charger: move battery/charger drivers to power/supply")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1af6546464a248534dbc71ef51e5585bff15c5ff
aclk_vop->aclk_vop_root (1:1) by default.
aclk_vop->aclk_vop_div2_src->aclk_vop_root (1:2) for special case.
Fixes: af14a79ae3 ("rk3588: support aclk_vop_sub_src set parent to aclk_vop_div2_src")
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: Ica7ae4d614a4b0bb49d047fe0e20d9b7104df759