Fixes: e6dfeb296d ("Revert "clk: fractional-divider: check parent rate only if flag is set"")
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: Ia287357af26437f525c74104b4fd5b20f4ec2f16
Commit 33629d3509 ("ata: ahci: Add DWC AHCI SATA controller support")
move snps,dwc-ahci support from ahci_platform.c to ahci_dwc.c.
So replace CONFIG_SATA_AHCI_PLATFORM by CONFIG_AHCI_DWC.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I04182b5b98f58457c3784fbca4fc784e3a36e0ee
Commit 33629d3509 ("ata: ahci: Add DWC AHCI SATA controller support")
move snps,dwc-ahci support from ahci_platform.c to ahci_dwc.c.
So replace CONFIG_SATA_AHCI_PLATFORM by CONFIG_AHCI_DWC.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I501471934fea6645da3bb7a1a592715856d02fa2
We usually need to write vop regs for debug, but this depend on io cmd
and devm,
they are often forget to be enabled, so we add this node to instead of
it:
you can use the following cmd to update VOP regs:
echo offset val > /sys/kernel/debug/dri/0/video_portx/regs_write
the video_portx is depend on hardware config, you can get this info
from the cmd:
cat /sys/kernel/debug/dri/0/summary
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I687ecc44dc638bfdf770983f96ce7b5470ff3691
rockchp drm debug include dump buffer, show color bar and regs write,
only dump buffer need to depend on no gki, the others can be enabled
at gki firmware.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I715c1000d9dd29c915632d6a54706008440d0cdb
NV20 and NV30 is supported by drm core, so no need to depend on
CONFIG_NO_GKI.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I21c7ed5741ea89da6999f38b37d3a248699385fd
since we use fb size to dump buffer directly and no need use this define
to calculations dump size.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ib6915eba2e271ab98212886247ef0540d39032fc
The slot width should be in range [8, 32].
e.g.
&sai {
rockchip,slot-width = <16>;
};
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Id0c8a33141c71af189cdc87594e06fdffbd0582e
1. Add trust reserved-memory
2. Set new ramoops base address 0xa1000.
Change-Id: I0710d3845c4b3987dbfc2baadf66c555c9304601
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
ob offset not equal to zero will auto enable bls1 and bls2
Change-Id: I1b0099ca1047eb05b12d8bb745646e322e093e90
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
if no stream output, kill aiq server will no to free buf
Change-Id: Ie8f98f378251a384effd5d7145a4391fc6e40cb4
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
For rk3576, pwm1 supports wave generator mode, which
relies on the osc clk.
Change-Id: Icac6a8201aa0370868e0383f2b9daa90919cea9e
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
For rk3506, pwm0 supports wave generator mode, which
relies on the osc clk.
Change-Id: I8897595eeda31b0f606c2f2f6a365a1125fceeac
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
The read/write behavior of wave table relies on the osc clk
by default.
In addition, replace pwmchip_add() by devm_pwmchip_add().
Change-Id: Idfae114cf51e30c4c82ed5255477eef8d969aa2e
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
This reverts commit e1f0e15a08.
rk3588 use ahci_dwc driver other than ahci_platform.
Change-Id: Iaefe35363ded3730d978ef330ae9a08b872f4379
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Commit 33629d3509 ("ata: ahci: Add DWC AHCI SATA controller support")
move snps,dwc-ahci support from ahci_platform.c to ahci_dwc.c.
So replace CONFIG_SATA_AHCI_PLATFORM by CONFIG_AHCI_DWC.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I4089d656f93fedd8d9437ebb1d2ed5431915b8df
Reading uboot phy status must before phy pll clk register,
otherwise phy pll will be enabled and set defualt 74.25Mhz rate.
Change-Id: I569499e0c3522f7f80f4aa0ff6cdda6a357d7fef
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
same as link mode, add spinlock for ccu mode
Change-Id: Ic6abe20edd6d932a25b832566504f8372002f897
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
For RK3399, the lcdc_sel should be set to corresponding id
for vopl or vopb.
Fixes: d4f217f532 ("drm/rockchip: analogix_dp: fix the log to indicate edp data source")
Change-Id: I98f5f50b32038025fe72a6d38e37fb02b011eaba
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Since CLK Master/Slave had been changed to Provider/Consumer
on kernel-6.1 or later.
So, do the same change for multi-dais driver to work well.
Nothing changed if property omitted in DT.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I439cb076cc35d06cbe0834f2169c6b30348f5775