Skip to content

Commit d028219

Browse files
Wolfram Sangalexandrebelloni
authored andcommitted
i3c: master: Add basic driver for the Renesas I3C controller
Add a basic driver for the I3C controller found in Renesas RZ/G3S and G3E SoCs. Support I3C pure busses (tested with two targets) and mixed busses (two I3C devices plus various I2C targets). DAA and communication with temperature sensors worked reliably at various speeds. Missing features such as IBI, HotJoin, and target mode will be added incrementally. Signed-off-by: Wolfram Sang <[email protected]> Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent 94e611b commit d028219

File tree

4 files changed

+1422
-0
lines changed

4 files changed

+1422
-0
lines changed

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11458,6 +11458,13 @@ S: Maintained
1145811458
F: Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml
1145911459
F: drivers/i3c/master/i3c-master-cdns.c
1146011460

11461+
I3C DRIVER FOR RENESAS
11462+
M: Wolfram Sang <[email protected]>
11463+
M: Tommaso Merciai <[email protected]>
11464+
S: Supported
11465+
F: Documentation/devicetree/bindings/i3c/renesas,i3c.yaml
11466+
F: drivers/i3c/master/renesas-i3c.c
11467+
1146111468
I3C DRIVER FOR SYNOPSYS DESIGNWARE
1146211469
S: Orphan
1146311470
F: Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml

drivers/i3c/master/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,13 @@ config MIPI_I3C_HCI_PCI
6464

6565
This driver can also be built as a module. If so, the module will be
6666
called mipi-i3c-hci-pci.
67+
68+
config RENESAS_I3C
69+
tristate "Renesas I3C controller driver"
70+
depends on HAS_IOMEM
71+
depends on ARCH_RENESAS || COMPILE_TEST
72+
help
73+
Support the Renesas I3C controller as found in some RZ variants.
74+
75+
This driver can also be built as a module. If so, the module will be
76+
called renesas-i3c.

drivers/i3c/master/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ obj-$(CONFIG_DW_I3C_MASTER) += dw-i3c-master.o
44
obj-$(CONFIG_AST2600_I3C_MASTER) += ast2600-i3c-master.o
55
obj-$(CONFIG_SVC_I3C_MASTER) += svc-i3c-master.o
66
obj-$(CONFIG_MIPI_I3C_HCI) += mipi-i3c-hci/
7+
obj-$(CONFIG_RENESAS_I3C) += renesas-i3c.o

0 commit comments

Comments
 (0)