Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4779644rwb; Wed, 17 Aug 2022 06:06:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR5RiOApuZF6KE7ZBlLAgMGlaXNSXYT3XcCZyo5obGmHyGBisOUC9zniPDK6aWJNXYve439a X-Received: by 2002:a17:90b:3d0a:b0:1f4:f03c:5f55 with SMTP id pt10-20020a17090b3d0a00b001f4f03c5f55mr3696457pjb.103.1660741609772; Wed, 17 Aug 2022 06:06:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660741609; cv=none; d=google.com; s=arc-20160816; b=WAgaW5X+FRYe07gRf4IY7+3WCNgq93OvIIzsjp+hcKRePOHdlBTQ6pAkv7HQi1P2lT SptEDGPX5cNVgp0+EzAvMLDbwTRQHKtiozD99YIDL2aG4VkjFGmhw0oFTgJWFGsbZshk zoel+fCy3wk2RruPa61Wfg4lhzqpz1b1I//veaWwUmb7iADaI8m+uIfQMv2eyXFrg400 WhcdVMjr6E2xirFJlKg+aE+Iv+4820191YTpKHYx9qRSS/Zgs1qlV2li0j8MMZBr1PKN xvJlyfNB35xmULFHzwqUMergzC8Q0ZCxNzmtWvDbmXMxoV2kvKB+4v7El0sqRB+M992s zggA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Oc1vz9/DWeA4ULM94yDKxE44YQvZ9a9JuzHX3olMNuY=; b=ApwRfUSWxmbOprXS1kKBOopbiy6VA5yG3ySVjMdC5f9PT8aKYopD2Luz2gZvFxlgpP kJN+Y+N6b9udpfBSNHrc3FWlEqzrxgVObLlZRCBqhjWDB2CmYrgpvgbwndnUAai5IcwM awQ9y5hPNvpE3vG5UHuwqcFWoqFwbLbg6IHPkCzC4Bm2z7D0oOYGYMoeiA8NWqF8a+++ +MHhh+iBFfFAQrYRUjSsYdVflluCdKR9HW+S4Vu4+va31wUxJbFNsaZXjJR6Fbf/QPuz ErpBj6i1vj/tNtnOlkZ5w4nWLMYxf0g7nhzxlTjbwCDQaDJTh3yo0jYB8x6B5vyi6ayc y9ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fc9cabtF; 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 i189-20020a6387c6000000b0041cd5c0295esi16427762pge.852.2022.08.17.06.06.32; Wed, 17 Aug 2022 06:06:49 -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=Fc9cabtF; 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 S239629AbiHQNEl (ORCPT + 99 others); Wed, 17 Aug 2022 09:04:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239557AbiHQNEK (ORCPT ); Wed, 17 Aug 2022 09:04:10 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5637356DF for ; Wed, 17 Aug 2022 06:03:59 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id d14so18895593lfl.13 for ; Wed, 17 Aug 2022 06:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=Oc1vz9/DWeA4ULM94yDKxE44YQvZ9a9JuzHX3olMNuY=; b=Fc9cabtFx1GJRo4qrTB1EhBZ7hgujc16iVvpb3ePFvG7T1vcX0scRoIps3RRq8NtN+ DL6+dWYcEg3ceKPL2PyTfkrMrW1SnWrgfKi3fyBxqQjjZzjSS/31qwzITB7Df7Dhf6V1 jIO9+VNh21NxuM8sc/hm5JRWUda/hlXtfMpr9CR4EDsrV9pG3PNHnMx9KWtGtZW46dbh ofza/0xET9r3x2cneAdfuR9tA7Q0UMH93VnLod/yHIxs4Imeb62+0unZImweenPvGxxh wIVPnk+/pg495RSGZVTs83+E4KUJnlf5RgrpmMRt6eHsW5C48azxrN/PtQHpd82+WvyS lnhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=Oc1vz9/DWeA4ULM94yDKxE44YQvZ9a9JuzHX3olMNuY=; b=M79bQYMSX2/nFLUYfcEhdnlhEbe9e7E0jKsMb4EjHfY1GwG/Opo7jQlBDMocCNT7Nr D0WuKgleI+MvlHphP+M6X2rSH90Mfw7mWzHvMUuB796mj15ZW4NuBx4qdWNWIAl98q7B BuKwoBuBZxs9pUzk6eX9EAw9IPMAYXWeM4Amf4UtUREDrHc3DHxVb7rxhDQrWOlzFojY qEzh6vHuMt/4HzfWD2CHfpmJf4HaEoTZx/RpTYmJzEFPd37TNkL/fsDv/7xugX9ltk32 O5BZshIJjRotg4pWH6kuOgFv55ud5oQkE4W7Be5TkU2zqKVBrGwHIK9hMuu9J/r+SXO2 +Cjw== X-Gm-Message-State: ACgBeo3z9cbHYimZ6k7pluLaG4WGPdORYka9bD0ca7N+/cqbWtrT3bRq gzxdbcMJhrQnPC0ut366IJRSGA== X-Received: by 2002:ac2:4c42:0:b0:482:cb18:25ac with SMTP id o2-20020ac24c42000000b00482cb1825acmr9289923lfk.643.1660741437470; Wed, 17 Aug 2022 06:03:57 -0700 (PDT) Received: from krzk-bin.. (d15l54h48cw7vbh-qr4-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1b1c:14b7:109b:ed76]) by smtp.gmail.com with ESMTPSA id v1-20020ac25601000000b0048b3768d2ecsm1683243lfd.174.2022.08.17.06.03.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 06:03:57 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RFT PATCH v2 05/14] arm64: dts: qcom: msm8998: switch TCSR mutex to MMIO Date: Wed, 17 Aug 2022 16:03:33 +0300 Message-Id: <20220817130342.568396-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220817130342.568396-1-krzysztof.kozlowski@linaro.org> References: <20220817130342.568396-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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 --- 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 { -- 2.34.1