From patchwork Sun Oct 23 20:45:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harry Austen X-Patchwork-Id: 8096 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp127670wru; Sun, 23 Oct 2022 13:46:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6SdtfNMtKavhFlL4oiDD9z1LGX6DGwEz/wp+jhJoeiUJvGR2g9gzCFCteYrIARut/OasIz X-Received: by 2002:a17:90b:1a88:b0:20d:8df0:ac64 with SMTP id ng8-20020a17090b1a8800b0020d8df0ac64mr34049602pjb.140.1666558004362; Sun, 23 Oct 2022 13:46:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666558004; cv=none; d=google.com; s=arc-20160816; b=FkmbVMgJzvIyztluHiB5AoR3GgTlER82iKHWxb+a1nOAHSTz5BUxFE9rTeSYHcvPs6 FanGD03oN2hnaAgt07TW8MNEFIHDw8Dlesqxe2N/DFYlltRwnBFfGJBAHSKu7l1I0IsK Pfd0WoRSL15QQqq7YDx0YxaHupmShI6HOZfTFvVjYP11MZ8vzLzw7u8EuV+eM7c5UNX7 DyrV8667UtY3rG6H/QBlhh8IpfybNCiMYtA/IRU63mV1kEEYm2EryKFpDMaxhqgwIMNg DPE9q2NBv7QCF2jNUKLjIA/BiKDopKayEQqzl0Od9CEOrluEZQT+ufZNliDSHqqBwSGt 4m2g== 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=+unuwbPaZn709EE+pvSpP9RlZCNHZGqPO1rQdfCVJY0=; b=eMEnaZDYrSCMLCFxJ0b8xOgI/DbLMQrcZXZLkQj0kWGfxal7iUfOG/4Q7noVATZFiQ 9o5sN7O7VZBCvBjBdmanu26X6LSIVK7JnHHk/Ku9MFcgJGV6Zz+SsQpI0G5Jp+GC2OvP 4HXJbtb3OtAzkGJ3e5XZDE+HaX5ZrWMqERtNndlXxpwMemn8kFATmBeFl891zo4NLPr1 qxfyqbWp1cCN0ND6DRNIEkK1BJ6DNHLojulU1rJL5s8MM2tcS+Ybd9X5J1dtntdllaPg gzOnPmBz0v7+w+qNWumxxLxgAzMXgipBmZzJ7fLt3s4GtgFtJ2SvUQPY5GMDYyKxuac2 s1mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=TMLBnX+p; 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 j197-20020a636ece000000b004625c2dbc5csi32773742pgc.718.2022.10.23.13.46.32; Sun, 23 Oct 2022 13:46:44 -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=TMLBnX+p; 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 S229975AbiJWUqI (ORCPT + 99 others); Sun, 23 Oct 2022 16:46:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229928AbiJWUqF (ORCPT ); Sun, 23 Oct 2022 16:46:05 -0400 Received: from mail-0301.mail-europe.com (mail-0301.mail-europe.com [188.165.51.139]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F18906B8EA for ; Sun, 23 Oct 2022 13:46:02 -0700 (PDT) Date: Sun, 23 Oct 2022 20:45:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1666557940; x=1666817140; bh=+unuwbPaZn709EE+pvSpP9RlZCNHZGqPO1rQdfCVJY0=; 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=TMLBnX+pRG0d6o+L/TgNXQchGLi+wgDl2iXEC2Z0qu2rNtOwoDdLPLoQCgNRZ0CPX XMb87fp9W3LyRgrN4agcJzsXhzx/OyMXm5eF8j66lis3KNi9477pCqdcD8Y0fU+vKp YMP5nhoyYnF0E7rwKa0CHoOapGMDZdKyQcSqzUns2tuG1u7fPn5JzcI/vhKC1fDfrj OhuB8WF4Pn+N0nVlPzjijuBd5rOBRUf75mVgWh/ssXrJAB6L7glDRuJR1LX7DYP2u3 mcQMOodMSAYqjcKKdCuoP/E0mNy18rWPYumVyTyoT1CtnH3Ko3KpsAq8EiqqJ3JBBF ffiQPVO50o5Vg== 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 v2 1/4] arm64: dts: qcom: msm8996: standardize blsp indexing Message-ID: <20221023204505.115141-2-hpausten@protonmail.com> In-Reply-To: <20221023204505.115141-1-hpausten@protonmail.com> References: <20221023204505.115141-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,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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?1747512726181106864?= X-GMAIL-MSGID: =?utf-8?q?1747512726181106864?= Use one-based indexing throughout the file for BLSP devices to avoid confusion. Most of the node names and labels are consistent already. This patch just fixes a few pinconf node names to match the one-based indexing used in the label names. Signed-off-by: Harry Austen --- v1 -> v2: no changes arch/arm64/boot/dts/qcom/msm8996.dtsi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.38.1 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 5ff8de3e3de7..39afd8a99488 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1304,14 +1304,14 @@ blsp1_spi1_sleep: blsp1-spi1-sleep { bias-pull-down; }; - blsp2_uart2_2pins_default: blsp2-uart1-2pins { + blsp2_uart2_2pins_default: blsp2-uart2-2pins { pins = "gpio4", "gpio5"; function = "blsp_uart8"; drive-strength = <16>; bias-disable; }; - blsp2_uart2_2pins_sleep: blsp2-uart1-2pins-sleep { + blsp2_uart2_2pins_sleep: blsp2-uart2-2pins-sleep { pins = "gpio4", "gpio5"; function = "gpio"; drive-strength = <2>; @@ -1478,28 +1478,28 @@ blsp1_uart2_sleep: blsp1-uart2-sleep { bias-disable; }; - blsp1_i2c3_default: blsp1-i2c2-default { + blsp1_i2c3_default: blsp1-i2c3-default { pins = "gpio47", "gpio48"; function = "blsp_i2c3"; drive-strength = <16>; bias-disable; }; - blsp1_i2c3_sleep: blsp1-i2c2-sleep { + blsp1_i2c3_sleep: blsp1-i2c3-sleep { pins = "gpio47", "gpio48"; function = "gpio"; drive-strength = <2>; bias-disable; }; - blsp2_uart3_4pins_default: blsp2-uart2-4pins { + blsp2_uart3_4pins_default: blsp2-uart3-4pins { pins = "gpio49", "gpio50", "gpio51", "gpio52"; function = "blsp_uart9"; drive-strength = <16>; bias-disable; }; - blsp2_uart3_4pins_sleep: blsp2-uart2-4pins-sleep { + blsp2_uart3_4pins_sleep: blsp2-uart3-4pins-sleep { pins = "gpio49", "gpio50", "gpio51", "gpio52"; function = "blsp_uart9"; drive-strength = <2>; @@ -1535,7 +1535,7 @@ blsp2_i2c1_default: blsp2-i2c1 { bias-disable; }; - blsp2_i2c1_sleep: blsp2-i2c0-sleep { + blsp2_i2c1_sleep: blsp2-i2c1-sleep { pins = "gpio55", "gpio56"; function = "gpio"; drive-strength = <2>; @@ -1567,7 +1567,7 @@ cdc_reset_sleep: cdc-reset-sleep { output-low; }; - blsp2_spi6_default: blsp2-spi5-default { + blsp2_spi6_default: blsp2-spi6-default { spi { pins = "gpio85", "gpio86", "gpio88"; function = "blsp_spi12"; @@ -1584,7 +1584,7 @@ cs { }; }; - blsp2_spi6_sleep: blsp2-spi5-sleep { + blsp2_spi6_sleep: blsp2-spi6-sleep { pins = "gpio85", "gpio86", "gpio87", "gpio88"; function = "gpio"; drive-strength = <2>;