"/sys/kernel/tracing/events/power/gpu_work_period/*" required by Android 14.0 is implemented.
NOTE:
For RK3588, the mali_csffw.bin used with this driver MUST be from DDK g21p0-01eac0 correspondingly.
Change-Id: Ifab61806a6a350ba53c5dc0296d20628c28d633a
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
This applies to situations where multiple cameras need to be supported in one DTS,
and camera devices need to be registered with GKI
Note: phy-rockchip-csi2-dphy.ko must be insmod last
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ib7dae1144a5f1923db41a489147f2aa5b2f2b358
This applies to situations where multiple cameras need to be supported in one DTS,
and camera devices need to be registered with GKI
Note: phy-rockchip-csi2-dphy.ko must be insmod last
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: If915530d4b982df9500851df89b776e18ed7dd38
In some special applications, tx has read data from the fifo, rx to read
the fifo is 0 when there is no need to do timeout waiting.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I7f4bc88ace026088228396da96d628bebb9e4b94
Set the frequency of SYS_STATUS_DEEP_SUSPEND to devfreq->suspend_freq,
which is the device frequency set during deep suspend phase.
Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: Ic33ded5cc6a17335404ef65dd071e856bdf7e598
Set all default pins to expected input/output values to
prevent glitch during probe.
Change-Id: I29e882f47b8ab1e4d89e29cc1525187a434cba53
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
If the default-brightness-level is 0 and related pwm
has been enabled in uboot, the pwm_backlight may not
actually be turned off.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I92c0c363a13040e300dd8aa2d40edcad87fa50d0
Merge using ours merge strategy.
* commit 'a4ed886f15adaf1dcdc47c89b6f65408eb48026e':
drm/rockchip: lvds: using readable connector name when dual lvds enabled
Change-Id: Ie7cfb06bc1db68503ba9a75650e9cba3d01f9bf4
When we enable Dual LVDS, there will be the following
output in the VOP summary node:
$ cat /sys/kernel/debug/dri/0/summary
...
Video Port1: ACTIVE
Connector: LVDS-1
...
The connector information here is not clear enough. When Dual LVDS is enabled,
both LVDS-0 and LVDS-1 will be enabled (but we will only expose one connector
to user space for operation, which can shield the underlying differences).
In addition, if only LVDS1 is enabled instead of using Dual LVDS,
"LVDS-1" will also be printed here.
In order to express this information more accurately, we will change
the corresponding connector name to "LVDS-DUAL" when using Dual LVDS:
$ cat /sys/kernel/debug/dri/0/summary
...
Video Port1: ACTIVE
Connector: LVDS-DUAL
...
Change-Id: I9621338c8bdec4b32772c3558d55b5b426d3ccc4
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
when vp0 is disabled, the vop2->vps[0].rockchip_crtc.crtc.state is NULL.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I93b3ea4f3ddc6076f2105ebcabf7317627b602a3
When we enable Dual LVDS, there will be the following
output in the VOP summary node:
$ cat /sys/kernel/debug/dri/0/summary
...
Video Port1: ACTIVE
Connector: LVDS-1
...
The connector information here is not clear enough. When Dual LVDS is enabled,
both LVDS-0 and LVDS-1 will be enabled (but we will only expose one connector
to user space for operation, which can shield the underlying differences).
In addition, if only LVDS1 is enabled instead of using Dual LVDS,
"LVDS-1" will also be printed here.
In order to express this information more accurately, we will change
the corresponding connector name to "LVDS-DUAL" when using Dual LVDS:
$ cat /sys/kernel/debug/dri/0/summary
...
Video Port1: ACTIVE
Connector: LVDS-DUAL
...
Change-Id: I9621338c8bdec4b32772c3558d55b5b426d3ccc4
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
1. Add a way to trigger soft interrupts for rpmsg communication
soft irq refers to reserved irq in shared peripheral interrupt (SPI).
2. Rename rockchip_rpmsg.c to rockchip_rpmsg_mbox.c.
Change-Id: I8007f4b77ba669073db9074e9c19623c37c27fb6
Signed-off-by: Hongming Zou <hongming.zou@rock-chips.com>
The mmc_idmac run at the address [512KB ~ (2M - 8KB)] which is SPL's
Stack and Heap.
SPL'mmc_idmac use malloc and Kernel reserve this memory.
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I267759d6acd1137a19e0e5d534c481b8f579b1ee
Avoid the *clk_emmc* are disabled by *unused_off* when the ramdisk is
too large.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I38b6f33ab55fbb65781ee266237382c977848e68
Fixes: 5577e94f30 ("Mali: midgard: Use new APIs for devfreq")
Change-Id: I55e2e037b5d1ef338abfc863d5d7d03534806cc0
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>