From patchwork Fri Aug 19 08:31:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 598768 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 BB57EC28B2B for ; Fri, 19 Aug 2022 08:32:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347520AbiHSIc0 (ORCPT ); Fri, 19 Aug 2022 04:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347343AbiHSIcW (ORCPT ); Fri, 19 Aug 2022 04:32:22 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 111F2E97F0 for ; Fri, 19 Aug 2022 01:32:20 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id z20so3892148ljq.3 for ; Fri, 19 Aug 2022 01:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=5WfuABgGkL9AfK5HJrbpixzed3bcUcc9/3Q45QgNRXA=; b=Ak1QpTr/VKgCehxKnxF4AVejAldH2KkNQfQzNsGLMm2tObgmonqMF/UtYy12/dJ3gw dSYoWGDuofnANi9zuQLbbvCM5dFGmcZjf4QrC8Ct2PznxP9Yep4fnItYam4hEW6Zhg9K JoMGzVyhay/L+ctJetYYSOtMfvlTD1wXZQpk+ab8aaB8i4KO6ANrz/PE0Y+rHqqUaFhF guBFgKEfPxAKoMjH9MtM5U3nCFKdLghP3/70KnBcb7APTv3xoEqPnaGIqHVxRWAYLNLB E+9o0q6jFukdpzahrP0bAZZSQfxAUqtTzhbJVbaN2rYkyxChXkaJ7O2pwvCiYbis2GBO VKpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=5WfuABgGkL9AfK5HJrbpixzed3bcUcc9/3Q45QgNRXA=; b=kgbvcrb5KmNom70FJrJCxVl+39npUqS8xECtqROCR6Pps5rurqVfgyZGO4fLEMJ78/ aHlZuL4ogDEp6hEgCsRAimNriCk02QGZfLEH1H5nO45RCKWZyPeP/fZTSEOkRgSO1Rjy iJ0ph4Ar2AsoG7ElbQGSXH9IXmPc2iJL81OgnkfK56k0LAsYMfguVaZCfZX2/OJsJDhy AVUQUnqRfI91qoLUUqBFqDuPu+/Uk5kI7BOopIgAH2oqUCDvDZfHLmTt/gvJG4oiyY9t QKl9kRiLealWglhS+cEpZGyPbXeLioRFJdpNsoF3BZ1RVRJWNqJzDEyfFnGZhIXpSzON bGMQ== X-Gm-Message-State: ACgBeo2gZT2PaYIsCIAhB1r2lW3+5QOvGWJLZFmnB8FIKoHZQlMh5pjz 8yAz215E3JQGOTp21ZoCZrJ3Mg== X-Google-Smtp-Source: AA6agR7Ph2MRxoCWXinqtcheu7CvhmScE8OpNiYuTQCdKm1lTOpi/K7x8dS/H00qwV7GYWbPqcn1dA== X-Received: by 2002:a2e:b8d5:0:b0:25f:e94d:10a2 with SMTP id s21-20020a2eb8d5000000b0025fe94d10a2mr1993685ljp.274.1660897939400; Fri, 19 Aug 2022 01:32:19 -0700 (PDT) Received: from krzk-bin.. (d1xw6v77xrs23np8r6z-4.rev.dnainternet.fi. [2001:14bb:ac:e5a8:ef73:73ed:75b3:8ed5]) by smtp.gmail.com with ESMTPSA id j8-20020a19f508000000b00492a54f0be1sm545355lfb.284.2022.08.19.01.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Aug 2022 01:32:19 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RFT PATCH v3 04/16] arm64: dts: qcom: msm8998: split TCSR halt regs out of mutex Date: Fri, 19 Aug 2022 11:31:57 +0300 Message-Id: <20220819083209.50844-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220819083209.50844-1-krzysztof.kozlowski@linaro.org> References: <20220819083209.50844-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The TCSR halt regs are next to TCSR mutex (in one address block called TCSR_MUTEX), so before converting the TCSR mutex into device with address space, we need to split the halt regs to its own syscon device. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 02d21bff2198..f0806ed103f1 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -1049,7 +1049,12 @@ ufsphy_lanes: phy@1da7400 { tcsr_mutex_regs: syscon@1f40000 { compatible = "syscon"; - reg = <0x01f40000 0x40000>; + reg = <0x01f40000 0x20000>; + }; + + tcsr_regs_1: sycon@1f60000 { + compatible = "qcom,msm8998-tcsr", "syscon"; + reg = <0x01f60000 0x20000>; }; tlmm: pinctrl@3400000 { @@ -1340,7 +1345,7 @@ remoteproc_mss: remoteproc@4080000 { resets = <&gcc GCC_MSS_RESTART>; reset-names = "mss_restart"; - qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>; + qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>; power-domains = <&rpmpd MSM8998_VDDCX>, <&rpmpd MSM8998_VDDMX>;