This patch adds a driver for the CellWise cw2017 fuel gauge.
Signed-off-by: Shunqing Chen <csq@rock-chips.com>
Change-Id: I29ae790727e0b2b326c46b452b7691f0231c6bfa
the wakeup interrupt handler which is guaranteed not to run while
@resume noirq() is being executed. the patch can help to avoid the
wakeup source try to access spi when the spi is in suspend mode.
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I3e6bc6e05dddeedea4c82de45a9e06b40e870876
The attachment and sg_table will be store in dma-buf-cache.
So use dma-buf-cache api instead of dma-buf api to reduce
the actual operation of attach/map.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I8b46c8f6a6f69ebe9854858e198d1c312a808a2f
Replace IOMMU_TLB_SHOT_ENTIRE by shootdown_entire defined in
iommu DT node for clean IOMMU framework code and more convenient
for masters. The master should call iommu_flush_iotlb_all to
zap cache manually.
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I5feab72fa12782d0715ad84a98cbd96a88bcd598
for vp2/vp3, we can use hardware or software TE to sync with panel ram,
but for vp1->dsc1->dsc1 path, we only can use software TE to sync with panel
ram.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: I0f54723c5c1c45916e669ce21819a127dc5b415d
gc032a & ov2680 for rk3368a tablet
gc2355 for rk3399 tablet
this tablets not exist now
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I95e2d20fbbe6b61ecbc2117a3ea67e801e8892f4
DLL will not LOCK after frequency reduction, DLL will not LOCK after
frequency reduction,
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I2176ff4b003e33efec049209083fe3a4d38fc10c
RK3588S-EVB1 only have two display(VP1 for DP and VP2 for eDP),
so we can assign 8 windows by 4+4.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: Ibec566e2bf4497c8aca2e732ff43b2a293127bd3
1. Modify the definition of version number.
2. Add to get the driver version interface.
3. Add to get the hardware version interface.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ia8d8bcb476adc6af5a64a009f0e5cade93e083ac
This patch aims to configure sata for better compatibility.
1. Set ssc downward spread spectrum.
2. Enable the adaptive Continuous Time Linear Equalizer (CTLE).
3. Set ssc to 31.5KHz for 24MHz ref clk.
4. Set tx_rterm = 50 ohm and rx_rterm = 43.5 ohm.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Iec71d588183bf89a65d6cbce7635dd8768f2ea5d
enable the lt7911d DP/type-c to MIPI-CSI2 bridge driver used for
rk3588s-evb ExtBoard
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I1a48f1f4c375e1d32992ba104fd6a5619486b08c
TRNG_V1_STAT_GENERATING is generated abnormally, but the
corresponding TRNG_V1_ISTAT_RAND_RDY flag cannot be triggered
in sometimes.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I446b8d521075057d07f842041f790075aec402a1
combophy relies on rockchip,pcie1ln-sel-bits to specify
lane mux for each devices. During system PM, genpd will
be turned off, so lane mux information will lost. So we'd
better move it to rockchip_combphy_pcie_init() as it will
be called both for probing and resuming.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I69a0754d7f67a95d97bde71ef629135a59a2c64b
only disable capture_en may cause memory access error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ia3c7e5a07b3d95c762735e1b73170fb1911f48da