From patchwork Sat Feb 17 20:44:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 128764 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1905260ljc; Sat, 17 Feb 2018 12:45:55 -0800 (PST) X-Google-Smtp-Source: AH8x226LzxyT0g3jirvtxxrpOulxhJA7pNHOncOaE1/yBZFtn4mr7WOB3da5TKCNWWoY6axdGl4G X-Received: by 2002:a17:902:47:: with SMTP id 65-v6mr9480394pla.194.1518900355745; Sat, 17 Feb 2018 12:45:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518900355; cv=none; d=google.com; s=arc-20160816; b=FvmLgG2JID4ajABTnYvMhI1I6gKngO9J0vxGu5UUDpANEtHf9QgZy7ixLFCGUrpiQe juVXYcwiyTgX4fl5ZhtMsG4/jW0HPPXof56E8cPprk8x38wyn6EecD9f0Ed+EfIdHq0x r57+/lw8LS6f6mtuvtxf3/HV3A//TFPCnHlP3XlB+b2Z9v+AivDRDEA3zPrWqbZivNEN jyY/qxRm/cVxZ8NhIVNDwn+e+F9EG+tLiVkg7Ls/wLc7cEzSbdyj4GdfJoCB5dWEujht aneC+quzSrKobYqFrynUqgVa7g41NUmGPFTFciTGOYHyTiXuAns9umvzrN+8ecNWL3Mx lXMA== 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:dkim-signature:arc-authentication-results; bh=vGzGkMRPMtVfFHG4CsCwtQAiEDlYrymSeCiXYqtrS8Q=; b=fNlAR9cS11v7IvjRs0knOEq+y0Cr7IjC0y+pa1XT1WWSb8AbdRJooB7BcW9860TalZ XmOTmhdBx+vLJ5x8BMctn5LRC5mFm31Y4Qqo4nTcONabX9S8H+FTLvHy2bOAbW5p4Ux5 L5RBAt9IpkVGC0RUqukO+3Al4S/IXa+JTYHS7oXHVYjcDBjNwQdHl8jDx+D6tc2zYmAq xJU36eIfwokVPWYwi+eHBame35NSvzKSo9VMAPx14k5GfehCUUCsjcDq7moOxUWwv0H1 x7WrD4NcrnZzcJgkKRcqZxFYi0wULVdd0xUfiJD+FCU6sqwLeDxL/DGd2mCdyzV/zsgV e+sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jS8cjLdR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d24-v6si1586895plr.243.2018.02.17.12.45.55; Sat, 17 Feb 2018 12:45:55 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=jS8cjLdR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751524AbeBQUpr (ORCPT + 28 others); Sat, 17 Feb 2018 15:45:47 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:36394 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751492AbeBQUpl (ORCPT ); Sat, 17 Feb 2018 15:45:41 -0500 Received: by mail-pf0-f193.google.com with SMTP id p5so558219pff.3 for ; Sat, 17 Feb 2018 12:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vGzGkMRPMtVfFHG4CsCwtQAiEDlYrymSeCiXYqtrS8Q=; b=jS8cjLdRJfkg6wh8+tST+4X4MsEZs9JJW61ujQWS0LJcamSkjIAtMFPS7yPLJa4uo5 ifI55Oj8ITM16kuOBxqd1ft/iUqz4oaGg6Ch/drJMSS7ggZG6zBw+6qga140WLeBKNNx 7Ek1bPMWgpiGxQwq+BvbMPF+/eFgc3DlvTcEs= 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:in-reply-to :references; bh=vGzGkMRPMtVfFHG4CsCwtQAiEDlYrymSeCiXYqtrS8Q=; b=k6pN8mtPVtwY8vZ3avPW1eyDWlXgPrUHgaom/7buthp6/mRbcaV/33aHA7kIT+dqki 5elKR+hwrglR3SP9cUUlry1v7ztKB7a72CNkoKQRy5koa7y17UwJvQxZnXcpxHM4Ov0f EIhjBI+1v72JINBIr1QeVu4N91LPt40jMv5SPCcRnvo94wsMdTKBS93oalddMr/Oh7u8 AEdoo7hka62lnEIl6bozRYMlOjdBEshOu1/IwiBAP4cgB8v+H4qUJR1y4udiu5ipuVtS gXakBZnLVp8km+ZWCXcgjnDv7U9znCRH5DnayB7V0d8MePZ4biMAcprdDPmoi8XCNrVF 2epQ== X-Gm-Message-State: APf1xPAvFBypd9JAumgk94wpTbYCF6OQ1OSMa61oiBFvaFdCJA5YHj4s 1tjVJed5H6ggR5MH6CCkEfyl X-Received: by 10.101.72.75 with SMTP id i11mr8185749pgs.78.1518900340520; Sat, 17 Feb 2018 12:45:40 -0800 (PST) Received: from localhost.localdomain ([2405:204:724f:5cf:50e:6e8c:d464:bc4c]) by smtp.gmail.com with ESMTPSA id v65sm23222710pfv.61.2018.02.17.12.45.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Feb 2018 12:45:40 -0800 (PST) From: Manivannan Sadhasivam To: linus.walleij@linaro.org, robh+dt@kernel.org, afaerber@suse.de Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 05/10] dt-bindings: gpio: Add gpio nodes for Actions S900 SoC Date: Sun, 18 Feb 2018 02:14:28 +0530 Message-Id: <20180217204433.3095-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180217204433.3095-1-manivannan.sadhasivam@linaro.org> References: <20180217204433.3095-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add gpio nodes for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/gpio/actions,owl-gpio.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/actions,owl-gpio.txt -- 2.14.1 diff --git a/Documentation/devicetree/bindings/gpio/actions,owl-gpio.txt b/Documentation/devicetree/bindings/gpio/actions,owl-gpio.txt new file mode 100644 index 000000000000..4cd4cb7bfd1b --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/actions,owl-gpio.txt @@ -0,0 +1,15 @@ +* Actions Semi OWL GPIO controller bindings + +- compatible : Should be "actions,s900-gpio" +- reg : Address and range of the GPIO controller registers. +- gpio-controller : Marks the device node as a GPIO controller. +- #gpio-cells : Should be <2>. The first cell is the gpio number and + the second cell is used to specify optional parameters. + +Example: + gpio: gpio@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + };