From patchwork Wed Feb 21 16:00:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 129092 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp781866ljc; Wed, 21 Feb 2018 08:02:51 -0800 (PST) X-Google-Smtp-Source: AH8x225nW5Zvn4DvzY6uN61U1ntgTKxbGuylO1plpOjizFIOI7ZFzHKJuY5A2fEuQC1lwDjzk5Xi X-Received: by 10.101.83.140 with SMTP id x12mr3021262pgq.288.1519228971182; Wed, 21 Feb 2018 08:02:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519228971; cv=none; d=google.com; s=arc-20160816; b=Ur18Rgywrfqw5DNGhbTknA7uGftCc85ZTOXcqnwMu/QuL0n9PmL/OmbMCS69r9OMO1 mFTAptIorS+JanqpNqrN+Y4KFod6h+nw3YNCLURgHCVCYDht3ceSVmZqqMrf4a6Yg8QL F0qwhHUvquow1KPB5w5ENrDRwYTxJ/vcNC1mUe2S3dR8pD7T6FcaDDF1gsbM2s0rL3rL tcuSOx2tAPz6eQME6OgjWeK3Xvlu5XAn+p/84ahHOeOw55aL1Z7AHeUq9OBathFKbqhN 7sU8NWxTCF9eVxm6UgXCEjOGtYPIJ55apwBsHDbJVNyhpajQVYaLypnjp5tHeRCUIxae GJ8A== 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=LUJFV3k4FvgVMDTFOcc2GjIEu18KdmFFriGlUXwsbYs=; b=J6owxCJNcSallJDswb+WdPb6R9RMgpFNSiHc+3kAOaMOZd0JPvPvgi1yMMNyzSWask GnHfTAXtGiZWIlv2QRc6YQ0kj/MpweM82d6TDj0q1mtsJZSZJPIdKFWsJpu9MePOsDdt lRbsI5+G2+npXS4hgTnrFJJdT6iMAzIdSUH4WgF+OkuTvOrEtd017jityYmDr17d4io4 fKDUWMXrs+zTkjGW3F0LHh9FeDnNAJoIHCrBfb4oUDCsx7/zGn4m6Oq/rRTseEel48ft rphfDEGzVWIav2pKWxIAPj1n2T+Mm/JP3d1gbTm7RWbstX6FHo3FgpAvO8Y7yccLbCEE wGhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IaCBoObr; 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 o88si2986515pfk.380.2018.02.21.08.02.50; Wed, 21 Feb 2018 08:02:51 -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=IaCBoObr; 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 S966141AbeBUQCp (ORCPT + 28 others); Wed, 21 Feb 2018 11:02:45 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:45896 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966125AbeBUQCj (ORCPT ); Wed, 21 Feb 2018 11:02:39 -0500 Received: by mail-pg0-f66.google.com with SMTP id e11so789633pgq.12 for ; Wed, 21 Feb 2018 08:02:38 -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=LUJFV3k4FvgVMDTFOcc2GjIEu18KdmFFriGlUXwsbYs=; b=IaCBoObrYAqWxbZWKureBcSKiSpcx4ip32ii6w8NuxbT6ZHXVs98/9e4IiSG9zorA7 +n/C6PvGUyyyvJN3geMKA0oClUitkGSKjd56OllZJ0MYvjcFGiKeiMSLHThhm+Muh4P0 ri7nAzY4UUBmhPdz3UHHWk8GQsZuAUJ1Gi1qo= 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=LUJFV3k4FvgVMDTFOcc2GjIEu18KdmFFriGlUXwsbYs=; b=D2HZr0SchfjhdT28jTrG8ledEYC+lypet7xDjoh2p3xiXYB0+DSk4yXgiTGn6ZD+CG omltKndPIn2xnQ97fNhxAT3daQ/sDC21XBZcsYx5xztFQsDoJvEmo4vbyqNBe9/ggIbd N4LxrCBZuqbW07EB0j3kn4MoR3/sXh7KMFeNEmCeVC0ylooH4I3aXnSiMfrJxGteaD+x enRkgUwPhBk8gbF9jdK1rMivwxAj2AVxGdkCias+28Y++tlnHiizj7XFbdZKhRlkGbud zoufcmqrycBYK19rTbFn1BcxET1zJ1C0eMPzyFh92FvLeC++E1vrfaY1q74Sft1HYdr+ g35Q== X-Gm-Message-State: APf1xPCo4w1xrupdv0/5+32joeq4efuzGTIWMbr5J8oq8RiT/2ptj0b1 bo2cIaHkTnerGFJ50RBJSXCJ X-Received: by 10.101.99.133 with SMTP id h5mr2999186pgv.381.1519228958407; Wed, 21 Feb 2018 08:02:38 -0800 (PST) Received: from localhost.localdomain ([2405:204:7346:6848:3cb8:23ad:d761:239e]) by smtp.gmail.com with ESMTPSA id s67sm43068910pfg.104.2018.02.21.08.02.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 08:02:37 -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, hzhang@ucrobotics.com, bdong@ucrobotics.com, Manivannan Sadhasivam Subject: [PATCH v2 02/10] arm64: dts: actions: Add pinctrl node for S900 Date: Wed, 21 Feb 2018 21:30:36 +0530 Message-Id: <20180221160044.15089-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180221160044.15089-1-manivannan.sadhasivam@linaro.org> References: <20180221160044.15089-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 pinctrl nodes for Actions Semi S900 SoC Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.14.1 diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index fee0c9557656..0156483f0f4d 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -174,6 +174,12 @@ #clock-cells = <1>; }; + pinctrl: pinctrl@e01b0000 { + compatible = "actions,s900-pinctrl"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + clocks = <&cmu CLK_GPIO>; + }; + timer: timer@e0228000 { compatible = "actions,s900-timer"; reg = <0x0 0xe0228000 0x0 0x8000>; From patchwork Wed Feb 21 16:00:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 129093 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp782010ljc; Wed, 21 Feb 2018 08:02:58 -0800 (PST) X-Google-Smtp-Source: AH8x225mSQecE5e2+i+PPb7wpypnEhzpCoUbZuN5FLuvisx3noclvwtVts2BeVSlKNPFzG+HryDN X-Received: by 2002:a17:902:a5c5:: with SMTP id t5-v6mr3690133plq.160.1519228978831; Wed, 21 Feb 2018 08:02:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519228978; cv=none; d=google.com; s=arc-20160816; b=lPWHny9QwFYxEuRUUnLSA2aiQLOFWDaLFwQhD4IHagYta5cySMn8ha0JwaAcHJPuxQ Wut1ReBKJ9HqLCfqxU0YG5SAKsCZHhE0Gg2ZcWh4WeYyBxWt88U7ee7Dm7BYC0zkZ8jC FtdFP9kA1LNAAV+F/HMa2i4J2DkHK1+zUvC3WE0beTOzdS9/RSKsFWiEfsOsxORmnMUI 3yiezLl+xEcFjG9v4tuXl+8SZ9AItbUZ9ZrdqSvPw4pey/cDKYMbCTWRVvgMZKFaoOFL 70TTXio66Ec+WgD/U8ZgIJDYCezC8xc3PzXfxM1UQlnzQs/LJSWdYnmJ0sBc2erQrjJQ HABQ== 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=JzvdrHZzRznIke9F6Dccw6H5kglmVaaOwIki4xpreM8=; b=fBinIBSdUZE2y+v4S7sob0Ps5VIHhqnvx4dshsjmcQJisKyYTZSZQ4Lr42RzdRM+fi 5vECNOeE2t1ylFCP5+xSo3hggThJM9XFIgJ2nHfbaZDAGrCzbNAf7bVj0a9tIvOnL7Y+ SPuHjZgR7Cq7OwXHcg4qP/3x+uPnMGrTvs34WA9qm3qCQBRWVwAyYcZy9/e3unZ+wKH0 S7/5b+uX/7WaINLBwXkVJ+qjNgMUCvr1ITgqdBlVCEFjaYDcFcGK99HXlNZo6N+E8xPl biOH8XezMntirONRVdfRYU5CegCsnfmNVpWM1Mlbiyizy9xn8ajnkD0fOf73NILGsoPO R/JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=joERQ2zo; 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 o88si2986515pfk.380.2018.02.21.08.02.58; Wed, 21 Feb 2018 08:02:58 -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=joERQ2zo; 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 S966164AbeBUQCy (ORCPT + 28 others); Wed, 21 Feb 2018 11:02:54 -0500 Received: from mail-pl0-f65.google.com ([209.85.160.65]:46785 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966144AbeBUQCr (ORCPT ); Wed, 21 Feb 2018 11:02:47 -0500 Received: by mail-pl0-f65.google.com with SMTP id x19so1127225plr.13 for ; Wed, 21 Feb 2018 08:02:46 -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=JzvdrHZzRznIke9F6Dccw6H5kglmVaaOwIki4xpreM8=; b=joERQ2zoJ1MAI3Gdbqsp59KPiywcnlxGbUPAsOXqh7HMCpThFkG1A7Maso7ZNMVnGA oKyTSAJDk2yhpUDPYqPKHYT1MSDgULcqhAEAy4rAhnCr/FqiG/ZyozRfRTM2FmbvZzoS U2PdVfd2t2n6dSyHV+V0pGAEreRQ92ROUdNiw= 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=JzvdrHZzRznIke9F6Dccw6H5kglmVaaOwIki4xpreM8=; b=L5QwC5QfxIzEsB27Jd9Wj/Jih6XSOk4xkfxpb9tFY+TvKHKHmcy9n9PEYFgHWB7JTI mPVLJjjBXtRbZhE1nvKrSLQTF8Qa937v/WwMwvTM1KlR14RBFkD/9B6YKyKEomY5EQTQ OAguvaT6sf306e/gIew02j+CgwQxqWJUtadeZSSV9dyMiMv5DcMxpmoJYKk/sA7Hq0n3 POI3PTIa8hgLZsH2/LmBhOC+PWGUyWJ4Vz/wdjWHZyVxv5CiPKWb70LMymyL4JxgwC8M qI3J1p9dIeUom4vF4OVrGSehsOUgdNPwjk0qXYe+4lT7npz0MGYBE/RLp/a42aoEYfTf RMqg== X-Gm-Message-State: APf1xPCaWylW96NSXrdtvgcKFYTBYsZ+QD5/Rf0c75pl/uvPxxcI3LKR 1OBzGsZSaRyxZjFgrPHrp4Fm X-Received: by 2002:a17:902:624:: with SMTP id 33-v6mr3670927plg.126.1519228966541; Wed, 21 Feb 2018 08:02:46 -0800 (PST) Received: from localhost.localdomain ([2405:204:7346:6848:3cb8:23ad:d761:239e]) by smtp.gmail.com with ESMTPSA id s67sm43068910pfg.104.2018.02.21.08.02.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 08:02:45 -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, hzhang@ucrobotics.com, bdong@ucrobotics.com, Manivannan Sadhasivam Subject: [PATCH v2 03/10] arm64: actions: Enable PINCTRL in platforms Kconfig Date: Wed, 21 Feb 2018 21:30:37 +0530 Message-Id: <20180221160044.15089-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180221160044.15089-1-manivannan.sadhasivam@linaro.org> References: <20180221160044.15089-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Select PINCTRL for Actions Semi SoCs Signed-off-by: Manivannan Sadhasivam --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) -- 2.14.1 diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index fbedbd8f619a..bae1289bdc3f 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -3,6 +3,7 @@ menu "Platform selection" config ARCH_ACTIONS bool "Actions Semi Platforms" select OWL_TIMER + select PINCTRL help This enables support for the Actions Semiconductor S900 SoC family. From patchwork Wed Feb 21 16:00:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 129095 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp782303ljc; Wed, 21 Feb 2018 08:03:15 -0800 (PST) X-Google-Smtp-Source: AH8x224f1MEUL25cEyX1+29hP3hPcngz4knQAxJpxdFx4Ruet5xNmjqK3Qv71nZOiU1b4g8qHBBb X-Received: by 2002:a17:902:b192:: with SMTP id s18-v6mr3558913plr.243.1519228994899; Wed, 21 Feb 2018 08:03:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519228994; cv=none; d=google.com; s=arc-20160816; b=zuxXyB/BC0oo3/MUqroUKJkIT1hKfEHbiXst0hEglEF4WU2TTbiYxpusc4rQrPgO6E FMFMgiHjikw5jS/ibJXz3wgwCWwMPbWBlFGpPF4kwRxEIv/pz6Ymce1T/Kim6PR5B4KG 4JCQIMgH6VVy2ptttsKEn6ia/0KKUgs9fhOstxAiTVQlVVYhtns4AWDmTN6tn2KT+E2w bF+5yGkdzqbe+RMkzX6YPF6iQF8lSj4RvrcNl3ckfLbuR18pSCHItXYP+YsFxO+5mehb tL5sCK1d2Y3xrZqmrivvtGkF10rAoz3vmqHPGYI00vZuMB8Qf92kx0f0GCuQ2Hs4ayG/ 13OA== 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=9uKW4JvNRIieZrqZFfYAojQwcdGRMvQgRSLj5vBHdRc=; b=jQHNz+tBK5EU0PrlQe1E+goLYA/wkFgtOTaAQXL0uSQTiQkYXe0zWGCf6Rt0T8gVak mduKzc24FNC8IqsMBTJuOzEGYHWDbM3yK5xNxY6hubxUxxOkanqlRLvBbuo1FwEa3BwE 3w1K6l7wjTW5UCzaLh/frM74XsQsLleftolmNGkx8VqkZ9afos/nu6RfxqruEGGFtzyK i9EhF+sP/sCE5zbhS3e1xGvCPCG8RdWzHa0fgNFw9vXSh+Mm1CEhL3FmjBPhBpBDRTDq nHzuaZkm4fduIo1Gva3Px3HirHZCJU3yPKrTJrfB3FpMrQ027u132uktMZR956t+GRRf yezA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L0ZlwewG; 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 w3si11677742pgb.258.2018.02.21.08.03.14; Wed, 21 Feb 2018 08:03:14 -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=L0ZlwewG; 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 S966185AbeBUQDJ (ORCPT + 28 others); Wed, 21 Feb 2018 11:03:09 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:33979 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754733AbeBUQDE (ORCPT ); Wed, 21 Feb 2018 11:03:04 -0500 Received: by mail-pl0-f67.google.com with SMTP id u13so1144729plq.1 for ; Wed, 21 Feb 2018 08:03:04 -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=9uKW4JvNRIieZrqZFfYAojQwcdGRMvQgRSLj5vBHdRc=; b=L0ZlwewG35XVllJ9BxRAI3CwK9I9WYfliDJWkHEOMpxny8IaJNADjgzxfgkHk7T++t kKGRFs0QUoJIe0HaeB3/jmKwzbnV5bLqTHWAm3KJomwCZ43VsHPqbtEoxaOwYJbmaEVJ AfIMq1wSklzi1fKHvPDt/C1rFq0OHj0+mmn+w= 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=9uKW4JvNRIieZrqZFfYAojQwcdGRMvQgRSLj5vBHdRc=; b=KMZAHDOGF+wbaMlFndr2u204sa4ApkwuPSCB4TNmc0xaztIrsOxNuEM77CI0HlFcra hZdkNymOVn9HEA9s7ggnvNFY8xhvzfknbQ6SPKV4b9JOb18xNEwJHzu069lv9fQzVyqg w73lgEN0ebpVR7g2Mn+D5RaTlEg3HYv7iK1i2b5HEcpSbTOFiJ3PBldaZc/RU6gFvjNc nTsG+hs9fiMbeBPtE+pgHOWinTExZ9vFPj0T+xBxwa0SiGDU4eZdxw9DfNrbAt8D+7aK qqGVJmj5aRCHW2xLoldluMGKfOfaXTQFhgF/aFNj3jj07cRP/zBtIuUxCa+CMeUSKFxr kivw== X-Gm-Message-State: APf1xPAw7v/fxtQjSOjROSSxFQDVwTrUbLxJhWc1B13aOZksmoIUZi0J +zQFA/cW/VXI/Vc+dxNdyC9n X-Received: by 2002:a17:902:5982:: with SMTP id p2-v6mr3433588pli.289.1519228983756; Wed, 21 Feb 2018 08:03:03 -0800 (PST) Received: from localhost.localdomain ([2405:204:7346:6848:3cb8:23ad:d761:239e]) by smtp.gmail.com with ESMTPSA id s67sm43068910pfg.104.2018.02.21.08.02.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 08:03:03 -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, hzhang@ucrobotics.com, bdong@ucrobotics.com, Manivannan Sadhasivam Subject: [PATCH v2 05/10] dt-bindings: gpio: Add gpio nodes for Actions S900 SoC Date: Wed, 21 Feb 2018 21:30:39 +0530 Message-Id: <20180221160044.15089-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180221160044.15089-1-manivannan.sadhasivam@linaro.org> References: <20180221160044.15089-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 | 76 ++++++++++++++++++++++ 1 file changed, 76 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..855197e587a1 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/actions,owl-gpio.txt @@ -0,0 +1,76 @@ +* Actions Semi OWL GPIO controller bindings + +The GPIOs are organized as individual banks/ports with variable number +of GPIOs. Each bank is represented as an individual GPIO controller. + +Required properties: +- 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. + +Optional properties: +- gpio-ranges : Mapping between GPIO and pinctrl + +Note: Each GPIO port should have an alias correctly numbered in "aliases" +node. + +Examples: + +aliases { + gpio0 = &gpioa; + gpio1 = &gpiob; + gpio2 = &gpioc; + gpio3 = &gpiod; + gpio4 = &gpioe; + gpio5 = &gpiof; +}; + + gpioa: gpioa@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 32>; + }; + + gpiob: gpiob@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 32 32>; + }; + + gpioc: gpioc@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 64 12>; + }; + + gpiod: gpiod@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 76 30>; + }; + + gpioe: gpioe@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 106 32>; + }; + + gpiof: gpiof@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 138 8>; + };