From patchwork Thu Jun 28 18:10:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10494645 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 22836601BE for ; Thu, 28 Jun 2018 18:14:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27DD42A741 for ; Thu, 28 Jun 2018 18:14:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B6862A74C; Thu, 28 Jun 2018 18:14:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AD8CF2A741 for ; Thu, 28 Jun 2018 18:14:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=j7zVMdom9PmHykVYd4LjgZBADOU4NJt4gbgWKopATDw=; b=Da50YsIOCCMiqAF0q9pkg5BSSv 3Kf8bu1YrSaBMXTp0KzacuUlb+2fu8+/5iLGCyf/opVZs5qIyhlhGxWyXmorj2a8qPGj/rrFOepM5 9tCAZl87N7BcQdMFdNkBWu/dJ7pbdnz+z3v/PIJKKaJJ/6lImuF7d4CgCNNNMO0VOw5nl3s4fpNU0 Z9TPczHIIkfQehBUgkF9WhqADzLleTR0K7lJEf63iphw/eKjFiDg9eKT5T6i9eOojaFJxaiDwVQLz WcSONphzCmJLCy1Y5PkBln3iZ6gTapXa370twh3XQ1HtF3ZbxK6mSTtWrYyMv9rFrvofmnRDl1ARf m+zIqt9Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYbQU-0000wi-Ri; Thu, 28 Jun 2018 18:13:50 +0000 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYbPD-0008Ri-P1 for linux-arm-kernel@lists.infradead.org; Thu, 28 Jun 2018 18:12:59 +0000 Received: by mail-pg0-x242.google.com with SMTP id a14-v6so2811756pgw.10 for ; Thu, 28 Jun 2018 11:12:21 -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=jKaIsRyzKhkDg6J6wTu4UQOBDgSWw0ctIoQUWUurWRc=; b=ji7xVmIFpaBfSXoP22cxp8bXZPqOWBonglvDMbdV7VGjMPYTt6gNpSmrnI1MqdGzn+ PiEe5xE6h4U4z9SgwtXuLMu86ZTxQjWcnKEGuttIGyZ5YOw9L7d55Res/BGRNOFTKBSd sHPTFEQOrxA29jezCY/E9XSAqJInIRSusLkP0= 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=jKaIsRyzKhkDg6J6wTu4UQOBDgSWw0ctIoQUWUurWRc=; b=Wkm02oHPZZoUTscscQMu+J98ea03m7OYtTPKKchtrT94tfKLX2+148sTwEXlelUmTs oKjI3qQeoXl3r2hDvH8rMs/NUfAEQL8KUfu8cXIOa2h+cZXOax0Usz5PyFbZ+DojUBx+ AXOCY/IxWxeV7QPXdwKebq8ROB+NmJlbEY2jNoM/T0SZYnUgmrO0DC/EYDl09zlCQpJb CZxahPr8AAi9B0Ubn3W+CuJr7wWR7WFazz6a7vo9yJJDAZ7PBOaG8AVkYzzbq1pJ0RvE W4Ae+NYMA0hL4qDr7A+dvtePRzS5d2vrkPwetGmSrNZM9llHCd/OQ98I2E5bHgR4WFIB vkOw== X-Gm-Message-State: APt69E3uhxGijtf9UyYyt9fJMpHT8m23mRdj6ogDKeJAyX13oLg0GAx0 zjGR3an43OZ8O0Rcoyxdq6SF X-Google-Smtp-Source: ADUXVKKNXuf9U4Z0GxcH1hpb4xoLCMU50UOieja+PEOfgADLx0ZSuRQiPaKJ3a2Yq4uK9uL1wk3Ejg== X-Received: by 2002:a63:3f05:: with SMTP id m5-v6mr9578133pga.51.1530209540867; Thu, 28 Jun 2018 11:12:20 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7141:9f8e:c1c3:7dd1:e694:9dc2]) by smtp.gmail.com with ESMTPSA id o13-v6sm13293132pgn.93.2018.06.28.11.12.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 11:12:20 -0700 (PDT) From: Manivannan Sadhasivam To: wsa@the-dreams.de, robh+dt@kernel.org, afaerber@suse.de Subject: [PATCH v2 3/6] arm64: dts: actions: Add pinctrl definition for S900 I2C controller Date: Thu, 28 Jun 2018 23:40:39 +0530 Message-Id: <20180628181042.2239-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180628181042.2239-1-manivannan.sadhasivam@linaro.org> References: <20180628181042.2239-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180628_111233_163533_CE07B27B X-CRM114-Status: GOOD ( 12.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, daniel.thompson@linaro.org, manivannanece23@gmail.com, jeff.chen@actions-semi.com, hzhang@ucrobotics.com, thomas.liau@actions-semi.com, linus.walleij@linaro.org, liuwei@actions-semi.com, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-gpio@vger.kernel.org, andy.shevchenko@gmail.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, Manivannan Sadhasivam , bdong@ucrobotics.com, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add pinctrl definition for Actions Semi 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 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; + }; + }; +};