diff options
author | John Madieu <john.madieu.xa@bp.renesas.com> | 2025-08-18 18:28:47 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2025-08-20 08:35:55 +0200 |
commit | 2da2740fb9c8e26b6b5e20d74f2ed1d49824236d (patch) | |
tree | 84cbcb1dcdd9fa601423f0d4353fca229cc5c18e /rust/helpers/security.c | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
soc: renesas: rz-sysc: Add syscon/regmap support
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.
[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: John Madieu <john.madieu.xa@bp.renesas.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> # on RZ/G3S
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250818162859.9661-2-john.madieu.xa@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions