Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp680455rwe; Fri, 26 Aug 2022 12:11:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR51yqvRiSCEZzB1xTGWcyOp3YNNZPrfUBv14SYqySm0ByKKgMDRS4ZvO1rcrwPwPBEUZz/y X-Received: by 2002:a17:906:ef90:b0:730:9af7:5702 with SMTP id ze16-20020a170906ef9000b007309af75702mr6483325ejb.107.1661541086246; Fri, 26 Aug 2022 12:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661541086; cv=none; d=google.com; s=arc-20160816; b=tGlf1bPh1D/5ippGJTas912p8G7YzWZ02V5sx+xox2frv4h21wqEWSI+TMXQRQ6UJT q5QfsWTulNuhYHHDo/VmVYUGPqMnCeB49xszq1SwFVQUusvqs64V4IFTGQf1f9SMeUM9 uXc4jul9jpF0W7NbmmmRH0Ueppzwy+T/mQPaUP5E80K4CuzExDKpF8p89A8u/bJYhAxN ByJ1rB+Eh1LhytTEuQhQYwcdDmmxbHu6B0UA5oLBoqpBLulY9Axy4kj8IRyvSBbO8CP8 VT7gSeSi+H6dgffOwA+Keez5NHPzjY7d0mTk2ZuEz8iIyeRSKNdkS8gcEdMuOfccBWJm 9DjQ== 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=ZGwTJDVo2rU/OB+7gMPniqrUhXNfRMo9a7hrdL6OV9M=; b=lp1KCHNhRMeF/aRNlQaYAXJI9bKHSCEW1PZVQkGbR+7Yf1JIrFjy4zUUeqhUvXKukq ZKi8ckjF6IJyp0/tfQhAfeUbsVrCOGMJc23/FvBl394aYAACQ3IDPxGlYXCoPrflZSlp Neb5NrmVmatnCKIwOyyLClUdC4Iod2Pix57+h9yjM6zgpcaeG7rFTcLt16Guz0KS7mzK NPKxPzMtzTU4g7oS4zFd/VUpbiey77z+3Smce9c+W+lzgNh3WixyrfOmrmdBHvy9ymLJ JvsLcbmTM0pYj4REY+882kvUT2Oh/zu7qDGd4SJ2D8xBXxmjC4XKUaMsVUopa/U9vQEg rA3A== 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 d19-20020a50f693000000b00446783e2bd4si1848570edn.253.2022.08.26.12.10.59; Fri, 26 Aug 2022 12:11:26 -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 S1345402AbiHZSwf (ORCPT + 99 others); Fri, 26 Aug 2022 14:52:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345386AbiHZSwT (ORCPT ); Fri, 26 Aug 2022 14:52:19 -0400 Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [IPv6:2001:4b7a:2000:18::171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B4113CBC3; Fri, 26 Aug 2022 11:48:09 -0700 (PDT) Received: from [192.168.1.101] (afbd60.neoplus.adsl.tpnet.pl [95.49.29.60]) (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-r2.th.seeweb.it (Postfix) with ESMTPSA id EA08B3F6D3; Fri, 26 Aug 2022 20:48:04 +0200 (CEST) Message-ID: Date: Fri, 26 Aug 2022 20:48:03 +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 v3 16/16] arm64: dts: qcom: sm8150: 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: <20220819083209.50844-1-krzysztof.kozlowski@linaro.org> <20220819083209.50844-17-krzysztof.kozlowski@linaro.org> From: Konrad Dybcio In-Reply-To: <20220819083209.50844-17-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 19.08.2022 10:32, 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/sm8150-mtp.dtb: hwlock: 'reg' is a required property > qcom/sm8150-mtp.dtb: hwlock: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+' > > Signed-off-by: Krzysztof Kozlowski > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm64/boot/dts/qcom/sm8150.dtsi | 11 +++-------- > 1 file changed, 3 insertions(+), 8 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi > index 6df2e6828282..da737ba54490 100644 > --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi > @@ -585,12 +585,6 @@ scm: scm { > }; > }; > > - tcsr_mutex: hwlock { > - compatible = "qcom,tcsr-mutex"; > - syscon = <&tcsr_mutex_regs 0 0x1000>; > - #hwlock-cells = <1>; > - }; > - > memory@80000000 { > device_type = "memory"; > /* We expect the bootloader to fill in the size */ > @@ -2054,9 +2048,10 @@ ipa_virt: interconnect@1e00000 { > qcom,bcm-voters = <&apps_bcm_voter>; > }; > > - tcsr_mutex_regs: syscon@1f40000 { > - compatible = "syscon"; > + tcsr_mutex: hwlock@1f40000 { > + compatible = "qcom,tcsr-mutex"; > reg = <0x0 0x01f40000 0x0 0x20000>; > + #hwlock-cells = <1>; > }; > > tcsr_regs_1: sycon@1f60000 {