Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5252379rwb; Wed, 17 Aug 2022 14:07:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR4m/2ySh2pn26tMEQmz4zRVmRbtvF9tS6sGK0Zas1UfFNkQzhNgB0+4MIeFzlxE8kCMYldH X-Received: by 2002:a17:906:84f7:b0:734:e049:302d with SMTP id zp23-20020a17090684f700b00734e049302dmr16217092ejb.589.1660770422101; Wed, 17 Aug 2022 14:07:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660770422; cv=none; d=google.com; s=arc-20160816; b=IifS82eUhU1iT2CfnsJpjydflbloLdP2xxlknWIp6gxR8Okyy0Jtfx/5M+ybUz9lnx bhdqgA8K+RBhKKOATwq0/4moitqeWUj9J4SPvrULKfMGQ7cj+PtGZUHAAbgUFC7iwOey g+AP1U0Y1hMTCWzNjeddZZI0As/CyOhnpEdhJJeaemHAwo2UztnFmQbrABPkdpbWfHXy 0TjvyChENQ5kE2FAVGIe5xV0K7UVpIU8ZYF4/vCAHJawc1BEysgCWKGZgUeReiH0kovO uxDIfnApmu/yoOnYE18DBQjQafOxpQ5F/e0oQ7UJcblkm1I+eD5S0L96gy3XWyBhEgFF BmEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id; bh=NA2zGEjcmWLqnKeQ2AmkjLA9vm0oqXHN3r/Jg4NepZ4=; b=Djo4tQu/oFlrSKeE2iAMC5ZX12oUCdhsMn6LoYoTjZShyUZ4TZPbvP16XtpmLVfTlp J4IiJTBXGzraeWpI2be74/7RmTcwlobyrpGXrg4PU1b9VxWwDl3acS2/vl204f7rNFdd GvtxADqnLbrSWoL7movJZ6YV5tBfSfBbRGh7MpY61sfOo+aBhw9P6a8RW12CA5Ak6eMB TVK/zFIrtE7rjWcHRzyoHPHEMd4+4aT1ZHALa6VYpt9otDsejqwuW8rZZP6Y9DIaRWbJ I7h6YPI4zJV9CSBhDetODrGJT7KJNJGI5bvsLM++jXbb7VAey1tvozsr0R5TWouBK5Mr CpBg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020a056402358700b0043e1ec7a427si14287849edc.570.2022.08.17.14.05.41; Wed, 17 Aug 2022 14:07:02 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242247AbiHQVEB (ORCPT + 99 others); Wed, 17 Aug 2022 17:04:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242252AbiHQVD7 (ORCPT ); Wed, 17 Aug 2022 17:03:59 -0400 Received: from relay03.th.seeweb.it (relay03.th.seeweb.it [5.144.164.164]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C44F39A96E; Wed, 17 Aug 2022 14:03:57 -0700 (PDT) Received: from [192.168.1.101] (abxi168.neoplus.adsl.tpnet.pl [83.9.2.168]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id B0F751F425; Wed, 17 Aug 2022 23:03:54 +0200 (CEST) Message-ID: <9170643e-ad89-d31c-0307-59dc737e362f@somainline.org> Date: Wed, 17 Aug 2022 23:03:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [RFT PATCH v2 10/14] arm64: dts: qcom: sdm845: split TCSR halt regs out of mutex Content-Language: en-US To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Lee Jones , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220817130342.568396-1-krzysztof.kozlowski@linaro.org> <20220817130342.568396-11-krzysztof.kozlowski@linaro.org> From: Konrad Dybcio In-Reply-To: <20220817130342.568396-11-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 17.08.2022 15:03, Krzysztof Kozlowski wrote: > 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 > --- Not tested on a device, but looks good to the eye: Reviewed-by: Konrad Dybcio Konrad > 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>,