From patchwork Mon Jul 23 03:40:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 142534 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5581836ljj; Sun, 22 Jul 2018 20:41:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpegt/vaE7hYxk64Hst/SMIwxKZ4YOCsgE6l4lAtzPn39vpfLspkxnC6DRI0Myv09r2fTgPD X-Received: by 2002:a17:902:b81:: with SMTP id 1-v6mr11408351plr.164.1532317285600; Sun, 22 Jul 2018 20:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532317285; cv=none; d=google.com; s=arc-20160816; b=JatSS5AhCUooNxqOcmQ0ZcsJRQYF94+lHvGQ9Vw6Xgxe/fnNZHCJyRob6STScnkzVJ 1KuL+K8uncD2pf0gT9vx1fFxHxoNK85MOZzKCf1qaMozWtnGtRP7gO7i2DglCFPFJq8u TIzUfBbNlrv4ALERXcJlsNJXtTyYPeJ4HF8XIfFCz8PSCC5mVckX7k5vv5RcK0dGVSDF sLLiSHW8JlagF2onAdmeEz7Si6sGgaz9dKVRbFsM3Jt014WSsaBO60PsuyOKxnq2qg1a jgLw+4cX2GN2Ix1FWvXn7rhJ0oiDqangvWUZ60SBCsxr96g3EkBDb1xvHlagnueXXkMM u/xQ== 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=G9Pra/HIrTIdZzogTmPr0pWDqZgp6mkljxVwg8UNDhk=; b=JJtSZvTUujEmh9dECIgowHZNMhYPq5Mhhb3ixgumYpbbWkkitzX1vwkpXigkIvYNzQ M5krOxDuURHEgK6WGFYeR11KoZT6mD7AKzgxPx2WS50i8cKFwoTm4OeFxbOGECRHQMN+ dqy6yvZUAa6OTGhWY6hKanKZtkmDRiZEU5po8Pf+i5GYdFt8KEy7I1kq8B/SiPAp6h2n CjOaP2bTS9x7RsOlSjwiUAZuz0A2tRyOaiHoH8iF3xXDMDd8Y7ZhriJ+Gyq8zrhmsTsI ezZjMe4cAaU8k+jdx7D7B5ZUWjRpX2cIy3SVwXwDmjg7sUuWDN3z1kVP7uXxEWbMKG3R e+Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UHJFhobt; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-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 w10-v6si7959668pfk.162.2018.07.22.20.41.25; Sun, 22 Jul 2018 20:41:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-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=UHJFhobt; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-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 S1728230AbeGWEka (ORCPT + 2 others); Mon, 23 Jul 2018 00:40:30 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:40702 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728165AbeGWEka (ORCPT ); Mon, 23 Jul 2018 00:40:30 -0400 Received: by mail-pg1-f193.google.com with SMTP id x5-v6so11208847pgp.7 for ; Sun, 22 Jul 2018 20:41:24 -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=UHJFhobtUx21zDLqM5NJ2aXrXb1GhQ0ThkEgKq4aIQTYifOHYkIJTQi4q+Ttz0KJVT Bhw0cqw4K1pAOeKKFA5joyTGl9kkSP1J//LtHjV6/2V4T+j7RusscB7Ct6iFaD3Z3KeU 2dco0qUccYO4eeNv/C5nBOLw7GuAnl1HuwqQc= 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=Ss/VAKLaTy0pc+G0V2nY8FVQvYts0IFDdb8M6mtBvc+DuvIHS//SxKetPSBRofdiJZ msPWR7KXwU/uAKCAGZlyVKcVEMxbOyKZyZ846hp9+tEyPZws/hvVNfVcu4wSggf4ABDi NWqpl2BjnAltbevsHX1pSpBTnr62Dwq3Rw+r4FJsCFG8uvF7D9NMOq4a7cRZXXAip4wl yofkXVpdCC9sRaqG6axvBhlcz+UrEecDmAeAGbZkPAui6J1+poN0YwHB901b/qXRPuF/ 2f917uePk5tgT3kOKtzE+VhK0I9/IMUyWeZSsXfzGNGtrfMMqK+nFfzS3DwRp7EjGrTY vXtA== X-Gm-Message-State: AOUpUlHKREDNeH+k4wQNUdM2d1PQ4kffLqjKDyQBc6NQZSCAVJC/OoQP 37f/rTkhD/vgSdQv/pd4hvMp X-Received: by 2002:a63:1a20:: with SMTP id a32-v6mr10609077pga.446.1532317284176; Sun, 22 Jul 2018 20:41:24 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:802:a98c:b568:c01f:49a2:2aa5]) by smtp.gmail.com with ESMTPSA id s184-v6sm11340248pfb.56.2018.07.22.20.41.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jul 2018 20:41:23 -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 v6 2/6] arm64: dts: actions: Add pinctrl definition for S900 I2C controller Date: Mon, 23 Jul 2018 09:10:21 +0530 Message-Id: <20180723034025.5763-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723034025.5763-1-manivannan.sadhasivam@linaro.org> References: <20180723034025.5763-1-manivannan.sadhasivam@linaro.org> Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@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 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; + }; + }; +};