Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp275226rdb; Thu, 16 Nov 2023 20:18:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTbuOzkJYMfZ/hvMFs9r9KjAEJntUcrdhiNqW5pHd8v1NCmeA67CtZ+Ouqd90tC0J5ELxA X-Received: by 2002:a05:6871:b22:b0:1db:8252:9063 with SMTP id fq34-20020a0568710b2200b001db82529063mr23341349oab.24.1700194684130; Thu, 16 Nov 2023 20:18:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700194684; cv=none; d=google.com; s=arc-20160816; b=kD0Z6vK8BJ5cJQwjWpBrc1E5d1tigrNyNwmeRcthXlO1/iA1Q0gUPgVk4yZLuTZaX9 iq9k3O714afPlL3yYRVtpjwKUwTEx1gPw8HBIL0OWcm6W5NTDR/gqlh0NPu4MtO/zyAP Pwu4yYRliJVqLj9skPMGlFst17HikiKopophnZm8HJfL++2ZpA+ks2dKwb+VDJFXFKY5 W3KVyTolZra1gmV/gx7YKD3OCneTsBNJ+NsgIIwzG2xZ4ktZHTIA+QRrDoYphW/j6IL5 fQHH0t+hWAIthBLd4np84dTfg9TiGgHdzq87csy/So1cbkY86H2tDHBcaKm/xauAXbJd +tJw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=p9Jn6pkjc+vmJ8LCAOXWibM9ThVrcjeOLQX7yoL51Ic=; fh=zEZIHw931ZCdBCmD2FP4fnzI1rxg1h5TvpIpJHXrmcw=; b=TcilBK2M9bmix0ixJ345kHa1+87aQqOGY0IYwQogiFvpQurQfY242ARx04itstGcd6 1MseoiEQoeOpezg0TPIn8MPaUOT21Hl1t2joZirDPGSVS7oKDbh7KmP1JYf+JLwpBC/J STLIPkhSyFDnc9mk6OaOwHhG9Oq09D8UJt8uthyir4FIGDS2hksEimQvLVCJQHrWwwY7 DuShMR7nl9fA6Vm36BsyH+NTJC5mvGzg3QPMTGzoAN8YIirJUJiWHiaQZB6BEmx8CeFi nVgvQ6LB23qMTnl5EYIysapbbEjyHfjak0vfudNOCqweWhiVIzt9a2sTGnJyFI0e9jNV xF6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="WN7dj6w/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id j1-20020a056a00174100b006bd2084d6ddsi1129030pfc.100.2023.11.16.20.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 20:18:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="WN7dj6w/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9B03B8089A38; Thu, 16 Nov 2023 20:17:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344874AbjKQERH (ORCPT + 99 others); Thu, 16 Nov 2023 23:17:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjKQERF (ORCPT ); Thu, 16 Nov 2023 23:17:05 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61D691A5; Thu, 16 Nov 2023 20:17:02 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AH3uYWl029393; Fri, 17 Nov 2023 04:16:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=p9Jn6pkjc+vmJ8LCAOXWibM9ThVrcjeOLQX7yoL51Ic=; b=WN7dj6w/EyVOSfFnOIKNIUViYrfZnNeAR2LcPRXqQ6mKXCU71QSxAqVYD1LAjWb6HwUh xjSFkL3wb2+qnzUuNRDtYG3Go4VeMsey6Tk0SghsZW8DpAJbdSE3ypzXBWDU2sktR/TI AEqBe6v4YkwIMv6B6Z815ODNmu15Rq+ISrd65G8u3NVPbl2HpTP4vAf3n73j0PN3eLTW PzM/rAnM1lx86wXrTR2pIuwUhEeHB96HXToRefE+6BGm6Y2i9puxEJ0oc22NzRXZK4MN igJrNVOGV8qTg0WUQEQ9CMKrj84u0Wa3PJ4zZWbsxMbaNjvflxtoD1SFQfmelAzJyB1b 4w== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3udw46rckg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 04:16:41 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AH4GeZj006381 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 04:16:40 GMT Received: from [10.79.43.91] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Thu, 16 Nov 2023 20:16:33 -0800 Message-ID: Date: Fri, 17 Nov 2023 09:46:30 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 3/5] arm64: dts: qcom: Add base SC8380XP dtsi and the QCP dts Content-Language: en-US To: Konrad Dybcio , , , , , CC: , , , , , , , , , , , , , , , , , References: <20231025142427.2661-1-quic_sibis@quicinc.com> <20231025142427.2661-4-quic_sibis@quicinc.com> From: Sibi Sankar In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: q-xyel4BCDUd47_vmMPMhnAlb7cgrmkX X-Proofpoint-ORIG-GUID: q-xyel4BCDUd47_vmMPMhnAlb7cgrmkX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-17_01,2023-11-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 clxscore=1015 phishscore=0 mlxlogscore=999 suspectscore=0 bulkscore=0 adultscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311170030 X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 16 Nov 2023 20:17:17 -0800 (PST) Hey Konrad, On 10/26/23 16:06, Konrad Dybcio wrote: > > > On 10/25/23 16:24, Sibi Sankar wrote: >> From: Rajendra Nayak >> >> Add base dtsi and QCP board (Qualcomm Compute Platform) dts file for >> SC8380XP 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>, <238 1>; > It would be really cool if you added an explanation on why these > GPIOs need to be reserved, especially since you can see what's > connected on there on schematics. So, like: > > gpio-reserved-ranges = <33 3>, /* something */ >                <44 4>, /* something else (fp scanner?) >                <238 1>; /* UFS reset? */ will do. > > > [...] > >> +            compatible = "qcom,oryon"; > Again, this compatible won't fly unless all of these cores > are totally identical and Oryon is only a name for this > generation on this SoC (which I believe not to be the case). > >> +            reg = <0x0 0x0>; >> +            enable-method = "psci"; >> +            next-level-cache = <&L1_0>; >> + >> +            L1_0: l1-cache { >> +                compatible = "cache"; > I'm not sure if L1 is supposed to be described in the DT, > Krzysztof should know. > >> +                next-level-cache = <&L2_0>; >> + >> +                L2_0: l2-cache-0 { >> +                    compatible = "cache"; > cache-level? > cache-unified? ack will remove the l1 and use ^^ appropriately. > > [...] > >> +    memory@80000000 { >> +        device_type = "memory"; >> +        /* We expect the bootloader to fill in the size */ >> +        reg = <0 0x80000000 0 0x80000000>; > That contradicts the comment you made above. Plus, 2 GiB seems a > bit low for this SoC :D will fix this. > > [...] > >> +        gunyah_hyp_mem: gunyah-hyp-region@80000000 { > you can probably strip the "-region" part, as this is implied by > being a child of /reserved-memory ok, will do but all the previous SoCs do it differently. > >> +        pld_pep_mem: pld-pep-region@81f30000 { > What's PLD? > > What's this region used for? PEP is a Windows invention. > We list all the possible reserved memory regions from the reference doc. I can remove the unused regions in the platforms dts later once this series lands. > [...] > >> +        av1_encoder_mem: av1-encoder-region@8e900000 { > Is AV1enc hardware separate from iris? no, it isn't separate from iris AFAIK. > > [...] > >> +        gcc: clock-controller@100000 { >> +            compatible = "qcom,sc8380xp-gcc"; >> +            reg = <0 0x100000 0 0x200000>; > The address part of reg should be padded to 8 hex digits. thanks for catching this. > >> + >> +                interconnects = <&clk_virt MASTER_QUP_CORE_2 0 >> &clk_virt SLAVE_QUP_CORE_2 0>, > QCOM_ICC_TAG_ALWAYS would be nicer than 0 (see sa8775p) will do. > > [...] > >> + >> +            interrupts =    , > One space after and before '=' ack > > Konrad