From nobody Fri Apr 10 22:07:18 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0561C25B0E for ; Fri, 19 Aug 2022 08:33:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346362AbiHSId1 (ORCPT ); Fri, 19 Aug 2022 04:33:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347663AbiHSIco (ORCPT ); Fri, 19 Aug 2022 04:32:44 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BB27E9AAE for ; Fri, 19 Aug 2022 01:32:33 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id q16so3304026ljp.7 for ; Fri, 19 Aug 2022 01:32:33 -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=HUb81+JEG6Xfm8piVDwL1AMOuxmRGVBYXMDhN0hd0ms=; b=rYqOxrMR0a43Wuh/jdIepeZapi1JH23fopQiltPNP2wyBw5Imbcp6XyhQ0g8ZKzu0e Fc/5pkNrZMinq05pftWxFxF23KP/ZQZkqtNSEYAQN0v6m3q1bO8L0TxoaJt//06BWOdb PAH52qj9Po5SQ+7G//uBQ2h01WvPv3vRIxvAXwPSBUgPUYLzNb2/YSmogTyKRQKDdHVa KUviwKlqHP7dGGM7Lu/FZPsiWb5RFd+ZX90OeJaiUQ0wYWj/b4j309WYi6atoI2/AWFg o4gWzHU4Hh24juderxgFKmusH4ZxQlqRj+yM2k/tflM21i23/xIsQZmBkLpJgBa80yXL 753Q== 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=HUb81+JEG6Xfm8piVDwL1AMOuxmRGVBYXMDhN0hd0ms=; b=XxkVY54WoN+e9QZ0y0JhY0Scp3VqFP0SycaPDPHP8BRoSr4dua9X37tv4ApzUNFJEr IaiGyug4yR2m8m9xlTAuwPIhw4MWPsGKVWwoFzuj4EaqSNAYWqCX1Q87HnACDJ09rVI4 kIszqOvi+Cs6p6/4RU3BRhGyEYSoM3+GMYJVB/A0vSayU7cENbfJuNXnzumG4rzNOzCM ZkmemBCACVh8BgaO4tq2lNk5gf+WX6J/uJSxRTeLz1mem7t92kwy8pwAOvGo9iR66TCl F9Iq4KTYUyJoAddbG7PvElQtV1gQsc4C1fu5BIs6vk2tJ6nEaiIDisYvYynFUIq6kjDJ sF9w== X-Gm-Message-State: ACgBeo1dC7LnIlactKTblcfJgmXrmX8gF7BGo1EtP0bRM2O2g+gsuACQ d5Q4k1k6AWsaxC4XKJKh1IYlUw== X-Google-Smtp-Source: AA6agR7zfGoVmGIWmhB1UGGA3KQnBfEKQNYXqcnoAuy4DHb0Gpt5hHDIJV17efLJKrHd7A1oUfbuuA== X-Received: by 2002:a2e:8515:0:b0:25e:5582:388f with SMTP id j21-20020a2e8515000000b0025e5582388fmr1730529lji.261.1660897952818; Fri, 19 Aug 2022 01:32:32 -0700 (PDT) Received: from krzk-bin.. (d1xw6v77xrs23np8r6z-4.rev.dnainternet.fi. [2001:14bb:ac:e5a8:ef73:73ed:75b3:8ed5]) by smtp.gmail.com with ESMTPSA id j8-20020a19f508000000b00492a54f0be1sm545355lfb.284.2022.08.19.01.32.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Aug 2022 01:32:32 -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 v3 14/16] arm64: dts: qcom: sdm630: switch TCSR mutex to MMIO Date: Fri, 19 Aug 2022 11:32:07 +0300 Message-Id: <20220819083209.50844-15-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220819083209.50844-1-krzysztof.kozlowski@linaro.org> References: <20220819083209.50844-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 p= roperty qcom/sdm636-sony-xperia-ganges-mermaid.dtb: hwlock: 'syscon' does not mat= ch any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qco= m/sdm630.dtsi index a4f73be3d60a..9ae6610af93a 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 =3D <1>; }; =20 - tcsr_mutex_regs: syscon@1f40000 { - compatible =3D "syscon"; + tcsr_mutex: hwlock@1f40000 { + compatible =3D "qcom,tcsr-mutex"; reg =3D <0x01f40000 0x20000>; + #hwlock-cells =3D <1>; }; =20 tcsr_regs_1: sycon@1f60000 { @@ -2356,12 +2357,6 @@ intc: interrupt-controller@17a00000 { }; }; =20 - tcsr_mutex: hwlock { - compatible =3D "qcom,tcsr-mutex"; - syscon =3D <&tcsr_mutex_regs 0 0x1000>; - #hwlock-cells =3D <1>; - }; - sound: sound { }; =20 --=20 2.34.1