Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5272573rwb; Wed, 17 Aug 2022 14:33:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR7yhuuuBnCfzLl9qEm36/pYG4RzeFiIDXMM/AUWDUXEoY8NxdVp7y0mYpvi3fpa+qfrcpn9 X-Received: by 2002:aa7:d59a:0:b0:441:ecc9:f33e with SMTP id r26-20020aa7d59a000000b00441ecc9f33emr10549edq.173.1660772031250; Wed, 17 Aug 2022 14:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660772031; cv=none; d=google.com; s=arc-20160816; b=KATP6BzomZylvLz2BiP+JZ0+5GGoS6Frmi0sXVc6DYUDbSRoed0hklrN/pf/xs6l/u 1pNXcuOfjzHFI/0IRRniqkhFDiLtHFc2LLnEoBHIe0JgQ8hFo4Up/jXy3Bk3jliMrl3A bG1UI1BeCb2u0Wnez2D+PR/S0GlBAs4Lu/5qxuFbTjEcxhFS2wX5ZL3Z8cVrbM6Dz8BX hgHu17p6JSOu3bHa5Kl9gU2eVx8qvd0TLSNTT7gV2GziDAYaT61iScLpv9zuiseU0zpz eHnBLfqpHroh2oKYGT5ZFhJFRZD1xjSBMpzumFNtmRZP9MIRxPc8AFEKhg1G01WU+CW4 fGZQ== 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=iDXvO47kWmHZBlu29iRMYC1XHbdzTTnjhIl0eU1CRWg=; b=RaRAmlF4slCfnpWYwPEFQZoCvMyaPPkhNfh7I5vFkZY46lwQQErDDWC4f+CEsmgZ0x 3vPIP1CdlXXMWoRHYL44dLv9bn9cHD8Y9h0us65W1TLJFMP2lKRtea/iYkz1tDzU2sck 5mLM7rir39wR5VqChBaLZ8xTwNqnvTqrvid4w9TLX3SuJ7CzlU9xu4BU7M93XlNOvWA5 X1aKuUwQPNizm/5I37w2dYTbQ8rWQiwaKzP3DUns5Df/tvPcqQfShS6KPbHDxmc+gpuF /Fzdxga1940G9BRIUayON2HH/TPDjqzvAoSe2KacGD4N1j1m24KZgdok+hL/PMbjBAfF 4CSw== 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 ji16-20020a170907981000b0072f9d01a48esi13671464ejc.40.2022.08.17.14.33.24; Wed, 17 Aug 2022 14:33:51 -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 S242200AbiHQVBY (ORCPT + 99 others); Wed, 17 Aug 2022 17:01:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241793AbiHQVBS (ORCPT ); Wed, 17 Aug 2022 17:01:18 -0400 Received: from relay01.th.seeweb.it (relay01.th.seeweb.it [IPv6:2001:4b7a:2000:18::162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1047420F4C; Wed, 17 Aug 2022 14:01:16 -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 7BD9F1F425; Wed, 17 Aug 2022 23:01:14 +0200 (CEST) Message-ID: Date: Wed, 17 Aug 2022 23:01:04 +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 05/14] arm64: dts: qcom: msm8998: switch TCSR mutex to MMIO 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-6-krzysztof.kozlowski@linaro.org> From: Konrad Dybcio In-Reply-To: <20220817130342.568396-6-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=ham 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 mutex bindings allow device to be described only with address > space (so it uses MMIO, not syscon regmap). This seems reasonable as > TCSR mutex is actually a dedicated IO address space and it also fixes DT > schema checks: > > qcom/msm8998-asus-novago-tp370ql.dtb: hwlock: 'reg' is a required property > qcom/msm8998-asus-novago-tp370ql.dtb: hwlock: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+' > > 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/msm8998.dtsi | 11 +++-------- > 1 file changed, 3 insertions(+), 8 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi > index f0806ed103f1..22b2da74d105 100644 > --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi > @@ -308,12 +308,6 @@ scm { > }; > }; > > - tcsr_mutex: hwlock { > - compatible = "qcom,tcsr-mutex"; > - syscon = <&tcsr_mutex_regs 0 0x1000>; > - #hwlock-cells = <1>; > - }; > - > psci { > compatible = "arm,psci-1.0"; > method = "smc"; > @@ -1047,9 +1041,10 @@ ufsphy_lanes: phy@1da7400 { > }; > }; > > - tcsr_mutex_regs: syscon@1f40000 { > - compatible = "syscon"; > + tcsr_mutex: hwlock@1f40000 { > + compatible = "qcom,tcsr-mutex"; > reg = <0x01f40000 0x20000>; > + #hwlock-cells = <1>; > }; > > tcsr_regs_1: sycon@1f60000 {