summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAyman Chaudhry <ayman.chaudhry.kc@renesas.com>2026-08-26 10:13:12 +0000
committerUlf Hansson <ulfh@kernel.org>2026-09-01 17:08:33 +0200
commit034bc75d32e90df344aef4fca60c51cc40cb6080 (patch)
tree3e967aa39207ea51b5d6f28137aa70e319bbf2d2 /drivers
parent0606f2114e2dc88fe293858fd991cda2688b8c3a (diff)
downloadlinux-next-034bc75d32e90df344aef4fca60c51cc40cb6080.tar.gz
linux-next-034bc75d32e90df344aef4fca60c51cc40cb6080.zip
pmdomain: renesas: rcar-sysc: Update description of chan_offs, chan_bit, isr_bit
The descriptions of `rcar_sysc_area.chan_offs`, `rcar_sysc_area.chan_bits`, and `rcar_sysc_area.isr_bit` do not clearly document how these fields are used. When `rcar_sysc_area.flags` is set to `PD_ALWAYS_ON` (i.e. `PD_NO_CR`), these fields are ignored, therefore improve the description of `rcar_sysc_area.chan_offs`, `rcar_sysc_area.chan_bit`, and `rcar_sysc_area.isr_bit` to make it clear that the field is set to 0 if power is always on. Signed-off-by: Ayman Chaudhry <ayman.chaudhry.kc@renesas.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pmdomain/renesas/rcar-sysc.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/pmdomain/renesas/rcar-sysc.h b/drivers/pmdomain/renesas/rcar-sysc.h
index 07ffce310686..ef598ecc710a 100644
--- a/drivers/pmdomain/renesas/rcar-sysc.h
+++ b/drivers/pmdomain/renesas/rcar-sysc.h
@@ -29,9 +29,15 @@
struct rcar_sysc_area {
const char *name;
- u16 chan_offs; /* Offset of PWRSR register for this area */
- u8 chan_bit; /* Bit in PWR* (except for PWRUP in PWRSR) */
- u8 isr_bit; /* Bit in SYSCI*R */
+ u16 chan_offs; /*
+ * PWRSR register offset; or 0 if area is
+ * always on
+ */
+ u8 chan_bit; /*
+ * Bit in PWR* (except for PWRUP in PWRSR);
+ * 0 if area is always on
+ */
+ u8 isr_bit; /* Bit in SYSCI*R; 0 if area is always on */
s8 parent; /* -1 if none */
u8 flags; /* See PD_* */
};