From patchwork Tue Jul 18 21:24:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marijn Suijten X-Patchwork-Id: 122260 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2024693vqt; Tue, 18 Jul 2023 14:39:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlGAKXaasT5bk326ArqY6qbnB77lw9LuX06y3rQ0ZhAsim1qTb7cHHrnVvT6E913oWsE1eCu X-Received: by 2002:a05:6a20:12ce:b0:133:bd2e:3046 with SMTP id v14-20020a056a2012ce00b00133bd2e3046mr427935pzg.2.1689716393527; Tue, 18 Jul 2023 14:39:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689716393; cv=none; d=google.com; s=arc-20160816; b=i+cHC9EnoKRB6pWH2BdAoYrWpPBVCwEIXecO58FtWSYJRkc9V+MnI0JKDRdwhX5G/Z o3bXK/cuZvjGfpPXbOgbnOu0le/KKQc6UuJwZMyoi45P/khyKsqtvaS32EJuiX3bO/s8 DmLAIUz7u3t5iLpacyHLmppa1Pfu/wY0BYyMG/PHB/SvPNg5Ct09mYj0LTfIeyheyJZd oUWNWFl7f+BRMLRKTzz/NMe2f/eHl+0ZTOFN4b5GedbB9TSm7CxGuzpppMKc7PH72ZpW clqCLs+T7/C6uSxzUUC/iV7LY/xNBKcMVz6akbFm3EyI5KAlhUmR1FW3w/Wg7wMBOgGi 0wyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=IDDjglOr9zz9EsBeIrOzUTJOyYb2R2V9jmRiE37mo3M=; fh=iqz7oRQIyFPzKfYtMH2XRwjdfOOz2hPKEmrmNt7b2jU=; b=b2aJuAk+SJk5gceXwK+GgliI2liDyAWpx09Rl1EryRXJAb+H3sGU43oGJdKRfGBDxZ Rm1LEmH5nJbOrahqg/4fVDaZX5vs0ANHl60RNJVf9ABWaZYp4eglyXmlu0b3go/7B5mY Rffnz+MtcxHn4Cpcp4zjyIai0aYHcN52lF3w5QRvPftZ61mISIc4dhLRDQi8qrYfuXEp GQIYZq99kKakjvwAt6EFGfzOeZdDHClnz+XaCpNWEQrdhZAJmm7m3iQgavVahbrGyrx2 /UGfi3JB1QZfHpsR9Ti4yPGmI25Ata+51a2QORFN8WjLodNjz53K1UrSQ6uI1sELnCsW b5bQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x20-20020a656ab4000000b005633b3dcefesi1506599pgu.578.2023.07.18.14.39.40; Tue, 18 Jul 2023 14:39:53 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231358AbjGRVYt (ORCPT + 99 others); Tue, 18 Jul 2023 17:24:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231338AbjGRVYo (ORCPT ); Tue, 18 Jul 2023 17:24:44 -0400 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [IPv6:2001:4b7a:2000:18::166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 720F59D; Tue, 18 Jul 2023 14:24:43 -0700 (PDT) Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id CF8733F67C; Tue, 18 Jul 2023 23:24:40 +0200 (CEST) From: Marijn Suijten Date: Tue, 18 Jul 2023 23:24:38 +0200 Subject: [PATCH v3 02/15] arm64: dts: qcom: sm6125: Sort spmi_bus node numerically by reg MIME-Version: 1.0 Message-Id: <20230718-sm6125-dpu-v3-2-6c5a56e99820@somainline.org> References: <20230718-sm6125-dpu-v3-0-6c5a56e99820@somainline.org> In-Reply-To: <20230718-sm6125-dpu-v3-0-6c5a56e99820@somainline.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Krishna Manikandan , Marijn Suijten , Loic Poulain , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Lux Aliaga X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: INBOX X-GMAIL-THRID: 1771796057506640170 X-GMAIL-MSGID: 1771796057506640170 This node has always resided in the wrong spot, making it somewhat harder to contribute new node entries while maintaining proper sorting around it. Move the node up to sit after hsusb_phy1 where it maintains proper numerical sorting on the (first of its many) reg address property. Fixes: cff4bbaf2a2d ("arm64: dts: qcom: Add support for SM6125") Reviewed-by: Konrad Dybcio Signed-off-by: Marijn Suijten --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi index 6937c7ebdb81..cfd0901d4555 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -684,6 +684,24 @@ hsusb_phy1: phy@1613000 { status = "disabled"; }; + spmi_bus: spmi@1c40000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x01c40000 0x1100>, + <0x01e00000 0x2000000>, + <0x03e00000 0x100000>, + <0x03f00000 0xa0000>, + <0x01c0a000 0x26000>; + reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; + interrupt-names = "periph_irq"; + interrupts = ; + qcom,ee = <0>; + qcom,channel = <0>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + }; + rpm_msg_ram: sram@45f0000 { compatible = "qcom,rpm-msg-ram"; reg = <0x045f0000 0x7000>; @@ -1189,27 +1207,9 @@ sram@4690000 { reg = <0x04690000 0x10000>; }; - spmi_bus: spmi@1c40000 { - compatible = "qcom,spmi-pmic-arb"; - reg = <0x01c40000 0x1100>, - <0x01e00000 0x2000000>, - <0x03e00000 0x100000>, - <0x03f00000 0xa0000>, - <0x01c0a000 0x26000>; - reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; - interrupt-names = "periph_irq"; - interrupts = ; - qcom,ee = <0>; - qcom,channel = <0>; - #address-cells = <2>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <4>; - }; - apps_smmu: iommu@c600000 { compatible = "qcom,sm6125-smmu-500", "qcom,smmu-500", "arm,mmu-500"; - reg = <0xc600000 0x80000>; + reg = <0x0c600000 0x80000>; interrupts = , , ,