Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5251257rwb; Wed, 17 Aug 2022 14:05:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR5nzLyMD1bQdXdfhFBwHUF4PeMbPTuSNgaJAg5GOX0nIbFHEu/Rabhc79krQYWuPASWlsnr X-Received: by 2002:a05:6402:424d:b0:43e:95d8:eb46 with SMTP id g13-20020a056402424d00b0043e95d8eb46mr25172482edb.306.1660770336915; Wed, 17 Aug 2022 14:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660770336; cv=none; d=google.com; s=arc-20160816; b=gR9pI7oA06wqxKFIGFju91Z5/GwZzmn6+ceLc3PYjXlek/TMSSMHHHpYQapBmL7h+y TPWDkbuiJ5vVckNdL+wcJnuFTWGkdaX7KvjRr7ArxkrYQIHGyVkySocWq00GTD8Bmt4b kQKzmMJmV3fw7phDb9XIQnwviQcimzHLnAyr2y7L3mJfwNAl5MAYRLAMVpG6VIgcpe2J mmJRj9IZg+EitEIHbOIMFV3tADsKHzeE/2q9StCHI7ZJOKLZE8HcPwuu0GaSLxW6lIsW lHjrTecH9KscsHtirZmKlEscQ3vdLVY1AhP6itY8RJpGfdFsqL0AWU5uQe+ye6O/TWNP 0ghw== 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=WZdAtBUxDM0oS/Fois246+DQCCFOLe7uWvO0NMyPefk=; b=UcHGA7neajic4bVIC/obgyGA7xtN2FdwTZGfQ6rsqSf8nUM0/k2XquV1GjYxkPOd9c /GlFLXDNea/K2c2pQr17Gwwv6+CT2qFsEjAT98+e/h8KLvJforRRZLuJh+hwVCk82lAx +fc4Z8ccd2iO8q+cT958HijelVXuvzFfjXY0OjSQSaT13wS3C/bC/WYnke2tgKdDEeka z+242iRFa2lcrKAmrwTGukEM3uB5ZgpEZF7DrKW4e/f5n7FdJxul1jyvMoIF1kg6rc2L 1ZJLyG7Qrf0sH8+i3sFUDRdP0iJH7GzyKrWgwvmT8pMCm1TRnV93f9lqUmXf7uCBhfg5 SGtw== 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 nc24-20020a1709071c1800b0072ed4f5cec2si12791824ejc.281.2022.08.17.14.04.41; Wed, 17 Aug 2022 14:05:36 -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 S242227AbiHQVCe (ORCPT + 99 others); Wed, 17 Aug 2022 17:02:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242234AbiHQVCZ (ORCPT ); Wed, 17 Aug 2022 17:02:25 -0400 Received: from relay03.th.seeweb.it (relay03.th.seeweb.it [IPv6:2001:4b7a:2000:18::164]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A354AB414 for ; Wed, 17 Aug 2022 14:02:23 -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 A63681F425; Wed, 17 Aug 2022 23:02:21 +0200 (CEST) Message-ID: Date: Wed, 17 Aug 2022 23:02:20 +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 07/14] arm64: dts: qcom: sc7180: 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-8-krzysztof.kozlowski@linaro.org> From: Konrad Dybcio In-Reply-To: <20220817130342.568396-8-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, 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/sc7180.dtsi | 13 +++++++++---- > 1 file changed, 9 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index 49f28cb531f6..5d2dd21da79c 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -1464,10 +1464,15 @@ ipa: ipa@1e40000 { > > tcsr_mutex_regs: syscon@1f40000 { > compatible = "syscon"; > - reg = <0 0x01f40000 0 0x40000>; > + reg = <0 0x01f40000 0 0x20000>; > }; > > - tcsr_regs: syscon@1fc0000 { > + tcsr_regs_1: sycon@1f60000 { > + compatible = "qcom,sc7180-tcsr", "syscon"; > + reg = <0 0x01f60000 0 0x20000>; > + }; > + > + tcsr_regs_2: syscon@1fc0000 { > compatible = "qcom,sc7180-tcsr", "syscon"; > reg = <0 0x01fc0000 0 0x40000>; > }; > @@ -1932,8 +1937,8 @@ remoteproc_mpss: remoteproc@4080000 { > <&pdc_reset PDC_MODEM_SYNC_RESET>; > reset-names = "mss_restart", "pdc_reset"; > > - qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>; > - qcom,spare-regs = <&tcsr_regs 0xb3e4>; > + qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>; > + qcom,spare-regs = <&tcsr_regs_2 0xb3e4>; > > status = "disabled"; >