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: 952342 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="SovSX1LI"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41gh5t3hDWz9s1x for ; Thu, 2 Aug 2018 04:04:34 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729781AbeHATv0 (ORCPT ); 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-Google-Smtp-Source: AAOMgpe4jOFTviGzxn4Zq0gXvoxJaLdFu2WX8RkUKy1nxJJb0I3zftZa4OcXfPBIlUsQya/UuGNs1w== 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 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; + }; + }; +};