Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4781859rwb; Wed, 17 Aug 2022 06:08:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR4f7nafdUMRFew4U4kxvbcyqs6dDY/SjuA4R0ZImshHMUUj41f9pp2E03rws+uq6w5vQHL6 X-Received: by 2002:a65:5644:0:b0:41c:5b91:9ba with SMTP id m4-20020a655644000000b0041c5b9109bamr21773354pgs.553.1660741706186; Wed, 17 Aug 2022 06:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660741706; cv=none; d=google.com; s=arc-20160816; b=DOF5xWpA4f5ZuKKCKgW+fj1FxigCuPDIC2hldyIhCcfZYwHxIS1e6egm2dpvnc7CDS xnxRAU+V+/A7HUJDShguYeyIxL9n5kUTbs0Te577oLEwuhMQF46DsAbHHvg6vMse0XLP vwoeQV6YPTPSkmAbTS21Hb2ucp5WlltYtTl36JRspmyEEsexjG66EDTo2bT2q26HTPMv gLC7d59wxefBMHUugH9hgxOIfVQz4LTa+fH4U/i2euOziW3LZ8gWmEyPuRdu9P/+/r5Z KTdCGFClzKDqWSKfi0e49yT9R6dFKnOzWwVfUc1Pn8RRXOBAmIBK8B11gU90GEczb/FI rLIQ== 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=GGC6/FAtFLtsPec3v0Z//ulLsaLmio7LVXcsIKWCfDM=; b=UiCWm4+KR4KBncO9oukUXmVMjxlU1qThqwtDvrxERA/GF8xagOolSFueJGrBTTsSmg C2VochKxiGY/JvSFHRbpP4id9jWLKtmEoSx8RPDSbosFIzFRjN6lTKBNHlnXIlji/TM7 Or23XYjk6ruWQoUHBw85pTFy6L9ud8aWhAl5PQGkZw8TkucI2kG3nTJsK4KPybXOwsxS Qeas4rvHYcDYT5UdWzT9VnzhjTBnd7p79kAQKcLoP8rz/sZbZs612/bq8nmkxqqiT6ve I4vzegV/t6e+0RdOq6Bwu/hwrmyzNuqpZrIHiZU47zjsdZIRfwENGlDYMZC0E38ni992 pEaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jh4Qy9iX; 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 j13-20020a170902da8d00b0016d8a0cd540si805757plx.510.2022.08.17.06.08.06; Wed, 17 Aug 2022 06:08:26 -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=Jh4Qy9iX; 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 S239636AbiHQNFo (ORCPT + 99 others); Wed, 17 Aug 2022 09:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239620AbiHQNEj (ORCPT ); Wed, 17 Aug 2022 09:04:39 -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 B92D443332 for ; Wed, 17 Aug 2022 06:04:14 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id z6so18912019lfu.9 for ; Wed, 17 Aug 2022 06:04:14 -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=GGC6/FAtFLtsPec3v0Z//ulLsaLmio7LVXcsIKWCfDM=; b=Jh4Qy9iXI/c1oGXbZ0lnM/OpRok+s+cFSr4oZ/HZf/Wiu4RDv1f090LKWQXlfy2mQR 8vfSRgiphbSgHJ3xzY7oaBL+nsNpYIbGQ5estuegJ9wB+r3EbUOVo/+Czc+LLXgO+TN3 A5OGKUFN1Ii3mv8HYwxdWOvh9Pi1MazXBN/uX+YK3FyjmtPXKds1PIH9Q7C0fwpHn3mQ tkpzoIfkB5YwAnSZYf5f1q2kSp7fXo5kvFgG+EL0YiE+Tj1qFCwVvaZbFB/cFQpc3/mZ SATiRY3hkH2rApYsAKgOAmGLpPksC2V/uBntzjMrMT18SdNdzu1o/YTbeZhoFY/y/Y2g GFsw== 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=GGC6/FAtFLtsPec3v0Z//ulLsaLmio7LVXcsIKWCfDM=; b=5L0KXm3wXUMbxb3VD/fR2+akPt8gGaEnMV9kNUth2hpCK0jxWuygOAXv1zUMs8MDHM YDGvFaZrJfkbNGh58aq56Tm57v2PaeVzmvcoQwt+4XXM5RcUvzlyQ+8vOd5qF24BsW1s 0p3TB1MhNqJp4IRgXco5VK2yErZGBezfQMUoFS7YYfA58j2fytq805NIIRZC4nYT69oq hMx4BUcpuUXCjyyw1qKh9h5XCxsTkZFhrcdytt9NM3+6b11JfWQjVmO9wEgvFKyTscwk F44Xp7Smbth2/Q9HbgbhXve30eAkK0BmU1W1mgjaOevhwkwcIy/Q6U5hA7SYT7nscOBi uVvQ== X-Gm-Message-State: ACgBeo3hAaJsmf+zMwAJyV7YIx6E9l6+rqRqca9ijlf+nMls/lz4oy9G YUi3FZD5v3guqywlLc01pSbanQ== X-Received: by 2002:a19:3856:0:b0:491:7b45:7617 with SMTP id d22-20020a193856000000b004917b457617mr5988001lfj.47.1660741449662; Wed, 17 Aug 2022 06:04:09 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 06:04:09 -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 14/14] arm64: dts: qcom: sm8150: switch TCSR mutex to MMIO Date: Wed, 17 Aug 2022 16:03:42 +0300 Message-Id: <20220817130342.568396-15-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/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>; }; remoteproc_slpi: remoteproc@2400000 { -- 2.34.1