Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10325598rwp; Thu, 20 Jul 2023 19:26:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlHRf7IKXmOYPSh1Gm25Te9FxHJwxCPSB3Ji9wq1tmFkKUV1wMK8H8W6P2UZlDCdGbvD6dll X-Received: by 2002:a17:906:30c5:b0:98d:696a:531c with SMTP id b5-20020a17090630c500b0098d696a531cmr440388ejb.40.1689906362717; Thu, 20 Jul 2023 19:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689906362; cv=none; d=google.com; s=arc-20160816; b=ShtXvVjD0coDlIyoM7pTXoTKbiY/SRbXJvnbUY5ouf8Z9tuIXlDKnpNMdLYQqOlGfx vBUaXHHSU/s8fJVqXFXYszTz3imhLfEKFPiC5QJOAZ/80uCBMoId7UvaD8InFHZTNcY5 tfgXeg3MEidGUeyPgejANy3+AQKG6syyjvmePWwGDT354wEH+Vew2s35ID1rmHAZ+99m MYq1gHgOhTN3DqGDRhVAjYFYLMnqR+pYLUJqZS/xRoLyK8iCikQAxP8o93MpwYPFqHRR 2TLfA54xMlOwcy+L1a+6hTMvd+BiRJzyhMUFl4PmiIeLDvImQkxp0vPfG5N3mC1LmRrs Yu3w== 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:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=NLTLbZAJWWbgCyh5mvmoLr5Retyg3rB1dikaXJK5r9w=; fh=OKs+goUTxfnybXG4x0fP/7xfvxZo6+vw6IvtINtBti8=; b=vJ68j8O/ODrCMCw8vSNdmnz2ClsaqfGk0+lD/vj8v8nX4IwpnfSkIq+OVaKNPO53lJ g6dHmpbuVqCAiG/KqB5BReubV1H8inGL71U69XrauK7TERBrJA7NW+dFuqgqAC+Gb92M fmSy8s/FKUrQKYe8OXx5qMmnFMQQunvOE1J7EJ58UpCJXLc+lXcdw07K1ZujyI1Uyx7A H8I6EmSMrfYL+JSCW1j3PFzF6UM+H0Et1kib1cm/y/TNZRgeU2tR11q8XZumKDpXCqA5 x3gtMRvGZcxn1Hd6Du1NO4jk6u5lKZXLvDaxbyNhxPJDMk1A7ZaYoIZ4Jw+qJFGbN7zy TYvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mt7xbcan; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lf6-20020a170906ae4600b00992e98bed27si1554505ejb.640.2023.07.20.19.25.37; Thu, 20 Jul 2023 19:26:02 -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=@quicinc.com header.s=qcppdkim1 header.b=mt7xbcan; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229579AbjGUCDk (ORCPT + 99 others); Thu, 20 Jul 2023 22:03:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjGUCDj (ORCPT ); Thu, 20 Jul 2023 22:03:39 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A672D4D; Thu, 20 Jul 2023 19:03:34 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36L1opis020331; Fri, 21 Jul 2023 02:03:31 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=NLTLbZAJWWbgCyh5mvmoLr5Retyg3rB1dikaXJK5r9w=; b=mt7xbcanl1DuQ6ajJuRR8P8JVfDpv2TfEsFo16HzCb7iv6tUkAUxHv5dBjO81JYF6mcW KiSdqYJwkkI9moGfhWHIElcibDy9U0sqe76IFlkEJ9bMnf0r+kpp1tP9EOtegkiDrTKI eI0/qcvVRpu7EIKcuu2AFq1o1Gk7mAC7QU8LxWH930gZqNvrmoRWwtkHAXa+C0eu7Mis g/55m7Tbvgg3zfl1V0a390FPaSkC401Xqmw1p4YwbYNhCyXcVXmnqniGfMGaKRpvf0eM BDKJn10cm39A744CfQ3H8A+89zAKUpZ5omcqVq3J4sYNJdyY8wODkXQBOw0kAZDGlVpF KA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ryfyf03dr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jul 2023 02:03:31 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36L23UFm010063 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jul 2023 02:03:30 GMT Received: from [10.239.132.204] (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.30; Thu, 20 Jul 2023 19:03:27 -0700 Message-ID: Date: Fri, 21 Jul 2023 10:03:25 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/5] arm64: dts: qcom: Add base SM4450 DTSI To: Konrad Dybcio , , , , CC: , , , , , , , , References: <20230719100135.21325-1-quic_tengfan@quicinc.com> <20230719100135.21325-2-quic_tengfan@quicinc.com> From: Tengfei Fan 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: nasanex01b.na.qualcomm.com (10.46.141.250) 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: qP8iqfmLBQKIufLusNeXEOXrWssOhO2T X-Proofpoint-ORIG-GUID: qP8iqfmLBQKIufLusNeXEOXrWssOhO2T X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-20_12,2023-07-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=550 spamscore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 phishscore=0 adultscore=0 priorityscore=1501 impostorscore=0 clxscore=1015 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307210017 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 在 7/20/2023 3:54 PM, Konrad Dybcio 写道: > On 19.07.2023 12:01, Tengfei Fan wrote: >> This add based DTSI for SM4450 SoC and includes base description of >> CPUs and interrupt-controller which helps to boot to shell with >> console on boards with this SoC. >> >> Signed-off-by: Tengfei Fan >> --- > [...] > >> +#include >> +#include > Please sort them alphabetically V2 patch will resort them. > >> + >> +/ { >> + interrupt-parent = <&intc>; >> + > [...] > >> + cpus { >> + #address-cells = <2>; >> + #size-cells = <0>; >> + >> + CPU0: cpu@0 { >> + device_type = "cpu"; >> + compatible = "qcom,kryo"; > Please post dmesg | grep '\[', this is probably a standard ARM core. sure, will do and update this compatible. > >> + reg = <0x0 0x0>; >> + enable-method = "psci"; >> + next-level-cache = <&L2_0>; >> + power-domains = <&CPU_PD0>; >> + power-domain-names = "psci"; >> + #cooling-cells = <2>; >> + L2_0: l2-cache { > Missing a newline before subnodes V2 patch will add newline. > >> + compatible = "cache"; >> + cache-level = <2>; >> + cache-unified; >> + next-level-cache = <&L3_0>; >> + L3_0: l3-cache { > Ditto V2 patch will add newline. > >> + compatible = "cache"; >> + cache-level = <3>; >> + cache-unified; >> + }; >> + }; >> + }; > [...] > >> + >> + intc: interrupt-controller@17200000 { >> + compatible = "arm,gic-v3"; >> + #interrupt-cells = <3>; >> + interrupt-controller; >> + #redistributor-regions = <1>; >> + redistributor-stride = <0x0 0x20000>; >> + reg = <0x0 0x17200000 0x0 0x10000>, /* GICD */ >> + <0x0 0x17260000 0x0 0x100000>; /* GICR * 8 */ > Misasligned V2 patch will align. > > also, please move reg and interrupts after compatible V2 patch will resort. > >> + interrupts = ; >> + }; >> + >> + timer@17420000 { >> + compatible = "arm,armv7-timer-mem"; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + ranges = <0 0 0 0x20000000>; >> + reg = <0x0 0x17420000 0x0 0x1000>; >> + clock-frequency = <19200000>; > Drop clock-frequency V2 patch will Drop this clock-frequency node. > > [...] > >> + timer { >> + compatible = "arm,armv8-timer"; >> + interrupts = , >> + , >> + , >> + ; > Misaligned V2 patch will align. > >> + clock-frequency = <19200000>; > Drop V2 patch will drop. > > Konrad >> + }; >> +}; -- Thx and BRs, Tengfei Fan