From patchwork Sun Jul 1 17:23:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 140714 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3132906ljj; Sun, 1 Jul 2018 10:24:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKT766FsVuKmZvyMiuJc6VJNNmaya8gdcqwfSskiZO6J0jc1+jOUY9uOzJUn+bXqcvr2VeI X-Received: by 2002:a17:902:89:: with SMTP id a9-v6mr22324209pla.326.1530465845310; Sun, 01 Jul 2018 10:24:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530465845; cv=none; d=google.com; s=arc-20160816; b=m7O5qCsoTBrraSES82EJymSoZ823gmi//2njJA7WbUg+YapazRIyF7lhQUpcTcUTps pKc+fiE5ACLYQlGH34RXxhBBuDCqj3rVc0q53SFtnXPYMT5hqQ/RVQkrZ/IyWy84Chu5 h5XsLf6WTX8dRAW06Gh7DDbas0HwczUHugom3k2vTexnBQKwM00yixtT/EnbZsuzez5b hKWcOEdUDhKQ1upovK7dkb9XiSPx3ss9Qvl7tK23RWPKnfynwPqNVI2n9zlGt7PfqHpy ek2sDvlSakE7QnbMUkt/z6Zy6DTDCVqdgf4iRMWtZ54oRGRVXDHxlOegdUfgMI3rUlmP 1M6w== 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=m8j4K0OgFnkwV3OnMDuDaGpr4NaQAyDW001o+7K9wQQ=; b=hlLVP714jm3qgk5DH4qZdiwAyKRha+H1JxIy9nJItm85PBsi/9kblDkhOdO5R1UB+G /xl01CxqB5RkpHGEA3hRhJfrfI9Kcskcd7JbOCLNQdJppwTz0NsDq1smJtzw15IBNN2f S+qw0ixj4aKsfJjAbSeY21nq5i9qJP3qoD+PQi6S6ONLkc7he9ayIBdh+IrjPIMHgJHC N4lmC0ETVVp40L1Hys/ngfT2bjvz79Kncm/sMG6f6ijAxZu4JDXKkuAYFl+WukxYewSN JUNUKdTl+V7Ifz2ZmaZrlYJGUonpavI+C2vJtRyM2/p+FW+KmefvOBtZeX7In2jEoc0r NGGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YsfNWhf8; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m18-v6si9828436pgg.693.2018.07.01.10.24.04; Sun, 01 Jul 2018 10:24:05 -0700 (PDT) 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=@linaro.org header.s=google header.b=YsfNWhf8; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031202AbeGARYC (ORCPT + 5 others); Sun, 1 Jul 2018 13:24:02 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:38222 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965867AbeGARX6 (ORCPT ); Sun, 1 Jul 2018 13:23:58 -0400 Received: by mail-pl0-f66.google.com with SMTP id d10-v6so6802084plo.5 for ; Sun, 01 Jul 2018 10:23:58 -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=G9Pra/HIrTIdZzogTmPr0pWDqZgp6mkljxVwg8UNDhk=; b=YsfNWhf8iMxCGRYDJ9O4Pqs0HloPgbMBO0z3Bj2JC2qYpcKnlfY3+17XhH3hHvkMt3 J42cVf5kHo7uPGoTzlmq9Hwj7XZgO0J5E+tVGI1HuO3Hb3Ia3hNHX2vqhgVvDjLarsUl RhmGSIQDJwGObo+PuJU2Sv38mL6zJY5FSyk9I= 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=G9Pra/HIrTIdZzogTmPr0pWDqZgp6mkljxVwg8UNDhk=; b=ZhpTXZ8kfGcoILiFsd0/pKN/ZaQc39Bdc6E+F8xZ1nWITY7sqMLeyJrOE9SDKR7mIK SbcpgeAfhkCnQ2uSRFsMTUWw4c1EyAT8Sc8IS3KHy0+4VSqyDcfB8AKn3a3oD658SCr/ pu9CGrqpqIJ0E6NnpDRKyFX5w1GuPmVnJ8UodFUT4bxNOlKbuPYdsradRVuCrgmTSUga DAV4W0v+wnj7Poa4f0ZIoiSQ+q+Wq2SYsyG00Utek4BCPPwgmtMr4+V5jx3ykA7YVnNZ GyjT9Lfz6FwklUNAthjA9rrOZsChh967NgQi3q93zQayM9OfriWNxp2075SnvC5s8m7x vkTw== X-Gm-Message-State: APt69E1ZCR8H+YzhnvvE1V0OUolFB2tfbaAjM1gi5rHW2YVl587GY6gs pqqFZKq27FxE59fQaCLYmet/ X-Received: by 2002:a17:902:b418:: with SMTP id x24-v6mr22792424plr.2.1530465837721; Sun, 01 Jul 2018 10:23:57 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:900:ea77:2c06:3367:1893:796]) by smtp.gmail.com with ESMTPSA id f10-v6sm17989836pgr.30.2018.07.01.10.23.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Jul 2018 10:23:57 -0700 (PDT) From: Manivannan Sadhasivam To: wsa@the-dreams.de, robh+dt@kernel.org, afaerber@suse.de Cc: 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, Manivannan Sadhasivam Subject: [PATCH v4 2/6] arm64: dts: actions: Add pinctrl definition for S900 I2C controller Date: Sun, 1 Jul 2018 22:53:01 +0530 Message-Id: <20180701172305.15663-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180701172305.15663-1-manivannan.sadhasivam@linaro.org> References: <20180701172305.15663-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add pinctrl definition for Actions Semiconductor 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 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/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..95e8b31071f9 --- /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; + }; + }; +};