Received: by 10.223.164.221 with SMTP id h29csp1129553wrb; Wed, 1 Nov 2017 10:55:46 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T1D/KaF0Wlazzu1L2FPj/Nevxw+tWSvx3/LVEzcMs/C2J5pRSCn101zQ7EXrQSFx1A97nr X-Received: by 10.159.206.193 with SMTP id x1mr391463plo.319.1509558946831; Wed, 01 Nov 2017 10:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509558946; cv=none; d=google.com; s=arc-20160816; b=yi0sf9NmBZIRbJDow9GjwrLdiO8W5vQuNgsBDvVRgf1fuH8TSKhBSmNxz0S3j1NYEl Md6EWN9HWSoEMfhgOt1AT7HC2314Zd2XNeQOd8W0PeMMbOOjNuHxRT1nPqciGo9IH4Z4 uoq6cHr3M9AEfM1tRd2Ft7KPVwBNNxEu9E3gOmYSTz40iWKX+FNlpXLcKAqf5029aVVi PDs6cH7GIYWhJFOglIByhfCpBMlCrp/mr9oVQsFkEyQXozH2QHJrIl2lbo7xt73Xy1/X wWp+8kT7QER4N9H7jNMv+Yi3ggwxWqUYgHGqLU+GWzN98jZOu4PALbRa5e+DT9YOtE8m eZrg== 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:arc-authentication-results; bh=AamHesl4bPY2R3wTkK2xqZYBTOU6uL0LmAVSqycM9mM=; b=gGvx8rmhOH63fIZDKuP1hJBF/JouZPG0Hzdwlsq/hEkGyfjR7JgWNduImswUi5umlb u7hGcR8816djFqAXj3+Ezq0brYnxTjjRvyNjEl7s2pFdY4e95Bq7hNeH2M1MGwvdVFjN aN6bvjU6o8cAesQhzz6bR1xZBH0cmiSgyOLmMPxI9VVezsx73OMlrPWqkT2o+EaqKENy NzMih5PzW7+iDriXUfDl/QIWZJUCR/YKsBYQ0nrNXsKOUcc4gSaxVQ9dFgaiqrlnwncp FXy7mzZcHd34D9suAtBK2oUSeLNcqWpL64hbEvUpw69ml3dIF4XjvwEnRbS9zo7a54Jz Q3uw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y12si1506479pgs.580.2017.11.01.10.55.32; Wed, 01 Nov 2017 10:55:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933175AbdKARxu (ORCPT + 99 others); Wed, 1 Nov 2017 13:53:50 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:51290 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751366AbdKARxn (ORCPT ); Wed, 1 Nov 2017 13:53:43 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id C0A649C2EE7; Wed, 1 Nov 2017 13:53:42 -0400 (EDT) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 3TVYXc5bDq6V; Wed, 1 Nov 2017 13:53:42 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 1B6459C2CA2; Wed, 1 Nov 2017 13:53:42 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RfaLALSL0o6Z; Wed, 1 Nov 2017 13:53:41 -0400 (EDT) Received: from workotop.mtl.sfl (unknown [192.168.49.115]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id B8CCA9C2EE6; Wed, 1 Nov 2017 13:53:41 -0400 (EDT) From: Damien Riegel To: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , kernel@savoirfairelinux.com, Damien Riegel Subject: [PATCH 4/4] arm64: dts: qcom: msm8916: add bindings for i2c1, i2c3, i2c5 Date: Wed, 1 Nov 2017 13:53:35 -0400 Message-Id: <20171101175335.22123-5-damien.riegel@savoirfairelinux.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171101175335.22123-1-damien.riegel@savoirfairelinux.com> References: <20171101175335.22123-1-damien.riegel@savoirfairelinux.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Damien Riegel --- arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 72 ++++++++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/msm8916.dtsi | 45 +++++++++++++++++++ 2 files changed, 117 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi index c67ad8ed8b60..1cec5b30ed6e 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi @@ -270,6 +270,30 @@ }; }; + i2c1_default: i2c1_default { + pinmux { + function = "blsp_i2c1"; + pins = "gpio2", "gpio3"; + }; + pinconf { + pins = "gpio2", "gpio3"; + drive-strength = <16>; + bias-disable; + }; + }; + + i2c1_sleep: i2c1_sleep { + pinmux { + function = "gpio"; + pins = "gpio2", "gpio3"; + }; + pinconf { + pins = "gpio2", "gpio3"; + drive-strength = <2>; + bias-disable; + }; + }; + i2c2_default: i2c2_default { pinmux { function = "blsp_i2c2"; @@ -294,6 +318,30 @@ }; }; + i2c3_default: i2c3_default { + pinmux { + function = "blsp_i2c3"; + pins = "gpio10", "gpio11"; + }; + pinconf { + pins = "gpio10", "gpio11"; + drive-strength = <16>; + bias-disable; + }; + }; + + i2c3_sleep: i2c3_sleep { + pinmux { + function = "gpio"; + pins = "gpio10", "gpio11"; + }; + pinconf { + pins = "gpio10", "gpio11"; + drive-strength = <2>; + bias-disable; + }; + }; + i2c4_default: i2c4_default { pinmux { function = "blsp_i2c4"; @@ -318,6 +366,30 @@ }; }; + i2c5_default: i2c5_default { + pinmux { + function = "blsp_i2c5"; + pins = "gpio18", "gpio19"; + }; + pinconf { + pins = "gpio18", "gpio19"; + drive-strength = <16>; + bias-disable; + }; + }; + + i2c5_sleep: i2c5_sleep { + pinmux { + function = "gpio"; + pins = "gpio18", "gpio19"; + }; + pinconf { + pins = "gpio18", "gpio19"; + drive-strength = <2>; + bias-disable; + }; + }; + i2c6_default: i2c6_default { pinmux { function = "blsp_i2c6"; diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index de25bd6070f5..bdc4cb6f66d4 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -455,6 +455,21 @@ status = "disabled"; }; + blsp_i2c1: i2c@78b5000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0x078b5000 0x600>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>; + clock-names = "iface", "core"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c1_default>; + pinctrl-1 = <&i2c1_sleep>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + blsp_i2c2: i2c@78b6000 { compatible = "qcom,i2c-qup-v2.2.1"; reg = <0x078b6000 0x600>; @@ -470,6 +485,21 @@ status = "disabled"; }; + blsp_i2c3: i2c@78b7000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0x078b7000 0x600>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>; + clock-names = "iface", "core"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c3_default>; + pinctrl-1 = <&i2c3_sleep>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + blsp_i2c4: i2c@78b8000 { compatible = "qcom,i2c-qup-v2.2.1"; reg = <0x078b8000 0x600>; @@ -485,6 +515,21 @@ status = "disabled"; }; + blsp_i2c5: i2c@78b9000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0x078b9000 0x600>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>; + clock-names = "iface", "core"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c5_default>; + pinctrl-1 = <&i2c5_sleep>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + blsp_i2c6: i2c@78ba000 { compatible = "qcom,i2c-qup-v2.2.1"; reg = <0x078ba000 0x600>; -- 2.15.0 From 1584733024815665211@xxx Wed Nov 22 02:53:04 +0000 2017 X-GM-THRID: 1584733024815665211 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread