Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp482591rdb; Fri, 26 Jan 2024 01:17:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVWWDUVg5T+0iAZzaB0c8YN5kpoGu0mINKk7mW1zEDj2CYNfW0ypk9+KSKGXvzrs0ux6a4 X-Received: by 2002:a05:6808:3021:b0:3bd:d74b:f148 with SMTP id ay33-20020a056808302100b003bdd74bf148mr1186706oib.6.1706260619979; Fri, 26 Jan 2024 01:16:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706260619; cv=pass; d=google.com; s=arc-20160816; b=O5l+GMXZILSMW0bQ24VZdlL050HqCLPRFcW8QzOFNHw9Y3UETWsxnEeojwqO4AAdxn E+7hEYHtaxkoxWni7e0W+B/PNjmFB+xmQSy2yi8vtfcyPSD9zv8SD3QcCUS/lgV3soi7 cwRE7HUjqy5ugro/kGiL3YpMbIrtqvoIPEIIoPeFIQwgBzqcFerWS4zrUeUqpsUdBGDL tzvje0pITT3fAspI9K4nQ8nC56eR1yAiC6ZUhJYyxkKLzHExUgyTKLKP5VHswwcGx3gk OetCtIWC9VBmv1+TVFE6B+cs74gM+czNGu+vR6ZnS7ugdLzfRxX1a3+LNnwjISaWXban Q01Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3eKbQ9dPSaynT5h1DWbytWa8cizVUJhYOPdgPpMBlYw=; fh=m9ghCPikRXTiPPqkGaS0lzHaNxZrsKQAGaYZetBMAVQ=; b=i389g1+zxgJJm1wBb5EUqhxAWeyAHnV3sPEjNzOmsC6qGpauo988ZizQPxuyhfYYWB fmqh6rJ9VBPku9uI6jrALrcPoH9DwqAoMSEPME18rcBfwwU49cJQyuhtfBzL7j+//WWw /0dWo3B/ZY3rhWvAYbCabk33cFqgEuONEVA8aEqGj+2l+LPbcZG0Un3bA0fZMohO0CXj KEJJFzalxszQlCgwtvI/U2BQvIQ4qBVi0huIFlC9g819PafGnGAadL3orGQJmSgr0Tun o+QBNv7Hm8IpqVrKb0dyJc0sTbAIboO8WdL2Tn5CTjr3mOud1QBEjEcb+4hUZ6H+/yon EIrw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H+JeTIhF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-39754-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39754-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u185-20020a6385c2000000b005ce040354b3si798312pgd.323.2024.01.26.01.16.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 01:16:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39754-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H+JeTIhF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-39754-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39754-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0D39F28A577 for ; Fri, 26 Jan 2024 09:14:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73CA36EB5C; Fri, 26 Jan 2024 08:18:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="H+JeTIhF" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B50A71427E for ; Fri, 26 Jan 2024 08:18:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706257127; cv=none; b=Mg8uOLlHlHbwcvJMPSWN+W0KuBMEinvjmKGEXnJlyrZ+ayujH0/ZOoRMR75weAus8hQyXDKWMKdw8Nfl7z0F+nBU3lVJpLUALNKBKiWjZn5aYKzlwJdN+yiiy33VXgrKDR1FkvZQ2i/7KmTXF/vERn8gpucmSkn0Ou8qey7UsG8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706257127; c=relaxed/simple; bh=1v1p0jrAJR50Kueh7YF9CPLO/I/oXE+euJsb8wrKQ+M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=a8W//ZMov3IXShrJHXlPI93PxnNtj4Ovcn6Alg/JA4OWhBaBpcW+FXgvfN5JfFwYta4eTrsNrzj8kAn3P0YdDskbK7tdXvB81JL83iF4iWJehIFxMhL0S0Xn755HN5B5PzcSq4Z2gZdy+pAYUi6XxFmBTe0wPjgqObRvbzphSXs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=H+JeTIhF; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-55a90b2b554so113931a12.1 for ; Fri, 26 Jan 2024 00:18:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706257124; x=1706861924; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=3eKbQ9dPSaynT5h1DWbytWa8cizVUJhYOPdgPpMBlYw=; b=H+JeTIhFKdgDE97RUL23Y7vt9Hab569XLsLp7NT00I2ZZ74HeOAnxqIgK9P//DwNIG iengf9mXTH1kjZpDsMV97EfQMnViFr+2XiOieFlOKYEm37MRjy3bgOuJf6d+4LmHx+Hw QSR3yZCf3Xzj4LbZmJCYc54l63C/qrRMqqppr+nfT5a+mXSYQR/klx/C6og0iacysYVw q5QYVXfazGNnbgmsK7E8w5pezGWsHdGaJbv6NoMapvfzJNKuR4zWTo+jvraxBOiC9uGr 1ONZj/FMDRb/dREzmF0rpo0ywp/nYHT7XfSsbyiVvGPaFfO1vwCnWO6aPOIZL4eQFXPn de+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706257124; x=1706861924; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3eKbQ9dPSaynT5h1DWbytWa8cizVUJhYOPdgPpMBlYw=; b=XKHLh+JCeDeWk7Q9JRlgLtpLlK8+lmRCVeaQFTEKT06l4ybDg6RuF9CvQHYewcKxgR JU6iv2hiAFmnTZwFL746Odk18LNiBb11mg+sLskFp4Iih5sWGuaQDfU4c+FDDj23g8n1 BBTen3YskWMFWrqyoG+VuxnYtZltm1asIBr0m+XDHxlHf5QiG60RpSxQVwKqK8NFzwTy 7fXC4Pm9QyBqHerhBFOhkfZunjKYuc0lo7o+Q8Z0kOR4ipjlAtf5WkeB81guVhUvyOlj 4gpesjXmKEQ7DxjPf7+9j80Nc4lYZ3y6/Ql77k1ITcpVPXHZlIcbVo5B33T884p8eh2D +jrg== X-Gm-Message-State: AOJu0YyF3vcTExqdhlxftjB6KOsxNn2Yizo+mtqexl7jYWhMfGctMlvF 6dOLKOKR9rx5kc1kaIj/aJ7qV+1wnSq7ocAg6cuhyORkr2s4oDY5SKczEZ5z+jBrYVkbo13Y+EB a X-Received: by 2002:a17:907:1751:b0:a30:ec79:25f3 with SMTP id lf17-20020a170907175100b00a30ec7925f3mr893519ejc.42.1706257123688; Fri, 26 Jan 2024 00:18:43 -0800 (PST) Received: from linaro.org ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id ck5-20020a170906c44500b00a31930ffa7esm358242ejb.153.2024.01.26.00.18.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 00:18:43 -0800 (PST) Date: Fri, 26 Jan 2024 10:18:41 +0200 From: Abel Vesa To: Konrad Dybcio Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 05/11] arm64: dts: qcom: x1e80100: Add TCSR node Message-ID: References: <20240123-x1e80100-dts-missing-nodes-v4-0-072dc2f5c153@linaro.org> <20240123-x1e80100-dts-missing-nodes-v4-5-072dc2f5c153@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On 24-01-23 19:09:37, Konrad Dybcio wrote: > > > On 1/23/24 12:01, Abel Vesa wrote: > > Add the TCSR clock controller and halt register space node. > > > > Signed-off-by: Abel Vesa > > --- > > The former - yes, the latter - ? Hm, so halt register space is at 0x1f60000. That would be in the mutex region. But the mutex region is 0x20000 short, even on SM8650 and SM8550. Need to see why is that, historically. Either way, the tcsr node region still contains the regs needed by the SCM driver to enable download mode. So I will rephrase this accordingly. > > Konrad > > arch/arm64/boot/dts/qcom/x1e80100.dtsi | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > > index be69e71b7f53..2b6c55a486b2 100644 > > --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi > > +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > > @@ -2606,6 +2606,14 @@ tcsr_mutex: hwlock@1f40000 { > > #hwlock-cells = <1>; > > }; > > + tcsr: clock-controller@1fc0000 { > > + compatible = "qcom,x1e80100-tcsr", "syscon"; > > + reg = <0 0x01fc0000 0 0x30000>; > > + clocks = <&rpmhcc RPMH_CXO_CLK>; > > + #clock-cells = <1>; > > + #reset-cells = <1>; > > + }; > > + > > gem_noc: interconnect@26400000 { > > compatible = "qcom,x1e80100-gem-noc"; > > reg = <0 0x26400000 0 0x311200>; > >