Discussion:
[fedora-arm] [PATCH] Enable QDF2400 Onboard Networking
Christopher Covington
2016-12-19 19:04:09 UTC
Permalink
The QDF2400 family of SoCs from Qualcomm Datacenter Technologies has an
on-board gigabit Ethernet port. The qcom-emac driver for this hardware has
been accepted into Linus Torvalds upstream repository as of 2016-12-17, so
enable the appropriate configuration for Fedora. The QCA7000 configuration
option, revealed by enabling CONFIG_NET_VENDOR_QUALCOMM, is left unset for
now, due to lack of hardware on hand for testing.

Signed-off-by: Christopher Covington <***@codeaurora.org>
---
baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM | 1 +
baseconfig/arm/arm64/CONFIG_QCA7000 | 1 +
baseconfig/arm/arm64/CONFIG_QCOM_EMAC | 1 +
kernel-aarch64-debug.config | 4 +++-
kernel-aarch64.config | 4 +++-
5 files changed, 9 insertions(+), 2 deletions(-)
create mode 100644 baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM
create mode 100644 baseconfig/arm/arm64/CONFIG_QCA7000
create mode 100644 baseconfig/arm/arm64/CONFIG_QCOM_EMAC

diff --git a/baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM b/baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM
new file mode 100644
index 0000000..46be71a
--- /dev/null
+++ b/baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM
@@ -0,0 +1 @@
+CONFIG_NET_VENDOR_QUALCOMM=y
diff --git a/baseconfig/arm/arm64/CONFIG_QCA7000 b/baseconfig/arm/arm64/CONFIG_QCA7000
new file mode 100644
index 0000000..1a7ec7f
--- /dev/null
+++ b/baseconfig/arm/arm64/CONFIG_QCA7000
@@ -0,0 +1 @@
+# CONFIG_QCA7000 is not set
diff --git a/baseconfig/arm/arm64/CONFIG_QCOM_EMAC b/baseconfig/arm/arm64/CONFIG_QCOM_EMAC
new file mode 100644
index 0000000..4e3fa01
--- /dev/null
+++ b/baseconfig/arm/arm64/CONFIG_QCOM_EMAC
@@ -0,0 +1 @@
+CONFIG_QCOM_EMAC=m
diff --git a/kernel-aarch64-debug.config b/kernel-aarch64-debug.config
index 455c71c..4fa0835 100644
--- a/kernel-aarch64-debug.config
+++ b/kernel-aarch64-debug.config
@@ -3395,7 +3395,7 @@ CONFIG_NET_VENDOR_NETRONOME=y
CONFIG_NET_VENDOR_NVIDIA=y
CONFIG_NET_VENDOR_OKI=y
# CONFIG_NET_VENDOR_QLOGIC is not set
-# CONFIG_NET_VENDOR_QUALCOMM is not set
+CONFIG_NET_VENDOR_QUALCOMM=y
CONFIG_NET_VENDOR_RDC=y
CONFIG_NET_VENDOR_REALTEK=y
# CONFIG_NET_VENDOR_RENESAS is not set
@@ -3980,12 +3980,14 @@ CONFIG_PWM_TEGRA=m
CONFIG_PWM=y
# CONFIG_PWRSEQ_EMMC is not set
# CONFIG_PWRSEQ_SIMPLE is not set
+# CONFIG_QCA7000 is not set
CONFIG_QCOM_ADSP_PIL=m
CONFIG_QCOM_BAM_DMA=y
# CONFIG_QCOM_CLK_RPM is not set
# CONFIG_QCOM_CLK_SMD_RPM is not set
CONFIG_QCOM_COINCELL=m
# CONFIG_QCOM_EBI2 is not set
+CONFIG_QCOM_EMAC=m
CONFIG_QCOM_GSBI=y
# CONFIG_QCOM_HIDMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
diff --git a/kernel-aarch64.config b/kernel-aarch64.config
index 608d26f..13cf069 100644
--- a/kernel-aarch64.config
+++ b/kernel-aarch64.config
@@ -3374,7 +3374,7 @@ CONFIG_NET_VENDOR_NETRONOME=y
CONFIG_NET_VENDOR_NVIDIA=y
CONFIG_NET_VENDOR_OKI=y
# CONFIG_NET_VENDOR_QLOGIC is not set
-# CONFIG_NET_VENDOR_QUALCOMM is not set
+CONFIG_NET_VENDOR_QUALCOMM=y
CONFIG_NET_VENDOR_RDC=y
CONFIG_NET_VENDOR_REALTEK=y
# CONFIG_NET_VENDOR_RENESAS is not set
@@ -3958,12 +3958,14 @@ CONFIG_PWM_TEGRA=m
CONFIG_PWM=y
# CONFIG_PWRSEQ_EMMC is not set
# CONFIG_PWRSEQ_SIMPLE is not set
+# CONFIG_QCA7000 is not set
CONFIG_QCOM_ADSP_PIL=m
CONFIG_QCOM_BAM_DMA=y
# CONFIG_QCOM_CLK_RPM is not set
# CONFIG_QCOM_CLK_SMD_RPM is not set
CONFIG_QCOM_COINCELL=m
# CONFIG_QCOM_EBI2 is not set
+CONFIG_QCOM_EMAC=m
CONFIG_QCOM_GSBI=y
# CONFIG_QCOM_HIDMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@lists.fedoraproje
Justin Forbes
2016-12-19 22:43:25 UTC
Permalink
Post by Christopher Covington
The QDF2400 family of SoCs from Qualcomm Datacenter Technologies has an
on-board gigabit Ethernet port. The qcom-emac driver for this hardware has
been accepted into Linus Torvalds upstream repository as of 2016-12-17, so
enable the appropriate configuration for Fedora. The QCA7000 configuration
option, revealed by enabling CONFIG_NET_VENDOR_QUALCOMM, is left unset for
now, due to lack of hardware on hand for testing.
This has now been enabled. It should show up in the git6 and newer builds.

Thanks,
Justin
Christopher Covington
2016-12-19 19:34:43 UTC
Permalink
Post by Christopher Covington
The QDF2400 family of SoCs from Qualcomm Datacenter Technologies has an
on-board gigabit Ethernet port. The qcom-emac driver for this hardware has
been accepted into Linus Torvalds upstream repository as of
2016-12-17, so
enable the appropriate configuration for Fedora. The QCA7000
configuration
option, revealed by enabling CONFIG_NET_VENDOR_QUALCOMM, is left unset for
now, due to lack of hardware on hand for testing.
Do you want to enable the specific PHY driver that's on the QDF2400
SDP boards as well? The genphy driver seems to work pretty well, so I
don't think it's necessary.
CONFIG_AT803X_PHY
Looks like it's already built as a module:

http://pkgs.fedoraproject.org/cgit/rpms/kernel.git/tree/kernel-aarch64.config#n315

Thanks,
Cov

--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code
Aurora Forum, a Linux Foundation Collaborative Project.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@lists.fedoraproject.org
Loading...