Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp904971rdb; Fri, 17 Nov 2023 17:07:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1J0hAKy/BmnfIvMiEtzfoTGH7PvNnLYCCBU57bRHox4Vt4iQ63I3j+wbjEu9t1NwJcFrh X-Received: by 2002:a05:6a20:9183:b0:187:ce9f:e198 with SMTP id v3-20020a056a20918300b00187ce9fe198mr1038539pzd.5.1700269624924; Fri, 17 Nov 2023 17:07:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700269624; cv=none; d=google.com; s=arc-20160816; b=JxDmLBCdKw3x1fjzQecZ6sUbO+VSgwXzJ3YG4wDbDAXwZLqUkvZ2/ZRo2OB++VUZVk 8gt+9TPviTWPko23Cy+8zN0RnbopEew1J2fSi59C3OSNWcO1PoODOOKQKIjz9o1XB1zd H+5guSxzWQZK1SMzK3xeg2b2jW7i+Zv7gjjqM7B8q9SzStkP6rRaCOjXzCHvGPS6OLmj xByhlX/M8sx0L3EwvbsC0gzMJsLDzYN4qdxQ+APZhiX1uecSygyz58Leg1FRXVmkzGGA vLjCzS/qQ4nBDPiQI20U9TBiRkkBKKJt+LFiC112qOIQyrKo2PWYFF/qPx1UfHliYMNV G2fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=4O9Y1/hJUXa+2KCBVAziPC7SkkcerSExCPCyWU7zFNI=; fh=HKJW/HpmZOQReLOYqgnoyXwJR8Dg5bbBftzeAivb47Q=; b=DxXRXMacXeDnd2G4NDMJMQ8I7pjUgi4t29Tp3pQH5ncXImx3Fw5NrqtON/oGcYccSt S5YNoeuTlTszr2TFmg/COua+iKdEcq0C+unmEyL/gtuUut61tiNHARyrWGcsU5yrUZvU wsCHpA3PXMm6plSuLbZGTQm1klNCGp9QhC1b6IT6GYDt1PuOKOdRZkQMmKPykWrLqzTz +9KMfJ2AudHPxK49CYIZSz2XLYHiq0SvsQTCKaIMbvAt3j64nx/HBnZlUDDmnobUyu56 uQ7iIbCUaiZTmkMP7cpkDx4LSRAS8kg6wLNICRapitDDivVWcMaezXvvSr2tTTqPnl2A weMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dufXGQ2X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id q10-20020a17090aa00a00b0028007dadafbsi5623784pjp.58.2023.11.17.17.06.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 17:07:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dufXGQ2X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id F0BC883271D1; Fri, 17 Nov 2023 17:06:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232479AbjKRBG2 (ORCPT + 99 others); Fri, 17 Nov 2023 20:06:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231540AbjKRBG1 (ORCPT ); Fri, 17 Nov 2023 20:06:27 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9587410CE for ; Fri, 17 Nov 2023 17:06:23 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9e623356e59so353969866b.0 for ; Fri, 17 Nov 2023 17:06:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700269582; x=1700874382; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4O9Y1/hJUXa+2KCBVAziPC7SkkcerSExCPCyWU7zFNI=; b=dufXGQ2XX84Lb//713+FThDcSRDpD+bfZpmjyGfDaLOxOp/jHe6CvegA5qLbcblWPj H3ktJ5aBWNu435Jzyibi67qABfkrdHOQuEoPIbLmn3wgAVaukq46047yHjWQy5vTzoB6 0N7oOIKPvIt6CBn7COio8vgjU4bV1hTA6D3PAHVaMe8XrFTPLhFeD1vxhvfyhmi6x68z Pp2C5KjF1YJdqauFrQUsU/O27N7pYnX4pG2fLsCmq50QZPDEUP8qmoftk9Vo06ZyTp/8 YKzy5+lNV5vmpGh8zx+c0ifOrx0AiUYJrPQbRBRHQNUggk8nS/+67W5xq6uGhph28h1p CigA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700269582; x=1700874382; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4O9Y1/hJUXa+2KCBVAziPC7SkkcerSExCPCyWU7zFNI=; b=RRzfaBt0x16ONkIaxlC5GStWyRjDYYCyUwZ1SbyAUlhpQJ2b4UPxvR1MHCaUHcgIP7 gb79FvGKcTPbbK2+UpXc3YdMcYBFt3v7s1dOhl+8Dakge0X5ToWS1YhJNbVb1N0Cs6fi jiTTysUzvNeXxiClK/MYz/99rIeRKSf+eUgCVJyKzOeS2Hrhs70+xcaZWRhQI65oOJeu fz7oW9IhMtU7P69iJwm/YEwvPJW4jodvZdvYL6bGq8t/U5EDvVxxKNjPAdLxEqSsDj2e WKgqjmJv9YPJZiwh7uysPXcMiseFrVv6BmcAMQfzLbDBH/f6s4J698FdX595LmJC59xr tvMA== X-Gm-Message-State: AOJu0Yz9VUjCLrx9gNkF/YDH/wwoo6PV35CUIQLyTWqthIHussZSue46 MpWfRix8rLwW6XKl8DRMVRL+YA== X-Received: by 2002:a17:906:5357:b0:9bf:20e0:bfe9 with SMTP id j23-20020a170906535700b009bf20e0bfe9mr701024ejo.15.1700269581768; Fri, 17 Nov 2023 17:06:21 -0800 (PST) Received: from [192.168.201.100] (178235187040.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.40]) by smtp.gmail.com with ESMTPSA id v12-20020a1709060b4c00b009b928eb8dd3sm1327704ejg.163.2023.11.17.17.06.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Nov 2023 17:06:21 -0800 (PST) Message-ID: <918ff1f5-ce01-43ea-b034-e69fbb31f495@linaro.org> Date: Sat, 18 Nov 2023 02:06:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V2 3/5] arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts Content-Language: en-US To: Sibi Sankar , andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, catalin.marinas@arm.com, ulf.hansson@linaro.org Cc: agross@kernel.org, conor+dt@kernel.org, ayan.kumar.halder@amd.com, j@jannau.net, dmitry.baryshkov@linaro.org, nfraprado@collabora.com, m.szyprowski@samsung.com, u-kumar1@ti.com, peng.fan@nxp.com, lpieralisi@kernel.org, quic_rjendra@quicinc.com, abel.vesa@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, quic_tsoni@quicinc.com, neil.armstrong@linaro.org References: <20231117113931.26660-1-quic_sibis@quicinc.com> <20231117113931.26660-4-quic_sibis@quicinc.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwEC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1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231117113931.26660-4-quic_sibis@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 17 Nov 2023 17:06:39 -0800 (PST) On 17.11.2023 12:39, Sibi Sankar wrote: > From: Rajendra Nayak > > Add base dtsi and QCP board (Qualcomm Compute Platform) dts file for > X1E80100 SoC, describing the CPUs, GCC and RPMHCC clock controllers, > geni UART, interrupt controller, TLMM, reserved memory, interconnects, > SMMU and LLCC nodes. > > Co-developed-by: Abel Vesa > Signed-off-by: Abel Vesa > Signed-off-by: Rajendra Nayak > Co-developed-by: Sibi Sankar > Signed-off-by: Sibi Sankar > --- [...] > +&tlmm { > + gpio-reserved-ranges = <33 3>, <44 4>, /* SPI (TPM) */ Surely SPI doesn't use 7 wires! :D [...] > + L2_0: l2-cache-0 { the cache device is distinguishable by its parent, so "l2-cache" is enough > + compatible = "cache"; > + cache-level = <2>; > + cache-unified; > + }; > + }; > + [...] > + idle-states { > + entry-method = "psci"; > + > + CLUSTER_C4: cpu-sleep-0 { > + compatible = "arm,idle-state"; > + idle-state-name = "ret"; > + arm,psci-suspend-param = <0x00000004>; These suspend parameters look funky.. is this just a PSCI sleep implementation that strays far away from Arm's suggested guidelines? [...] > + CPU_PD11: power-domain-cpu11 { > + #power-domain-cells = <0>; > + power-domains = <&CLUSTER_PD>; > + }; > + > + CLUSTER_PD: power-domain-cpu-cluster { > + #power-domain-cells = <0>; > + domain-idle-states = <&CLUSTER_CL4>, <&CLUSTER_CL5>; > + }; So, can the 3 clusters not shut down their L2 and PLLs (if separate?) on their own? > + }; > + > + reserved-memory { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + gunyah_hyp_mem: gunyah-hyp@80000000 { > + reg = <0x0 0x80000000 0x0 0x800000>; > + no-map; > + }; > + > + hyp_elf_package_mem: hyp-elf_package@80800000 { no underscores in node names, use hyphens The rest looks OK I think Konrad