Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13245109rwd; Fri, 23 Jun 2023 19:05:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZFlc3JK1qzQv8x1yIrMmiSw6eD8nINt7jZ72L53DA+AcoONHrOZU2mR4pdPfpFDz6z8Qi X-Received: by 2002:a05:6870:e283:b0:1ad:25a7:61e7 with SMTP id v3-20020a056870e28300b001ad25a761e7mr8204689oad.40.1687572343945; Fri, 23 Jun 2023 19:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687572343; cv=none; d=google.com; s=arc-20160816; b=h4CMEEEW339UfMbvqy8ERg5PVcaND+iz7n8RkiCela5kHtudOz1uXoLMUJbDcv93fU JOeNhWez7rIN4f55zA2bKAlR0gcggDzkrub27wi86VZt0kYFSnjNURocYxnvMtUkcQCb ybGFp69YFReyl415hvO2ZhXdUXsygALvHCSFTo/emDxfL/Z5yKTQUsRbXqvfjp2LTokE dimL2XsITBCCqlduVadBnO/L+Qcn1mjB8UwXGiE5eETAlhBBEgTlEIfkL3IgtEjxrcmP iGHdTRPS6Pf9l52acoDIt0ejVcM7k+vJc3c4jDeBbRyuEj72SgVajwou1Xak4vLsIL+s ftFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=FJu328CuD0FpfwTO8re7cLemAMEGjdbgxO2wkNCuWs4=; fh=7lEJM9wAYJhS8Xo2kqIOQ2f/vsbXslFyUfEivgEauLM=; b=X4Y8Yn/aAiWUUKSxfefAN1Sbv2Q674thwdw3glWMQIl6ecpQj45X8QUxgdF6ioE+Vb EO9TsxKNsTFR3Tec9hkUgWVodS814wjjxIebLJQAcoqVThztW/DvvL6tenTKtLP8nfl3 5ADLJyE4fE+XoKjcSrotWeb4DV0o1ldQOf1WORkxigPB5x7NpCdH4RTP4s2YA/21ngNu HpGSolDFPeYuJztlJla8iSaZ4qeT8SeB10AC2E0/OqGHWk6MDQ4yw6+O+CKTcGA9frwX FvnkvbnTW4yOpF6g77VS7fOLzMTELYL359SsFTfZBgGgPutJmjuOfmfkmFomL9Yp+JTU Z89g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Huvl/IsX"; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a170902c40300b001b7dcf3dd97si398518plk.302.2023.06.23.19.05.31; Fri, 23 Jun 2023 19:05:43 -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=@linaro.org header.s=google header.b="Huvl/IsX"; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231966AbjFXBn3 (ORCPT + 99 others); Fri, 23 Jun 2023 21:43:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231849AbjFXBn1 (ORCPT ); Fri, 23 Jun 2023 21:43:27 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E23D273F for ; Fri, 23 Jun 2023 18:43:26 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f8735ac3e3so1748046e87.2 for ; Fri, 23 Jun 2023 18:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687571004; x=1690163004; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FJu328CuD0FpfwTO8re7cLemAMEGjdbgxO2wkNCuWs4=; b=Huvl/IsXBiNB6PHLiIGpsqlH//TabGsHUSokzqBsuO084KzFFFGnVpjHZ8I8BApZtC 4nh5NY4dsFx2IhnOMvm5a6UvhPhznMX7vYaCung0sKFyh5sZJa3/YIsSsW3HTMbdFaGz xddKwRGKx8Oc57sGO9eNdU2I+f6sUfwgyfbFOo9tqWZWYvnXaPn29Z93WBxOM3ecgJpm 8oPpvVMYAM7Ai12qSJzvEgopRO32Vwc/ZLVs/JGem5iQ2LsQ3bc5eJ95ejyMnei5LThW crFnDFVwBuvADU5AI2PFD8L7zIErCvJl6h4PPaWd9sIPH+ly9qnGa2iD71Sass4C8MTL NMdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687571004; x=1690163004; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FJu328CuD0FpfwTO8re7cLemAMEGjdbgxO2wkNCuWs4=; b=A7vOLJT80swYsspsPaDiP+VAsnhi2kHXt5vNwdj/Wz/VTiU9UXKrIHDuf+jhoO2pTf ZCO+tTL01M8Ue31+py9MsYuiYNvCpO5jntw4HrUvdtGPUs9UPzMhwZmctX6Vz2zDIUnl /5g5fx+oIZmsHIGwekk/+57CsVgQ3mCtTzqVVv2a481QG5GggnbeFjmBEFh1rngVIaoU hXKfHocyFmBcnnBXGFjWH7x6Py3iEYrDPmwBdEWEUoeURAoZPzdGevaLfUuR9kBB6PIX ZZy60oHWlNnHYp8wMeqiI2wC4mmtYOieJfjXKfcjf81lv3QauPS5lktU1I68d9SBPRlz ARnA== X-Gm-Message-State: AC+VfDyKYxwcTcT1LvwjaNqB0y8SFzuuIz8WHlyi1WyuEc78eoIHbao+ 16ILzvKqmX9iT22hBdCT7JcMpg== X-Received: by 2002:a19:6755:0:b0:4f8:57b8:8efe with SMTP id e21-20020a196755000000b004f857b88efemr14798210lfj.55.1687571004247; Fri, 23 Jun 2023 18:43:24 -0700 (PDT) Received: from [192.168.1.101] (abyk30.neoplus.adsl.tpnet.pl. [83.9.30.30]) by smtp.gmail.com with ESMTPSA id g4-20020ac25384000000b004f26f437ad8sm99250lfh.53.2023.06.23.18.43.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jun 2023 18:43:23 -0700 (PDT) Message-ID: Date: Sat, 24 Jun 2023 03:43:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 01/15] arm64: dts: qcom: sm6125: Sort spmi_bus node numerically by reg Content-Language: en-US To: Marijn Suijten , 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 Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , 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 References: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> <20230624-sm6125-dpu-v1-1-1d5a638cebf2@somainline.org> From: Konrad Dybcio In-Reply-To: <20230624-sm6125-dpu-v1-1-1d5a638cebf2@somainline.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,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 On 24.06.2023 02:40, Marijn Suijten wrote: > 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 numerial numerical sorting on the (first of its many) reg address property. > > Fixes: cff4bbaf2a2d ("arm64: dts: qcom: Add support for SM6125") > Signed-off-by: Marijn Suijten > --- Reviewed-by: Konrad Dybcio Konrad > 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 a596baa6ce3e..722dde560bec 100644 > --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi > @@ -679,6 +679,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>; > @@ -1184,27 +1202,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 = , > , > , >