From patchwork Sat Jun 23 16:11:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 139763 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2139947lji; Sat, 23 Jun 2018 09:12:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLNP/H2XX85NqaVK2uUOc6+du4crR1eGKxD3lVUX+HaFItr4yJIxZgKFgDbf8Hpix4paYrY X-Received: by 2002:a62:a104:: with SMTP id b4-v6mr6413735pff.159.1529770359909; Sat, 23 Jun 2018 09:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529770359; cv=none; d=google.com; s=arc-20160816; b=k9Wnp3NWXZWmtKRnSUfCA+QoUMu1To8MagV6pTDkmtVkiWbncr8wuZSjF8+UK38gQ0 F/KF8240boKXJbe3TqIxbL1gU+pWdozwQSDYS6oSvoGMgPpBVKJyY683AUt4Rv3L00ka mR2ppTJOvGxq/M3mbtHeSjY6lLPOGu6NnO89qL79rUNXLtK2LLy522GI3XNZCdCcOIVl hdOQ2X0adcq0gZ3KqxIb1UoDDk+ZWJyrhhjj1G5CUYM4/e9tZAAd6ZION52gFc2rcoIx l3YvH9Z1r5G6i/LbEB7PHziTitL0QWB9Im2GhYWrv3K+DEwB0Dx48LFnGvD4qs2Fv/dB 4WeA== 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=njvAk4qKiwe9c/bvSxaxgxAGLrUT6Qp7v+YT5o0KvHo=; b=ZGaQ+e28tWWfACjEFnzOwhmYIynxuBPP1LmX7WaxNsspt6n24IjGVJbWZ/NHPyU2Vo wbGl/rzEEsRB9kpBP8tYP4vNA908j9YO4yYdj9gvHjs8H/jjX+8FqtFNiQ0dzkdezwOH PJBy5rkp3D/7CpL2kkjXgmWyAv8v7EZGrchWTjgnLgmaF472aGVQL/cigIVClq3soUB+ GrM92c4D5H9/QZp7+EbZXIw77+07RACVJhEng9Z879rbuZnuRuApmUyVoWYNzXjwB0RW EWw+Llkz4C3mh3ZxXiIN9JP0tQ5Vq1o4vV++JB8ZLrFluCma0WmRTRvq/+MR9L5gOaTb SGDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WDEu058g; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (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 c17-v6si9474322pfi.102.2018.06.23.09.12.39; Sat, 23 Jun 2018 09:12:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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=@linaro.org header.s=google header.b=WDEu058g; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751941AbeFWQMi (ORCPT + 5 others); Sat, 23 Jun 2018 12:12:38 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:39524 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751933AbeFWQMg (ORCPT ); Sat, 23 Jun 2018 12:12:36 -0400 Received: by mail-pg0-f66.google.com with SMTP id n2-v6so822789pgq.6 for ; Sat, 23 Jun 2018 09:12:35 -0700 (PDT) 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=J1OYTWw+kcNsg7QWXAtAWguxWjrzRt996LRNo3FbPBM=; b=WDEu058gnmVH2PzDN7liFPmKJUCcc+sSqEgVM8hwdhGztI8pZz2tD//SWZ/njL19Un 2+FsIkE7+4FjmLk6tiAq1AN0q5vji2T5XhvrXMcHQvUNy7F+d/zBBtjfcRP9Bn9/2lv5 Ijq/2pmbJkDQplY4lQHGzRvaE/mL4Gp4dfiZ4= 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=J1OYTWw+kcNsg7QWXAtAWguxWjrzRt996LRNo3FbPBM=; b=sHj9zrxYxreYdpYRApeyeJ+8vGenAaF/QibBKU/wCsctQh+aJBkdZSl7XzGL6z4V+K HsuvGcYVJ41RhZncVr68LGU2FOZ+yTtoYPcn5QTffKAjG5hsDMhpSSKlhjL24pZy8LDl s4RjNIdoYoQydCt29B5ScpTYecbI1716Li1czjFYy+EuCg6/BoB+XIjzLBcI3FfgqFpx GriwlS/10Y5rej327gx1+qUpIZ++XKD6jw/2yRtDceZWgK/JLrJN/Qdz9j+5lVYAVig7 zbOG+4iki4SlOkLLHW+v3J+9z5EY562N0jegUehvKoiNRe8/pKxvUO4RtpqOjBjMYuSh AJLg== X-Gm-Message-State: APt69E35uhGcInySSZrvVl9m+EyRZlUwxbuR3cusdtxNw74/PaS0/ex1 OZqaNiXAwzpFxiYDHMOsaOGT X-Received: by 2002:a65:5348:: with SMTP id w8-v6mr5371168pgr.247.1529770355527; Sat, 23 Jun 2018 09:12:35 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:100:fa16:6549:5166:32c7:2dab]) by smtp.gmail.com with ESMTPSA id n26-v6sm2732745pfi.168.2018.06.23.09.12.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jun 2018 09:12:35 -0700 (PDT) From: Manivannan Sadhasivam To: wsa@the-dreams.de, robh+dt@kernel.org, afaerber@suse.de, linus.walleij@linaro.org, linux-i2c@vger.kernel.org, liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, andy.shevchenko@gmail.com, 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, manivannanece23@gmail.com, thomas.liau@actions-semi.com, jeff.chen@actions-semi.com Cc: Manivannan Sadhasivam Subject: [PATCH 3/5] arm64: dts: actions: Add pinctrl definition for S900 I2C controller Date: Sat, 23 Jun 2018 21:41:45 +0530 Message-Id: <20180623161147.15672-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180623161147.15672-1-manivannan.sadhasivam@linaro.org> References: <20180623161147.15672-1-manivannan.sadhasivam@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add pinctrl definition for Actions Semi S900 I2C controller. Pinctrl definitions are only available for I2C0, I2C1, and I2C2. Signed-off-by: Manivannan Sadhasivam --- .../dts/actions/s900-bubblegum-96-pins.dtsi | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" 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/arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi b/arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi new file mode 100644 index 000000000000..e46ae187b27e --- /dev/null +++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +&pinctrl { + + i2c0_default: i2c0_default { + pinmux { + groups = "i2c0_mfp"; + function = "i2c0"; + }; + pinconf { + pins = "i2c0_sclk", "i2c0_sdata"; + bias-pull-up; + }; + }; + + i2c1_default: i2c1_default { + pinconf { + pins = "i2c1_sclk", "i2c1_sdata"; + bias-pull-up; + }; + }; + + i2c2_default: i2c2_default { + pinconf { + pins = "i2c2_sclk", "i2c2_sdata"; + bias-pull-up; + }; + }; +};