Skip to contentSkip to conversation

net: gmac_rockchip: Add support for the RK3228 GMAC

PATCH Superseded David Wu 3 participants 5 messages Nov 9, 2017 – Dec 26, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

David Wu

author
#0 lore raw

PATCH v2 17/18 net: gmac_rockchip: Add support for the RK3228 GMAC

Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details.

Content preview: The GMAC in the RK3228 once again is identical to the incarnation
in the RK3288 and the RK3399, except for where some of the configuration
and control registers are located in the GRF. This adds the RK3368-specific
logic necessary to reuse this driver. [...]

Content analysis details: (5.7 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL

                            [211.157.147.133 listed in psbl.surriel.com]
 0.6 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
                            [58.22.7.114 listed in dnsbl.sorbs.net]
 2.4 RCVD_IN_MSPIKE_L5      RBL: Very bad reputation (-5)
                            [211.157.147.133 listed in bl.mailspike.net]

0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted

-------------- next part --------------
An embedded message was scrubbed...
From: David Wu <[email protected]>
Subject: [PATCH v2 17/18] net: gmac_rockchip: Add support for the RK3228 GMAC
Date: Thu, 9 Nov 2017 17:28:19 +0800
Size: 5888
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171109/e4ff670d/attachment.mht>

#1 lore raw

PATCH v2 17/18 net: gmac_rockchip: Add support for the RK3228 GMAC

Quoted 28 lines

Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details.

Content preview: The GMAC in the RK3228 once again is identical to the incarnation
in the RK3288 and the RK3399, except for where some of the configuration
and control registers are located in the GRF. This adds the RK3368-specific
logic necessary to reuse this driver. [...]

Content analysis details: (5.7 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL

                            [211.157.147.133 listed in psbl.surriel.com]
 0.6 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
                            [58.22.7.114 listed in dnsbl.sorbs.net]
 2.4 RCVD_IN_MSPIKE_L5      RBL: Very bad reputation (-5)
                            [211.157.147.133 listed in bl.mailspike.net]

0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted
The GMAC in the RK3228 once again is identical to the incarnation in the RK3288 and the RK3399, except for where some of the configuration and control registers are located in the GRF.

This adds the RK3368-specific logic necessary to reuse this driver.

Quoted 9 lines

---

Changes in v2:
- New patch

 drivers/net/gmac_rockchip.c | 85 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
#2 lore raw

PATCH v2 17/18 net: gmac_rockchip: Add support for the RK3228 GMAC

In reply to David Wu
Quoted 30 lines

Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details.

Content preview: The GMAC in the RK3228 once again is identical to the incarnation
in the RK3288 and the RK3399, except for where some of the configuration
and control registers are located in the GRF. This adds the RK3368-specific
logic necessary to reuse this driver. [...]

Content analysis details: (5.7 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL

                            [211.157.147.133 listed in psbl.surriel.com]
 0.6 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
                            [58.22.7.114 listed in dnsbl.sorbs.net]
 2.4 RCVD_IN_MSPIKE_L5      RBL: Very bad reputation (-5)
                            [211.157.147.133 listed in bl.mailspike.net]

0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted
The GMAC in the RK3228 once again is identical to the incarnation in the RK3288 and the RK3399, except for where some of the configuration and control registers are located in the GRF.

This adds the RK3368-specific logic necessary to reuse this driver.

Quoted 8 lines

---

Changes in v2:
- New patch

 drivers/net/gmac_rockchip.c | 85 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
#3 lore raw

PATCH v2 17/18 net: gmac_rockchip: Add support for the RK3228 GMAC

In reply to David Wu

Hi David,

Am Donnerstag, 9. November 2017, 17:28:19 CET schrieb David Wu:
[stuff that somehow got caught by the spam filter]

Shouldn't that code also handle the integrated-phy of the rk3228/rk3229? Right now it looks like this only handles rgmii connected external phys but I guess most tv-boxes based on the rk3229 might use the internal phy to save on components.

Heiko

author
#4 lore raw

PATCH v2 17/18 net: gmac_rockchip: Add support for the RK3228 GMAC

Hi Heiko,

Yes, Next plan I want to implement the integrated-phy, because some customers are also consulting this feature, but the current RMII/RGMII of internal/external mac_clk compatible configuration still has a problem, I want to solve this first.

Quoted 15 lines · Heiko Stuebner

Hi David,

Am Donnerstag, 9. November 2017, 17:28:19 CET schrieb David Wu:
[stuff that somehow got caught by the spam filter]

Shouldn't that code also handle the integrated-phy of the rk3228/rk3229? Right now it looks like this only handles rgmii connected external phys but I guess most tv-boxes based on the rk3229 might use the internal phy to save on components.

Heiko