From patchwork Thu Nov 30 16:12:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 120217 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp871561qgn; Thu, 30 Nov 2017 08:13:06 -0800 (PST) X-Google-Smtp-Source: AGs4zMZUp7PZ817wGeJwBsXVTtBU6WscG7WK3DhD8ErGghRcwZP17e3rgHa9KXjKEcEnv/b9b0bP X-Received: by 10.84.218.10 with SMTP id q10mr3262567pli.111.1512058386682; Thu, 30 Nov 2017 08:13:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512058386; cv=none; d=google.com; s=arc-20160816; b=gHgWzkrzpGefQE1ZEE24XAr2Z092dBfPSf3J94p2mIxOi0elWbl3MYEIIWFF5LRDh5 /DWFHt0BlpH7gWs1YSaAL0vFqGXjStJ9njOV40RGD/lEgKTgwqCmVH+YMGZyigLOQUlC cbcdHlngCSHHpNYdHlRbdQl6DZHSH/U104HeMUoIMHARnC9WK40QjOaTvgpyV3nuQK2h GcC8k7e4TYANd6gdWSppTt2qRQjLhZqyHSC+yswr1Fnz8QwK5vo06Mu1cWn4F6nPN1JE 2yV7P128B/1ulWrzJ1HH+OtNqY/cHOSw5GfLjZHDuzzVgOUpzDWTuNgeNCbfscla0hxx vpvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=FVdPTZpBdDKdPqDbs2cuHkZ0PgEdPLQewqr55Kz1aTw=; b=wYz4VNtUo+jZRsJ2hTMMJHgFt/Q3Mn5VRj3NSHzPxI/v5/LKMFfjP2Z2fvDw99eFKW F5B3oNJ43Nr54kzvhqAg0N9VW0GAO4vrEEBcf7nA3ipIf2IUBuqcY7h0EqQGRtDG4hzV iuqYtSwzJ7GQ/Px4SkjUJKFJALPZVNlhj+pRZZnY8jR9sqYNp1T9Ccp3hI+a4f75T9e2 W9IYu7a34bUMkusZC+8SQOM4kQDF9mv5+0IpFBAp0luqD1NbXjtfe4j37kfeKGjwihW7 RBkxVIMCXWKrQrrRkMfmOnjpdm7uW5t7wq2K8BamYpT7T0WzB3EwmBpKq49HiB1MrH+8 ZHUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kSawXh1d; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si3207583pgs.719.2017.11.30.08.13.06; Thu, 30 Nov 2017 08:13:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kSawXh1d; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752357AbdK3QNF (ORCPT + 6 others); Thu, 30 Nov 2017 11:13:05 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:46641 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbdK3QNE (ORCPT ); Thu, 30 Nov 2017 11:13:04 -0500 Received: by mail-pl0-f67.google.com with SMTP id i6so4494465plt.13; Thu, 30 Nov 2017 08:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=vWzYkNTq9eXDSDjD2GOKrCGZHeqXWoXSL/DZXBCKEpY=; b=kSawXh1dumK9xKL02YJxCRiyWkz1wNMCDFHLBIsRFuZ1r2N1i0aYR14Fq32kzEc5ml xc+p8SP95xJM/1kiUjsOZKv7mgJ1wmewyV9bPcW13+BUXT4xh4WD7CW+r4vH/mssgCDv X+vEKErhgAuaZyTRFKh6Hx+HO7GKqDeVtcAbB+fNBNryo5UX7ZWZSzx/5A//j+cQDH71 eAxS8tyKKjct0FZULkxZjHdkPygF1P4F15SHoenY7lGLdb/enRCqJDBeaapT6mOdZnBK HyfVFPOjWI3iENaatZrUUNDJToRagE8k1jjDerhnWWpiiQccM/IIbAUuBwNLd/Kceyav QHjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vWzYkNTq9eXDSDjD2GOKrCGZHeqXWoXSL/DZXBCKEpY=; b=Sz+U+6zVoZs2krcRP6R+7UK82VBfYBq6MxYQAoUGqAgQ/NLiSIQCQgZwLPOKVjQW2X PeDFo0CaYfxBtIUEF5pQNmW+cXEJTXDmoOuFZR9Mcef/gIAX4YiMCNManhlGS6x1xu6Q S71+yjnJsfEP30H0+3binkrh0z6JpsyHGoxjUIpr/g25F9iBZUNvxwm0ewwfxIjZJ+Wg VRDIqcs/WLVpVSpURXact2Kw8K8x8Qqnk9SnAEhApAmYn1XmXTEKu0NZJ2IMIy35bDZ0 9dOcm3tqOuc6MqmNs6uj/wiZuEo3rRAwQCF7DWbyAkRncXPHZPAdYrrOeUcJB/iX/Ick iGHA== X-Gm-Message-State: AJaThX6GvsAPy60FTSH+cSF3ZOMjZWkrDYDx9Ho1LN8m8ikxcD6zZLYq MG2DB/PCiSU5jWPgbHoPhfMkRc9m X-Received: by 10.84.244.2 with SMTP id g2mr3110162pll.170.1512058383573; Thu, 30 Nov 2017 08:13:03 -0800 (PST) Received: from localhost.localdomain ([112.196.106.95]) by smtp.gmail.com with ESMTPSA id o88sm8524763pfj.175.2017.11.30.08.12.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Nov 2017 08:13:02 -0800 (PST) From: jassisinghbrar@gmail.com To: netdev@vger.kernel.org, devicetree@vger.kernel.org Cc: davem@davemloft.net, arnd.bergmann@linaro.org, ard.biesheuvel@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, Jassi Brar , Jassi Brar Subject: [PATCH 1/3] dt-bindings: net: Add DT bindings for Socionext Netsec Date: Thu, 30 Nov 2017 21:42:31 +0530 Message-Id: <1512058351-15851-1-git-send-email-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jassi Brar This patch adds documentation for Device-Tree bindings for the Socionext NetSec Controller driver. Signed-off-by: Jassi Brar Signed-off-by: Ard Biesheuvel --- .../devicetree/bindings/net/socionext-netsec.txt | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/socionext-netsec.txt -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/net/socionext-netsec.txt b/Documentation/devicetree/bindings/net/socionext-netsec.txt new file mode 100644 index 0000000..4695969 --- /dev/null +++ b/Documentation/devicetree/bindings/net/socionext-netsec.txt @@ -0,0 +1,43 @@ +* Socionext NetSec Ethernet Controller IP + +Required properties: +- compatible: Should be "socionext,synquacer-netsec" +- reg: Address and length of the control register area, followed by the + address and length of the EEPROM holding the MAC address and + microengine firmware +- interrupts: Should contain ethernet controller interrupt +- clocks: phandle to the PHY reference clock, and any other clocks to be + switched by runtime_pm +- clock-names: Required only if more than a single clock is listed in 'clocks'. + The PHY reference clock must be named 'phy_refclk' +- phy-mode: See ethernet.txt file in the same directory +- phy-handle: phandle to select child phy + +Optional properties: (See ethernet.txt file in the same directory) +- local-mac-address +- mac-address +- max-speed +- max-frame-size + +Required properties for the child phy: +- reg: phy address + +Example: + eth0: netsec@522D0000 { + compatible = "socionext,synquacer-netsec"; + reg = <0 0x522D0000 0x0 0x10000>, <0 0x10000000 0x0 0x10000>; + interrupts = ; + clocks = <&clk_netsec>; + phy-mode = "rgmii"; + max-speed = <1000>; + max-frame-size = <9000>; + phy-handle = <ðphy0>; + + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; + }; From patchwork Thu Nov 30 16:13:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 120220 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp872505qgn; Thu, 30 Nov 2017 08:13:47 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ1hzyHIu+MtIv0w1cEJNthPzdtZizz/w7h3EftMJuFXQTc3/+9WyUW7l8DptWU2X7/JiTz X-Received: by 10.99.96.147 with SMTP id u141mr2886935pgb.342.1512058427522; Thu, 30 Nov 2017 08:13:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512058427; cv=none; d=google.com; s=arc-20160816; b=PBKg0OdDIlMa2ippRNcl4QtMCQ1ol2YciVgpclsEYdAUpr7tyXwfKWtZawtUQC15bV a9J4pSP5eV9K1ax9V8EIyrONKv+MovAfy3trA6nkPkbeFJ1Q4aWrMHP8Sdbj9rHtgFoC OJ/BBP4CrNHRjFUyWuVVrcd81cAN67Ouwgn+V7urbxKH5gtEwDcS+GD1dQ3jN6ku3Ed7 jaSYTPYTGktkEUakKeZ/zRYzhbZiwPQ4OnwolSBTJDIgGKB3Qz476yJ1pxauB5uifDUm Q+eo/bRUKPHCCHBJzvPYmI8BVc51COtVqP3zLFWk/6GuJ7PceeKILdwVqOem+JDt7XI6 4dqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=F08O6LoqQqYXo9rrVE+qDRwHGO3tBYaW2vNPqSVtb3M=; b=Uxi0ztFEBPrQ6i5sD6JYXXoReFZwyIrL5zt1olZ0YK0JC2biFwOiXZ2ES/0v/BBFta 5AHQnqmURliCa1xiF4vw7QRTkIF0Q5db2Cu/xx47CWKoW+fq0VYSqcUH6qPWG+6sG9hb EpbOxwepP9hvJa7PWSBkUJzDSzNNsdSi2dd75p5wElNDa7mfWK7kVTVcgbU5Dcgv5Ntt FNIv5B8dfWGzLA607is2ePgoF8D3EsNV/1XrCL5OyYzTp6qbq0JrT5jg1sAh7Yt/gWXn nnv1rntoKfAp7jJtymxH0Efe+P/43xrTgIHotVD2NAOW2sWljYYVF4K3MjAHBseroyOy 0e9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ZngaHmK+; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 76si3202931pgd.240.2017.11.30.08.13.47; Thu, 30 Nov 2017 08:13:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ZngaHmK+; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752484AbdK3QNq (ORCPT + 6 others); Thu, 30 Nov 2017 11:13:46 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:38843 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752691AbdK3QNp (ORCPT ); Thu, 30 Nov 2017 11:13:45 -0500 Received: by mail-pg0-f68.google.com with SMTP id f12so3177260pgo.5; Thu, 30 Nov 2017 08:13:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=cqTaHj60SOuIz9wkEhoRl56w+EZR2DwL8NDxBdzM7Q8=; b=ZngaHmK+0rPX1XEeV7qztUu5q5anEIvO++6X1nZji8tBs2jykyP7q0w+aTCtSh6Jrq jxwlzrGBQk5TS8ZItoDJRbsShKror0MJg1ZiYFY0/kvN76LjxzwMCsitwHLIRuklVSCJ hemrN6HN2TkOMkkmE3iNL36pGfw1LYgPrMBdaNIGJkYiwEomQkxvsgFeT4v9Y3ME55Ns MRacHwx91UvcSLNUSAFoAAphB1Q9vl1wWPQ5TGMM5qJ7KfaSF4iGR8bYeqyJ7F+7rjXi 5ztyzUs/sDb2Exe5941vL/coSkLI7w8X7brArErECcZxUs5wVzpBpelXbZdvH6knleGl P2og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cqTaHj60SOuIz9wkEhoRl56w+EZR2DwL8NDxBdzM7Q8=; b=tn5sKG204TclkQ0V1UfSQmmaaMiUQVQN7VCb9HFa0USu+GnCpY0ORHv6TyTn3RHuxy EdfFGc001PDKQ8B5JQMe0O5t9YV24xCJadwKZSThiFhblToOYoZvmfrHDcHtsF6nmN1U LmPUyebldNGMlqWA/iu82q/QvV/k+wBdAHDMH0tw3JXb6JT/7WNcrBgNJ35bEUjeeC25 VnEW4VXRIHNjxQ6MSWXy4+9af+s6zKcMysoEMgcsh1s6uuohz3VDlLJZ2cBlABiNxcOX XWst0wA6Qx7UREtPr1wBh/64Iq6QluQalNCRJueX48VMcZkqIYxmGlwK0vHql00+jnRN 3hhA== X-Gm-Message-State: AJaThX7WbF3C2Wv5/BQsceGTAo0jRBIcQt07va7wGCnAYHBJ5mPXXhHA DC/B9YNyURmFuJed0a5Dd751Tkkm X-Received: by 10.101.81.136 with SMTP id h8mr2823537pgq.250.1512058424672; Thu, 30 Nov 2017 08:13:44 -0800 (PST) Received: from localhost.localdomain ([112.196.106.95]) by smtp.gmail.com with ESMTPSA id x6sm8271912pfx.15.2017.11.30.08.13.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Nov 2017 08:13:43 -0800 (PST) From: jassisinghbrar@gmail.com To: netdev@vger.kernel.org, devicetree@vger.kernel.org Cc: davem@davemloft.net, arnd.bergmann@linaro.org, ard.biesheuvel@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, Jassi Brar Subject: [PATCH 3/3] MAINTAINERS: Add entry for Socionext ethernet driver Date: Thu, 30 Nov 2017 21:43:36 +0530 Message-Id: <1512058416-15968-1-git-send-email-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jassi Brar Add entry for the Socionext Netsec controller driver and DT bindings. Signed-off-by: Jassi Brar --- MAINTAINERS | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52f..aed9d32 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12617,6 +12617,14 @@ F: drivers/md/raid* F: include/linux/raid/ F: include/uapi/linux/raid/ +SOCIONEXT (SNI) NETSEC NETWORK DRIVER +M: Jassi Brar +L: netdev@vger.kernel.org +S: Supported +S: Maintained +F: drivers/net/ethernet/socionext/netsec.c +F: Documentation/devicetree/bindings/net/socionext-netsec.txt + SONIC NETWORK DRIVER M: Thomas Bogendoerfer L: netdev@vger.kernel.org