Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4779661rwb; Wed, 17 Aug 2022 06:06:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR6jeIYw3yQR7G+HDru7jO5aXgrEq0QMffx+tBz9VFmwLNYP2C/MR25RBaT1TMsVjDoBjjxD X-Received: by 2002:a05:6a00:189d:b0:52d:d4ae:d9f2 with SMTP id x29-20020a056a00189d00b0052dd4aed9f2mr25422444pfh.2.1660741610346; Wed, 17 Aug 2022 06:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660741610; cv=none; d=google.com; s=arc-20160816; b=MsHwL1exH1fBCnk0YbA2tvDZDoqInGa5rRotTku6LEnC1TrM7kHwqnu4qX7iKsvRUw WZdVmNtTJY/1KTvZXkCOQXN5CZaBc0HfPa5CXsYEzm2pDkMXM1mhxtMGuuEPH99uYpda W7sDxTNs19RgVez+W2B5TTI72KEbPaLHy7MC+/CbGNhJe4JAthsHJ/C/Gwxldjc+nZNS j300UajMU/eBAEVWxH+rJZ4bTFktAV1jIp0hx2u8BUFKer2Nm8cgNfJeF0+b4FIfsNhC q2AQfduBvvuJ6mdYa4gQ3P8THvc21fT/ERTrjhfqGXXgww7ArxMDRDP6GW3Alo+iwbWx 5kDg== 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=DL4opHqld4qCjVSblJBLt63Edv/Ob11xgTM5Drh1lj4=; b=TCvR561D3pnvFM/D7bwvD/rDURiJvvKxXP6Pr176Eb6UutErdyMT5P1J/ePS5wptb4 6RAQnSOYrrTJBpz9VqXrRlujFq5m3UtFr8C5MGAHNn/0/OAGmtWNJvuK0pZnUqQTn68+ fQiZyIzJRw7TV+O/KHcKaoDmFyyIspiU57bE78puT9wZD1eyPZvwpxOdVk7xOqtn2V5w nsUWdV8GJwklWwxWt9kzuFk3ZzpIKit25F5awdIav+byDVpUvN7x/CjXDSzMU8Q9Vx4H hr3WAwd9KQBSpAxgPHmfvgzbdphDuUvTv1WcRZjBl/ZWcuqmvGSrbcLSjFMiVDPQ/AXX iuOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mNTk2jWW; 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 l74-20020a633e4d000000b0041a4a97d588si15292146pga.588.2022.08.17.06.06.31; Wed, 17 Aug 2022 06:06:50 -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=mNTk2jWW; 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 S239443AbiHQNEr (ORCPT + 99 others); Wed, 17 Aug 2022 09:04:47 -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-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: 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 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 --- 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/qcom/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 { tcsr_mutex_regs: syscon@1f40000 { compatible = "syscon"; - reg = <0 0x01f40000 0 0x40000>; + reg = <0 0x01f40000 0 0x20000>; }; - tcsr_regs: syscon@1fc0000 { + tcsr_regs_1: sycon@1f60000 { + compatible = "qcom,sc7180-tcsr", "syscon"; + reg = <0 0x01f60000 0 0x20000>; + }; + + tcsr_regs_2: syscon@1fc0000 { compatible = "qcom,sc7180-tcsr", "syscon"; reg = <0 0x01fc0000 0 0x40000>; }; @@ -1932,8 +1937,8 @@ remoteproc_mpss: remoteproc@4080000 { <&pdc_reset PDC_MODEM_SYNC_RESET>; reset-names = "mss_restart", "pdc_reset"; - qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>; - qcom,spare-regs = <&tcsr_regs 0xb3e4>; + qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>; + qcom,spare-regs = <&tcsr_regs_2 0xb3e4>; status = "disabled"; -- 2.34.1