Skip to contentSkip to conversation

Route RISC-V SoC drivers/firmware/DT via the soc tree

PATCH In review Conor Dooley 5 participants 9 messages Nov 9, 2022 – Nov 14, 2022 RISC-V

lore
Share & tools
lore
#0 lore raw

cover Route RISC-V SoC drivers/firmware/DT via the soc tree

From: Conor Dooley <[email protected]>

Spoke to Palmer today at the linux-riscv pw sync-up (see [0] for anyone that may see this and is interested), and he said go for it w/ MAINTAINERS changes. Routing patches this way was proposed by Palmer @
[1] where Arnd & I had a wee bit of back and forth about the maintainers entries required.

I've CC'ed [email protected] with the expectation that this series will go via the soc tree with Palmer's ack.

I noticed while running the maintainers pattern check that I had messed up the i2c driver in an earlier submission - I think that Lukas may have flagged that but since It's not been fixed I've tacked on a patch for that too since I'm already in the area...

Thanks,
Conor.

0 - https://lore.kernel.org/linux-riscv/mhng-775d4068-6c1e-48a4-a1dc-b4a76ff26bb3@palmer-ri-x1c9a/
1 - https://lore.kernel.org/linux-riscv/mhng-e4210f56-fcc3-4db8-abdb-d43b3ebe695d@palmer-ri-x1c9a/

Conor Dooley (4):
MAINTAINERS: add entries for misc. RISC-V SoC drivers and devicetrees
MAINTAINERS: generify the Microchip RISC-V entry name
MAINTAINERS: add an entry for StarFive devicetrees
MAINTAINERS: repair Microchip corei2c driver entry

 MAINTAINERS | 34 ++++++++++++++++++++++++++++++----
 1 file changed, 30 insertions(+), 4 deletions(-)
Signature · 1 line
2.37.2
#1 lore raw

PATCH 1/4 MAINTAINERS: add entries for misc. RISC-V SoC drivers and devicetrees

From: Conor Dooley <[email protected]>

Following some discussion both on & off list, I have volunteered to take over maintaining the miscellaneous RISC-V devicetrees & soc drivers from Palmer to ease his load.

So far only SiFive and Microchip have stuff in drivers/soc. For the former, a SiFive entry exists with a dead GitHub repo - so remove that to avoid confusion since the patches for drivers/soc & devicetrees will be routed via my tree & other drivers go through their subsystem trees. The Microchip directory only contains a RISC-V driver for now, but is likely to contain drivers for other archs in the future. To that end, change the PolarFire SoC entry to specifically mention the RISC-V driver & the new directory level entry does not mention an architecture.

---
 MAINTAINERS | 25 +++++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)
MAINTAINERS +23 -2
index 046ff06ff97f..b88ced1ff72c 100644
@@ -13627,6 +13627,12 @@ S:	Supported
 F:	drivers/misc/atmel-ssc.c
 F:	include/linux/atmel-ssc.h
 
+MICROCHIP SOC DRIVERS
+M:	Conor Dooley <[email protected]>
+S:	Supported
+T:	git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
+F:	drivers/soc/microchip/
+
 MICROCHIP USB251XB DRIVER
 M:	Richard Leitner <[email protected]>
 L:	[email protected]
@@ -17749,12 +17755,21 @@ F:	drivers/mailbox/mailbox-mpfs.c
 F:	drivers/pci/controller/pcie-microchip-host.c
 F:	drivers/reset/reset-mpfs.c
 F:	drivers/rtc/rtc-mpfs.c
-F:	drivers/soc/microchip/
+F:	drivers/soc/microchip/mpfs-sys-controller.c
 F:	drivers/spi/spi-microchip-core-qspi.c
 F:	drivers/spi/spi-microchip-core.c
 F:	drivers/usb/musb/mpfs.c
 F:	include/soc/microchip/mpfs.h
 
+RISC-V MISC SOC SUPPORT
+M:	Conor Dooley <[email protected]>
+L:	[email protected]
+S:	Maintained
+Q:	https://patchwork.kernel.org/project/linux-riscv/list/
+T:	git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
+F:	Documentation/devicetree/bindings/riscv/
+F:	arch/riscv/boot/dts/
+
 RNBD BLOCK DRIVERS
 M:	Md. Haris Iqbal <[email protected]>
 M:	Jack Wang <[email protected]>
@@ -18781,7 +18796,6 @@ M:	Palmer Dabbelt <[email protected]>
 M:	Paul Walmsley <[email protected]>
 L:	[email protected]
 S:	Supported
-T:	git https://github.com/sifive/riscv-linux.git
 N:	sifive
 K:	[^@]sifive
 
@@ -18800,6 +18814,13 @@ S:	Maintained
 F:	Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
 F:	drivers/dma/sf-pdma/
 
+SIFIVE SOC DRIVERS
+M:	Conor Dooley <[email protected]>
+L:	[email protected]
+S:	Maintained
+T:	git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
+F:	drivers/soc/sifive/
+
 SILEAD TOUCHSCREEN DRIVER
 M:	Hans de Goede <[email protected]>
 L:	[email protected]
Signature · 1 line
2.37.2
Acked-by on v1 1/4
#2 lore raw

Re: [PATCH v1 1/4] MAINTAINERS: add entries for misc. RISC-V SoC drivers and devicetrees

Quoted 15 lines · Conor Dooley

From: Conor Dooley <[email protected]>

Following some discussion both on & off list, I have volunteered to take over maintaining the miscellaneous RISC-V devicetrees & soc drivers from Palmer to ease his load.

So far only SiFive and Microchip have stuff in drivers/soc. For the former, a SiFive entry exists with a dead GitHub repo - so remove that to avoid confusion since the patches for drivers/soc & devicetrees will be routed via my tree & other drivers go through their subsystem trees. The Microchip directory only contains a RISC-V driver for now, but is likely to contain drivers for other archs in the future. To that end, change the PolarFire SoC entry to specifically mention the RISC-V driver & the new directory level entry does not mention an architecture.

Quoted 2 lines
CC Arnd Bergmann <[email protected]>
CC Nicolas Ferre <[email protected]>

Thanks Conor, best regards,
Nicolas

Quoted 72 lines
---
  MAINTAINERS | 25 +++++++++++++++++++++++--
  1 file changed, 23 insertions(+), 2 deletions(-)
MAINTAINERS +23 -3
index 046ff06ff97f..b88ced1ff72c 100644
@@ -13627,6 +13627,12 @@ S:     Supported
  F:     drivers/misc/atmel-ssc.c
  F:     include/linux/atmel-ssc.h
 
+MICROCHIP SOC DRIVERS
+M:     Conor Dooley <[email protected]>
+S:     Supported
+T:     git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
+F:     drivers/soc/microchip/
+
  MICROCHIP USB251XB DRIVER
  M:     Richard Leitner <[email protected]>
  L:     [email protected]
@@ -17749,12 +17755,21 @@ F:    drivers/mailbox/mailbox-mpfs.c
  F:     drivers/pci/controller/pcie-microchip-host.c
  F:     drivers/reset/reset-mpfs.c
  F:     drivers/rtc/rtc-mpfs.c
-F:     drivers/soc/microchip/
+F:     drivers/soc/microchip/mpfs-sys-controller.c
  F:     drivers/spi/spi-microchip-core-qspi.c
  F:     drivers/spi/spi-microchip-core.c
  F:     drivers/usb/musb/mpfs.c
  F:     include/soc/microchip/mpfs.h
 
+RISC-V MISC SOC SUPPORT
+M:     Conor Dooley <[email protected]>
+L:     [email protected]
+S:     Maintained
+Q:     https://patchwork.kernel.org/project/linux-riscv/list/
+T:     git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
+F:     Documentation/devicetree/bindings/riscv/
+F:     arch/riscv/boot/dts/
+
  RNBD BLOCK DRIVERS
  M:     Md. Haris Iqbal <[email protected]>
  M:     Jack Wang <[email protected]>
@@ -18781,7 +18796,6 @@ M:      Palmer Dabbelt <[email protected]>
  M:     Paul Walmsley <[email protected]>
  L:     [email protected]
  S:     Supported
-T:     git https://github.com/sifive/riscv-linux.git
  N:     sifive
  K:     [^@]sifive
 
@@ -18800,6 +18814,13 @@ S:     Maintained
  F:     Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
  F:     drivers/dma/sf-pdma/
 
+SIFIVE SOC DRIVERS
+M:     Conor Dooley <[email protected]>
+L:     [email protected]
+S:     Maintained
+T:     git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
+F:     drivers/soc/sifive/
+
  SILEAD TOUCHSCREEN DRIVER
  M:     Hans de Goede <[email protected]>
  L:     [email protected]
--

2.37.2

Signature · 1 line
Nicolas Ferre
maintainer Acked-by on v1 1/4
#3 lore raw

Re: [PATCH v1 1/4] MAINTAINERS: add entries for misc. RISC-V SoC drivers and devicetrees

In reply to Conor Dooley
Quoted 76 lines · Conor Dooley

From: Conor Dooley <[email protected]>

Following some discussion both on & off list, I have volunteered to take over maintaining the miscellaneous RISC-V devicetrees & soc drivers from Palmer to ease his load.

So far only SiFive and Microchip have stuff in drivers/soc. For the former, a SiFive entry exists with a dead GitHub repo - so remove that to avoid confusion since the patches for drivers/soc & devicetrees will be routed via my tree & other drivers go through their subsystem trees. The Microchip directory only contains a RISC-V driver for now, but is likely to contain drivers for other archs in the future. To that end, change the PolarFire SoC entry to specifically mention the RISC-V driver & the new directory level entry does not mention an architecture.

---
 MAINTAINERS | 25 +++++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)
MAINTAINERS +16 -2
index 046ff06ff97f..b88ced1ff72c 100644
@@ -13627,6 +13627,12 @@ S:	Supported
 F:	drivers/misc/atmel-ssc.c
 F:	include/linux/atmel-ssc.h
 
+MICROCHIP SOC DRIVERS
+M:	Conor Dooley <[email protected]>
+S:	Supported
+T:	git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
+F:	drivers/soc/microchip/
+
 MICROCHIP USB251XB DRIVER
 M:	Richard Leitner <[email protected]>
 L:	[email protected]
@@ -17749,12 +17755,21 @@ F:	drivers/mailbox/mailbox-mpfs.c
 F:	drivers/pci/controller/pcie-microchip-host.c
 F:	drivers/reset/reset-mpfs.c
 F:	drivers/rtc/rtc-mpfs.c
-F:	drivers/soc/microchip/
+F:	drivers/soc/microchip/mpfs-sys-controller.c
 F:	drivers/spi/spi-microchip-core-qspi.c
 F:	drivers/spi/spi-microchip-core.c
 F:	drivers/usb/musb/mpfs.c
 F:	include/soc/microchip/mpfs.h
 
+RISC-V MISC SOC SUPPORT
+M:	Conor Dooley <[email protected]>
+L:	[email protected]
+S:	Maintained
+Q:	https://patchwork.kernel.org/project/linux-riscv/list/
+T:	git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
+F:	Documentation/devicetree/bindings/riscv/
+F:	arch/riscv/boot/dts/
+
 RNBD BLOCK DRIVERS
 M:	Md. Haris Iqbal <[email protected]>
 M:	Jack Wang <[email protected]>
@@ -18781,7 +18796,6 @@ M:	Palmer Dabbelt <[email protected]>
 M:	Paul Walmsley <[email protected]>
 L:	[email protected]
 S:	Supported
-T:	git https://github.com/sifive/riscv-linux.git
 N:	sifive
 K:	[^@]sifive
 
@@ -18800,6 +18814,13 @@ S:	Maintained
 F:	Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
 F:	drivers/dma/sf-pdma/
 

MAINTAINERS S: Maintained · line 18826

Quoted 10 lines
MAINTAINERS +7 -0
+SIFIVE SOC DRIVERS
+M:	Conor Dooley <[email protected]>
+L:	[email protected]
+S:	Maintained
+T:	git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
+F:	drivers/soc/sifive/
+
 SILEAD TOUCHSCREEN DRIVER
 M:	Hans de Goede <[email protected]>
 L:	[email protected]

Thanks!

#4 lore raw

PATCH 2/4 MAINTAINERS: generify the Microchip RISC-V entry name

In reply to Conor Dooley

From: Conor Dooley <[email protected]>

These drivers work on our other FPGAs, for example the non-SoC PolarFire connected to an FU-540 via chiplink. Make the entry a wee bit more generic to match. While at it, remove the / from the heading so that it matches other, neighbouring RISC-V entries.

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index b88ced1ff72c..a57c90be001f 100644
@@ -17732,7 +17732,7 @@ F:	arch/riscv/
 N:	riscv
 K:	riscv
 
-RISC-V/MICROCHIP POLARFIRE SOC SUPPORT
+RISC-V MICROCHIP FPGA SUPPORT
 M:	Conor Dooley <[email protected]>
 M:	Daire McNamara <[email protected]>
 L:	[email protected]
Signature · 1 line
2.37.2
#5 lore raw

PATCH 3/4 MAINTAINERS: add an entry for StarFive devicetrees

In reply to Conor Dooley

From: Conor Dooley <[email protected]>

Emil looks after the downstream StarFive stuff, and agreed to look after the upstream ones too.

CC Emil Renner Berthing <[email protected]>
---
 MAINTAINERS | 5 +++++
 1 file changed, 5 insertions(+)
MAINTAINERS +5 -0
index a57c90be001f..040d49af9bdb 100644
@@ -19622,6 +19622,11 @@ M:	Ion Badulescu <[email protected]>
 S:	Odd Fixes
 F:	drivers/net/ethernet/adaptec/starfire*
 
+STARFIVE DEVICETREES
+M:	Emil Renner Berthing <[email protected]>
+S:	Maintained
+F:	arch/riscv/boot/dts/starfive/
+
 STARFIVE JH7100 CLOCK DRIVERS
 M:	Emil Renner Berthing <[email protected]>
 S:	Maintained
Signature · 1 line
2.37.2
Acked-by on v1 3/4
#6 lore raw

Re: [PATCH v1 3/4] MAINTAINERS: add an entry for StarFive devicetrees

Quoted 8 lines · Conor Dooley

From: Conor Dooley <[email protected]>

Emil looks after the downstream StarFive stuff, and agreed to look after the upstream ones too.

CC Emil Renner Berthing <[email protected]>

Thanks!

Quoted 23 lines
---
 MAINTAINERS | 5 +++++
 1 file changed, 5 insertions(+)
MAINTAINERS +5 -1
index a57c90be001f..040d49af9bdb 100644
@@ -19622,6 +19622,11 @@ M:     Ion Badulescu <[email protected]>
 S:     Odd Fixes
 F:     drivers/net/ethernet/adaptec/starfire*
 
+STARFIVE DEVICETREES
+M:     Emil Renner Berthing <[email protected]>
+S:     Maintained
+F:     arch/riscv/boot/dts/starfive/
+
 STARFIVE JH7100 CLOCK DRIVERS
 M:     Emil Renner Berthing <[email protected]>
 S:     Maintained
--

2.37.2

#7 lore raw

PATCH 4/4 MAINTAINERS: repair Microchip corei2c driver entry

In reply to Conor Dooley

From: Conor Dooley <[email protected]>

The driver was renamed before application but the relevant change did not propagate to the MAINTAINERS patch that was applied. Repair it.

---
I'd swear you reported this at some stage Lukas but I didn't see anything when I took a quick look on lore.

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 040d49af9bdb..269e284570fc 100644
@@ -17750,7 +17750,7 @@ F:	Documentation/devicetree/bindings/usb/microchip,mpfs-musb.yaml
 F:	arch/riscv/boot/dts/microchip/
 F:	drivers/char/hw_random/mpfs-rng.c
 F:	drivers/clk/microchip/clk-mpfs.c
-F:	drivers/i2c/busses/i2c-microchip-core.c
+F:	drivers/i2c/busses/i2c-microchip-corei2c.c
 F:	drivers/mailbox/mailbox-mpfs.c
 F:	drivers/pci/controller/pcie-microchip-host.c
 F:	drivers/reset/reset-mpfs.c
Signature · 1 line
2.37.2
#8 lore raw
In reply to Conor Dooley
This series was applied to soc/soc.git (arm/fixes) by Arnd Bergmann <[email protected]>:

Hello:

This series was applied to soc/soc.git (arm/fixes) by Arnd Bergmann <[email protected]>:

Quoted 9 lines · On Wed, 9 Nov 2022 21:22:16 +0000 you wrote:

From: Conor Dooley <[email protected]>

Spoke to Palmer today at the linux-riscv pw sync-up (see [0] for anyone that may see this and is interested), and he said go for it w/ MAINTAINERS changes. Routing patches this way was proposed by Palmer @
[1] where Arnd & I had a wee bit of back and forth about the maintainers entries required.

[...]

Here is the summary with links:
- [v1,1/4] MAINTAINERS: add entries for misc. RISC-V SoC drivers and devicetrees (no matching commit)
- [v1,2/4] MAINTAINERS: generify the Microchip RISC-V entry name

    https://git.kernel.org/soc/soc/c/d10728ff93b5
  - [v1,3/4] MAINTAINERS: add an entry for StarFive devicetrees
    https://git.kernel.org/soc/soc/c/94803f9e1623
  - [v1,4/4] MAINTAINERS: repair Microchip corei2c driver entry
    https://git.kernel.org/soc/soc/c/d7f6fc14e513

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html