From patchwork Wed Aug 1 18:02:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 143304 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1178394ljj; Wed, 1 Aug 2018 11:04:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeWLT8igXkYH+GYe8QHr5a7ggLQQwNmaeTLiCBTeSlqodX14Oai3Y9OBYupmfJeVwtFhkp2 X-Received: by 2002:a62:a649:: with SMTP id t70-v6mr27982508pfe.149.1533146674084; Wed, 01 Aug 2018 11:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533146674; cv=none; d=google.com; s=arc-20160816; b=E1BKUFIcUu7bxHkl2yal9CqHt7FuEOnIjpkPk/aQ4UQCRCNs9e8ZE33to6PNL1B6dI NdjDNVbrzPEOigJiVtKpP0/kfun6xCmxGLUJPKWOqK+tL5vUTKj1+rBqWuu1b5AltT80 Iwrid3aLWPnIt7ZfkIU/AjQ5Ia/Zq55LP1AHDQVAEkbH6ob+jyvFRRkFwcPe9q/hdjvd CveaUWvP7+ERGso2Txm6+Qi3t54O2N4VmhpnD3NqkZqE4c0ewuXtGNH7n8cn/Z/vn8DV K+WJ4E8EthyDFmnozEYKPE7KvfZAGi0HRlzsbHTdZfZHicWwOcqVIDjC9QuAEVGcyVM9 DgQg== 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=NTjmMAM+CqBr9Yz0dqev5QFmehNFYOU3onAgCc8edNkJHMvyOxn3qs6ZsGILvXrYbq P3ieLb1pYeXv9I9HCW/azoDXrxsN22vlimgnigNnil6o/RCqQU7Z9MSkMjCwgfX3KK99 arzYDpMOdht4PSK+FUPiWIF0mO8ugF0MoYnKKRaKYjaMtBfracU6ua5Rz68UZPr0KGer Yte419XiJ3KEYlu2xes7T04R1EpY6Nw5cljPzG7IyjzBoKQyg/KzwkW5/ClGbMxeiMCk VemufbixiXRAM9JDfXiTCTuDSq3avTp1CLifx8zhi/gensYYLz1pae79o+sTRnhRGbdF zc1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SovSX1LI; 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 80-v6si17844591pgf.604.2018.08.01.11.04.33; Wed, 01 Aug 2018 11:04:34 -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=SovSX1LI; 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 S1729781AbeHATv0 (ORCPT + 2 others); Wed, 1 Aug 2018 15:51:26 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:40355 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731639AbeHATv0 (ORCPT ); Wed, 1 Aug 2018 15:51:26 -0400 Received: by mail-pl0-f66.google.com with SMTP id s17-v6so9164966plp.7 for ; Wed, 01 Aug 2018 11:04:32 -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=SovSX1LIT/1jxUkHQwKdsBbNJtUX0OMhBqgXlURwDXvOLYMqhXk5dtbSfH/KyzErpO IHMKOncLSa4zZtwMzbAU3f/Dt1lzKA+Y/0b034g6w+dXUAs3mNeVD6slzD2M8AI4z4cE H3DHrdRWlbzw62+e3lTiSSFG/2lqrM0XI0KxQ= 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=STXcDpGTilE/++jdkCvfoat336A7vgZqX+nT558GHlf72qzeTo4Ast374YjvzW2oRt p74dhbrNH7jIq502N5oh4/vhE7RBUTsg1KpCHS6ZR2iQKvn33WHaj3YMIio1aA5lZims FclWnMl7z/MMrvM80nM/e3NY2CWEw1eAcdtPuLAKlOta6+VH69Wc9N/xgSVB6alYaZhw QDZCCW2GMGbpRTlPBY28l7E9ofCeo6PB3YqodaDFGVaOOWSyODPiRuurKkrZpwc9lHgR i63Aunt8ed1tD4yqwEwAub3jP/0ijonwxFOJdZPfl8yYUq1iPtPBPdO3I2JAUixigmX2 nuYg== X-Gm-Message-State: AOUpUlELrNT6ks+4s636zo3TIiHcuNiwvcCCHedbBDwIUhYIx97hP4I9 z1FqGxyUQpf8iSAPJEx1HVRy X-Received: by 2002:a17:902:64d7:: with SMTP id y23-v6mr25564724pli.53.1533146672054; Wed, 01 Aug 2018 11:04:32 -0700 (PDT) Received: from localhost.localdomain ([2405:204:73c1:5a70:e532:a47d:7290:5aa6]) by smtp.gmail.com with ESMTPSA id x80-v6sm12961649pfe.129.2018.08.01.11.04.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 11:04:11 -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 v8 2/6] arm64: dts: actions: Add pinctrl definition for S900 I2C controller Date: Wed, 1 Aug 2018 23:32:28 +0530 Message-Id: <20180801180232.23680-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180801180232.23680-1-manivannan.sadhasivam@linaro.org> References: <20180801180232.23680-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; + }; + }; +};