Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4779689rwb; Wed, 17 Aug 2022 06:06:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR7D1U7LOX2dMzEOtWvLUo9S8F0jdvgPrpPkmTNhg7m93ZBYhkV4BK2BKT//+pHKQS60XAAy X-Received: by 2002:a05:6a00:3315:b0:534:e0ef:e2f2 with SMTP id cq21-20020a056a00331500b00534e0efe2f2mr13914283pfb.42.1660741611513; Wed, 17 Aug 2022 06:06:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660741611; cv=none; d=google.com; s=arc-20160816; b=y3i2yULIjO8R3/MqO9RUfA8wOPpX+g51LvbppETNKr1KyJgVxG4E3lqDCjhvDdP8mb xkvR0KkIr3Ob3eHUB6uY6dLfYGcSRiq6ScVwskoKLX/bQWNHEkxIoKy5PE4MdGj90tAc 8himQTaxcgcsQdhiOeYvZovWyAlpe8rSVHgHktshrXcp9qNIhkX4S2SEOm3WJO232vTz +KGB+U4Nn0PGg8ZJP3H8QOEbnS+2kA7qtkj9hS6LjUAfpZja6WrAHFC3v5X1F04x/zsN PJEuy2b8u+ONEYQV7zT0KOMcOJMKKfFsRvAkmjUzMUC/DNoLdSW6DDSETPNS0SJPG2eI Hkkg== 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=DmgjoU3ZwmShD+iuLbm/N6H6WPhywoNwmKzID5e5568=; b=IapCh55RzCL8lNpKUPASwSgLDmZ4v7Hjlkxh+DrueVBYyrSetTjZD4KHaudOCEnWlR OggsnXDCWMdzdwB4X/jgJH3Q1Yuqvk6+8xs8Q2EBan5X45i6kG2LomqCvXOAu2iJA1Z3 RBAGrPSf4CabWNBhPnu14gcX/1R2TMRvm+347iHM7/hs3WUUv0gqdfZG1zwa3ZU/vfee 8NMx8eEVrOAI03VdtjNXBis65/+JamWRrXfzNhCU1xZkW2jtJL34uhsRk3uBqGpcqg1D Aq7Xz9sgB2x6RoDyWLZfF9kKfgsoIWyzLyIalJ6N0s3mEhDzLG3mOfRZY5WsDRDL6x5D 4afw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dOoNqvye; 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 c3-20020a170902724300b0016d0bf9febasi1193460pll.390.2022.08.17.06.06.35; Wed, 17 Aug 2022 06:06:51 -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=dOoNqvye; 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 S239592AbiHQNEY (ORCPT + 99 others); Wed, 17 Aug 2022 09:04:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239567AbiHQNEH (ORCPT ); Wed, 17 Aug 2022 09:04:07 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D87130555 for ; Wed, 17 Aug 2022 06:03:57 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id a9so18891671lfm.12 for ; Wed, 17 Aug 2022 06:03:56 -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=DmgjoU3ZwmShD+iuLbm/N6H6WPhywoNwmKzID5e5568=; b=dOoNqvye8xquk0IPEbhQhqui+Qtl+FwGe6xO/9UzbcZeyzno5z0sjyTEDevwNPNzZI LxmTr+GSKl1380Nz1jq42Qouq+iXDy1mDR+N3uPjd0W7UCAgLQN985quLi+FE7hVk+GE jIOzlHwbLSvijTeh7RfHxO8wXCvrMeaUH0cSa2DTcQM3FToaO4IQGyySLej/+PqUnekK z3KGXi8UOxo7kxFjMnJDvEHVn1MzXQKy0Tjd5tizb1D+yQb3y43/Id+I2AtklPjn3em3 2YbAQ2xzosOaW+DZHq4Y+HSSmZHaOwRL9vwIfsTzbjRJFJqWCB0X0cgYrHX9voJqMhqz OMVQ== 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=DmgjoU3ZwmShD+iuLbm/N6H6WPhywoNwmKzID5e5568=; b=boQI4gZtgqWTXY2DQY8jwbbfdMsU9AQx6xaCQuzwMYrlYAaRKVaIOe4/MEtGLeQVh1 bwllvK+HTG+JVw3NSfG1XCSgMHP1e60b3N/uExX4em6Md0t2enWL61a11/9Mze6QmDV/ AUcguhQZ1OWTd+7dmPsXTw4FnpsKriZXrmoZQKtCGLVEPs5oOxjyZXEFzoqv6Yuvn6NT hPRa5JjlpMN0x+KPN0OyYmXUbsqhPkNHmbzbaQ19D/OlWdvIpL3Y4IiPZbxCEdbEb5FR 9Fou2b3cV/1eC6zaPEb2+WeB7Nsa+Co9RaMZ+KFcbdScoj51U3+sCb8QUzgcuzdtb0Ub Clrw== X-Gm-Message-State: ACgBeo13W8u3sykT5re25Y3Kr7csFHpiI6M6HetRHH1KuZ8V2T2Chlz9 Pq/aqoy1n1w2ZfZ2wbJcxdA5Lg== X-Received: by 2002:a05:6512:b89:b0:490:34f9:d1c6 with SMTP id b9-20020a0565120b8900b0049034f9d1c6mr8336696lfv.637.1660741434903; Wed, 17 Aug 2022 06:03:54 -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.03.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 06:03:54 -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 03/14] arm64: dts: qcom: msm8996: switch TCSR mutex to MMIO Date: Wed, 17 Aug 2022 16:03:31 +0300 Message-Id: <20220817130342.568396-4-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/msm8996-xiaomi-natrium.dtb: hwlock: 'reg' is a required property qcom/msm8996-xiaomi-natrium.dtb: hwlock: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 3411ced96db6..166374566a49 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -363,12 +363,6 @@ 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 reg */ @@ -838,9 +832,10 @@ pnoc: interconnect@5c0000 { <&rpmcc RPM_SMD_PCNOC_A_CLK>; }; - tcsr_mutex_regs: syscon@740000 { - compatible = "syscon"; + tcsr_mutex: hwlock@740000 { + compatible = "qcom,tcsr-mutex"; reg = <0x00740000 0x20000>; + #hwlock-cells = <1>; }; tcsr_1: sycon@760000 { -- 2.34.1