From patchwork Fri Oct 21 14:23:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harry Austen X-Patchwork-Id: 6736 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp731717wrr; Fri, 21 Oct 2022 07:33:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5wmA2yBCFuzKiQlu1O742vOIqnlU3V27KHZZljn4iw/e/iPkL+YEKopdHifNqAkYtCWsKJ X-Received: by 2002:a17:902:aa44:b0:186:7a6b:7bbd with SMTP id c4-20020a170902aa4400b001867a6b7bbdmr3070245plr.78.1666362805973; Fri, 21 Oct 2022 07:33:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666362805; cv=none; d=google.com; s=arc-20160816; b=YcH0f0Tsqj1N0ZH9HLrhfLKlr5HqFX4irG31lgm2hagco/Cta+jXB3p3R7b4r6f+h7 X6FDfBnF4Cm+wAMahBPHznaryHuMDvxd9IT72EO+qMY0H3c4IKqxBxkBqSFEg1oLyq8P oSVH1Lsd+biJXKhOHBtsJqcYli4csfq2ZbkXYRDp12jqUEuZafk9R6DPw/cz4EilA3eU 9u3fPHB03S6Zw4i4Jv6e0GM4/0t/NmN0JmTKQG3ciqcUiex3S0/DkZIdGPDQlZZH6/tW LwYQuWxVcOxk/MWMcGT5XcchQDNbXEamrJ7H8eIdy1K9m7Qm1jpftFMfsqufVtT0tSmx H31Q== 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=w3ORdHOkV3oocAIROhsgC6oRBB6gAzTpZK2G+Z6pDgo=; b=h0u0+Dw6dPbnXmw4dZ9RE3js4s1Zd7YTWo6tH3NdWwZXdBPu/XNMQ4P6pnHh/8D0Vg idEu1MirIlgFw6IcTZhqxJNGIW65IkqAE3a3CsAb1MB1ZowcASznvlD3H90AL9OPpX22 Zz8QXwr7+lEiLXa9lAP9leTFv2mqJfnEPHw7yRHfRpGP/v8ZuqtF4UuSWS9RclrK3HaA mOi3AOGb4fyN7LEqvki1TXU+ahpgJa+gV0obFPku0b3gxo1LMAThVeT6XTmawUMSriyn p17IjJv+3S32Au9F87/b7biWrKPQ7Axz9bFzEEXrI/I3orQ3rDuGnTDXQMcH6afG4cOR CX8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=CqVZpWkE; 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 z20-20020a17090ab11400b00212ce534ef7si2193524pjq.22.2022.10.21.07.33.12; Fri, 21 Oct 2022 07:33:25 -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=CqVZpWkE; 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 S229982AbiJUOYH (ORCPT + 99 others); Fri, 21 Oct 2022 10:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231433AbiJUOX6 (ORCPT ); Fri, 21 Oct 2022 10:23:58 -0400 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 838DF27D4CE for ; Fri, 21 Oct 2022 07:23:56 -0700 (PDT) Date: Fri, 21 Oct 2022 14:23:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1666362233; x=1666621433; bh=w3ORdHOkV3oocAIROhsgC6oRBB6gAzTpZK2G+Z6pDgo=; 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=CqVZpWkE0N2qtxcjJvRvUyshBZrCJuOTye4HMne9xeVi+x3PbmuBLUkRgiv5PzSEB elAlAIempkanUA3DaE5eya0I8YhNsHYd5r8H7dhBnFEcNpiHEoDOg+61m4Vop9HXws POFK2VnxQy8yFxpoBHfsp0sQN9RCkDj9NfrPkCzbezvNkqsHGo6/IktwnoCamoOSSu N+PZ7TfdA9h6QFNdyy5WPohLwnQmLzCBSFa/ofppVDHViklIl0XNAGziQKfL3s9BN+ Xpjxk1TYabGJBJRu03FJZlPF6kqL5ec9dWAYwgFuRHwi37yn/7Bhfc/Wm+48BO1SZn 1unLqTiPA4YKw== 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 1/4] arm64: dts: qcom: msm8996: standardize blsp indexing Message-ID: <20221021142242.129276-2-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,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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?1747308045686225455?= X-GMAIL-MSGID: =?utf-8?q?1747308045686225455?= 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 --- 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 c0a2baffa49d..80590267dfd0 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1286,14 +1286,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>; @@ -1460,28 +1460,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>; @@ -1517,7 +1517,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>; @@ -1549,7 +1549,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"; @@ -1566,7 +1566,7 @@ cs { }; }; - blsp2_spi6_sleep: blsp2-spi5-sleep { + blsp2_spi6_sleep: blsp2-spi6-sleep { pins = "gpio85", "gpio86", "gpio87", "gpio88"; function = "gpio"; drive-strength = <2>;