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

Sumit Garg
2023-02-01T13:59:36Z

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.

Changes in v2:
- Incorporated misc I2C driver comments from Heiko.

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 | 12 +
drivers/i2c/Makefile | 1 +
drivers/i2c/qup_i2c.c | 579 +++++++++++++++++
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, 1651 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