Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4782854rwb; Wed, 17 Aug 2022 06:09:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR4oOPz0cX/uPCoUYVIDPKWqFQl3CurY0DvHrhJsB6IZyf07Sp32hTOnpdUPNk50hNVufDGG X-Received: by 2002:a17:90a:4801:b0:1fa:98ec:fa2 with SMTP id a1-20020a17090a480100b001fa98ec0fa2mr3634054pjh.41.1660741756968; Wed, 17 Aug 2022 06:09:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660741756; cv=none; d=google.com; s=arc-20160816; b=JsPOjZ+e9DG7MmhvkmGErUJWlG3wPR3G0+vrQIjBXhWrDgJhnaDuo3jLyvRyj4s3FO OaDRj9VJ9s8m3xuo8PSxPMbuwWkZtPY5NZOhTUP8PF0jGhtgV6inX/9hpEdJCMLmaMhY yhu9Gar14aREoB66O8R1Iq4W7V8wQE5mzfeJD6oN5bOyKiklvDgeusgdMslTXkRgUK+C uqBxoToPL4h+eZAJ0jRzFowwJUDb84uCa+t5pts5NUPMCs6NrURQ4qBFleb0q0a/Y6ZI APyWEPqFlc8ytWbB8TYuou+uATDldwYfIX7Gfg/9N0wHzPFlnzkcGjNQNADcJcoY4KrU 0e4A== 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=DqeinnIMS7tnZ1s/F5WbYXe7dS10PhHD2RlaXqtenk4=; b=KQs8ZCmNO6SulEMWMkaIMNFc8Fuy/3wuPOh6XEGY3K2aZo2VpF09M1YG1UgfwTrKTy bNwz7OM00NzE704efBjmUoR+QhOi8PA1x3xwHNEn6xiPeBH11zQVhEDzlS/4mPYOQ24b 5TL/ogJ7CkVShiceHTazTgd6Vd/WBEftUsrGA1Ztb6nt8D6usL/Ai+YRa7p10Gq+4blL x1Oz5MUPl7MhLSQG9Ahjcgj1m3M0GuiBTDVC9YucDVPjdSyAQ/WUYG8hBXj5a58Hqmak tbXoyLBs403HEGRvLhadFlzKvIj3DsfhSxHDunG3Dpq9w3clYM4ESbTvF5m1wusksrGB o8zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i0GvDg8T; 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.08.59; Wed, 17 Aug 2022 06:09:16 -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=i0GvDg8T; 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 S239694AbiHQNGE (ORCPT + 99 others); Wed, 17 Aug 2022 09:06:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235930AbiHQNEk (ORCPT ); Wed, 17 Aug 2022 09:04:40 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08B9633E28 for ; Wed, 17 Aug 2022 06:04:08 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id w5so18925892lfq.5 for ; Wed, 17 Aug 2022 06:04:08 -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=DqeinnIMS7tnZ1s/F5WbYXe7dS10PhHD2RlaXqtenk4=; b=i0GvDg8TPViBlqsgSYnRwUvswrg91GsMb+QaX4/VEVX2zBTIOPJt4gpUlxkvcXpBvT xK6+oxY6A3mVE05M0AW4zmDifbsfOCNDRjAH70dyD8TJliMxGLVYLN6Vp8u5xera9IT1 RoEouXPxXYB4W7DoAzax/1F30Pq2WI3Y7jLZO3h8V5s+C7h9aNwK29gPFeZK58PwrGx/ nuQn+j7/AwPxahNDvRsGaG1KtaSXjBkYaa8r57BzaSNVFNE48ryz03CCBznEcwwSdj+6 zsFWcsCqStRuqJKbNDFTU+Owsfv2bZZzwNRCDLLV2gvayHioBcyKT8RLkEu4a9wF4Wtd YRUw== 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=DqeinnIMS7tnZ1s/F5WbYXe7dS10PhHD2RlaXqtenk4=; b=5e/8s/TE1RJnKoW9MBTGodxAAVmRhPcXR9Wyozw+sg/XNcYG0/zhedyTIT2CRWQ4N7 y4wKyv2UdKfmL4kYHq/xEv5bNWun98hMuK0Yq6Ql8uDkMBBmaca/jRwCwgxkoZRO5EkS BUKaSH+MRm5zzq7MSDlOx7YnpBw/fFzUCn5K9VY8yyoi21kfu0hgBdt4kYUomFM9duBB n48uFt4SEh6eiqAn936uAor43v+C1s33ZuyHnfPw2DBwyFFnu6TuHej2QB76OXj7taZF lyufGJvKYngv7xQ8efdjAXhCV73msAM/v19RGDpMNERJJU3tGdYiuJO2RCGTwrF5sjjY 0GJw== X-Gm-Message-State: ACgBeo2svZbmFqgUJ2hCc/VOieQIugKmYXOazPw8/6gnbOfgjpzzbm6r oJf4DdKwGCJ5QVOR38rkNs8n1g== X-Received: by 2002:a05:6512:22ce:b0:48c:190f:5c37 with SMTP id g14-20020a05651222ce00b0048c190f5c37mr8321869lfu.564.1660741448295; Wed, 17 Aug 2022 06:04:08 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 06:04:07 -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 13/14] arm64: dts: qcom: sdm630: switch TCSR mutex to MMIO Date: Wed, 17 Aug 2022 16:03:41 +0300 Message-Id: <20220817130342.568396-14-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=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 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/sdm636-sony-xperia-ganges-mermaid.dtb: hwlock: 'reg' is a required property qcom/sdm636-sony-xperia-ganges-mermaid.dtb: hwlock: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 1bc9091cad2a..40a40d00eae4 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -697,9 +697,10 @@ tsens: thermal-sensor@10ae000 { #thermal-sensor-cells = <1>; }; - tcsr_mutex_regs: syscon@1f40000 { - compatible = "syscon"; - reg = <0x01f40000 0x40000>; + tcsr_mutex: hwlock@1f40000 { + compatible = "qcom,tcsr-mutex"; + reg = <0x01f40000 0x20000>; + #hwlock-cells = <1>; }; tlmm: pinctrl@3100000 { @@ -2351,12 +2352,6 @@ intc: interrupt-controller@17a00000 { }; }; - tcsr_mutex: hwlock { - compatible = "qcom,tcsr-mutex"; - syscon = <&tcsr_mutex_regs 0 0x1000>; - #hwlock-cells = <1>; - }; - sound: sound { }; -- 2.34.1