Re: [PATCH v7 1/6] soc: renesas: rz-sysc: Add syscon/regmap support
From: claudiu beznea
Date: Tue Aug 19 2025 - 01:07:31 EST
On 8/18/25 19:28, John Madieu wrote:
The RZ/G3E system controller has various registers that control or report
some properties specific to individual IPs. The regmap is registered as a
syscon device to allow these IP drivers to access the registers through the
regmap API.
As other RZ SoCs might have custom read/write callbacks or max-offsets,
register a custom regmap configuration.
Signed-off-by: John Madieu<john.madieu.xa@xxxxxxxxxxxxxx>
[claudiu.beznea:
- do not check the match->data validity in rz_sysc_probe() as it is
always valid
- dinamically allocate regmap_cfg]
Signed-off-by: Claudiu Beznea<claudiu.beznea.uj@xxxxxxxxxxxxxx>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>
Tested-by: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx> # on RZ/G3S