All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] mips: octeon: Misc Octeon drivers, DT and Kconfig / defconfig updates
@ 2020-07-23 10:17 Stefan Roese
  2020-07-23 10:17 ` [PATCH v2 01/10] gpio: octeon_gpio: Add GPIO controller driver for Octeon Stefan Roese
                   ` (9 more replies)
  0 siblings, 10 replies; 25+ messages in thread
From: Stefan Roese @ 2020-07-23 10:17 UTC (permalink / raw)
  To: u-boot


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 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                 | 647 +++++++++++++++++++++++
 include/dt-bindings/clock/octeon-clock.h |  12 +
 14 files changed, 1101 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

-- 
2.27.0

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [PATCH v2 00/10] mips: octeon: Misc Octeon drivers, DT and Kconfig / defconfig updates
@ 2020-07-30 11:56 Stefan Roese
  2020-07-30 11:56 ` [PATCH v2 06/10] drivers: spi: Add SPI controller driver for Octeon Stefan Roese
  0 siblings, 1 reply; 25+ messages in thread
From: Stefan Roese @ 2020-07-30 11:56 UTC (permalink / raw)
  To: u-boot


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

-- 
2.28.0

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2020-08-04 12:54 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 10:17 [PATCH v2 00/10] mips: octeon: Misc Octeon drivers, DT and Kconfig / defconfig updates Stefan Roese
2020-07-23 10:17 ` [PATCH v2 01/10] gpio: octeon_gpio: Add GPIO controller driver for Octeon Stefan Roese
2020-07-23 10:17 ` [PATCH v2 02/10] mips: octeon: mrvl,cn73xx.dtsi: Add GPIO DT nodes Stefan Roese
2020-07-23 10:17 ` [PATCH v2 03/10] mips: octeon: dts: Add I2C " Stefan Roese
2020-07-23 10:17 ` [PATCH v2 04/10] clk: clk_octeon: Add simple MIPS Octeon clock driver Stefan Roese
2020-07-23 10:17 ` [PATCH v2 05/10] mips: octeon: dts: Add Octeon clock driver DT nodes Stefan Roese
2020-07-23 10:17 ` [PATCH v2 06/10] drivers: spi: Add SPI controller driver for Octeon Stefan Roese
2020-07-24 13:56   ` Daniel Schwierzeck
2020-07-24 14:27     ` Stefan Roese
2020-07-30  5:49     ` Stefan Roese
2020-07-30  6:23       ` Stefan Roese
2020-07-30 11:00         ` Daniel Schwierzeck
2020-07-30 11:42           ` Stefan Roese
2020-07-30  7:50     ` Jagan Teki
2020-07-30  7:53       ` Stefan Roese
2020-07-30  7:44   ` Jagan Teki
2020-07-30  8:06     ` Stefan Roese
2020-07-23 10:17 ` [PATCH v2 07/10] mips: octeon: mrvl,cn73xx.dtsi: Add SPI DT node Stefan Roese
2020-07-23 10:17 ` [PATCH v2 08/10] mips: octeon: mrvl, octeon-ebb7304.dts: Add SPI flash " Stefan Roese
2020-07-23 10:17 ` [PATCH v2 09/10] mips: octeon: Update Octeon Kconfig Stefan Roese
2020-07-23 10:17 ` [PATCH v2 10/10] mips: octeon: Update EBB7304 defconfig Stefan Roese
2020-07-30 11:56 [PATCH v2 00/10] mips: octeon: Misc Octeon drivers, DT and Kconfig / defconfig updates Stefan Roese
2020-07-30 11:56 ` [PATCH v2 06/10] drivers: spi: Add SPI controller driver for Octeon Stefan Roese
2020-08-03 19:09   ` Daniel Schwierzeck
2020-08-03 23:20   ` Suneel Garapati
2020-08-04 12:54     ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.