From patchwork Fri Mar 23 12:30:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 132327 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp531502ljb; Fri, 23 Mar 2018 05:31:30 -0700 (PDT) X-Google-Smtp-Source: AG47ELtezSnPly8o8fnw7Bi3py+3odKBJLcVZJNmlcsp2rd0HOqEpGbW9BtYXROYhjkn/r7uwp/M X-Received: by 10.98.57.143 with SMTP id u15mr23870201pfj.79.1521808290002; Fri, 23 Mar 2018 05:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521808289; cv=none; d=google.com; s=arc-20160816; b=BOu2iIfA87TDARsneM9ZAdTrWamwoElKX64GDK9fREyby5SU7xYIeMePXTzF0ebqHu ASqQgmtEOsm7xm2Ue5pSOYrdQsHLJLFOUy8wixhTAWmp0VkLU+exlYMhZhbqGTgGJF+l M674P5Mau2byMcDmt276gugRgJAXeyxvHvOzfODDxtwBGEqu4+pVKVMKLrInV0I/vJ43 BK0c9KnPF/alSm2OFPFhLe+3VVsRWU6GTW906M14IU60w+CyG+CaNsECLjwY5+pP5Ac2 99I/Z6dNPvVfDLnTBQMEQ2r3MdfDMGUfI50CTrZ/dseyY0yL9sy15aOxZ/6KVCsQMOID YriQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=xsd6IXQq+XsAeIkDfKz7JPojX90Ut2TNpqYMzWVMlfA=; b=SPbGpEMnHh0KxNdVWWAKO7CmVQgp6Zozg7O2cfBHnumdS4lCSKYZkf48ykyfBa52ih 5TKpRAHqDX9gU9gIGwGtod2VC8j1p7egK3I9E1wYuoWwRYxi1UWhifwq1JzWEGgIkEuJ zUwmyP22WtBrPjGh2ehj4HEqppz0qQM7jwvEfDqBk9hHgOlrLUyitTGoOgpDt/EjgZTE a/a1h+wsJI84Cf0yZueuiV79VQ+9qaZOFY1aO1kMXeB8GVJ2Un0s4/MxdXD8iXfRQJOM s3dm+GiYJCZHC96v9e0Okyb9a3b0vHGShV/J6Aw8VBzl92ppNvl1QEn7pUW9ZxPo9NQs Yt9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u191si6039925pgc.725.2018.03.23.05.31.29; Fri, 23 Mar 2018 05:31:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752594AbeCWMb1 (ORCPT + 28 others); Fri, 23 Mar 2018 08:31:27 -0400 Received: from mx.socionext.com ([202.248.49.38]:10382 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752281AbeCWMbV (ORCPT ); Fri, 23 Mar 2018 08:31:21 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 23 Mar 2018 21:31:20 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 13AFC180B3A; Fri, 23 Mar 2018 21:31:20 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 23 Mar 2018 21:31:20 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id B0C501A159F; Fri, 23 Mar 2018 21:31:19 +0900 (JST) From: Kunihiko Hayashi To: David Miller , netdev@vger.kernel.org, Rob Herring Cc: Andrew Lunn , Florian Fainelli , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH 1/2] dt-bindings: net: ave: add PXs3 support Date: Fri, 23 Mar 2018 21:30:36 +0900 Message-Id: <1521808237-3623-2-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521808237-3623-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1521808237-3623-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a compatible string for ethernet controller on UniPhier PXs3 SoC. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt index 270ea4e..96398cc 100644 --- a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt +++ b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt @@ -9,6 +9,7 @@ Required properties: - "socionext,uniphier-pxs2-ave4" : for PXs2 SoC - "socionext,uniphier-ld11-ave4" : for LD11 SoC - "socionext,uniphier-ld20-ave4" : for LD20 SoC + - "socionext,uniphier-pxs3-ave4" : for PXs3 SoC - reg: Address where registers are mapped and size of region. - interrupts: Should contain the MAC interrupt. - phy-mode: See ethernet.txt in the same directory. Allow to choose From patchwork Fri Mar 23 12:30:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 132328 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp531762ljb; Fri, 23 Mar 2018 05:31:45 -0700 (PDT) X-Google-Smtp-Source: AG47ELtwYnj7fH1KKv8zWicS16a+L/8mwnD52GVGYitVt0RTcYWaKjwhkWS7otSta7eOM3qtULtF X-Received: by 10.98.238.2 with SMTP id e2mr23993952pfi.68.1521808305325; Fri, 23 Mar 2018 05:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521808305; cv=none; d=google.com; s=arc-20160816; b=TsDiRjZFXyhmEoSZWvr5EEd2DumTDeLI2icifl3YzddZP08L9Pm6p3JZRaJRhw3Umw /cteHYz0lNO1o4SswvvkKPJnSFB/d2/tgGy4sd42qGAZZYeX+Mn5u4zYc+N7T1fSn6RY lvL3I4pG2fAjpIAgTc9co6am6X9zj8yHvRrXhK6df8OwyxcqE9KwYWuCbUaPi2VMSRsY SBSY5/gdFbRcHYJpdu0g1FrrLdN1l1y6Ee/hPXvXSC9/OeSDktAtas+2YeGdeH/1XV4/ PLNVjsuVjC8F8kUZPi5TesN3YZJIDScT+/qLkIr51Bi1iDUPwCBcrAHv29eZUd5k39+R Xm/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=AujCLYni31La0auQAi8h1LCYbd9ll8WxPeMwnmMWSKI=; b=SzvWcWC60uA030JX2Dwvoi0v1py2I7xzGyv/A1bVjM9loR4vVqMHhvQi9Qsz/2jZU3 WUs+ceWGCl3nA8+92RySue3CU+ImIaSKX8WLRAzVoGTMCwiG2jzImdfEKQawig4ziMZd ltljXRlIAAMkOZxUDSJNBrhN0hU1JBuNFDmBkv+hscPtbv7dmOL77A952QpqArIHeqM7 dvm1k5//osRCO18n6iYmJouCDBEpBgBrwGX5C2SNbSw9czbT4YWahdslq3Q0tBx9tXGt MZgmD6Jt+1PtubXXf4EBUWQi1bEpCuOQARyHCvNsUpP20sh6WlSuuzeWf0M/vt/D5zzR 0WJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u191si6039925pgc.725.2018.03.23.05.31.44; Fri, 23 Mar 2018 05:31:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752512AbeCWMbZ (ORCPT + 28 others); Fri, 23 Mar 2018 08:31:25 -0400 Received: from mx.socionext.com ([202.248.49.38]:10375 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751768AbeCWMbW (ORCPT ); Fri, 23 Mar 2018 08:31:22 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 23 Mar 2018 21:31:22 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 3AD906006F; Fri, 23 Mar 2018 21:31:22 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 23 Mar 2018 21:31:22 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id A8DAB1A159F; Fri, 23 Mar 2018 21:31:21 +0900 (JST) From: Kunihiko Hayashi To: David Miller , netdev@vger.kernel.org, Rob Herring Cc: Andrew Lunn , Florian Fainelli , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH 2/2] net: ethernet: ave: add UniPhier PXs3 support Date: Fri, 23 Mar 2018 21:30:37 +0900 Message-Id: <1521808237-3623-3-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521808237-3623-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1521808237-3623-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a compatible string and SoC data for ethernet controller on UniPhier PXs3 SoC. Signed-off-by: Kunihiko Hayashi --- drivers/net/ethernet/socionext/sni_ave.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.7.4 diff --git a/drivers/net/ethernet/socionext/sni_ave.c b/drivers/net/ethernet/socionext/sni_ave.c index f5c5984..0b3b7a4 100644 --- a/drivers/net/ethernet/socionext/sni_ave.c +++ b/drivers/net/ethernet/socionext/sni_ave.c @@ -1701,6 +1701,10 @@ static const struct ave_soc_data ave_ld20_data = { .is_desc_64bit = true, }; +static const struct ave_soc_data ave_pxs3_data = { + .is_desc_64bit = false, +}; + static const struct of_device_id of_ave_match[] = { { .compatible = "socionext,uniphier-pro4-ave4", @@ -1718,6 +1722,10 @@ static const struct of_device_id of_ave_match[] = { .compatible = "socionext,uniphier-ld20-ave4", .data = &ave_ld20_data, }, + { + .compatible = "socionext,uniphier-pxs3-ave4", + .data = &ave_pxs3_data, + }, { /* Sentinel */ } }; MODULE_DEVICE_TABLE(of, of_ave_match);