]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: rzg3s-host: Make SYSC register offsets SoC-specific
authorJohn Madieu <john.madieu.xa@bp.renesas.com>
Fri, 6 Mar 2026 14:34:14 +0000 (15:34 +0100)
committerManivannan Sadhasivam <mani@kernel.org>
Sun, 15 Mar 2026 15:35:43 +0000 (21:05 +0530)
commit346dd3422ed9ff56f033726a50fad2da5677eb12
treeca9329f8c4431716c1973524af63b429053ae8dc
parentfabce18494e5a4f388c70a40fa8351c911790d8d
PCI: rzg3s-host: Make SYSC register offsets SoC-specific

In preparation for adding RZ/G3E support, move the RST_RSM_B register
offset and mask into a SoC-specific data structure. Compared with RZ/G3S,
the RZ/G3E SYSC controls different functionalities for the PCIe controller.

Make SYSC operations conditional on the presence of register offset
information, allowing the driver to handle SoCs that don't use the
RST_RSM_B signal.

Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # RZ/V2N EVK
Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20260306143423.19562-8-john.madieu.xa@bp.renesas.com
drivers/pci/controller/pcie-rzg3s-host.c