Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4782980rwb; Wed, 17 Aug 2022 06:09:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR59a8cTzg8ggkigT0UZUH7gbKBYLS/lsl0s+de/ms5Ozp0E6XIiV7bYrbVGAlAZJKG9qNfU X-Received: by 2002:aa7:d513:0:b0:43d:5c81:4f71 with SMTP id y19-20020aa7d513000000b0043d5c814f71mr23217123edq.308.1660741763996; Wed, 17 Aug 2022 06:09:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660741763; cv=none; d=google.com; s=arc-20160816; b=BFJNC8ivo8FF1WjJuHr9jizKpKKzqN75AEnZCp7jn94N1IFrBNIYm6vtLkN5LxfdV8 x0rXEuU8vrQW04kQmiTa0HC0xtJbAY40QNDGaGz8jaKtbq8sbno1iIWi4r/957xnn7mJ ohMhzb8e7GkCmAs93niFAfp4FgNV3c6FkA0DXSqovwJAPZiPsaCT3VasbcbG1bu3xZQv 2TmnKizybfVHt3FrcXA3Fj801wwtOfA88CdH8cKBq1DtSNrVeKLw5PSzJ8/9UwrZzVpV EotslericOAbdL75d8S4dkR/pZmWVwicDB6MV/y/+62ADxwd0CdgDatNGVK6NtFj/kUT I1PA== 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=uPnkJ9CZ7fbXWgaAUcfcWBXaeXKUW7FCT3L0V3onDIA=; b=NJqf3IkV/OYGUosoGe9qyoVKgP/B92dkBRNdTcVyAqTOfBNGtLBzte0d4VwrWXfOri Mk0TGDdDF1bb+MoIncD0kw6O9KK9AifJp9wHtlXUhU2jU83HIYSOxJUkFBK+UxKNxkid KE7ehb7G8LOnu66uGvuYg/pclv/N6Wqv8sxMWDXd/iSrFC+r7mpcpZgWiBs886Ae+fjO RZxPdeZcZ1pYIY7p64nDxCu/aUw9oHRI++15sPyJxoYezrUJ8MuEH7Fuw9uoGGF5vbXB 4nPU6iRXtX/Q824q6Vf+EB9osC6ktRzUBviYAFfPNqXmPq8zfdE5b1HXYSbHt0Rznkak MZUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Fc//ghCP"; 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 di9-20020a170906730900b0072b67a5560fsi1772557ejc.1005.2022.08.17.06.08.50; Wed, 17 Aug 2022 06:09:23 -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="Fc//ghCP"; 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 S239676AbiHQNF7 (ORCPT + 99 others); Wed, 17 Aug 2022 09:05:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239583AbiHQNEk (ORCPT ); Wed, 17 Aug 2022 09:04:40 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F6653ECE9 for ; Wed, 17 Aug 2022 06:04:09 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id x9so13482856ljj.13 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=uPnkJ9CZ7fbXWgaAUcfcWBXaeXKUW7FCT3L0V3onDIA=; b=Fc//ghCPlI2grror3k/gdiB3O/cjHqZyRs6QSvO/7x2zSS9OHfw8PAr62PzduFmqKy 8tFTKsMuhsxltwVTa3VkJlfRoP8v5W3/rDoUSXV7BVYsRdCEcumL2FYRr16R6bYV6LVl Zcflciwi81vjk1JVEMAuBeWY+f7AHICRyqyjqgh4d0uutrhHNMGwX3z98sbR+pwg/5NU GJsUUI1d49xWFqRI7krlV8INsAy7gz5Qsun4CZuOA7vnlFeuUKQVXBYZiXHyYesNO2Qx XiLFgvDYmrB08z4MEa+x75hajHfqIdsioU9d3wDXZEAmsoyLveg4pcfCYcEjHfYtz1xM RJZA== 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=uPnkJ9CZ7fbXWgaAUcfcWBXaeXKUW7FCT3L0V3onDIA=; b=2AxVky/8J+uoH0vnNa28gZ7V3uIHF2xXQjorCs250tqoOjwhIw8wBKUCMzHouuv6lf CHC30FzjmdLYfwWwRhpCcc6ig9rcNZ+NKgGxzCI4fO7q8pPp1ena4ijWZjY8Q0oFzsQ7 LCemW0ZVpo98Vs5udQw6KXdWlyKR8XEl5aqqmxXmuj7wxyn4awytxYacgWoMSw+QN4z/ X5w/JqMEnqvC82QNK5+vdZ/n8ylzYw4Q+zPXPKd1EF50UcxIhyReMfK0daCw6O/M79B7 HddieqtglwawPOuhpGia4YxAooN/6c7LXIuhq0BQ/z/z40w/W8zLo5fTqy9NPdQj9Go/ hLGg== X-Gm-Message-State: ACgBeo34PWWTRWcpsHsmuiWpL/KyL51i+IcqrUeT1W0Bz8YWIW0cGDmB UzBT0G/N5gxyFvWaIl4p1KbW5Q== X-Received: by 2002:a2e:7d08:0:b0:25e:c66f:2bc4 with SMTP id y8-20020a2e7d08000000b0025ec66f2bc4mr7530960ljc.22.1660741446898; Wed, 17 Aug 2022 06:04:06 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 06:04:06 -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 12/14] arm64: dts: qcom: qcs404: switch TCSR mutex to MMIO Date: Wed, 17 Aug 2022 16:03:40 +0300 Message-Id: <20220817130342.568396-13-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/qcs404-evb-4000.dtb: hwlock: 'reg' is a required property qcom/qcs404-evb-4000.dtb: hwlock: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 9ab990061522..3a94eb2cc448 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -295,12 +295,6 @@ smem { hwlocks = <&tcsr_mutex 3>; }; - tcsr_mutex: hwlock { - compatible = "qcom,tcsr-mutex"; - syscon = <&tcsr_mutex_regs 0 0x1000>; - #hwlock-cells = <1>; - }; - soc: soc@0 { #address-cells = <1>; #size-cells = <1>; @@ -726,9 +720,10 @@ gcc: clock-controller@1800000 { assigned-clock-rates = <19200000>; }; - tcsr_mutex_regs: syscon@1905000 { - compatible = "syscon"; + tcsr_mutex: hwlock@1905000 { + compatible = "qcom,tcsr-mutex"; reg = <0x01905000 0x20000>; + #hwlock-cells = <1>; }; tcsr: syscon@1937000 { -- 2.34.1