From patchwork Wed May 27 13:33:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?UTF-8?Q?Benedikt-Alexander_Mokro=c3=9f?= X-Patchwork-Id: 246723 List-Id: U-Boot discussion From: u-boot at bamkrs.de (=?UTF-8?Q?Benedikt-Alexander_Mokro=c3=9f?=) Date: Wed, 27 May 2020 15:33:12 +0200 Subject: [PATCH 0/2] sun8i-emac: sun8i-v3s compatibility for sun8i-emac Message-ID: <3a424411-c041-0017-b173-2ed67ec2b114@bamkrs.de> The V3s shares nearly the same mac and phy to the H3. Therefore, the sun8i-emac driver which already supports the H3 can be extended to support the V3s with some small adjustments. For this the CLK and RST gates for EMAC and EPHY were added and the sun8i-emac driver was extended to accept the V3s in the first patch. The second (optional) patch adds the sun8i-v3s-emac node to sun8i-v3s.dtsi. Benedikt-Alexander Mokro? (2): sun8i-emac: sun8i-v3s compatibility for sun8i-emac sun8i-emac: Added sun8i-v3s-emac example to sun8i-v3s.dtsi arch/arm/dts/sun8i-v3s.dtsi | 48 +++++++++++++++++++++++++++++++++++++ drivers/clk/sunxi/clk_v3s.c | 10 ++++++-- drivers/net/sun8i_emac.c | 19 ++++++++++----- 3 files changed, 69 insertions(+), 8 deletions(-)