From patchwork Tue Jun 7 17:18:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12872190 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 ABAFCCCA47C for ; Tue, 7 Jun 2022 17:19:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345558AbiFGRS7 (ORCPT ); Tue, 7 Jun 2022 13:18:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345652AbiFGRSz (ORCPT ); Tue, 7 Jun 2022 13:18:55 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F1C91053E2 for ; Tue, 7 Jun 2022 10:18:53 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id o7so3267636eja.1 for ; Tue, 07 Jun 2022 10:18:53 -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:mime-version :content-transfer-encoding; bh=x6NqSxocNhKaG4qk4NIveSuVUXzSaCSlzdQqklUZykA=; b=toKIBfxF1DDsLOVkjJC8AngOOShSW7LZTzWYwvuu1WEAnH9wUf9XUwJhg99w3jzD8s uyPFOsHBlgFl1/rE+lQ1O3A/6SkxffPqHzkgpzGmTd1aHaS2IjtCp1EEiJJZz3d2byMU 4mZjFcuDuVPDcwiSAgbyPDCT4SyXq1AxFymgQHXWQVYf8TFz0UT5KH0GdHkJhJvjYhEd Y8SeClym/2ft/NqkxFrAQsImY8H+EE/l9GRoBCBUyqA8gm5Ng2sSAnVu+nLqKK2NLWYh fMHbFv0oa1PVVg53Ltt0ow2jqrK9qKMUOaq0rcgWbuqAdcgUuNlM4tfuYSZ2UuIp3ATe oJuw== 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:mime-version :content-transfer-encoding; bh=x6NqSxocNhKaG4qk4NIveSuVUXzSaCSlzdQqklUZykA=; b=JOnMQudNam5qJXdQBW55Gh3IYngpA4NDnz9V7h31RJQDzUuLHoxyPOhlJuHW+4Ztp/ rcVl3KGTau0BGDtkrENJzrebNPQHGzdEsZliI8KNc/tsV3+H0UJ06O31M/TiebWeEbCx vC4P+4og4ytw5D+i7PejERnystr6S5V5/X3pBxo5patH9jmjMBaaSI8Z5iLtxNFNKe5s gbGo4AKGGhQ4P+woxr0VnfnDWuFHDuNAf4liZ+lzkb2hY5ABuRKsKLptugmmLR3LzZYi N94vW4SZuuzdGcNCpHNjb920vK9VVzgf0suC6JDR72OeDvkCdKrkojioTa8Z2g4VBBlG uJqw== X-Gm-Message-State: AOAM531w/VsyvyQI6XddbTrwC3TO2wG5zzZo8LPnrtYeF6OMkQsNPfLK Vi7giaE/Ok6Kj+IWFfXbaHDPiQ== X-Google-Smtp-Source: ABdhPJziyEJu6XDIg6R0YDNNr7ghG0UDjqN4KAdb6x7Ukb3SmDHw20QIlGdp6xLiQQivKt9yPTH/Nw== X-Received: by 2002:a17:907:9619:b0:6ff:5c3c:bcae with SMTP id gb25-20020a170907961900b006ff5c3cbcaemr28491983ejc.585.1654622332368; Tue, 07 Jun 2022 10:18:52 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:18:51 -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 01/14] dt-bindings: sram: qcom,ocmem: cleanup example coding style Date: Tue, 7 Jun 2022 19:18:35 +0200 Message-Id: <20220607171848.535128-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Fix the indentation in the OCMEM example and use generic node name - sram - to reflect the type of the device. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/sram/qcom,ocmem.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml b/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml index 930188bc5e6a..071f2d676196 100644 --- a/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml +++ b/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml @@ -72,10 +72,10 @@ patternProperties: examples: - | - #include - #include + #include + #include - ocmem: ocmem@fdd00000 { + sram@fdd00000 { compatible = "qcom,msm8974-ocmem"; reg = <0xfdd00000 0x2000>, @@ -93,6 +93,6 @@ examples: ranges = <0 0xfec00000 0x100000>; gmu-sram@0 { - reg = <0x0 0x100000>; + reg = <0x0 0x100000>; }; - }; + }; From patchwork Tue Jun 7 17:18:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12872192 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 80030C43334 for ; Tue, 7 Jun 2022 17:19:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345666AbiFGRTG (ORCPT ); Tue, 7 Jun 2022 13:19:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345663AbiFGRS6 (ORCPT ); Tue, 7 Jun 2022 13:18:58 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68FD4104CBF for ; Tue, 7 Jun 2022 10:18:55 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id me5so36027631ejb.2 for ; Tue, 07 Jun 2022 10:18:54 -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=O50J38PsJB3mSreFXR7H6YL7U8VScHENB0mb2zpmi8g=; b=dfOwAx6m3NGMCpVp7fz88gnUMIhFgCPWJ13r9LOLR4on+glxzIPRJ8/erD9NNAHTcy N3L6AydiDUq/ZkUeVxzOhHWGO2BOvvk9RGKnzQwR3/wFg/DHym+NXZqiqgDZxYur6vh9 uiYWO/tjposidV/VYc1EZODA6QA4fwHS7yaXQ3bccfsjMnMUaeyV0L2hm3K1/vjw/cpy 3B+gcY8Q+XLpVAzVR/iPU+cjKDO4pIDWccrf0UevZLWbTOd6T1Dj+rGrPRmn+ThAedwq 453vSM7EKVtlxtE2FN4l/jb3m6yqnchxDycJPUkfRZ6aFJZOQxLjwvZsHoe17mOyi4Zw 1kVQ== 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=O50J38PsJB3mSreFXR7H6YL7U8VScHENB0mb2zpmi8g=; b=q8Kb8syq/rwmkRKFg1B5lZIVQzaUUSJMPIXQ3T5Rlj4Y3mCea4kIbYlVBogAn3CjuU 4w+RAn0Cky9hiS9vFHhb+OMolw+HJ7c4//AhCyXDkmJ2BKgQx9HG9dLZWgWno94rOH0s /Dmwx9IBA4jBq29dpNR+6bqYEKBibOeL6SNtVjC5PWEPJlIfE+vhUC6qO5v/nHLoHK/z bBmkowc3ttXLAGwzi1ZRCaKgLN0pF4xqvJbH1P3cpTolNqvdTjCm/uWhkU+GC+mcJ4UM jgq+BJTBQ6zfXnHnPAhQs7Mlb4hwwDjlblTOdWQXtdETg57XXWa1z4aR4t+RohVrCs8a FGAg== X-Gm-Message-State: AOAM532l36VDXgb5UNFA4OgufS3t0pnqRscCKyznHf3N+Dl4FI+icjNR lUewDPip+RXGvyCYlsM6oMi1nQ== X-Google-Smtp-Source: ABdhPJz1F3LAIEP4ue3EJN7mJgqEYDBvnfzH2jpqlMVOEYry68H4798O3PVWAvS1Hlo7BG56rQTbBQ== X-Received: by 2002:a17:906:6806:b0:703:1f4e:9868 with SMTP id k6-20020a170906680600b007031f4e9868mr27808874ejr.699.1654622333447; Tue, 07 Jun 2022 10:18:53 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:18:53 -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 02/14] dt-bindings: sram: qcom,imem: add IMEM memory region Date: Tue, 7 Jun 2022 19:18:36 +0200 Message-Id: <20220607171848.535128-2-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 bindings for IMEM memory region (like SRAM) used on several Qualcomm SoCs. In the downstream (vendor) tree, it comes with several children used for debugging purposes. The upstreamed parts are much smaller - just image loader and syscon reboot. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/sram/qcom,imem.yaml | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 Documentation/devicetree/bindings/sram/qcom,imem.yaml diff --git a/Documentation/devicetree/bindings/sram/qcom,imem.yaml b/Documentation/devicetree/bindings/sram/qcom,imem.yaml new file mode 100644 index 000000000000..e9199190198d --- /dev/null +++ b/Documentation/devicetree/bindings/sram/qcom,imem.yaml @@ -0,0 +1,75 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sram/qcom,imem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm IMEM memory region + +maintainers: + - Bjorn Andersson + +description: + Qualcomm IMEM is dedicated memory region for various debug features and DMA + transactions. + +properties: + compatible: + items: + - enum: + - qcom,apq8064-imem + - qcom,msm8974-imem + - qcom,qcs404-imem + - qcom,sc7180-imem + - qcom,sc7280-imem + - qcom,sdm630-imem + - qcom,sdm845-imem + - qcom,sdx55-imem + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + ranges: true + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + + reboot-mode: + $ref: /schemas/power/reset/syscon-reboot-mode.yaml# + +patternProperties: + "^pil-reloc@[0-9a-f]+$": + $ref: /schemas/remoteproc/qcom,pil-info.yaml# + description: Peripheral image loader relocation region + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + sram@146bf000 { + compatible = "qcom,sdm845-imem", "syscon", "simple-mfd"; + reg = <0 0x146bf000 0 0x1000>; + ranges = <0 0 0x146bf000 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0x94c 0xc8>; + }; + }; + }; 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: 12872191 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: 12872193 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:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12872194 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 85558C433EF for ; Tue, 7 Jun 2022 17:19:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345740AbiFGRTN (ORCPT ); Tue, 7 Jun 2022 13:19:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345673AbiFGRTC (ORCPT ); Tue, 7 Jun 2022 13:19:02 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DD4D1053E4 for ; Tue, 7 Jun 2022 10:18:58 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id h19so23916113edj.0 for ; Tue, 07 Jun 2022 10:18:57 -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=4SXrpcOsQb5w+nGuHXL7N+H56xsmwCAqK9N0xcoqWRY=; b=GNpwt6brx6JPpFqD+gI58jZWL2PiPanNQqDmmN+/UMjAMGaLSZwXAkzLvuJ179XxSK xR8vjoB0IapeQ0BOksvIrAvUA5/wmGNmfBAq6b9V1N1ENVNz3EmFaM/kKonbMEVQeCs8 YgLo6NL4FBX1MPB/aini3m+wisQIxTFihfKSdUR4lszsLBkXKfR1dcvra/W40UBcH74I 9412/pOzwm93yeLLbG0q6lwfxfyL6j70eTZsoK7R8N/iPfEE/ejtNZLzoKyYu1EUehe1 HdlKtiFieUd7k2nnXSYSKG2YyOPIq2ji5dvhth6Wc6P8Qc1joedyqWQ5SsKS/m20yG4U R7yA== 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=4SXrpcOsQb5w+nGuHXL7N+H56xsmwCAqK9N0xcoqWRY=; b=erqsqddvnXHKyQKb23IXOEYQjAb4xpwiqASSk9KI6Ez449x2UAo0iUN2oQqKhr4PVc jsbWBMvnuam2FKHCn6DWBRyolWX40U0M9GwgTjkG6jsvyQ2pgClQSXcOZIvu7MCZ3ysR lv/GU4HmF83tIwFpyNjTPywY2m9QgPDwO9X8ZvqlGv2zJEsLg9NEU0X83f8A0hM8bEu8 xdzA1U3ewSgSlmq55dQQF88FXGZaZsX1wRvt33ndarKeDhfXoLVHWtZIaWzn87m7aw9g yvSZFAlScrnkt+CnNFI82xn8Ctjtq2+YBxpXmlHwxdUj/OV57hZaAA+gNyNDtNUjlQCl GMRA== X-Gm-Message-State: AOAM5337P1+WKMfXgxxZ07Y2fGdLNv3E3UAKkZ9TIOQUWTjM+I9Z70lD zrmCQOBjwxRu2st4tXV4uLYzcw== X-Google-Smtp-Source: ABdhPJwKJ+K3x5fnupdryfxy4aVnaPvMf4Qdroe4wjskwsjiQWwx4atRK7tG3ciGOjipRXupJVEexQ== X-Received: by 2002:a05:6402:11ca:b0:430:8a77:59 with SMTP id j10-20020a05640211ca00b004308a770059mr21186168edw.376.1654622336390; Tue, 07 Jun 2022 10:18:56 -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.55 (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 05/14] ARM: dts: qcom: msm8974: add dedicated IMEM compatible Date: Tue, 7 Jun 2022 19:18:39 +0200 Message-Id: <20220607171848.535128-5-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 Reviewed-by: Luca Weiss --- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 09b181bb5365..5e6b2ae72e62 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1651,7 +1651,7 @@ smd-edge { }; imem: sram@fe805000 { - compatible = "syscon", "simple-mfd"; + compatible = "qcom,msm8974-imem", "syscon", "simple-mfd"; reg = <0xfe805000 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: 12872203 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:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12872202 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 CD1CFC433EF for ; Tue, 7 Jun 2022 17:19:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345679AbiFGRT1 (ORCPT ); Tue, 7 Jun 2022 13:19:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344718AbiFGRTD (ORCPT ); Tue, 7 Jun 2022 13:19:03 -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 013F81053F6 for ; Tue, 7 Jun 2022 10:19:00 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id bg6so16740178ejb.0 for ; Tue, 07 Jun 2022 10:18:59 -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=dkxGKqfjlk2BseBFR/4rpL2eqUgP+7L5CxVKR6PZDHY=; b=jWjQn4yiof6z1wOf4VVqd3sJCsADu0ZkWQWoYH0kyxK0F/zYWpWqecY6/eNv/pHRcl 9v66ISeM4TY7zIRNTjX3CvR/Mdq6CrwMAgtErEbS1t9qzOeSnlckxG2NypIYOLTfkxVA 7tmfaMituYRQsf9F51jWJCtHhk98nZ+5pD42ToFN11jW/VrWZPA7jgck/yNqDoq8p3jG huMKxoaJyUZb1haqDcqBwEn8HJj0mNkN1qXj+6OGtgdh7iYgIqnfUy4gA9HvCWbU/di8 2LHkBh0Q8YhLsHzsyGDH3jWmiwu+4tsclhTo7W0VpRPnEstPIodPDiQ/JXqYEqNJRJx5 7I1Q== 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=dkxGKqfjlk2BseBFR/4rpL2eqUgP+7L5CxVKR6PZDHY=; b=JLi/jxnRCSAw0kc7QenkF89nI7oxHK+jiSWhmxddaulk1B4Be9fvBrr+GWEniuq+T4 JTj2n4OVejyV9sr7p8uV+UX6isxOj6XtNz3nL8HC6YrsMivKTEdjtv4cL5hKHOwamovk EpxOA3dtgioj/U/FC5+5hTA55H1oHtsfabRAMPEeiH6f7ZGjTmjkNZrH1/Uk8cTse9J3 wUbuf81CDMJfRAs7D82Ati0+gPbOdEnXMZNfRxjEZbJM8Wa3xvMWP7CdPs5tQRpYWWrx vKPbZQpHNGL9CdCYY//oNhmTVusB+m35JfW4p7gEpIoYvCs3F+Vl/nb5eUJAMYjrV0+a 1jrg== X-Gm-Message-State: AOAM531M189h5OdTQRSG6RH/nIJ2jWC682zAEspWvmEl1qJABymrrOGC za0gFmtqC+Y0mzcvPl+1px9idw== X-Google-Smtp-Source: ABdhPJwvVpI5kUxoZUY5o27MdTOXLLE+WxNK8SL79kihah8urA6NRTQcJkTareJ4XD6xl4j9eOMKFQ== X-Received: by 2002:a17:906:2a86:b0:711:d8a5:cb0c with SMTP id l6-20020a1709062a8600b00711d8a5cb0cmr7919603eje.426.1654622338378; Tue, 07 Jun 2022 10:18:58 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:18:58 -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 07/14] ARM: dts: qcom: msm8974: add required ranges to OCMEM Date: Tue, 7 Jun 2022 19:18:41 +0200 Message-Id: <20220607171848.535128-7-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: a2cc991ed634 ("ARM: dts: qcom: msm8974: add ocmem node") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Luca Weiss Tested-by: Luca Weiss --- Not tested on HW. Testing might be useful. --- arch/arm/boot/dts/qcom-msm8974.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 5e6b2ae72e62..add03309b3b4 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1608,6 +1608,7 @@ sram@fdd00000 { reg = <0xfdd00000 0x2000>, <0xfec00000 0x180000>; reg-names = "ctrl", "mem"; + ranges = <0 0xfec00000 0x180000>; clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>, <&mmcc OCMEMCX_OCMEMNOC_CLK>; clock-names = "core", "iface"; 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: 12872195 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:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12872200 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 76B8BC433EF for ; Tue, 7 Jun 2022 17:19:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345738AbiFGRTV (ORCPT ); Tue, 7 Jun 2022 13:19:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345745AbiFGRTN (ORCPT ); Tue, 7 Jun 2022 13:19:13 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB8B91059D7 for ; Tue, 7 Jun 2022 10:19:08 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id q1so36577352ejz.9 for ; Tue, 07 Jun 2022 10:19:08 -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=JTakNFUAlJ+9+QijuO6iyqkTb1n2200p/o3oEjl4QAI=; b=oLDUADkWI7zj8fKLuPWyCXEtD3hxx8wr/y4HavmaRBiKFAZE3sUGOpuGF+dpxUEnrz r0QiAuyCyc99yOvxTKcF1+df/D63bQdBjnfmjGyhUGWhpT+RNEbITil3fuWtW3Le7bXy u3VchKVZMiUxUISD03NCtOMIcjjsA8m1P36itoqc/IHdYnmJhLrB98RFpnR/eexXWeYj QbsXS7B68/Ul7OI7wBzhjMQtBAZq8Zpf17b8ajNxNI/Vvf5tJ9Lxlqbjjx/jWyFrWbUG VtpmBJqFs9Oh/x7Hi+lFsF+vBdUAVlzKwbQZBOl/mTy0gt0da6PXV9y/OEDrDB0URrgr bF1w== 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=JTakNFUAlJ+9+QijuO6iyqkTb1n2200p/o3oEjl4QAI=; b=q9PZQB9zvir5+EOzipkb+1J+QLubM4eOgXw0EQfx8pRUg2/kuw9BhD8VH5Xvp7s/IZ HXVoj1mLrFWNGgQMVMd9rioQ+ql5q0VuZjxSzbEZgT5Rg0Ie1Fq0c+lYip5/LYGFwmBw yTSGrMiGF3s9AJPaDH5jm2I+L/260RRWTKKFSZXqZ2mmSVnX/7I4oX7VgkKk3AatO0XE gi3o+yMb2RZWvqDF85QXrrCRldulsu5xyD8MunlT+GIvVWYcg3MpzSc6mkH2qQfJ62HM byIzdrVnFd2jCnqU1o9gk1SdUMS9ug39IH0y4EjDTKxKzunEDPtkjDjIlbyaRAKQQ1Wh wEpA== X-Gm-Message-State: AOAM530ELluyNLxxyIxSjqfFNbuNNpLwjZA7WRYH70XmTjxyS2XqqyIk 0sioAMu4gJ1DhlwRn7urtnKyhg== X-Google-Smtp-Source: ABdhPJxLHbqw+at64Zdxj3zFrUnGGT0lravZ0FT1iFC6rCWrK2xpKqKpZk4ZZkH2s8rvJ/aptLE/HQ== X-Received: by 2002:a17:907:a0ca:b0:6f8:5bef:b9c with SMTP id hw10-20020a170907a0ca00b006f85bef0b9cmr27872089ejc.630.1654622340475; Tue, 07 Jun 2022 10:19:00 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:19:00 -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 09/14] arm64: dts: qcom: qcs404: add dedicated IMEM and syscon compatibles Date: Tue, 7 Jun 2022 19:18:43 +0200 Message-Id: <20220607171848.535128-9-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/qcs404.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 1cca749ac9fb..7b5d3e1ddfc4 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -1103,7 +1103,7 @@ blsp2_spi0: spi@7af5000 { }; sram@8600000 { - compatible = "simple-mfd"; + compatible = "qcom,qcs404-imem", "syscon", "simple-mfd"; reg = <0x08600000 0x1000>; #address-cells = <1>; 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: 12872197 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:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12872196 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 06D43C43334 for ; Tue, 7 Jun 2022 17:19:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345684AbiFGRTP (ORCPT ); Tue, 7 Jun 2022 13:19:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345696AbiFGRTE (ORCPT ); Tue, 7 Jun 2022 13:19:04 -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 0DF4C80214 for ; Tue, 7 Jun 2022 10:19:03 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id fu3so35072160ejc.7 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=2ErbpkFNc4nrXWT0vk7hcXkEhs18HUa+oJdV7+x5uxM=; b=tRWODkZr6JdzBrSHY5RPTp7BfvJwnY5jCJgkEgrHJipbZUt3lV3Qx/gfoxWPwwq5pR 5E3Cly7AFVruBNYVYZ2DEBIsjbBDoK0Xsa4wLDDJeiYnpUxDYfp3X9ou89mZAugNaC07 z7VQOu2tKwzn5iM5RG9r+xOvr5plK9R61PQGoRgyIogdRIs66ectwCU3Ei2wrdD2Tnq/ mvjD60w2XFs8RzuOy2ISpEu7JEoXtpbWds7cX6YyoeUdwQCE8M+owJbH3yJp4AgIu/NN kRXz0CWGf89nkeeNS8rSt4oTA0j6BH3s8FYM5ViOcTTFDHn0YNFndgYpVlRM32xQtGms /jkg== 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=2ErbpkFNc4nrXWT0vk7hcXkEhs18HUa+oJdV7+x5uxM=; b=XcrhVzusZmBDUtxyw4J663sl4gpIA/9Jg14vYj/ArC2qBVcm+bLPdUE92D4eDJfagI 0sq5PhsAqdFJNDerA+2l8xkGDRrpIpQcs/+LXvaI8eVYCSMqQ6rhwCnREWcRfHo/p3rm CkZ0HFoWocDZlhl1LxDdK4M6ENd4Vvwn1qzEsra2GOy9yKpmo7jcOZgnVkzeJSUKcO8J nAda9ja++IDveZp0UWsSsXH2fcyCktaqtWPzIoYu+3592H2JVR3WXZppuAvyjrGKTPI6 fPokM5+QAu6fBaAxX6x0B3kCsQb8KdOR3UxWLhxnyAV7Ul7qjb+AucMNbuTauEQYInMe Bkpg== X-Gm-Message-State: AOAM531MrFlb4nxsm4BKIirsvbTUuzLMPkX6GKNHhPvB0KDFIOWyfcNG LEZyDF9v/cj2yYM0X65LBD+exw== X-Google-Smtp-Source: ABdhPJybxx4ln/XldFEHDvHalV8aP//0GldIPG7QkCNIeoBW8EbLUxA/kxBGE8NOs1tsvO/H8tKGSg== X-Received: by 2002:a17:907:3e1d:b0:711:dc92:e308 with SMTP id hp29-20020a1709073e1d00b00711dc92e308mr5899185ejc.235.1654622342671; Tue, 07 Jun 2022 10:19:02 -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.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:19:02 -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 11/14] arm64: dts: qcom: sc7280: add simple-mfd to IMEM Date: Tue, 7 Jun 2022 19:18:45 +0200 Message-Id: <20220607171848.535128-11-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 IMEM node has children (PIL) which should be instantiated with simple-mfd. Signed-off-by: Krzysztof Kozlowski --- Not tested on HW. Testing might be useful. --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 11fe2ed464d0..ef45cd3811ea 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -4640,7 +4640,7 @@ sdc2_data_sleep: sdc2-data-sleep { }; sram@146a5000 { - compatible = "qcom,sc7280-imem", "syscon"; + compatible = "qcom,sc7280-imem", "syscon", "simple-mfd"; reg = <0 0x146a5000 0 0x6000>; #address-cells = <1>; From patchwork Tue Jun 7 17:18:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12872198 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 999B8CCA485 for ; Tue, 7 Jun 2022 17:19:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345779AbiFGRTR (ORCPT ); Tue, 7 Jun 2022 13:19:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345714AbiFGRTK (ORCPT ); Tue, 7 Jun 2022 13:19:10 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EDB0104CBD for ; Tue, 7 Jun 2022 10:19:03 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id me5so36027631ejb.2 for ; Tue, 07 Jun 2022 10:19:03 -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=gKwByyPfxfr/n1cC+oLGoBG4NlLo51IgX3L05P+HJI8=; b=Dy8vTNOUCL6SeBYk2LMOat+XlBHFSivtmw8Z3inXucd2HorZz4R7Vb+zYOT5076sDQ eUmMt+Z96T//xNLlmqwLvPIz0d/ISgC1WQcJs1P1g3eS6Io+SdcH3AnFmuIyv45TxwkU a8TC5HBI9aG3CaPUv+zlkd/TKcL8wD1Fwtxw6BUDXawuhDWzE/qR0H+QIcUwajleND+X mZECitUnjhpVdyQAZ0AIVNw9VhpVMba40eBEU6O5sFcwOMAfFSJPu1HnOwjxDaH/WcwF z5U9aqSprPrs2eHBpCga2xQMWpU9YKXgKPBtc6zbgLcWcUM7JEV8LmiZpeEVRKWmYVPa xM4A== 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=gKwByyPfxfr/n1cC+oLGoBG4NlLo51IgX3L05P+HJI8=; b=A9MbrYqWiTwVn3Aa8H6GTrKcf0SoP4dsjePh2EmTHRuY6b35ZZ2KMPrL1N54aXhJVM UnuzNYcwgo5QwGl6uT0SHrxVMZoGoiVw4IFRfDrSbXA7WJyGPMACKS5Rv5q/JdwJCiBN AdrL9PgvmYYyLLrUUz2uAWEQkhY+l5uivyshXNHQrZTdnv8ljYeDTub3EIPwQoNkhzr/ kdQd4buPgj0eCMHVuLe6BP8i3OeXuRbEaFgz4VjQ1kL9WhA8onfqC5r8gJ3BqUHtChqE SDJOuy0vu5XwAxhRZMIdYYRA/+IfRkWB9Ho3HnC3l1OmzgBVVlNeJWPxkBwIsN3FYDHF 8KNw== X-Gm-Message-State: AOAM530eLqRnM0HgEpHYPmtHg9vv6blViysfdDFVnBTVOaEF2jM2Vt70 tt1rYxdTltZtwRYOBtDV9LF9rQ== X-Google-Smtp-Source: ABdhPJzSL/dwq6r3E9jWuUXk3PD0vK74fSqk9KX+ypDiU5Yy6dbsNXhfI1NXAO7sDxCZ0lIAYdKNEg== X-Received: by 2002:a17:907:9615:b0:708:a422:c9c2 with SMTP id gb21-20020a170907961500b00708a422c9c2mr28113240ejc.217.1654622343543; Tue, 07 Jun 2022 10:19:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:19:03 -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 12/14] arm64: dts: qcom: sdm630: add dedicated IMEM and syscon compatibles Date: Tue, 7 Jun 2022 19:18:46 +0200 Message-Id: <20220607171848.535128-12-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/sdm630.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 8d38c3d3c940..771f74dec826 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1830,7 +1830,7 @@ blsp_i2c8: i2c@c1b8000 { }; sram@146bf000 { - compatible = "simple-mfd"; + compatible = "qcom,sdm630-imem", "syscon", "simple-mfd"; reg = <0x146bf000 0x1000>; #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: 12872199 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: 12872201 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";