Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4781668rwb; Wed, 17 Aug 2022 06:08:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR6/Wfi8/pvbJXhaduGRK/z2O1Tjw0AEJcITlp3gWVthDnfOJM2EWQGlvjrVIzvCD7ZuhzsR X-Received: by 2002:a05:6a00:2289:b0:52f:9293:afec with SMTP id f9-20020a056a00228900b0052f9293afecmr25191698pfe.79.1660741697983; Wed, 17 Aug 2022 06:08:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660741697; cv=none; d=google.com; s=arc-20160816; b=j9AdgalzC45w9c0RiQky/GJWvFG5v7kWTRMXrMLIYP6uuIWnTaTxkRRlKO74+Rgs0s NSAsb74GfgBC/F1Cryt7xQRk9E67heA3Dd+jAHURk6XEapHRpGdVCEJzzY9StDWT8AmI egDU1wp0MnBhp3ZBZK9OGUgF8msiTAVlfVTWSbhvuFnqRTM5YmUI7ohtiTDa5yuFMOm7 K8KC+flt14T6I4TvU7MhE3g1ctV1huoXCLy9eA/BJJ1w2tqbp6CjhHceTXMvXeP60s4C jybWtyL5wm/UOgNrJLHK0GZflH6TT/whKKKB38K8v9FbE+EOlWb/qlZHZRy6WnSomKAC BuFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=G5Gw9O1HRC2HZ2RUee8k0rPKQP+uhhOAxZLOGmh5CkQ=; b=ZqCscYP8W6mx+WOKFEPMivIdvMQALm0xBDeABsS9jCHTJ+vG1glpfuHWRbmY1sesTp a/AcoAucXCkUgejTi+8bK8uzF0nXkvFOK0hwJsWD9g5Reve8Ve6mxTQ2wV2thx8C9v6l 74CcFurkG4xZtlqwB0UDdnxTHDVQibUjE/WkO3KvdG5zh6vrMo8mq8NIRr9MJSSOqv9f WYbWPebMlJ/kmaqzEb/60vfOCTg3g6FjvGisShMMsFxcANe+wf2z/5a7UZQFH4rXFTZ6 k6W8mZbWkzL0u1omqkomKyHacwkhCbWDQPKgaMbQfNMq7/YC9/pJ2ix5jhgVtUa4N+Ol R11w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fJd0a7YM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d18-20020a170902ced200b0016e5ab112c9si1490891plg.179.2022.08.17.06.07.59; Wed, 17 Aug 2022 06:08:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fJd0a7YM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239237AbiHQNFm (ORCPT + 99 others); Wed, 17 Aug 2022 09:05:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239615AbiHQNEj (ORCPT ); Wed, 17 Aug 2022 09:04:39 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1F873D5AE for ; Wed, 17 Aug 2022 06:04:06 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id w15so13515772ljw.1 for ; Wed, 17 Aug 2022 06:04:06 -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=G5Gw9O1HRC2HZ2RUee8k0rPKQP+uhhOAxZLOGmh5CkQ=; b=fJd0a7YMv0ZcjMFd3JlFycpH5vDcvehDTH1dHlGQdq8x9ko4JNTkvGo9ShJOog7mea pZt9h/chVYurKMP2w6zu3EjZw8d+9oRjNnvF3mrYkk+2K1uN7tSN+ppst6Hna71YDNTr g3Yymbw8LIPuqTI1ToLs1kLWnoYnR7tCR6kFOiQAq/VtmQo30GjX2wMQS+Fs0DcNIxaG 0W+M2shtPxiUbeSqBBNgEqrsRVFyPIE7DqVbPYOtrZxEg2OCYXh5eZgVqTX5+mpQoe0U U9rkywJHQWN6xxGYl1en/4KuO0lbtNV1nlZdomRFq/43tmyEbvXjRhHRIYJhHa2fj/UQ Q+5w== 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=G5Gw9O1HRC2HZ2RUee8k0rPKQP+uhhOAxZLOGmh5CkQ=; b=hgIe+8D80YEjBaUmoGqtKaO8q5LR+kB/KWsbLHI85PZHrJGHkl+/I+WTJVtyh9I3C4 AuAZTim8cqFNwGXeQ55rKo/5nPjTh6erenevxcSaQN8z0oWGyvq1ur2uU3jg5nQkqdh2 Y3ev3daDrmjZ8q9pQ4dRodzFAmCp2x3C8Vt656+wOsMOgFUpD0oIvKXQBF2qXb/0NDoD XwZdGvGgHdYLW4QbMd1CrzbwbeLJD0E0IhhtKAIi4ERnlsZHcEiaLwfsJpjXWWiBpEBr 1V+vcNmxB7VnjQZKDe4TaLf60e8Cq8CdQls9JcoLTlJzf8m5kNIL4vbwuN0qWmbrow3Y D/Ew== X-Gm-Message-State: ACgBeo2VfBvxDcV5qta4tkXC+Hr9cBYAsP7R1wJi1YPRrvdmjFcyxK3q Z2Rg5i3cuBSpcNQ4LoXwJhpJIQ== X-Received: by 2002:a2e:9819:0:b0:25f:dbcd:3ad5 with SMTP id a25-20020a2e9819000000b0025fdbcd3ad5mr8039858ljj.527.1660741444164; Wed, 17 Aug 2022 06:04:04 -0700 (PDT) Received: from krzk-bin.. (d15l54h48cw7vbh-qr4-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1b1c:14b7:109b:ed76]) by smtp.gmail.com with ESMTPSA id v1-20020ac25601000000b0048b3768d2ecsm1683243lfd.174.2022.08.17.06.04.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 06:04:03 -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 v2 10/14] arm64: dts: qcom: sdm845: split TCSR halt regs out of mutex Date: Wed, 17 Aug 2022 16:03:38 +0300 Message-Id: <20220817130342.568396-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220817130342.568396-1-krzysztof.kozlowski@linaro.org> References: <20220817130342.568396-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The TCSR halt regs are next to 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. This also describes more accurately the devices and their IO address space. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index f0e286715d1b..21ed14200986 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2590,7 +2590,12 @@ ipa: ipa@1e40000 { tcsr_mutex_regs: syscon@1f40000 { compatible = "syscon"; - reg = <0 0x01f40000 0 0x40000>; + reg = <0 0x01f40000 0 0x20000>; + }; + + tcsr_regs_1: sycon@1f60000 { + compatible = "qcom,sdm845-tcsr", "syscon"; + reg = <0 0x01f60000 0 0x20000>; }; tlmm: pinctrl@3400000 { @@ -3207,7 +3212,7 @@ mss_pil: remoteproc@4080000 { <&pdc_reset PDC_MODEM_SYNC_RESET>; reset-names = "mss_restart", "pdc_reset"; - qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>; + qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>; power-domains = <&rpmhpd SDM845_CX>, <&rpmhpd SDM845_MX>, -- 2.34.1