From patchwork Thu Jul 19 17:44: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: 142371 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2012296ljj; Thu, 19 Jul 2018 10:46:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcklOeVAg9dsFUpCHaglsAhWNLDPgIwG0ppu/BWN2TAzhVjZFJG52hwIWbKW4KBA3DRkowj X-Received: by 2002:a63:f557:: with SMTP id e23-v6mr10716726pgk.170.1532022365941; Thu, 19 Jul 2018 10:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532022365; cv=none; d=google.com; s=arc-20160816; b=Xy43CPeEU40YqANVnMVgBeRXLwS2U8s+DqUndGJjY4l5gZiQq0folhzZ+WCC2P61w2 G9sTgej+p6VXfbefIus/vEnGLCd3i6LbszVK6ppCoL9UwvGrl1MDa9ZchFsEQuZLKuAl KrKMH6x5qznSaST0rfLRa7fIcVn3pMM6IM9uau54XVI9KheIAOAiKJFHzrYQ4WqlQcVK vTBt5yub34Z3u81fzt+SdkW5qK5Q5m/hY/tBh7hLyRNOUbR+K/LCTm+IBbpSgxowIomC wJtmSVfVu3It8Xo6fdIDMbhDXjUO0I8pLAwNkPWocLuZpsc8WyPL6WDaK9eOyrInNFQ7 tTaA== 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=B5VHjDoArZfwJoeuBac8pCYMc/MhBY/ent7SYqhw7jI=; b=AaT4WzmM1ze4V8SNLPFyS6evs7P1W/X3/qY6axbMoyN4arvpJwF/xGmyJOC7O2GZ67 llMxZPWPwjk42QT8HqHS8x6l7wdoP9BgoorKn/V+rOT+bmzwpMoHgkwiBeo3KaJQ5CYF 3dt4nch2tMf0V3KCpFpeRq0tp+YTRUIwm0je7JihBY1g2hFhUooMQn7ceJ6ROtLIQzIT yIetYjXaVloejNFdOd9qKUnRlTmdkXopykDERUIJATuOgAwOs4AaaRTVbu9eAxdjC9oy K/eeGNbhIC/NJE7I/4EUvsR6z44kPIwjW06F2IatC6ahkIKXkQoNgW+ha58HAd0/Xg7M R1+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=h4vZuKRN; 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 y65-v6si6336118pgb.199.2018.07.19.10.46.05; Thu, 19 Jul 2018 10:46:05 -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=h4vZuKRN; 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 S1732162AbeGSSaR (ORCPT + 5 others); Thu, 19 Jul 2018 14:30:17 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:40439 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732157AbeGSSaR (ORCPT ); Thu, 19 Jul 2018 14:30:17 -0400 Received: by mail-pg1-f196.google.com with SMTP id x5-v6so4400477pgp.7 for ; Thu, 19 Jul 2018 10:46:04 -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=h4vZuKRNXdW3oOo8fZ2we6a4IvDeeDeY55HLfiry6cXfCm21I7Lm1zc0hnQ3Hj5uiI cXs6VHxIbd2cCHRcYZ6X1M7qxgi7PzGhLSdw/rRUqabR6Y27pfJEppX7uwOserLUZZVf vCbqyh+o2YJ7NJkf4usBtIuiMsP6hpARmBlts= 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=kY9//4W3xB+MnzSJxYf880BE6mKf077uCqhMnrMaAtWgieixGm+FUv+DEr4833lfvS PS9eshKm1+9NWVGms/i9FpZEnyBO6v0lPBTbjek9yNZncYLQA0dAwouMv6RJgDOR+UkJ 3V+ZSKhJyjzZnK2nimpRTY0N572F2llWgG0vEomzfmwbMx+XZNqQM45eN1wiWnpiuUyy hnT4NIUwyxPKUb5jqKRvoNVUjtgh+1qt51r/iKSI5iLsX5ANBMeiBCm8yzHBldak4ZkQ Ks3iFuSLmHEhSifQZWrNYtRrmE7NuainIPqoJOGJPz9FyoPBnZjwRkEFxRXeSqT5FLoW rpyw== X-Gm-Message-State: AOUpUlGELw5n93MT2sY4I7xD/rJJJSO/A70/PK0wtHX3sw6CVaHKK7Zd z9nEf38Y8Y65pBhqfsoCZC7T X-Received: by 2002:a63:5c10:: with SMTP id q16-v6mr10896378pgb.452.1532022364509; Thu, 19 Jul 2018 10:46:04 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6081:b056:55fa:fd42:61de:739]) by smtp.gmail.com with ESMTPSA id h2-v6sm10114639pgc.90.2018.07.19.10.45.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 10:46:03 -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 v5 2/6] arm64: dts: actions: Add pinctrl definition for S900 I2C controller Date: Thu, 19 Jul 2018 23:14:01 +0530 Message-Id: <20180719174405.7210-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180719174405.7210-1-manivannan.sadhasivam@linaro.org> References: <20180719174405.7210-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 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 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..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; + }; + }; +};