summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorHai Pham <[email protected]>2025-10-27 17:53:53 +0100
committerMarek Vasut <[email protected]>2025-11-06 20:09:59 +0100
commit73bdd6a7dc2941fda6efcfa832d1993d1950f042 (patch)
tree65c661ea09839731f933d195a78b03e589df1ee9 /doc/develop
parent1306e10b50f0aa28c42a25acb384b618e6d286a3 (diff)
pinctrl: renesas: Move drive strength configuration into sh_pfc_soc_operations
The upcoming Renesas R-Car Gen5 uses different mapping of bits in DRV control register, which is incompatible with existing DRV register bit mapping. Add .set_drive_strength callback into sh_pfc_soc_operations and call it from sh_pfc_pinconf_set(), to allow each SoC specific PFC driver to implement replacement .set_drive_strength. Make the current sh_pfc_pinconf_set_drive_strength() non-static, rename it with rcar_ prefix, and pass it as .set_drive_strength for existing PFC drivers. This is a preparatory patch for R-Car Gen5, no functional change. Signed-off-by: Hai Pham <[email protected]> Signed-off-by: Marek Vasut <[email protected]> [Marek: Consistently use .set_drive_strength() and pass exisiting sh_pfc_pinconf_set_drive_strength() as its parameter for all PFC drivers. Rewrite commit message.]
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions