Skip to content

Commit 345dfaa

Browse files
committed
Merge tag 'pmdomain-v7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm
Pull pmdomain fixes from Ulf Hansson: - rockchip: Fix PD_VCODEC for RK3588 - bcm: Fix broken reset status read for bcm2835 * tag 'pmdomain-v7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm: pmdomain: rockchip: Fix PD_VCODEC for RK3588 pmdomain: bcm: bcm2835-power: Fix broken reset status read
2 parents 0b2758f + 0fb59ea commit 345dfaa

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/pmdomain/bcm/bcm2835-power.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -580,11 +580,11 @@ static int bcm2835_reset_status(struct reset_controller_dev *rcdev,
580580

581581
switch (id) {
582582
case BCM2835_RESET_V3D:
583-
return !PM_READ(PM_GRAFX & PM_V3DRSTN);
583+
return !(PM_READ(PM_GRAFX) & PM_V3DRSTN);
584584
case BCM2835_RESET_H264:
585-
return !PM_READ(PM_IMAGE & PM_H264RSTN);
585+
return !(PM_READ(PM_IMAGE) & PM_H264RSTN);
586586
case BCM2835_RESET_ISP:
587-
return !PM_READ(PM_IMAGE & PM_ISPRSTN);
587+
return !(PM_READ(PM_IMAGE) & PM_ISPRSTN);
588588
default:
589589
return -EINVAL;
590590
}

drivers/pmdomain/rockchip/pm-domains.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ static const struct rockchip_domain_info rk3576_pm_domains[] = {
13111311
static const struct rockchip_domain_info rk3588_pm_domains[] = {
13121312
[RK3588_PD_GPU] = DOMAIN_RK3588("gpu", 0x0, BIT(0), 0, 0x0, 0, BIT(1), 0x0, BIT(0), BIT(0), false, true),
13131313
[RK3588_PD_NPU] = DOMAIN_RK3588("npu", 0x0, BIT(1), BIT(1), 0x0, 0, 0, 0x0, 0, 0, false, true),
1314-
[RK3588_PD_VCODEC] = DOMAIN_RK3588("vcodec", 0x0, BIT(2), BIT(2), 0x0, 0, 0, 0x0, 0, 0, false, false),
1314+
[RK3588_PD_VCODEC] = DOMAIN_RK3588("vcodec", 0x0, BIT(2), BIT(2), 0x0, 0, 0, 0x0, 0, 0, false, true),
13151315
[RK3588_PD_NPUTOP] = DOMAIN_RK3588("nputop", 0x0, BIT(3), 0, 0x0, BIT(11), BIT(2), 0x0, BIT(1), BIT(1), false, false),
13161316
[RK3588_PD_NPU1] = DOMAIN_RK3588("npu1", 0x0, BIT(4), 0, 0x0, BIT(12), BIT(3), 0x0, BIT(2), BIT(2), false, false),
13171317
[RK3588_PD_NPU2] = DOMAIN_RK3588("npu2", 0x0, BIT(5), 0, 0x0, BIT(13), BIT(4), 0x0, BIT(3), BIT(3), false, false),

0 commit comments

Comments
 (0)