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: 10534975 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 0DC11601D2 for ; Thu, 19 Jul 2018 17:46:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F14052990E for ; Thu, 19 Jul 2018 17:46:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E507A29A1F; Thu, 19 Jul 2018 17:46:31 +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 9875A2990E for ; Thu, 19 Jul 2018 17:46:31 +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=WOtJIg1c8csrqR+uIG0vIP/LBmPEuvselni8GsrXm38=; b=CTE2AzfUethqXkRwgLHCeoccOI 8gl9t5FhNgBWf1e2IGUpv6DTiMQZVQVquyAoSJV9ia9FjcVbRSJMP0fMfOSGsqmTXBeYSyowjyQ1e mENYMTTlhxd6SstCFqf19bNbwuuzmdIRYpnA9wN/wvuPi+OB/l2lo3qq+R4bmCJMI20NKQ8XmgyRe 2mLUpVHWaeZyFYTJpFktimXUASh22zG8P62U9AbOZFEv3Q5Ndvm9QyfcoRIQv7lW4YsnnE5p1QVp7 ltGuswelyHPCSkB6G5kgqQw3y9/wC84NGo9bufFb0bVafbMB34+fG1LHpFyxxUwK9xEnTUwIxeBjL YfW/+yig==; 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 1fgD0W-00050v-HR; Thu, 19 Jul 2018 17:46:28 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fgD0K-0004d2-4R for linux-arm-kernel@lists.infradead.org; Thu, 19 Jul 2018 17:46:21 +0000 Received: by mail-pg1-x541.google.com with SMTP id s7-v6so977033pgv.3 for ; Thu, 19 Jul 2018 10:46:05 -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=aEmabKW5i0yGFhF4bRO/k/Txt4LTpWYj83D7PyX1rbGPOdQsB58QMojKmAknwYeOeE kIN2y+KvmjSe+WvYsLm9acfhNzbzT3PLj1wxznfGsjkD4f9epokhVWr6vJTrLc9ofdrb dkIaGM8ElbsLYcMjZOYkIpe53cWFqZQtxtLqCzCBu17+FYZBmzmWnlpjOS8/+7dGzGkU ACjOTQ3TCVP+QKkHD5ir2OiTJon8bAQRhxVInOBSypguVQarDJC9FCgDzzfAZtCYjJIJ F0t5iR2V/Mpp/4l6AOvKGBnJCv23JNZdMGQRSaKIEffT6WTG1KVB9JnxjAgZA6N9x/L+ U/Rg== X-Gm-Message-State: AOUpUlFK+uvzVDyvso8MuovTsmUbbZnDddGI+JoTFIAjVAv8xuGpUByY wCHjNd29HrTaZV+b1c+d0fjB X-Google-Smtp-Source: AAOMgpdJhG+CUAOR0ssMUjsRa6qUqQnZnIkq2eOHkPFxF7l8OoDcfXf7qWwO9ozrJxvX07GVLvBPyQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180719_104616_794849_E0145632 X-CRM114-Status: GOOD ( 13.22 ) 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 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 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; + }; + }; +};