From patchwork Thu Jul 26 15:45:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 142983 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp616176ljj; Thu, 26 Jul 2018 08:46:56 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfBuC0H5kxYWIViqHcuzlxM9mim78Zi+7TNGan0VTniQaU5Rz4DlbG5OYJEvPT08eTzR07Q X-Received: by 2002:a17:902:822:: with SMTP id 31-v6mr2442267plk.172.1532620016177; Thu, 26 Jul 2018 08:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532620016; cv=none; d=google.com; s=arc-20160816; b=KsJ7kZqDU7gAvKbGvNdiNivI0E0laI3YUbWYSKHgTLYOV5+B78+CIZqNyUO174ni8V qBI9xMlbCWnqHjrcpqiw15010cKf3V9xlKJtYiX6Vm4WM52aoubO5ZBBPdSf0ohghTow LA6XaJWG1u7DeluhuRqFS2Sf+saAAsSbDM6P//9M6a2Ayx9Akl7Q/JCKPiZrC28k/xRO sLbGY5Xhc0f8xiTDmmWPA688vgvGq4AFBwgPNDqeXfeb7Iyp2lkKI1Ifw+52JyEin4wN 6izlsAtr0gueYf2ImLuY1MbNZMWyMd0V4UTImD3v9rePOiw9LAfvuHu57QbMXszCEKqG LJMg== 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=0/CzhDa5Eht2E5BNui0K/DNka61l0r06jI74MRohy4nUZcCukQWIY9M0Wl6FaoP3Em zlPwU0m5ubixp8ju+Fefx9qYfysNQR2y0yrue+ZXWqxXTMgVcVToaGeUKfBLrFpjcPFS dgT2X7uM4X8iAd6J68X5UsQ4cnjxcMagPIsHDwl3yPwi4w+3Z7Co6BKK59q5JpdKBWf2 vv6H7koo7/16LInDihZmqkAsieT47DkFLppzCo/+6UoRmCjBqqDJ3hPQPCNx/UKrTiQ7 7LdzIDEqUKwK13cDBLDhkJ8EG+uXk0IBE7QOqXs1Dsx5EHWoi4XAAVLcPyxAoS4vCVZd TNzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DC6gZu3j; 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 u7-v6si1723945pfb.227.2018.07.26.08.46.55; Thu, 26 Jul 2018 08:46:56 -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=DC6gZu3j; 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 S1731962AbeGZREU (ORCPT + 5 others); Thu, 26 Jul 2018 13:04:20 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:45367 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731948AbeGZRET (ORCPT ); Thu, 26 Jul 2018 13:04:19 -0400 Received: by mail-pl0-f65.google.com with SMTP id j8-v6so998708pll.12 for ; Thu, 26 Jul 2018 08:46:54 -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=DC6gZu3jfWRhlaATLhMnFFP04tmIDsx0VsdYvuwkDrWcBQrmghBqV61XGG5wxF39F8 lkAOUeAvBaWtjXzkN8fniu2YiKWimvhHZZFmj7vofEN5iTC047bZ+oXbJeZ7DQJcKao8 yK3rA5M8hHxXm/YeV+ZYIInDRsSWMA6qs7emo= 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=uBrDpF67vL2s0Xf+RVdzqjUZZiQEzrQ67CSHFsLlDM6ByyS+/2ZnN7c7XKPtNGLrZK 6NYTPEF/3dtj8F9ZqJ0BVtcNROb4lXPo0kDfSrShlE3VC5QFB4Rjw4xFruB1dE4zt/jD Tz17IWx229XQHLSEod9kfRpZnFX1bgn8c6+GnqLo2hdZaUWqQJT03C5o048w+PNBmtkU W75luBUxTgOHgbzATRTm+CCiig+kOHfKSeeh8JMXD4NjuPcRhlVhIQXPDuQGPxmSDyi7 jmWyEBzKefThG2jbIbV7De9nW8wWYblEY0Xts6lMxhPLjhGKibqZhwNPGdtFt0XAzVdD QTAQ== X-Gm-Message-State: AOUpUlGgk8AY07w5UNLnBhQrXOBTvTxyTwVY/ijXJc1NHHn7oWJ0enmZ A0zp5GTubv5QbpnhPC/vpouI X-Received: by 2002:a17:902:20e9:: with SMTP id v38-v6mr2463010plg.107.1532620014463; Thu, 26 Jul 2018 08:46:54 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:628e:aef6:6d51:3501:dada:e06d]) by smtp.gmail.com with ESMTPSA id z11-v6sm3755322pff.162.2018.07.26.08.46.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 08:46:53 -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 v7 2/6] arm64: dts: actions: Add pinctrl definition for S900 I2C controller Date: Thu, 26 Jul 2018 21:15:59 +0530 Message-Id: <20180726154603.5089-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180726154603.5089-1-manivannan.sadhasivam@linaro.org> References: <20180726154603.5089-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; + }; + }; +};