From patchwork Thu Apr 20 18:07:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 675704 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3473C77B7A for ; Thu, 20 Apr 2023 18:07:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbjDTSHy (ORCPT ); Thu, 20 Apr 2023 14:07:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjDTSHx (ORCPT ); Thu, 20 Apr 2023 14:07:53 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CA3430F7 for ; Thu, 20 Apr 2023 11:07:51 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id a5so8316952ejb.6 for ; Thu, 20 Apr 2023 11:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682014070; x=1684606070; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=sDUWXjSZqgL3MQ7XtAIDqVuKn7I9hLWeYQmaYgVku3E=; b=SdytsvcTOt6/0UypFzm5SY9QdAOGJkhoGz5IAwcvkmeM2rrZ7AB59g596ruaCL740S PdQj6iixMZdkEYJL4+QeWcw3ug+l/t4d+CKM/kzKLaV1wPDTKAmlPHd1a+AGHYbufisl zSjSgmUq2zsmYBfcGgvE2gIH+EAqwsO/aDO1Xb6DexRBa7/OWq076O9U5TgtarlN3WXL SAFiyQHZu71o4QWrfCB7Ir77teVTH/xXKw+QzUf+orLoYp8J3EyDnw6BvrRmGdRcsBZJ AGtTcLLcZ0EwCM/XgGHefH8cBUGwvr0VYtRJonlgor4rEsbRoY88Ri4OkdipTHsGmRr8 pX9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682014070; x=1684606070; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sDUWXjSZqgL3MQ7XtAIDqVuKn7I9hLWeYQmaYgVku3E=; b=KJLzV+wqtCXEkpeeFEy0Xj8eVQfHnpRykIFpPQQQY9YELVvoM+HQkqs2rJy6eauvdB cE5H66Kc5w4fmmbeqTAkWxu9ubNfqphb/cNq8ibKFIOvswij2XupZOcLUsT9ebadMlF2 3834qs62zTSXKoLDjSxjPr2xO4Y4z0jQQjgvXgXnaR+uYtn3V89FQc0JNONSKQCxFrgd nU+spealECV8lpIYGblJKtpoST6Jm5Wlrf888lGC6GozKZawz24ybTDpZOKtqFHcUVAd hjgXS26cgivJbdo7HIf4kmzCuWxy/QF6U67Xfzwe15tfRaN+Q0P8r0kb/bAwa75ycCt7 wWqg== X-Gm-Message-State: AAQBX9fJps5jvROGvF6jpKR5WWKvT5Xd3Iikw890ldbngUizx+GwIEXs XxUJe/KHq0H3Yh6li3pey9gqJw== X-Google-Smtp-Source: AKy350YFVSgj9uphIaXTteEWBitCwvhg4YUyTeQccxjGVK3lrMOa/OJd2CItLioeL3GGwDt2pQRb6Q== X-Received: by 2002:a17:906:5589:b0:953:64f6:a5d5 with SMTP id y9-20020a170906558900b0095364f6a5d5mr2280553ejp.60.1682014069768; Thu, 20 Apr 2023 11:07:49 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:bcb8:77e6:8f45:4771]) by smtp.gmail.com with ESMTPSA id v8-20020a17090610c800b0093313f4fc3csm984778ejv.70.2023.04.20.11.07.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 11:07:49 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RFT PATCH 1/3] arm64: dts: qcom: msm8996: correct /soc/bus ranges Date: Thu, 20 Apr 2023 20:07:44 +0200 Message-Id: <20230420180746.860934-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The bus@0 node should have reg or ranges to fix dtbs W=1 warnings: Warning (unit_address_vs_reg): /soc@0/bus@0: node has a unit name, but no reg or ranges property Warning (simple_bus_reg): /soc@0/bus@0: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski Tested-by: Konrad Dybcio # MSM8996 Kagura Reviewed-by: Konrad Dybcio --- Please kindly test on hardware. --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index e160d5e6863f..a88d0a9bb7e5 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1832,7 +1832,7 @@ bus@0 { compatible = "simple-pm-bus"; #address-cells = <1>; #size-cells = <1>; - ranges; + ranges = <0x0 0x0 0xffffffff>; pcie0: pcie@600000 { compatible = "qcom,pcie-msm8996"; From patchwork Thu Apr 20 18:07:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 675703 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2224C77B7E for ; Thu, 20 Apr 2023 18:07:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230471AbjDTSH5 (ORCPT ); Thu, 20 Apr 2023 14:07:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231187AbjDTSHy (ORCPT ); Thu, 20 Apr 2023 14:07:54 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD56A30F7 for ; Thu, 20 Apr 2023 11:07:53 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id fy21so8252365ejb.9 for ; Thu, 20 Apr 2023 11:07:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682014072; x=1684606072; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Zkvq8PLrKRAViicQL2lp06qamZMGFRuRLh5USoc58vw=; b=JaTTF2w2Psv6RPFeqUB56LHAC2C7PSqi/9UvCGBsarZT60O63zt4XJy3cv8zLIqXs8 W1kATanqEfuq0YD0dEgT1Py2DoE6MMAIAdUmkI8xH30qeaIQlLJmuafKfacUKWGHJ6WN ilje8homFQdJjJspGnVFSIfwI6X7s9Bq6XAnlE0W25mpyE32Q0YOrLl8p8w2ulGO+E3m Azlv51Vlr3qnZizlqm5NIb2gORq5Oxeihw2UaY6/Ww0J60lkqVHjwAx47kI20pUppNri RD12G8F2v3SyF1IB+fSe9D5pCEsOBJxSRLm1QSQEok6fWj++4fAQyPognMXc5pOe+jXZ 0/3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682014072; x=1684606072; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zkvq8PLrKRAViicQL2lp06qamZMGFRuRLh5USoc58vw=; b=U6pp5sX1oUp7CnR0fo998sY4Hzf/Dj5gMDi7eoybLgivvetFslLwJaf6v4T1HOfU9W uALH2r8jyRJ9lHpxXnZIWu13kawuDdrxcflo5H66r92Ptz+s1pRpTsy/AftgEmKt2J5l A35LYpAVN8O38JDw4ybZsUQXkRKsJyh0jlsZ60n3EhcKKG6+GxCph13cPqm4nFEEk8UY 5ZjatDA8AAcjvW2eXrHAoTLGEJeZqUyHqoxyBco4/9OoGRFSYyz54lRFpC/vQKMrIUc2 cqYAsR0wCHS+ALdyDoIllJY8WCv6mk2n1tGG6AZyRYsA334xFGfIN32yU5L05Q+drJUp 1iqw== X-Gm-Message-State: AAQBX9fCewZ9MrK6Yb9LpnDW0Do8Y5v+4DrzacuEC90T6G1ftS2ikAgr 9q7QJvdYjPBqQPcn53WIECAhwg== X-Google-Smtp-Source: AKy350Y3G94dHrpQ7lRUrqLh6jPIr5AKQCaReTuIIg889Xx8yRrthyxCehrwzYFs713o3YB5i1suKQ== X-Received: by 2002:a17:906:e082:b0:953:4987:4b8 with SMTP id gh2-20020a170906e08200b00953498704b8mr2233004ejb.47.1682014071871; Thu, 20 Apr 2023 11:07:51 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:bcb8:77e6:8f45:4771]) by smtp.gmail.com with ESMTPSA id v8-20020a17090610c800b0093313f4fc3csm984778ejv.70.2023.04.20.11.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 11:07:51 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] arm64: dts: qcom: msm8992-libra: drop duplicated reserved memory Date: Thu, 20 Apr 2023 20:07:46 +0200 Message-Id: <20230420180746.860934-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230420180746.860934-1-krzysztof.kozlowski@linaro.org> References: <20230420180746.860934-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There are two entries for similar reserved memory: qseecom@cb400000 and audio@cb400000. Keep the qseecom as it is longer. Warning (unique_unit_address_if_enabled): /reserved-memory/audio@cb400000: duplicate unit-address (also used in node /reserved-memory/qseecom@cb400000) Fixes: 69876bc6fd4d ("arm64: dts: qcom: msm8992-libra: Fix the memory map") Signed-off-by: Krzysztof Kozlowski --- Maybe the original intention was to use different address for audio res. memory? --- arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts b/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts index 501e05efbef4..133f9c2540bc 100644 --- a/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts +++ b/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts @@ -110,11 +110,6 @@ rmtfs_mem: rmtfs@ca100000 { qcom,client-id = <1>; }; - audio_mem: audio@cb400000 { - reg = <0 0xcb000000 0 0x400000>; - no-mem; - }; - qseecom_mem: qseecom@cb400000 { reg = <0 0xcb400000 0 0x1c00000>; no-mem;