From patchwork Fri Oct 21 14:24:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harry Austen X-Patchwork-Id: 6737 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp731922wrr; Fri, 21 Oct 2022 07:33:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5WPjQZSL5lQN0ZKKAF51NjVFyQCgV7g22LKA68TqBGe0bev6mvhMcGib7BUeGmVBXgHsV0 X-Received: by 2002:a17:902:e747:b0:186:7608:1857 with SMTP id p7-20020a170902e74700b0018676081857mr4710431plf.88.1666362830305; Fri, 21 Oct 2022 07:33:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666362830; cv=none; d=google.com; s=arc-20160816; b=s/jRqaLj/Z47x7/aC71rXUdQ4QvAAtmb1eZhsyVJN8gfrUsVUXhjpMkoGrPPWRqd7W jV1dp2Zc8054wWkb2UqYMqpuIUjXNS9Y+WLrRuXreMjYupSvi69LrqTiWtb2JL8d4DoC D6jKcEJCTDngnaR+yEHOm1eIvlO6A1hlQ4dfiw3eOLQXjouf6NxLRXCJph4r4IN4UPxm 55xDIaUzSVP8QlZezyXqWvqMo/DcQ194lvGjffJ9liQGDB7/7/UxgtIhqmS8YFx+fo0+ 9w8UTl/AfWiM6VVeTMp4FVHfr1NjqrGMVgdloQn+p7T84RjU+WKDH5FM2nPCmYW1RMYY VayQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=UVyLFVsynHqqWzbr6cfqRUY/X6kUWsnU+s2ZPHcJzIE=; b=M3+sj4ZbCzoKqa3BD7WcePoMn3e4p+zRG7pAYd6sdeUuUja0EjmoFkvkZ5dwwE03WK 2+7ofESHT45pgJ93RYhyO6cFEpqkCyzSTAhm4GxvsXouGd60pmVlNc+5g40bkd/SEnpW 9VJOM6BtLJIQg4+7zB1xws0S/brXbegA0bZlRtHMt85sWzPRHltwqg9+7ctNoGtHbGo/ LApA3StpoXKDi7I98YTDVGc119WX/46QY+6OKi0jS2IWQXuKC4yWuqb0uR6QkeXXttdS HuQXDbUB/NPFHyZ81DFdS8aFNIwQRm4LCb97EHYbQ5AXuFnncfowjdicKxdpyopEPR8O Xzuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b="T/0gMzIc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a170902d50400b0017f83500442si26769316plg.491.2022.10.21.07.33.37; Fri, 21 Oct 2022 07:33:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b="T/0gMzIc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231424AbiJUOYR (ORCPT + 99 others); Fri, 21 Oct 2022 10:24:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbiJUOYM (ORCPT ); Fri, 21 Oct 2022 10:24:12 -0400 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF35227CFFE; Fri, 21 Oct 2022 07:24:11 -0700 (PDT) Date: Fri, 21 Oct 2022 14:24:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1666362249; x=1666621449; bh=UVyLFVsynHqqWzbr6cfqRUY/X6kUWsnU+s2ZPHcJzIE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=T/0gMzIcfI56udfn5jlFns/TrFm7tvzgzVQly7irEW3w3R/ySErxIucChDYCAy2Fz SEn+anUdF9QZeURWC1Q7vp10mcfoMXoT1LbZFImJ0jn78NjCUpdwsZTbYP3E0CicEW i/ybJ/PHpvlTFddtvkq9tZePEGrTU3enwK+8Yr7129+kk5N1J/6UaT7d7QcWjP69wq BaZh3UwM4XeTF8KFBrhNki5e/EQBtRTyjCRzR92TuggWnnSBhMw+8q29bmEHRkwed5 XskzpAlubWV4JMXbhceUH5TX00B7I2UodBfKX5+Zt9oBdEXwaekO2TVrgtX4X1uT1+ wUWB4BecPaRpA== To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski From: Harry Austen Cc: Harry Austen , Yassine Oudjana , Andy Gross , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org Subject: [PATCH 2/4] arm64: boot: dts: msm8996: add blsp1_i2c6 node Message-ID: <20221021142242.129276-3-hpausten@protonmail.com> In-Reply-To: <20221021142242.129276-1-hpausten@protonmail.com> References: <20221021142242.129276-1-hpausten@protonmail.com> Feedback-ID: 53116287:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747308070914095033?= X-GMAIL-MSGID: =?utf-8?q?1747308070914095033?= Add support for the sixth I2C interface on the MSM8996 SoC. Signed-off-by: Harry Austen --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) -- 2.38.1 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 80590267dfd0..70c0eae17360 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1400,6 +1400,20 @@ pwdn { }; }; + blsp1_i2c6_default: blsp1_i2c6 { + pins = "gpio27", "gpio28"; + function = "blsp_i2c6"; + drive-strength = <16>; + bias-disable; + }; + + blsp1_i2c6_sleep: blsp1_i2c6_sleep { + pins = "gpio27", "gpio28"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + pcie0_state_on: pcie0-state-on { perst { pins = "gpio35"; @@ -3127,6 +3141,23 @@ blsp1_i2c3: i2c@7577000 { status = "disabled"; }; + blsp1_i2c6: i2c@757a000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0x757a000 0x1000>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&blsp1_i2c6_default>; + pinctrl-1 = <&blsp1_i2c6_sleep>; + dmas = <&blsp1_dma 22>, <&blsp1_dma 23>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + blsp2_dma: dma-controller@7584000 { compatible = "qcom,bam-v1.7.0"; reg = <0x07584000 0x2b000>;