From patchwork Tue Jun 7 17:18:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 579501 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 279C6CCA47E for ; Tue, 7 Jun 2022 17:19:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345659AbiFGRTF (ORCPT ); Tue, 7 Jun 2022 13:19:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345666AbiFGRS6 (ORCPT ); Tue, 7 Jun 2022 13:18:58 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67662104C96 for ; Tue, 7 Jun 2022 10:18:56 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id fd25so23899681edb.3 for ; Tue, 07 Jun 2022 10:18:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=95xSn5ZnLXJf8gOJTiH12x4Y2i7vMsP36HiT3AQ0fYQ=; b=WLHHjfo9g9OtC97Ni2SdnwCyNBlO3bH4M6XH4VmoqOFPxMwQh+og626C+6TxlPADAk lrcLFoTQGyO/g+iVGeVKRMwuu9T/ngU0SYD1CMGcKEYcEPDPc0dYWzGuYwTGtZzKiQue R3gJ068LyWhxJ2iodOnCH1MA95bWJO1RIaBgxsrNKOGdMVWKJlmYbYDfAMWORHr3JZ2G VoyYDPYbd+jkte9eGh8XzLl/ThfsZ9+JIlb0fEVKC/AcIDVY5ORqnPhVIK/23EYLeAH8 kl4DkbgF5iWDslWhTWWAi6MLhFm54UIH+0/n5i7u2QPmGLG/QksLU4WlebWWJX8Vtbfj L27g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=95xSn5ZnLXJf8gOJTiH12x4Y2i7vMsP36HiT3AQ0fYQ=; b=GqokaSI6voqSVVZeTfWTjQg43MWTbGxftTwksdO5/JmiyTDmhRvo3s0OvrywjIgZmh x9wyY1ktx0IInVpGFd1mipd+ykO0hurtUOulWgETVeqkJIpaUrn/gQUEfmHrWtchpaJY wfeNz2zK5/uwGCqlzQkZvL2sWXH+Qw6VunU/tFEiCVZ8UJ5W+PaAzwbwyCFAsSSN/Gvl ObK6ty2STVrjHpiCfADD95+Deu0C26XwCtW8QnMyyA7YFarSxMIdJ25Z8l797lBC/LpO ub3mfwjU3EGXf9RQf9HzASNftst9A76WKM8uK971akm/zPK4Z+AyEiqrrumK3JTtvx3J hQzA== X-Gm-Message-State: AOAM533EQX9JVmNAydkYJ4Xkcu3ux8LFsbdK/emnnuqiRntgGbzs3dSd c3cCYEvDbBijCPDDGl8tHaPOQQ== X-Google-Smtp-Source: ABdhPJwJTxFyEVm/dLk4XAcF5mviLMRqjgStSv977bRQo2b9oBdyXECKGSidxoUJXmxfzthmnqIl1A== X-Received: by 2002:aa7:c34d:0:b0:42d:ce57:5df2 with SMTP id j13-20020aa7c34d000000b0042dce575df2mr34430319edr.315.1654622334478; Tue, 07 Jun 2022 10:18:54 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id i7-20020a170906444700b0070e238ff66fsm5876540ejp.96.2022.06.07.10.18.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:18:54 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Brian Masney , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 03/14] ARM: dts: qcom: use generic sram as name for imem and ocmem nodes Date: Tue, 7 Jun 2022 19:18:37 +0200 Message-Id: <20220607171848.535128-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> References: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org According to Devicetree specification, the device nodes should be generic, reflecting the function of the device. The typical name for memory regions is "sram". Signed-off-by: Krzysztof Kozlowski Reviewed-by: Luca Weiss --- arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 2 +- arch/arm/boot/dts/qcom-msm8974.dtsi | 4 ++-- arch/arm/boot/dts/qcom-sdx55.dtsi | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts index ca9f73528196..de01e34409f2 100644 --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts @@ -341,7 +341,7 @@ mmc@12400000 { }; }; - imem@2a03f000 { + sram@2a03f000 { compatible = "syscon", "simple-mfd"; reg = <0x2a03f000 0x1000>; diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 814ad0b46232..09b181bb5365 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1603,7 +1603,7 @@ opp-27000000 { }; }; - ocmem@fdd00000 { + sram@fdd00000 { compatible = "qcom,msm8974-ocmem"; reg = <0xfdd00000 0x2000>, <0xfec00000 0x180000>; @@ -1650,7 +1650,7 @@ smd-edge { }; }; - imem: imem@fe805000 { + imem: sram@fe805000 { compatible = "syscon", "simple-mfd"; reg = <0xfe805000 0x1000>; diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 1c2b208a5670..710c7f772d42 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -561,7 +561,7 @@ tlmm: pinctrl@f100000 { #interrupt-cells = <2>; }; - imem@1468f000 { + sram@1468f000 { compatible = "simple-mfd"; reg = <0x1468f000 0x1000>; From patchwork Tue Jun 7 17:18:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 579500 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 B47FDC433EF for ; Tue, 7 Jun 2022 17:19:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345726AbiFGRTK (ORCPT ); Tue, 7 Jun 2022 13:19:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345668AbiFGRS7 (ORCPT ); Tue, 7 Jun 2022 13:18:59 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A6BD1053CF for ; Tue, 7 Jun 2022 10:18:57 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id u12so36578788eja.8 for ; Tue, 07 Jun 2022 10:18:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wRdWSIKyYkI40KDQnl/RDAGtefWUX7TnHCHtBAZfwPE=; b=FdiAMr47BtFt6E1QXvm4vtubcRAn8dLeI3CKXfojzpriAa/2D8JiW5GLajV6HKh9Pc WFGKf06a2QWoNWF1ovX/uYNV2aCZA4tKyGl0vpedg6lAOatnApQP7r9M4RJRzh5JliYc iQv3CudJ4aYT3MqMJMK+V6HSzBoKAfiyHCc6bleRNBXK6j35EMw+VHqwv/TMksaKR6Jl eTPKRcWq/dZUv2/8R7IS3xu4XBAsLZ14KkQeADJzCen+a22mgnsiqupkWM36WxGseMZC 6pdYj186NZEflBvsUx+7oRsdtdwFvIw69kOnwYYWMSoRHE68BxRPKHKftOkAX23wHeMs Th1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wRdWSIKyYkI40KDQnl/RDAGtefWUX7TnHCHtBAZfwPE=; b=7JRFl7IsTKSNeaCXx9EzCZRG9XtzjIn+4rEO7wDQphyVZsMYaQwXG9xZnTMUrOL6qZ yvnjrt6PjB4IMDu3FlyiYTpe70F4jsHWNuXN08OyNj35HRfxhDxxF8jyL+m4gfmPLKQD tihgo7kcH8EafZJ0j8MiYYTF01uw7at4y29l+WZItrUlKMt2NQOo+j0MhOm/w9A6xtOh 2ublyAmC3y4vCTZXAb/iHQ9p0i6iAgyHsQKZfGGrEfrsZO2WrUiC/wP/ACZaqnOkc55g mcCDVAkNPS5fWN2IlZTkTBbAZ62Mnwf1I4y4pgqxp6FcC+gHesorn+8XmFZQTmc4fClD Er5Q== X-Gm-Message-State: AOAM533MmSphUcs9TQwUV6pwm9/9mLjBl/9ZBXm6vaNlrkbMqnxm6rVA MvXFoA11zd9fAOxLWw24QZMHKQ== X-Google-Smtp-Source: ABdhPJx+54wFQc2pVulIxuucwp9fStM95Fu5NCHKyIdjcTqEAUiVihmUeWWIlGK3tZTxdbCkez+P3A== X-Received: by 2002:a17:906:8454:b0:711:c970:227a with SMTP id e20-20020a170906845400b00711c970227amr12686829ejy.4.1654622335481; Tue, 07 Jun 2022 10:18:55 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id i7-20020a170906444700b0070e238ff66fsm5876540ejp.96.2022.06.07.10.18.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:18:55 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Brian Masney , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 04/14] ARM: dts: qcom: apq8064-asus-nexus7: add dedicated IMEM compatible Date: Tue, 7 Jun 2022 19:18:38 +0200 Message-Id: <20220607171848.535128-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> References: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org syscon compatible must be preceded with a specific compatible, to accurately describe the device. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts index de01e34409f2..13ad1e84a25b 100644 --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts @@ -342,7 +342,7 @@ mmc@12400000 { }; sram@2a03f000 { - compatible = "syscon", "simple-mfd"; + compatible = "qcom,apq8064-imem", "syscon", "simple-mfd"; reg = <0x2a03f000 0x1000>; reboot-mode { From patchwork Tue Jun 7 17:18:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 579495 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 A03E5C433EF for ; Tue, 7 Jun 2022 17:19:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344718AbiFGRT3 (ORCPT ); Tue, 7 Jun 2022 13:19:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345628AbiFGRTC (ORCPT ); Tue, 7 Jun 2022 13:19:02 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E51B7104CB3 for ; Tue, 7 Jun 2022 10:18:58 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id s12so29346096ejx.3 for ; Tue, 07 Jun 2022 10:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aW5lcXdvQf4J4PO1iOWHLSignywIfaQQ2Xa3bmmGUpQ=; b=wDQRJ3PG91CJhs5zm7ZZd7a/QdHKY9mRqHesbxVn9UT0vYNusmbsF0akWKcQlGJTOJ VRKSVpdkBxUEm6ZIieOwi/l3VV24H6PMwwG8+NIHP/Qg2qPRSAC656NRD2fCjLznbzES vc8qG+OCYs2RLXWUqg0ljEThJdm+hAMimeGPZiWdvyqwJ/acJhdZI0aA/+ZlEyNBwxR9 5HELynmcJ4FkinHO5c8UEe6F3/O62nRfqWLY5TQYiJl/O4to3Ezh4m+TrYRktNoVXfIV 1UXxL5YkeGvBLSfZxXFpOZ5q074T7bdhhV/pM1NDRM4UHJyOTDFcsFzz4B7p5uIHqyHK M8ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aW5lcXdvQf4J4PO1iOWHLSignywIfaQQ2Xa3bmmGUpQ=; b=4rR26fzUMT2BFqm/VIJroD9fsS8DVAaCN43r0zSTxdK/BeE1k+7xsVhEy3rNxhhy3u unq4lZS9rYsk6zbH+aMSJH45fimfOxq85kzE5oqE940HoQdMxj1l98uMA3erNADawLeh 3jXB+VjTg0je67b/nN+vIs0fl93zBEvXpwMwjkoHkbawC++LD2U7St5JMfG3lC3gi101 lolZ1HU8zHQ6N43ivxqQO3cK9/QLByBdGwIp9ByxBvvG5XGecDbJtzqdfKwNctLMRGcH lapT7TH6BcLRLfzF55zF3nTyMAz7OS+3qXKzmti1ATcHi5IHFyTac6/3PrijUVl6wtb3 Xbtw== X-Gm-Message-State: AOAM531c470h/7Rrdqh1COnTBQgP7n3goZP9FW/t8ZyLG8lKD35TFxOK 20KecVXhxdEQbymlA0EE7r4wZY3efgEXaw== X-Google-Smtp-Source: ABdhPJw5smPtyirsWfiQvZQy4yAwI57DZKC9HbgtyALcAfSOgpc0PkKc2PJJ2d92fnYEGZd8FXWZMw== X-Received: by 2002:a17:907:7204:b0:6ff:2142:36e0 with SMTP id dr4-20020a170907720400b006ff214236e0mr27102633ejc.739.1654622337372; Tue, 07 Jun 2022 10:18:57 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id i7-20020a170906444700b0070e238ff66fsm5876540ejp.96.2022.06.07.10.18.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:18:56 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Brian Masney , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 06/14] ARM: dts: qcom: sdx55: add dedicated IMEM and syscon compatibles Date: Tue, 7 Jun 2022 19:18:40 +0200 Message-Id: <20220607171848.535128-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> References: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add proper compatibles to the IMEM device node: 1. syscon to allow accessing memory from other devices, 2. dedicated compatible as required for syscon and simple-mfd nodes. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/qcom-sdx55.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 710c7f772d42..5a106708a240 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -562,7 +562,7 @@ tlmm: pinctrl@f100000 { }; sram@1468f000 { - compatible = "simple-mfd"; + compatible = "qcom,sdx55-imem", "syscon", "simple-mfd"; reg = <0x1468f000 0x1000>; #address-cells = <1>; From patchwork Tue Jun 7 17:18:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 579499 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 9EA2CCCA47E for ; Tue, 7 Jun 2022 17:19:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345678AbiFGRTO (ORCPT ); Tue, 7 Jun 2022 13:19:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345688AbiFGRTE (ORCPT ); Tue, 7 Jun 2022 13:19:04 -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 0C5CD1053FE for ; Tue, 7 Jun 2022 10:19:01 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id gl15so22702671ejb.4 for ; Tue, 07 Jun 2022 10:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pR4NnTWcMQlG0JQ/8qorgUfKIVfrcLKapXl8vOZUk2w=; b=MbKLkIIECWTUyLE/Df/LNymmAAe7dGCLLVOo/IcMeiRHnCive+XGclpUU8VS8i3aD0 3A5h797NiJFenxlBcOaiVTrCtrQSGovzYaQ5zvDj81SuOBPUcQiGK1iyeXGFwJCb2hFh G5ogF+eAlIo0AFGvVyLJnuydKJyHJT1R+Uj8rrzpn6iOZ3YHDftSRiQw9c8A3lpfQ5Vo 5RJycZfSa+KmciZg48nzkHAnsSQc9ZiDvZVem79yHkkOaZSwVV0roAU+L5tC8d/T3dbQ m6yDacDwiNR/0lHXn04rCy7/4tGq5nf5eCXzZBh+I3C4Zuj54zO1A3swSlJCKv18lVpu p33w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pR4NnTWcMQlG0JQ/8qorgUfKIVfrcLKapXl8vOZUk2w=; b=G/XnaeF8xn2Wzz/l8YQswNwciwMMSCiPHptw4xk8r4cS6ylgERqjeUuRxdRgUQNpfX AabxDDTnHD5cV9pBGXYkAHVTmen36qWzRkrRLWo7SMa+7HDQ6qEkhPUsMYMXEChZIUX9 RrnePjxSu4usnHoyfJagalXiXOU0c8njlMS4HVH68VKHYdlGN5sKNi3B95FSzjbtrwpF 0RexE5Oxvk8yPTWVkHOpx/I4zhgRSKoB1cb5/XAD/qjOZMbsHMorvtOxK7wbBkecIktY qfMc8/b1pf4dluocbjfCU7cG/7t2HthTfd/vrZRCj9SH1Nl2u1DhNpefqm/ZXqoCi9gI 87/Q== X-Gm-Message-State: AOAM533EGwmo4+MXV0mikCFS4QXoEEWF5uDPksSt/MXrW0muCZrfHEHf gG85qItV+4g2+jdGWQxi30j1Xw== X-Google-Smtp-Source: ABdhPJyIAd0bjmDLE+E8nBYdRYxPVNmQY8O79F9dP4MxjiiqwwZRaaf3ja0dJd+eSP1XMDrXZbhPPA== X-Received: by 2002:a17:907:2cc3:b0:6fa:55f:8805 with SMTP id hg3-20020a1709072cc300b006fa055f8805mr27626881ejc.46.1654622339401; Tue, 07 Jun 2022 10:18:59 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id i7-20020a170906444700b0070e238ff66fsm5876540ejp.96.2022.06.07.10.18.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:18:59 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Brian Masney , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 08/14] arm64: dts: qcom: use generic sram as name for imem and ocmem nodes Date: Tue, 7 Jun 2022 19:18:42 +0200 Message-Id: <20220607171848.535128-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> References: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org According to Devicetree specification, the device nodes should be generic, reflecting the function of the device. The typical name for memory regions is "sram". Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8994.dtsi | 2 +- arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi index 0318d42c5736..0327c9941ae5 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -1069,7 +1069,7 @@ mmcc: clock-controller@fd8c0000 { <600000000>; }; - ocmem: ocmem@fdd00000 { + ocmem: sram@fdd00000 { compatible = "qcom,msm8974-ocmem"; reg = <0xfdd00000 0x2000>, <0xfec00000 0x200000>; diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index d912166b7552..1cca749ac9fb 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -1102,7 +1102,7 @@ blsp2_spi0: spi@7af5000 { status = "disabled"; }; - imem@8600000 { + sram@8600000 { compatible = "simple-mfd"; reg = <0x08600000 0x1000>; diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 5dcaac23a138..496fc2857d92 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -3247,7 +3247,7 @@ spmi_bus: spmi@c440000 { cell-index = <0>; }; - imem@146aa000 { + sram@146aa000 { compatible = "simple-mfd"; reg = <0 0x146aa000 0 0x2000>; diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index e66fc67de206..11fe2ed464d0 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -4639,7 +4639,7 @@ sdc2_data_sleep: sdc2-data-sleep { }; }; - imem@146a5000 { + sram@146a5000 { compatible = "qcom,sc7280-imem", "syscon"; reg = <0 0x146a5000 0 0x6000>; diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index b72e8e6c52f3..8d38c3d3c940 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1829,7 +1829,7 @@ blsp_i2c8: i2c@c1b8000 { status = "disabled"; }; - imem@146bf000 { + sram@146bf000 { compatible = "simple-mfd"; reg = <0x146bf000 0x1000>; diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0692ae0e60a4..6e13aab15931 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4721,7 +4721,7 @@ spmi_bus: spmi@c440000 { cell-index = <0>; }; - imem@146bf000 { + sram@146bf000 { compatible = "simple-mfd"; reg = <0 0x146bf000 0 0x1000>; From patchwork Tue Jun 7 17:18:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 579498 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 EA812CCA47C for ; Tue, 7 Jun 2022 17:19:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345704AbiFGRTQ (ORCPT ); Tue, 7 Jun 2022 13:19:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345691AbiFGRTE (ORCPT ); Tue, 7 Jun 2022 13:19:04 -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 38FDC1053DD for ; Tue, 7 Jun 2022 10:19:02 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id bg6so16740178ejb.0 for ; Tue, 07 Jun 2022 10:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=csyCE0Ob47wjhHNAVvg56QOFgF3Z5EUZtR/Uys+YVVE=; b=hOf6w9EVAYIQzT9X+s6hlk8MU7l4KDMIyWM3na6s57c7oz0ebPWlRD8bN3ISYULBAm RU/cxgFP98aC5QHGPIqMu6aV/g4yTYpfRu2/LV0hpgzCHoB0+w4r3HgMbSoTJVUcOro1 Whv2Op6Rq68Loyw1L1Wb1hc3AIPefTZe1S1ihkLoCXFiVDreyVdv3fk/68flH0/hGB1P dtzq51oCnofKxYOdohJZivZBCq9pTWeKWQrleUKT5TfBb+O7wDMUpDLK90YzdBtJGO4W XWkWSCzDpQ13DzFHrfMEruf1dMHFIvGvNbiaetQ3RnAQYfwiuD00H3ZZxnfo80ezaNXH gm1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=csyCE0Ob47wjhHNAVvg56QOFgF3Z5EUZtR/Uys+YVVE=; b=QyNWwkN+/xWGE2/huiAxKQw6Bf9OTjMBqd892ERrOn7AaTsWG1NI1rZ0R4RtmIiXpZ fqUkUTJWdD4Sk2bn4m38gjQsSTVUl2FpU0RRGB+svkherhNxDz1wKuY7EtZmzeaa++jf lpTaATVx8FAZPO//qzobMhUHa9hEXKQs+viTJfXaa+Orf8VCU3/agUhuNQ+tJcMHRNnI P0qKLp1I4BBE8p0w78sBqvBiPLsIDvSiPEsuLLaC0UxHGUbN5Rksq4ZMQNFhnM6DEjFN WhJcquMoUMC7upfOq+E8oY+/umjz1sGEZD3m93D0QkbzVDBuelwxKr+sLLFy1+S4zPAD p0aw== X-Gm-Message-State: AOAM530hqQ0wEoynpik7pSC6OcE8o31JK9fc393P6H5W1FKYVOH/A/SY PrFHkzlgsu3VFmsC3H0W89pebA== X-Google-Smtp-Source: ABdhPJw1cGOn5vbz5JcbHCWGoDHgn+tubzNQr0bZoZGrSPxYlhfwNAVhnOCrVVZtsrHGSg/p3vonrA== X-Received: by 2002:a17:907:3e0d:b0:711:dbff:b830 with SMTP id hp13-20020a1709073e0d00b00711dbffb830mr6553739ejc.601.1654622341683; Tue, 07 Jun 2022 10:19:01 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id i7-20020a170906444700b0070e238ff66fsm5876540ejp.96.2022.06.07.10.19.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:19:01 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Brian Masney , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 10/14] arm64: dts: qcom: sc7180: add dedicated IMEM and syscon compatibles Date: Tue, 7 Jun 2022 19:18:44 +0200 Message-Id: <20220607171848.535128-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> References: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add proper compatibles to the IMEM device node: 1. syscon to allow accessing memory from other devices, 2. dedicated compatible as required for syscon and simple-mfd nodes. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 496fc2857d92..6dae8a9ac196 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -3248,7 +3248,7 @@ spmi_bus: spmi@c440000 { }; sram@146aa000 { - compatible = "simple-mfd"; + compatible = "qcom,sc7180-imem", "syscon", "simple-mfd"; reg = <0 0x146aa000 0 0x2000>; #address-cells = <1>; From patchwork Tue Jun 7 17:18:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 579497 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 B86BAC433EF for ; Tue, 7 Jun 2022 17:19:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345627AbiFGRTT (ORCPT ); Tue, 7 Jun 2022 13:19:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345730AbiFGRTN (ORCPT ); Tue, 7 Jun 2022 13:19:13 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4D281059CB for ; Tue, 7 Jun 2022 10:19:05 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id v25so23891824eda.6 for ; Tue, 07 Jun 2022 10:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KX0bvh9m5E/An1OjTL+Smck+4fFRXA35dGwS1mx4sTY=; b=HdD2iWwBA/mOFqDrrcz6IVv4pA1shuP94FuOt6TAbNVUz/e1eyD5yR+WnH/wu3VSDZ 596J3iXVGEo5x+W8EkRYpK4tLSON8Fu7rwYyMw5xFJlwVzhZjdBTFJ8XQd3WwartRkIu cV7K3pNHQQ6sLNZmoA0T6htoG+WddpbXW55gjBV9yxwu1/8Hi95VBmZ4tsfU9DnwwXpw Z11TWY0PAr1bNOTtSJ05MERk8QSNpHPXD5tEQeU/udodTEMiS7MGzU62SHMmpx5dFHOV P2BLQFrGP2D3COQ1JktO4lSScTgNf4gWS+2Us85oj44X6h7OZn9qiEFPr4DwVArcwInJ +cbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KX0bvh9m5E/An1OjTL+Smck+4fFRXA35dGwS1mx4sTY=; b=P2NS1FB7ol0m8uLYN/qjUwNTGVSDbgvvK0RpyR0vlCvyECE/YMZnEteHk9QvLAmYaU f9VuKJ+/x5VU/k88KDLFH9fm33AhtGOYB936DeVSOc8BKhVzUp/Y8/g0uEIvvZIe4JtH XeaTR7mrGBHVCeqUKboGoSBxTj0k/Lcvep60Bbh4911apilliQbdsQtQOVhIiJ2+rbjJ OnJ8LpoE/WssYoVGR9jyAA8Bl4mlaEMT2gn8UTWwsBPo1kSwlftHd46ly3K/y/UOPZX+ TQfcjJVS11xWU/6mEBYfqCey7jk8obQN6802lQ+XAxAMTD0sBCiNfmrwtb6KUTAm08Jl 17lA== X-Gm-Message-State: AOAM530zuvRmO+biy9SOaTsmYp5s0Z+q/TIyeM9WFH4IOU/n0hv8wFWf Ho4MVNXfNbA1ti98+QzVOzz2UA== X-Google-Smtp-Source: ABdhPJwELVQdJ1/xgKo/4yZziUTGQ1/q8sy5fh1006WK7I0N8jOxyQPRBme9y/J6qNArUlGumT09xw== X-Received: by 2002:aa7:c752:0:b0:42d:ee9d:5ace with SMTP id c18-20020aa7c752000000b0042dee9d5acemr35123602eds.318.1654622344434; Tue, 07 Jun 2022 10:19:04 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id i7-20020a170906444700b0070e238ff66fsm5876540ejp.96.2022.06.07.10.19.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:19:04 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Brian Masney , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 13/14] arm64: dts: qcom: sdm845: add dedicated IMEM and syscon compatibles Date: Tue, 7 Jun 2022 19:18:47 +0200 Message-Id: <20220607171848.535128-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> References: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add proper compatibles to the IMEM device node: 1. syscon to allow accessing memory from other devices, 2. dedicated compatible as required for syscon and simple-mfd nodes. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 6e13aab15931..1fa1436dd68c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4722,7 +4722,7 @@ spmi_bus: spmi@c440000 { }; sram@146bf000 { - compatible = "simple-mfd"; + compatible = "qcom,sdm845-imem", "syscon", "simple-mfd"; reg = <0 0x146bf000 0 0x1000>; #address-cells = <1>; From patchwork Tue Jun 7 17:18:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 579496 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 67F31CCA47C for ; Tue, 7 Jun 2022 17:19:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345733AbiFGRTX (ORCPT ); Tue, 7 Jun 2022 13:19:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345724AbiFGRTK (ORCPT ); Tue, 7 Jun 2022 13:19:10 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAE8C1059C6 for ; Tue, 7 Jun 2022 10:19:05 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id kq6so23529187ejb.11 for ; Tue, 07 Jun 2022 10:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Zf9oNDrBn8AgS0HsJI75t84ZHlXciTzhx5M3HotS7pg=; b=qO2yi3wo1qcclE8YpBFykeMxGAE7JKaFTrIett9b4yuO2Ls8e8QSELZ7Kd9xoSE71s RKSJ+aRE6RzxBxUZZl3X3bnPTzfvBF2d9g5AjJ4MGmZiTMh1lCqZFi+Sxb2wB7wTpf8W EhGB8eE0yZLTycH/8UnVq3AJumxnw70mRGs+c1OmiKRK68UVYgPm6PCL+hXzeTkreYrd 6CDdSPndsWvKy8d3guI1sxt/MlekNBV9GM4QhZEiyRVA8OxoQ17fgeVcx40gX6l+LJfW duIlKl8qEVDzxuLcmvwUrL6mgNbthyOe1N3sK2oHmIAFdSeNas3hGJGuVgsWxwdr6nmt /CJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Zf9oNDrBn8AgS0HsJI75t84ZHlXciTzhx5M3HotS7pg=; b=bCh10QB6az6u9R/SSjZUUC3EkfS4syKgf1E3aiqxRb/i9jyEmNAM8F8CtEmLd9iACW Q/f2Z8npI5STlZlLCWpnnToXvFLvFIHLhuuohVPxLmeETD5sGyn7x9JAezgmIIQY4cM9 Zg4xULomG8Cx0MJx0gdb8PT+UVHnmo9IWbqhnKe81CIwzOhvz/cHDDB+1oRR6XgVF2de wcE9ifcBMtTnXXoWNl1YfKZOdg+9uYEsmezv1Un2/KjK7qVaOqbPuF6OeuOvmG/UTmif R/XfH/tIMUR9QnG6PVCPIqB3h+sPq3RUjJNq3SLpEc3II4eUkm9CABtMHsJPD2E8rX0t uU4w== X-Gm-Message-State: AOAM530PzyxS2I2i+kl59boPeOta8i65LEVKsHGOrlsVgYNe9BQ92pCz tdJXYKoCXe/PzkMa26jsyi8Wtg== X-Google-Smtp-Source: ABdhPJwZ/F+q6oQyPWMSqGsaHGZROmRaaOaUta0JoOC/1LYy1wmN1BOTtGZKdZElA09r4SjlHMaWWg== X-Received: by 2002:a17:906:c154:b0:711:ce44:a0a0 with SMTP id dp20-20020a170906c15400b00711ce44a0a0mr11804793ejc.420.1654622345428; Tue, 07 Jun 2022 10:19:05 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id i7-20020a170906444700b0070e238ff66fsm5876540ejp.96.2022.06.07.10.19.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:19:05 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Brian Masney , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 14/14] arm64: dts: qcom: msm8994: add required ranges to OCMEM Date: Tue, 7 Jun 2022 19:18:48 +0200 Message-Id: <20220607171848.535128-14-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> References: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The OCMEM bindings require ranges property. Fixes: 9d511d0a7926 ("arm64: dts: qcom: msm8994: Add OCMEM node") Signed-off-by: Krzysztof Kozlowski --- Not tested on HW. Testing might be useful. --- arch/arm64/boot/dts/qcom/msm8994.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi index 0327c9941ae5..da9c8e05c7b4 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -1074,6 +1074,7 @@ ocmem: sram@fdd00000 { reg = <0xfdd00000 0x2000>, <0xfec00000 0x200000>; reg-names = "ctrl", "mem"; + ranges = <0 0xfec00000 0x200000>; clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>, <&mmcc OCMEMCX_OCMEMNOC_CLK>; clock-names = "core", "iface";