Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp122124rwb; Thu, 18 Aug 2022 00:20:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR7HZOYnB2fP3WaH1qCoJWllP1gmr0Eb+B9XY28I3XnOBWzmcsG0W/dkYnOHScm/KIdx7l70 X-Received: by 2002:a17:902:a584:b0:16f:8663:6c68 with SMTP id az4-20020a170902a58400b0016f86636c68mr1773029plb.144.1660807217396; Thu, 18 Aug 2022 00:20:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660807217; cv=none; d=google.com; s=arc-20160816; b=wJklBlT4ZtdJpGdxOWkA4AQQnmkghdNHHSN6h0/+H9O0NZD5cQ9/yesPfNklg+eX5Z KgM8zsn2RCMheg13bN8wZGyz7U8+m9p6qWtETOp83k2GAy0seo/kAgcSe5Q7snC0QEuO kyCYcpTUylq2oq1Qbis/69ePbFI8bzV8zRlgdkKlcDOh8urWKgTekoXjVjvZLdSe0U/a YzXsFLVZaUXvxX2+N2oqulNvbW34+6m7AQZtMY1hnjM3e0PZmOEeGOC842AtAv3DKHWQ zO+sMQM5LC61f4+8G2DLmVkjViYnqoNBvz50ZUxfGod+9tMCJXZFSN6D1smwI+U6ugcT 2FnA== 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:dkim-signature; bh=JIhqnGFxqlWQT6HH4YHYR+CEvA6ZgGkLEwhbs6gjVNs=; b=XYYLO6ohnDPYhCyS2UUuoxg6qtHnmzBM9uiZ1RUP9PmQMUFhVL7H/zAXeRTy5ScnpZ sf/235hn1Kwh/eCjIL/5JCbmBFn6PKwKaHcd3VwBIHsp9RxIsv0L4zR6+qltdvJx3RYX GQUanmzQdX3CweGxnIRPuMK8u5cIiaJDVoBq6kwyceaurCAii4EY2Pl9pENi2z+S4eap JhAkgtw8+9e6pnymg8sN82/vYubljAsIr+mpZpcUJVO1PD1foynEyBd1JpgYD1JnacDd UVGQX5yDcwGOqlDCG7wFtjW9wYduwc08PRaoVHKUvIPwl/w1PwLBve62zALCKatfhdip RGhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UUBPeBvh; 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 pf7-20020a17090b1d8700b001f25be60dffsi3992410pjb.166.2022.08.18.00.20.06; Thu, 18 Aug 2022 00:20: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=UUBPeBvh; 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 S243753AbiHRHEY (ORCPT + 99 others); Thu, 18 Aug 2022 03:04:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243755AbiHRHEW (ORCPT ); Thu, 18 Aug 2022 03:04:22 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64B2285F84 for ; Thu, 18 Aug 2022 00:04:20 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id z25so1004031lfr.2 for ; Thu, 18 Aug 2022 00:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=JIhqnGFxqlWQT6HH4YHYR+CEvA6ZgGkLEwhbs6gjVNs=; b=UUBPeBvh9P4fC4LIsBACFCj8EcocoO1lfi9Myu5LoHIUmC3lNTgkVaDbp3fIl2j+uB F8VhDacewf2PyFD5FWP51bIjbd3i10tzjSYmH68d3o9Jhr8VLJps+uidbXPD25i9lVtI csVu6kYWk6/yyIln8g2TJFgDfnW8KJ9/QJRh+dMzp96izrrrDa2CDMKXhy9sVaiaPM5A fKo3456HiZgXTH2rUU1rKOP14HkZ8vzcSqqEBsKSNKoA2K4NwnpViC7nKqltBrYoAhI8 qi3lIER0jOHP3Pr1a512FiZhB6makQvYx5WBMU18wNNl9U+jiFgZueE+fwm3XTftum1/ vcMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=JIhqnGFxqlWQT6HH4YHYR+CEvA6ZgGkLEwhbs6gjVNs=; b=RYrkaJYBC55sOU7oFfxg1BsNpB/kz51nNpFvDs8v8TaeGj1aTBoNh2TMXVJJxLdo66 vkLA146To4T3aWUGMTbZOJrFCFBstmf/cTSxZO+APxiJTS255ALPGFTYhJfX4QeOjuml g0258nVZIfxqLZhgzub2uxSHvAwNbZILI3VAh/x4Z/7sUyTW067fb7gUgLeJ+Y2LpY+C iYT3/iukWc/RQ8lssoO03PIl953rIhxfxHljd39KO6GwtDUd0cYP5aDnniTMNPffaGox bzSaEGDy/frsDeBnF8uCqE7NyFzmdE4cMMMWBTqkrK5SKRw5m7aGVpBXyEWxzoWmqRvV aT1A== X-Gm-Message-State: ACgBeo1tfSULSNjFIYq5uEOMLJGVUU9Sx2MAmelp5Fx7L7l/6hgHxOhf /cUNjO/2UOqJkYzjOwQ2HfAEIg== X-Received: by 2002:a05:6512:c25:b0:48b:1241:fb9f with SMTP id z37-20020a0565120c2500b0048b1241fb9fmr561581lfu.74.1660806258450; Thu, 18 Aug 2022 00:04:18 -0700 (PDT) Received: from ?IPV6:2001:14bb:ae:539c:53ab:2635:d4f2:d6d5? (d15l54z9nf469l8226z-4.rev.dnainternet.fi. [2001:14bb:ae:539c:53ab:2635:d4f2:d6d5]) by smtp.gmail.com with ESMTPSA id z20-20020a056512371400b0048b3768d2ecsm107282lfr.174.2022.08.18.00.04.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Aug 2022 00:04:17 -0700 (PDT) Message-ID: <4aea569f-38c1-953c-8293-25d6fb5e4477@linaro.org> Date: Thu, 18 Aug 2022 10:04:15 +0300 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 14/14] arm64: dts: qcom: sm8150: switch TCSR mutex to MMIO Content-Language: en-US To: Konrad Dybcio , 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-15-krzysztof.kozlowski@linaro.org> <15fb94b1-e901-c139-3f83-21922ae28c35@somainline.org> From: Krzysztof Kozlowski In-Reply-To: <15fb94b1-e901-c139-3f83-21922ae28c35@somainline.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 18/08/2022 00:07, Konrad Dybcio wrote: > > > 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/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 >> --- >> arch/arm64/boot/dts/qcom/sm8150.dtsi | 13 ++++--------- >> 1 file changed, 4 insertions(+), 9 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi >> index 7d509ecd44da..dc6770391813 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"; >> - reg = <0x0 0x01f40000 0x0 0x40000>; >> + tcsr_mutex: hwlock@1f40000 { >> + compatible = "qcom,tcsr-mutex"; >> + reg = <0 0x01f40000 0 0x20000>; >> + #hwlock-cells = <1>; >> }; > No replacement for the trailing 0x20000? > There is no user of it, so I did not add. I could add remaining block just for completeness. Best regards, Krzysztof