mips: octeon: Misc Octeon drivers, DT and Kconfig / defconfig updates
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/210 patches 0 repliesNew
- v2 posting 1/210 patches 0 repliesSuperseded
- v16 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Tested on MIPS Octeon and ARM Octeon TX2
- Removed "struct pci_device_id" definition and U_BOOT_PCI_DEVICE() as its not needed for the PCI based probing on Octeon TX2
- Added "depends on DM_PCI" to Kconfig
- Newly added to this series
- Removed inclusion of "common.h"
- Added "depends on DM_PCI" to Kconfig
- Tested on MIPS Octeon and ARM Octeon TX2
- Fixed issues with Octeon TX2 registration. Now only one driver is registered and the "ops" is overwritten in the Octeon TX2 case.
- Use dev_get_driver_data() to get the driver data struct
- Removed "struct pci_device_id" definition and U_BOOT_PCI_DEVICE() as its not needed for the PCI based probing on Octeon TX2
- Newly added to this series
- Newly added to this series
- Kconfig and defconfig changes separated into 2 patches
- Kconfig and defconfig changes separated into 2 patches
Patches in v2 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | gpio: octeon_gpio: Add GPIO controller driver for Octeondrivers/ drivers/ drivers/ | +253 | 1 reply | |
| 2/10 | mips: octeon: mrvl,cn73xx.dtsi: Add GPIO DT nodesarch/ | +26 | 0 replies | |
| 3/10 | mips: octeon: dts: Add I2C DT nodesarch/ arch/ | +30 | 0 replies | |
| 4/10 | clk: clk_octeon: Add simple MIPS Octeon clock driverdrivers/ drivers/ drivers/ +1 more | +92 | 0 replies | |
| 5/10 | mips: octeon: dts: Add Octeon clock driver DT nodesarch/ arch/ | +11 | 0 replies | |
| 6/10 | drivers: spi: Add SPI controller driver for Octeondrivers/ drivers/ drivers/ | +624 | 2 replies | |
| 6/10 | drivers: spi: Add SPI controller driver for Octeon | +0 | 0 replies | |
| 7/10 | mips: octeon: mrvl,cn73xx.dtsi: Add SPI DT nodearch/ | +10 | 0 replies | |
| 8/10 | mips: octeon: mrvl, octeon-ebb7304.dts: Add SPI flash DT nodearch/ | +9 | 0 replies | |
| 9/10 | mips: octeon: Update Octeon Kconfigarch/ | +4 | 0 replies | |
| 10/10 | mips: octeon: Update EBB7304 defconfigconfigs/ | +10 | 0 replies |
Reviews trailers per patch
3 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass | Daniel Schwierzeck |
|---|---|---|
| 1/10 | R-b | R-b |
| 2/10 | ||
| 3/10 | ||
| 4/10 | ||
| 5/10 | ||
| 6/10 | R-b | |
| 6/10 | R-b | |
| 7/10 | ||
| 8/10 | ||
| 9/10 | ||
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] mips: octeon: Misc Octeon drivers, DT and Kconfig / defconfig updates
This patchset includes the following parts:
- Octeon GPIO driver
- Octeon SPI driver
- New simple Octeon clk driver
- DT updates (GPIO, SPI, I2C & CLK nodes)
- Kconfig & defconfig updates
In v2 I've added the SPI driver as well, so combine all the drivers / patches in one patchset, that have been sent to the list before. Also GPIO and SPI have now been tested on ARM Octeon TX2 and have undergone minor changes because of this.
Thanks,
Stefan
Changes in v3:
- Removed 2nd ops struct for Octeon TX2 and removed "const" from the octeon_spi_ops declaration. This makes a more elegant switch to the Octeon TX2 functions possible, as suggested by Daniel
- Remove driver_data struct, as its not needed. The distinction between PCI based on non-PCI based probing can be made via a common Octeon TX & TX2 DT property can be made.
Changes in v2:
- Tested on MIPS Octeon and ARM Octeon TX2
- Removed "struct pci_device_id" definition and U_BOOT_PCI_DEVICE() as its not needed for the PCI based probing on Octeon TX2
- Added "depends on DM_PCI" to Kconfig
- Newly added to this series
- Removed inclusion of "common.h"
- Added "depends on DM_PCI" to Kconfig
- Tested on MIPS Octeon and ARM Octeon TX2
- Fixed issues with Octeon TX2 registration. Now only one driver is registered and the "ops" is overwritten in the Octeon TX2 case.
- Use dev_get_driver_data() to get the driver data struct
- Removed "struct pci_device_id" definition and U_BOOT_PCI_DEVICE() as its not needed for the PCI based probing on Octeon TX2
- Newly added to this series
- Newly added to this series
- Kconfig and defconfig changes separated into 2 patches
- Kconfig and defconfig changes separated into 2 patches
Changes in v1:
- Removed common.h and reduced headers as suggested by Daniel
Stefan Roese (8):
mips: octeon: mrvl,cn73xx.dtsi: Add GPIO DT nodes
mips: octeon: dts: Add I2C DT nodes
clk: clk_octeon: Add simple MIPS Octeon clock driver
mips: octeon: dts: Add Octeon clock driver DT nodes
mips: octeon: mrvl,cn73xx.dtsi: Add SPI DT node
mips: octeon: mrvl,octeon-ebb7304.dts: Add SPI flash DT node
mips: octeon: Update Octeon Kconfig
mips: octeon: Update EBB7304 defconfig
Suneel Garapati (2):
gpio: octeon_gpio: Add GPIO controller driver for Octeon
drivers: spi: Add SPI controller driver for Octeon
arch/mips/Kconfig | 6 +- arch/mips/dts/mrvl,cn73xx.dtsi | 66 +++ arch/mips/dts/mrvl,octeon-ebb7304.dts | 21 +- configs/octeon_ebb7304_defconfig | 10 + drivers/clk/Kconfig | 7 + drivers/clk/Makefile | 1 + drivers/clk/clk_octeon.c | 72 +++ drivers/gpio/Kconfig | 10 + drivers/gpio/Makefile | 1 + drivers/gpio/octeon_gpio.c | 242 +++++++++ drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/octeon_spi.c | 615 +++++++++++++++++++++++ include/dt-bindings/clock/octeon-clock.h | 12 + 14 files changed, 1069 insertions(+), 3 deletions(-) create mode 100644 drivers/clk/clk_octeon.c create mode 100644 drivers/gpio/octeon_gpio.c create mode 100644 drivers/spi/octeon_spi.c create mode 100644 include/dt-bindings/clock/octeon-clock.h
Signature · 1 line
2.28.0