From nobody Sat Apr 11 02:21:33 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 F3846C25B08 for ; Wed, 17 Aug 2022 13:04:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239567AbiHQNEt (ORCPT ); Wed, 17 Aug 2022 09:04:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239584AbiHQNER (ORCPT ); Wed, 17 Aug 2022 09:04:17 -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 15C7B399F0 for ; Wed, 17 Aug 2022 06:04:02 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id u1so18928101lfq.4 for ; Wed, 17 Aug 2022 06:04:02 -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=DL4opHqld4qCjVSblJBLt63Edv/Ob11xgTM5Drh1lj4=; b=mNTk2jWW7BPZjsiEHfFstCuM03Z30YRzcwqNDvf/vgliYt5PJjHCdjedZ+SToXIRi1 sMUhVGl5i3ltCiHJ4kGNgmqP7Cqp3AdkLTMGt/3LKf1trh0Ony5/9dH9XTKlupZg1eiI UFC9Xsg9KnPjRxygmsSH8m68tLKFF8sY2coFuxxluWZ590HSpEfOJYBsIEcgd8yFfO21 nRcN3f786/KZ15r8BiuM6AxltTSECW1FuYLJuNUW9CHDZYLRFkEs7wqjOb5EeDEKKmut dytda06RcSu8K8/p98yeSQIt7MCtton95J1mk38ntwftc+RjJIvHe58ZQF+OxDj/4Yqh Vnqw== 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=DL4opHqld4qCjVSblJBLt63Edv/Ob11xgTM5Drh1lj4=; b=c5/YN7RSLegwWqq8pEbW3Sp1sAJ4Lc4QqV6X0wRWIMP3t9rKM+Fcqpb/iYiRmRhn+g Z24yfa2cX7YzFDGkI+QA66XbRPiUI1awrhC0EBQUMZ95ffEAqD2rgKUlBwIBDpOeZplC nIBEeYzws0kwQQgTuC+NI8YX4d1Wmk/iS5jMWYQ47SFIhoJK/ELULi6T1RCihPlopXpm GvQqhnGt4jJxIdGArLONLQ3mZ4y0xB+Ka9by/Qd+/6NlwtmYEG2icSiA3+CmKYVsQzXi E4F2ij3aLE21hwWT/W+uzbyIZHrF3KENx1c778HuqB9cyrwqruvj5sRQYK+XZNq2+obf 6BvA== X-Gm-Message-State: ACgBeo00dEbIZRF8tnHOk+tCkmwPqdnRZgwlddnz3rkJhO3k0lS7eqj0 +WhuMBslCJguexRJCei3y0CP7A== X-Google-Smtp-Source: AA6agR6+V//N5hqRVIChR7d/APwjJuKhzsEbiuHog+4LSACfqRJoz/zZzCw0gJU//JJ6cDsz8a/CSQ== X-Received: by 2002:a05:6512:3501:b0:48b:205f:91a2 with SMTP id h1-20020a056512350100b0048b205f91a2mr8569143lfs.83.1660741440168; Wed, 17 Aug 2022 06:04:00 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 06:03:59 -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 07/14] arm64: dts: qcom: sc7180: split TCSR halt regs out of mutex Date: Wed, 17 Aug 2022 16:03:35 +0300 Message-Id: <20220817130342.568396-8-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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The TCSR halt regs are next to TCSR mutex, so before converting the TCSR mutex into device with address space, we need to split the halt regs to its own syscon device. This also describes more accurately the devices and their IO address space. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qco= m/sc7180.dtsi index 49f28cb531f6..5d2dd21da79c 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1464,10 +1464,15 @@ ipa: ipa@1e40000 { =20 tcsr_mutex_regs: syscon@1f40000 { compatible =3D "syscon"; - reg =3D <0 0x01f40000 0 0x40000>; + reg =3D <0 0x01f40000 0 0x20000>; }; =20 - tcsr_regs: syscon@1fc0000 { + tcsr_regs_1: sycon@1f60000 { + compatible =3D "qcom,sc7180-tcsr", "syscon"; + reg =3D <0 0x01f60000 0 0x20000>; + }; + + tcsr_regs_2: syscon@1fc0000 { compatible =3D "qcom,sc7180-tcsr", "syscon"; reg =3D <0 0x01fc0000 0 0x40000>; }; @@ -1932,8 +1937,8 @@ remoteproc_mpss: remoteproc@4080000 { <&pdc_reset PDC_MODEM_SYNC_RESET>; reset-names =3D "mss_restart", "pdc_reset"; =20 - qcom,halt-regs =3D <&tcsr_mutex_regs 0x23000 0x25000 0x24000>; - qcom,spare-regs =3D <&tcsr_regs 0xb3e4>; + qcom,halt-regs =3D <&tcsr_regs_1 0x3000 0x5000 0x4000>; + qcom,spare-regs =3D <&tcsr_regs_2 0xb3e4>; =20 status =3D "disabled"; =20 --=20 2.34.1