* [PATCH] qcom_defconfig: Enable ethernet and I2C support
@ 2024-02-19 8:41 Sumit Garg
2024-03-05 13:47 ` Sumit Garg
2024-03-05 17:38 ` Caleb Connolly
0 siblings, 2 replies; 3+ messages in thread
From: Sumit Garg @ 2024-02-19 8:41 UTC (permalink / raw)
To: caleb.connolly, neil.armstrong; +Cc: u-boot, trini, Sumit Garg
QCS404 supports Synopsys Designware Ethernet QOS IP and we already have
the corresponding glue layer present upstream as:
drivers/net/dwc_eth_qos_qcom.c. So enable corresponding support.
Along with that it is possible for Qualcomm platforms to retrieve MAC
address from I2C eeprom present on board. So enable corresponding
support as well.
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
---
This patch based upon Caleb's series [1].
[1] https://lore.kernel.org/all/20240215-b4-qcom-common-target-v4-0-ed06355c634a@linaro.org/
configs/qcom_defconfig | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 222db6448aba..cbc612b44bd9 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -26,7 +26,6 @@ CONFIG_CMD_USB=y
CONFIG_CMD_CAT=y
CONFIG_CMD_BMP=y
CONFIG_CMD_LOG=y
-# CONFIG_NET is not set
CONFIG_BUTTON_QCOM_PMIC=y
CONFIG_CLK=y
CONFIG_CLK_QCOM_QCS404=y
@@ -65,3 +64,26 @@ CONFIG_VIDEO_SIMPLE=y
CONFIG_HEXDUMP=y
# CONFIG_GENERATE_SMBIOS_TABLE is not set
CONFIG_LMB_MAX_REGIONS=64
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_EEPROM=y
+CONFIG_CMD_I2C=y
+CONFIG_CMD_PING=y
+CONFIG_DM_ETH=y
+CONFIG_DM_ETH_PHY=y
+CONFIG_DM_MDIO=y
+CONFIG_DWC_ETH_QOS=y
+CONFIG_DWC_ETH_QOS_QCOM=y
+CONFIG_RGMII=y
+CONFIG_PHY_MICREL=y
+CONFIG_PHY_MICREL_KSZ90X1=y
+CONFIG_MISC=y
+CONFIG_NVMEM=y
+CONFIG_DM_I2C=y
+CONFIG_I2C_SUPPORT=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_EEPROM=y
+CONFIG_SYS_I2C=y
+CONFIG_SYS_I2C_QUP=y
+CONFIG_SYS_I2C_EEPROM_BUS=2
+CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
+CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=5
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] qcom_defconfig: Enable ethernet and I2C support
2024-02-19 8:41 [PATCH] qcom_defconfig: Enable ethernet and I2C support Sumit Garg
@ 2024-03-05 13:47 ` Sumit Garg
2024-03-05 17:38 ` Caleb Connolly
1 sibling, 0 replies; 3+ messages in thread
From: Sumit Garg @ 2024-03-05 13:47 UTC (permalink / raw)
To: caleb.connolly, neil.armstrong; +Cc: u-boot, trini
On Mon, 19 Feb 2024 at 14:11, Sumit Garg <sumit.garg@linaro.org> wrote:
>
> QCS404 supports Synopsys Designware Ethernet QOS IP and we already have
> the corresponding glue layer present upstream as:
> drivers/net/dwc_eth_qos_qcom.c. So enable corresponding support.
>
> Along with that it is possible for Qualcomm platforms to retrieve MAC
> address from I2C eeprom present on board. So enable corresponding
> support as well.
>
> Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
> ---
>
> This patch based upon Caleb's series [1].
>
> [1] https://lore.kernel.org/all/20240215-b4-qcom-common-target-v4-0-ed06355c634a@linaro.org/
>
Gentle ping.
-Sumit
> configs/qcom_defconfig | 24 +++++++++++++++++++++++-
> 1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
> index 222db6448aba..cbc612b44bd9 100644
> --- a/configs/qcom_defconfig
> +++ b/configs/qcom_defconfig
> @@ -26,7 +26,6 @@ CONFIG_CMD_USB=y
> CONFIG_CMD_CAT=y
> CONFIG_CMD_BMP=y
> CONFIG_CMD_LOG=y
> -# CONFIG_NET is not set
> CONFIG_BUTTON_QCOM_PMIC=y
> CONFIG_CLK=y
> CONFIG_CLK_QCOM_QCS404=y
> @@ -65,3 +64,26 @@ CONFIG_VIDEO_SIMPLE=y
> CONFIG_HEXDUMP=y
> # CONFIG_GENERATE_SMBIOS_TABLE is not set
> CONFIG_LMB_MAX_REGIONS=64
> +CONFIG_CMD_DHCP=y
> +CONFIG_CMD_EEPROM=y
> +CONFIG_CMD_I2C=y
> +CONFIG_CMD_PING=y
> +CONFIG_DM_ETH=y
> +CONFIG_DM_ETH_PHY=y
> +CONFIG_DM_MDIO=y
> +CONFIG_DWC_ETH_QOS=y
> +CONFIG_DWC_ETH_QOS_QCOM=y
> +CONFIG_RGMII=y
> +CONFIG_PHY_MICREL=y
> +CONFIG_PHY_MICREL_KSZ90X1=y
> +CONFIG_MISC=y
> +CONFIG_NVMEM=y
> +CONFIG_DM_I2C=y
> +CONFIG_I2C_SUPPORT=y
> +CONFIG_I2C_MUX=y
> +CONFIG_I2C_EEPROM=y
> +CONFIG_SYS_I2C=y
> +CONFIG_SYS_I2C_QUP=y
> +CONFIG_SYS_I2C_EEPROM_BUS=2
> +CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
> +CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=5
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] qcom_defconfig: Enable ethernet and I2C support
2024-02-19 8:41 [PATCH] qcom_defconfig: Enable ethernet and I2C support Sumit Garg
2024-03-05 13:47 ` Sumit Garg
@ 2024-03-05 17:38 ` Caleb Connolly
1 sibling, 0 replies; 3+ messages in thread
From: Caleb Connolly @ 2024-03-05 17:38 UTC (permalink / raw)
To: neil.armstrong, Sumit Garg; +Cc: Caleb Connolly, u-boot, trini
On Mon, 19 Feb 2024 14:11:44 +0530, Sumit Garg wrote:
> QCS404 supports Synopsys Designware Ethernet QOS IP and we already have
> the corresponding glue layer present upstream as:
> drivers/net/dwc_eth_qos_qcom.c. So enable corresponding support.
>
> Along with that it is possible for Qualcomm platforms to retrieve MAC
> address from I2C eeprom present on board. So enable corresponding
> support as well.
>
> [...]
Applied, thanks!
[1/1] qcom_defconfig: Enable ethernet and I2C support
commit: b307c5d45dcd1e086a3b28affd1a1006f35334b4
Best regards,
--
// Caleb (they/them)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-05 17:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-19 8:41 [PATCH] qcom_defconfig: Enable ethernet and I2C support Sumit Garg
2024-03-05 13:47 ` Sumit Garg
2024-03-05 17:38 ` Caleb Connolly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox