Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4781899rwb; Wed, 17 Aug 2022 06:08:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR5RhRvBK0ODqQjKR/tP18dxIxFp/lA7q3aL9hILIkqjBPhDOQVVSq7eUpFiVF3Z06G7w136 X-Received: by 2002:aa7:8c5a:0:b0:532:8f18:cf7e with SMTP id e26-20020aa78c5a000000b005328f18cf7emr21949818pfd.7.1660741707879; Wed, 17 Aug 2022 06:08:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660741707; cv=none; d=google.com; s=arc-20160816; b=x7XbQ15Rmav9RwCMVHS1Yni7RMP8TB/Jt6JKXiiUbsOcmtYXsP4hBcI19httq+cmtf Rci4ISTKlDfNy4FOLbFoapbfWVT5/ymLIH6aiPnJXi6G4nhUzPb1QR469X/6JPBaQzqS 8ZZdzeAEF42o5s1YsOpzpCeBs7XxBjpAeyALj+aMcl+GOoYMsH/ckn7T57HJ2PbBf7ts ZO1wk2XM2PHkjE2SqBEZmdtB7vRMjRDKuyG17fAxVZfU0yWH66SJi2L8mjx9+B0kvwWA 5aSR6cfb8jTlcQAZhmbn/GL99S5DS/U7bRJvb6WihATW4H193m2PwfM9OXTxsFM9WdAC uT0g== 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=v+CAkv8Hlyo2PxpwLaCJcPFqOS7vWYe9QQHHKSYzECU=; b=WKY3rav/ZyISb0Rt2bEjT3j2Hl7QNDu8WITgOmxH2iUVPAcRM1cPc0DvIbNr3NyWMW S6GwBFhgco01LD+xbQYBvYWu2kRk8pzwKhhORiTLCD4ffCbtuvqnfJOyyWATytxGp42N v8pMgDthyzgco3pbVOsm0WSJ0vJMbRrU4CcusMJbUjM16I++COIwxJg++MZy460QwHM5 Q1lbtCOmqVVr0OoqmMff2stSVJMFt+txGmLKT+SEYDVqrO/nAF7KKLpaJe8MITpkhItp u1s+Xx6PBn7kvWpVeTqpnnaCdJKd2YnqlgVnoovEo4H4TMQ+RV/eYRhUc9oT/5+1QjtQ VwnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z2gY6kWd; 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 138-20020a630090000000b00419a4c7521bsi15799312pga.762.2022.08.17.06.08.16; Wed, 17 Aug 2022 06:08:27 -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=z2gY6kWd; 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 S239651AbiHQNFx (ORCPT + 99 others); Wed, 17 Aug 2022 09:05:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239579AbiHQNEj (ORCPT ); Wed, 17 Aug 2022 09:04:39 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C0053E747 for ; Wed, 17 Aug 2022 06:04:07 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id z25so18933920lfr.2 for ; Wed, 17 Aug 2022 06:04:07 -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=v+CAkv8Hlyo2PxpwLaCJcPFqOS7vWYe9QQHHKSYzECU=; b=z2gY6kWdx5thVEWNbyzgP/AV8QjMQfV030JlnCO2kJWlqICwWvYGcK+QYVxh741Jlf gadgcu+vGFl66aA0ey07hG3KsXQeIkkfQghuPqFZrC73X6uzdcs2RBT3XxcT3a+PJ7EJ x96Jca9TD4Op2SX2pfGnvaAekt6NI7ssHth6FWBwIcAncg7zlm2ZbNg76SEyHqRUzmh5 tR5sXvcYMdY9wCcCElJz+n4xhRaz1TI4lyDpvBMaqh8f1vLHFGy+9BCBgSL1PoRw1VEZ tEEgwqhYzf2JKX45+end44U3T5/RC1v7pG9wAUe3y44U0T3ysANHIsuKn0s/U2HwWa2O NwaA== 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=v+CAkv8Hlyo2PxpwLaCJcPFqOS7vWYe9QQHHKSYzECU=; b=dBvFpv4qikIXCmnOcRyp76rb05yyQEJ1ErRWpvl4cRclOqXPyvUCwhKyyC0Fzuk/U/ TgCvUClAmbDtYHJVavlUVsB7CO5tIJRHdfiMlsNEqOQ2ak8UKhWBSghxisb82rDSb/QR vWYVJzC89bszgFVi5a6phodQiokTsOItbgRFMEfAwak1lpuqF80/7VeS9B4N42aJZoaX U6P3E9kKUqElgrY0V3mjE6nscqsrgd8U+huD8i1jLvA16cKLkJPN0uuiw03dk838OJOT Xk6UIibyjuH2WV+0qB5MEJgU/ACkqtrXVm5qFOB6hvjnG2UTTnSq+WSSPs3EoAQyGSqN W63Q== X-Gm-Message-State: ACgBeo0J58OPHfvtC10MA7H/Eo+TfnyEKC/U3/rSZdZ+KUyMrQKKhsy/ HmnAWRp+VrJD2w1P6UXnGIebMQ== X-Received: by 2002:ac2:4d4a:0:b0:48b:1f80:a93d with SMTP id 10-20020ac24d4a000000b0048b1f80a93dmr8147107lfp.403.1660741445480; Wed, 17 Aug 2022 06:04:05 -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.04.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 06:04:05 -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 11/14] arm64: dts: qcom: sdm845: switch TCSR mutex to MMIO Date: Wed, 17 Aug 2022 16:03:39 +0300 Message-Id: <20220817130342.568396-12-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/sdm845-shift-axolotl.dtb: hwlock: 'reg' is a required property qcom/sdm845-shift-axolotl.dtb: hwlock: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 21ed14200986..bd0ec0664283 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -919,12 +919,6 @@ compute-cb@8 { }; }; - tcsr_mutex: hwlock { - compatible = "qcom,tcsr-mutex"; - syscon = <&tcsr_mutex_regs 0 0x1000>; - #hwlock-cells = <1>; - }; - smp2p-cdsp { compatible = "qcom,smp2p"; qcom,smem = <94>, <432>; @@ -2588,9 +2582,10 @@ ipa: ipa@1e40000 { status = "disabled"; }; - tcsr_mutex_regs: syscon@1f40000 { - compatible = "syscon"; + tcsr_mutex: hwlock@1f40000 { + compatible = "qcom,tcsr-mutex"; reg = <0 0x01f40000 0 0x20000>; + #hwlock-cells = <1>; }; tcsr_regs_1: sycon@1f60000 { -- 2.34.1