From patchwork Sat Dec 23 05:44: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: 122679 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3092908qgn; Fri, 22 Dec 2017 21:44:58 -0800 (PST) X-Google-Smtp-Source: ACJfBoujjxqgDYE3PvOUWVe3O+LcR8YmS6f8vjTKAoshJqsQ5++zCVgGEsr4St/SrA2b1wZzUZjk X-Received: by 10.98.195.26 with SMTP id v26mr16412607pfg.209.1514007898248; Fri, 22 Dec 2017 21:44:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514007898; cv=none; d=google.com; s=arc-20160816; b=0z4sLaN/xU6pkihbxJzOBC9bsgvkS6XdJJB8fHWZFCQlbGjIclr2ZVRdp0y8zda2Sp ZJxIf06Tkgn+SLqNG5uDC+ah2bthHVVoGW/FmuV/akJXg+GSmHAcSeA4zHiE1IVpyf4W 6u8MQrRrFNvBTqzF34XVUoWp/zQUmDyN5HAGfTiQZMk4468heVrsSbnvOk/z19VBiu6j vHIZGwapAKVz2zblnda9BrUTeackKVZq3N4y9ow5iZ16gBJRp7jPEWfH+2bZq9pMpYuR Cqs+RenlSBSEvtZnMvlkyxT5X04fzlG+WaYpScaA89etHRzzU4MrPDZAhLRmaiKpS6Bq Ks3Q== 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=EWVJ5ahTqNgVXKlFxlghsZSu97esZKZzY4TRsveFFy0=; b=DVdUsEmVN5rF3WSlxy5AALAy1PpFxlPaBQyqGjCRYy9nVsok97VWedo5Hw69NV3IP5 QzDkum2KEjgLn/ET4bl1EXoxOD2cVciE6u9+OFacszcVN4RD068EjHttFFMgOCK60Ke6 uCtlVATOQNGlIBUqMD34XtT842UfR7+dw5suT8y+nwFYFeQ8SZCFKQVaNjEmFPtZE8Gi P8JOAOM6GIumqWLr0OcLdXQSHewTs0cnU/AILyO1BrwdUK+KAL7mHfSTpA9wM9kq0BWp S++BANKnTtZ9AZ6WJP2PiTHFZBfe8KOJFAnx+byNEbGRKQNKsiezXTf/vZ514OG9pi12 7iMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ZdYSg09z; 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 m37si16083974plg.154.2017.12.22.21.44.57; Fri, 22 Dec 2017 21:44:58 -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=ZdYSg09z; 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 S1750810AbdLWFow (ORCPT + 6 others); Sat, 23 Dec 2017 00:44:52 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:34760 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750771AbdLWFov (ORCPT ); Sat, 23 Dec 2017 00:44:51 -0500 Received: by mail-pg0-f65.google.com with SMTP id j4so15255293pgp.1; Fri, 22 Dec 2017 21:44:51 -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=NpOpaPX7pMACxu2wwYXcpkrBUviMOgQ7z2LFhyxWwZ8=; b=ZdYSg09zJj12BLlZqYGPItoVTSoRXZ3hU/FfhwLP2btptVCZfmduIqMNZmRXQPErgl b+a8Y+4gt4IwK7a3zhUZ0V/bEAbKjWoASufXf+YppOaLcCedLLw+eVMD31EPaRN35IYc KkMTU2TfakLlcZDBUtA2xgSU2RvH0vwHofGBWKn4SBRuchi8RgtPC9zPT/YRKmnKYQk8 Df98SMDPUa5sS+K29qPodQy2ka459n2Nby62wepd+ZAKFcLOxzUBsvaLXKiKBwIZoVhE 83AcnoEeOOb92zYmmnE3JOc67YnTu/q5/AwoOTsmrRSkjO7Pis0OVobXKSwUNoMOTxjd ngsA== 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=NpOpaPX7pMACxu2wwYXcpkrBUviMOgQ7z2LFhyxWwZ8=; b=ekebWa+k45pqO5WQnGX3NFyF2RPNJJ4VzNzxNgM37h7W2QHYf9Iu5OBG8tnlDEVeZp s2BQLgPyDm3iN9shTLoPbBPEjmVkVrxLJGMhSoKlbxlyDgnIcSlyHEXRtb7xo/d4nGig Q5RjVyCWW8L2RomJcJjQF4Gy+417CTAMDTbWkeRiNS+GnlnpnbiTzlLPBDojizXb2Epe VCPsc9I02thoLYOSdxvLoJ++czXGn1PTNXGNgkbYRF2IQ/jKRn6opa1xo+7JYoqfqFlh A5pitrmycj+paCgg5b6ZhIznITgl5RLgRYH7FvGPjj5hTO8ADzq0qVTGRlS3TYmaqica DxkA== X-Gm-Message-State: AKGB3mLTQnQM0bLbEZy6NFyI2dCmIw7RautlfrmspUZqVLonKs6OMNO/ xhwl3CCPfsPx9PP6F5BBcyiukGLR X-Received: by 10.101.101.205 with SMTP id y13mr1451110pgv.159.1514007890665; Fri, 22 Dec 2017 21:44:50 -0800 (PST) Received: from localhost.localdomain ([27.255.202.87]) by smtp.gmail.com with ESMTPSA id p126sm40313617pga.58.2017.12.22.21.44.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Dec 2017 21:44:49 -0800 (PST) From: jassisinghbrar@gmail.com To: netdev@vger.kernel.org, devicetree@vger.kernel.org Cc: davem@davemloft.net, arnd.bergmann@linaro.org, andrew@lunn.ch, ard.biesheuvel@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, masami.hiramatsu@linaro.org, Jassi Brar Subject: [PATCHv4 0/3] Socionext Synquacer NETSEC driver Date: Sat, 23 Dec 2017 11:14:36 +0530 Message-Id: <1514007876-16617-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 Hi, Changes since v3 # Discard 'socionext,snq-mdio', and simply use 'mdio' subnode. # Use ioremap on ucode region as well, instead of memremap. Changes since v2 # Use 'mdio' subnode in DT bindings. # Use phy_interface_mode_is_rgmii(), instead of open coding the check. # Use readl/b with eeprom_base pointer. # Unregister mdio bus upon failure in probe. Changes since v1 # Switched from using memremap to ioremap # Implemented ndo_do_ioctl callback # Defined optional 'dma-coherent' DT property Jassi Brar (3): dt-bindings: net: Add DT bindings for Socionext Netsec net: socionext: Add Synquacer NetSec driver MAINTAINERS: Add entry for Socionext ethernet driver .../devicetree/bindings/net/socionext-netsec.txt | 55 + MAINTAINERS | 7 + drivers/net/ethernet/Kconfig | 1 + drivers/net/ethernet/Makefile | 1 + drivers/net/ethernet/socionext/Kconfig | 29 + drivers/net/ethernet/socionext/Makefile | 1 + drivers/net/ethernet/socionext/netsec.c | 1844 ++++++++++++++++++++ 7 files changed, 1938 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/socionext-netsec.txt create mode 100644 drivers/net/ethernet/socionext/Kconfig create mode 100644 drivers/net/ethernet/socionext/Makefile create mode 100644 drivers/net/ethernet/socionext/netsec.c -- 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