mbox series

[00/14] QCS404: Add ethernet and I2C drivers

Message ID 20230120071719.623661-1-sumit.garg@linaro.org
Headers show
Series QCS404: Add ethernet and I2C drivers | expand

Message

Sumit Garg Jan. 20, 2023, 7:17 a.m. UTC
Patch#1 is a fix for QCS404 system memory map to not map reserved memory
regions as an occasional system hang is observed.

Rest of the patches add support for Qualcomm ethernet and I2C drivers
specifically tested on QCS404 SoC.

Sumit Garg (14):
  qcs404: sysmap: Don't map reserved memory ranges
  qcs404-evb: Enable msm_gpio driver support
  clocks: qcs404: Add support for ethernet clocks
  pinctrl: qcs404: Enable ethernet pinmux options
  pinctrl-snapdragon: Get rid of custom drive-strength values
  net: dwc_eth_qos: Make eqos_get_tick_clk_rate callback optional
  net: dwc_eth_qos: Allow platform to override tx/rx_fifo_sz
  net: dwc_eth_qos: Add Qcom ethernet driver glue layer
  dts: qcs404-evb: Add ethernet controller node
  clock-snapdragon: Add clk_rcg_set_rate() with mnd_width=0
  clocks: qcs404: Add support for I2C clocks
  pinctrl: qcs404: Enable I2C pinmux options
  i2c: Add support for Qualcomm I2C driver
  dts: qcs404-evb: Add I2C controller nodes

 arch/arm/dts/dragonboard410c.dts              |   3 +-
 arch/arm/dts/dragonboard820c.dts              |   3 +-
 arch/arm/dts/qcom-ipq4019.dtsi                |   1 -
 arch/arm/dts/qcs404-evb.dts                   | 200 +++++-
 arch/arm/mach-snapdragon/clock-qcs404.c       | 118 ++++
 arch/arm/mach-snapdragon/clock-snapdragon.c   |  24 +
 arch/arm/mach-snapdragon/clock-snapdragon.h   |   2 +
 .../include/mach/sysmap-qcs404.h              |  31 +
 arch/arm/mach-snapdragon/pinctrl-qcs404.c     |  13 +
 arch/arm/mach-snapdragon/pinctrl-snapdragon.c |   8 +-
 arch/arm/mach-snapdragon/sysmap-qcs404.c      |  14 +-
 configs/qcs404evb_defconfig                   |   1 +
 drivers/i2c/Kconfig                           |   6 +
 drivers/i2c/Makefile                          |   1 +
 drivers/i2c/qup_i2c.c                         | 592 +++++++++++++++++
 drivers/net/Kconfig                           |   7 +
 drivers/net/Makefile                          |   1 +
 drivers/net/dwc_eth_qos.c                     |  35 +-
 drivers/net/dwc_eth_qos.h                     |   4 +
 drivers/net/dwc_eth_qos_qcom.c                | 612 ++++++++++++++++++
 .../dt-bindings/pinctrl/pinctrl-snapdragon.h  |  22 -
 21 files changed, 1658 insertions(+), 40 deletions(-)
 create mode 100644 drivers/i2c/qup_i2c.c
 create mode 100644 drivers/net/dwc_eth_qos_qcom.c
 delete mode 100644 include/dt-bindings/pinctrl/pinctrl-snapdragon.h

Comments

Sumit Garg Jan. 30, 2023, 4:27 p.m. UTC | #1
On Fri, 20 Jan 2023 at 12:47, Sumit Garg <sumit.garg@linaro.org> wrote:
>
> Patch#1 is a fix for QCS404 system memory map to not map reserved memory
> regions as an occasional system hang is observed.
>
> Rest of the patches add support for Qualcomm ethernet

Gentle ping for any comments/feedback regarding the ethernet patches.

-Sumit

> and I2C drivers
> specifically tested on QCS404 SoC.
>
> Sumit Garg (14):
>   qcs404: sysmap: Don't map reserved memory ranges
>   qcs404-evb: Enable msm_gpio driver support
>   clocks: qcs404: Add support for ethernet clocks
>   pinctrl: qcs404: Enable ethernet pinmux options
>   pinctrl-snapdragon: Get rid of custom drive-strength values
>   net: dwc_eth_qos: Make eqos_get_tick_clk_rate callback optional
>   net: dwc_eth_qos: Allow platform to override tx/rx_fifo_sz
>   net: dwc_eth_qos: Add Qcom ethernet driver glue layer
>   dts: qcs404-evb: Add ethernet controller node
>   clock-snapdragon: Add clk_rcg_set_rate() with mnd_width=0
>   clocks: qcs404: Add support for I2C clocks
>   pinctrl: qcs404: Enable I2C pinmux options
>   i2c: Add support for Qualcomm I2C driver
>   dts: qcs404-evb: Add I2C controller nodes
>
>  arch/arm/dts/dragonboard410c.dts              |   3 +-
>  arch/arm/dts/dragonboard820c.dts              |   3 +-
>  arch/arm/dts/qcom-ipq4019.dtsi                |   1 -
>  arch/arm/dts/qcs404-evb.dts                   | 200 +++++-
>  arch/arm/mach-snapdragon/clock-qcs404.c       | 118 ++++
>  arch/arm/mach-snapdragon/clock-snapdragon.c   |  24 +
>  arch/arm/mach-snapdragon/clock-snapdragon.h   |   2 +
>  .../include/mach/sysmap-qcs404.h              |  31 +
>  arch/arm/mach-snapdragon/pinctrl-qcs404.c     |  13 +
>  arch/arm/mach-snapdragon/pinctrl-snapdragon.c |   8 +-
>  arch/arm/mach-snapdragon/sysmap-qcs404.c      |  14 +-
>  configs/qcs404evb_defconfig                   |   1 +
>  drivers/i2c/Kconfig                           |   6 +
>  drivers/i2c/Makefile                          |   1 +
>  drivers/i2c/qup_i2c.c                         | 592 +++++++++++++++++
>  drivers/net/Kconfig                           |   7 +
>  drivers/net/Makefile                          |   1 +
>  drivers/net/dwc_eth_qos.c                     |  35 +-
>  drivers/net/dwc_eth_qos.h                     |   4 +
>  drivers/net/dwc_eth_qos_qcom.c                | 612 ++++++++++++++++++
>  .../dt-bindings/pinctrl/pinctrl-snapdragon.h  |  22 -
>  21 files changed, 1658 insertions(+), 40 deletions(-)
>  create mode 100644 drivers/i2c/qup_i2c.c
>  create mode 100644 drivers/net/dwc_eth_qos_qcom.c
>  delete mode 100644 include/dt-bindings/pinctrl/pinctrl-snapdragon.h
>
> --
> 2.34.1
>