Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2188771rwb; Thu, 27 Jul 2023 03:38:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlF3HMoaXkqZmEMQGuKDAx1BXhFWw9OctoV6FzB6J8McLqtVdm7K/e7JGlpJCtihLdrl0fFw X-Received: by 2002:a17:90a:7f8c:b0:268:26f8:dad5 with SMTP id m12-20020a17090a7f8c00b0026826f8dad5mr3696278pjl.21.1690454316006; Thu, 27 Jul 2023 03:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690454315; cv=none; d=google.com; s=arc-20160816; b=iW/BGSnnZe4EsWioEfSqOmqPds1Tah9U+tRCPK3eSaKMEsiHjQM4Aq8Qu43b2+EDOK F42TNlm2n0mXf/BTpQrQKcB0M4KECGyZrwjZSZMVUImN50Tuucb5c3C6yozH3YC8U7Nz a3dWSBV/Rl/oxKDFTtXXkQIovQ6nrUD1YjSDj4oZ8SU1LBbDHywMF2p9EpB1vWnlmUY3 1tlFM3hW64QVD+DN/34fKqkJJ9ZVu/7jmnp1TzHXvNTT3WZ8d23K7K8o/kpf44LGNHho fy0NdbniicYGxF4+4Jw2Pk496lW5Yn/e7Su7FdrEbfkf4W+8nNwBuwaUypnMLaXorBC2 L/Hg== 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=NKlYr7maXj2MJlJF1PrrQfxtQxlWjxAOJLnutsD0eOA=; fh=qEW2o5Memymdliwvn8aJ6cyJEmfSjROKAT9OZ6Nw/WY=; b=IYWiUdxN9uncUpd3rGabxonP7hbp97n3s11Kn9jLdYcNFf+ZsTKYiftU6iClGY8yoN 8YaLHBiLfFnp3YZ/pH7GAs8IiPE3vNXi756pxgxSQBTHnaav7f2r8DuanK6YfHe/rtSn S31ODKQh76XnyfRFFz0uG9vYBC2NHHKqiA/IXABl48qzcI2AdRWh5GJyUK+KBrWl1lrI NYBLarx+6sO4e+puP9sTHhJwtjqk/Sp7Lc8M6qiH8POhUznsX2V/sesgG7ChkTpyPLwj 6V2cUKdpfnmpv3QNFG73mWNL9R7X/7GzCfJS0fnS+VnKOPuMubTtGvDn+2IYRIoBuDVn TKdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=p0UG6d8W; 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 q21-20020a17090aa01500b0026335941736si2749563pjp.144.2023.07.27.03.38.23; Thu, 27 Jul 2023 03:38:35 -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=p0UG6d8W; 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 S232992AbjG0KJf (ORCPT + 99 others); Thu, 27 Jul 2023 06:09:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232889AbjG0KJe (ORCPT ); Thu, 27 Jul 2023 06:09:34 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69181188; Thu, 27 Jul 2023 03:09:33 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36R7cTsa032098; Thu, 27 Jul 2023 08:27:25 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=NKlYr7maXj2MJlJF1PrrQfxtQxlWjxAOJLnutsD0eOA=; b=p0UG6d8WqV5cWQeZ6PBmorZIQhKZXlWDgfSqqyty0lqLJN8yodbiVUVLCfpK+L6iY3rP ZRkp39Ap/wEHf6TDqY0Nz4b0uUOM4h4FuUKEZ8hMpnWsBzh3uUcEHoyZe4eGATBfOcTX OEKGXVFyDDALoIPcwex8jhT4awgLgOWb4TMCAlJMS+Oq9m5r1dPvfeiMSe3m+cEZ9t0O nLbV0/3ab3vOyYpbR1C0rkJqXCZUxX5eMQpSznrc1JYDA5qO2TjYfSYVp/t0zPckX2Hq 1rbxjvszsiEU5aSdJBx5t6S10UAlxm5e7F1h+7zo5ZUkL578lOj/Vk31TFW/pctGFfE8 Ag== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s32jn27hq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 08:27:24 +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 36R8RLA7002405 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 08:27:21 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, 27 Jul 2023 01:27:17 -0700 Message-ID: Date: Thu, 27 Jul 2023 16:27:15 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/6] arm64: dts: qcom: Add base SM4450 QRD DTS To: Krzysztof Kozlowski , , , , , CC: , , , , , , , , , References: <20230727023508.18002-1-quic_tengfan@quicinc.com> <20230727023508.18002-5-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: 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: 03ngIXWe5bw-E65YUbgeox1yOR1wCtu1 X-Proofpoint-ORIG-GUID: 03ngIXWe5bw-E65YUbgeox1yOR1wCtu1 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-26_08,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 suspectscore=0 mlxscore=0 phishscore=0 bulkscore=0 mlxlogscore=926 lowpriorityscore=0 impostorscore=0 adultscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307270074 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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/27/2023 2:56 PM, Krzysztof Kozlowski 写道: > On 27/07/2023 04:35, Tengfei Fan wrote: >> Add DTS for Qualcomm QRD platform which uses SM4450 SoC. >> >> Signed-off-by: Tengfei Fan >> --- >> arch/arm64/boot/dts/qcom/Makefile | 1 + >> arch/arm64/boot/dts/qcom/sm4450-qrd.dts | 18 ++++++++++++++++++ >> 2 files changed, 19 insertions(+) >> create mode 100644 arch/arm64/boot/dts/qcom/sm4450-qrd.dts >> >> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile >> index 337abc4ceb17..db805d0929c8 100644 >> --- a/arch/arm64/boot/dts/qcom/Makefile >> +++ b/arch/arm64/boot/dts/qcom/Makefile >> @@ -186,6 +186,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sdm850-lenovo-yoga-c630.dtb >> dtb-$(CONFIG_ARCH_QCOM) += sdm850-samsung-w737.dtb >> dtb-$(CONFIG_ARCH_QCOM) += sdx75-idp.dtb >> dtb-$(CONFIG_ARCH_QCOM) += sm4250-oneplus-billie2.dtb >> +dtb-$(CONFIG_ARCH_QCOM) += sm4450-qrd.dtb >> dtb-$(CONFIG_ARCH_QCOM) += sm6115-fxtec-pro1x.dtb >> dtb-$(CONFIG_ARCH_QCOM) += sm6115p-lenovo-j606f.dtb >> dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb >> diff --git a/arch/arm64/boot/dts/qcom/sm4450-qrd.dts b/arch/arm64/boot/dts/qcom/sm4450-qrd.dts >> new file mode 100644 >> index 000000000000..04ad1dd4285a >> --- /dev/null >> +++ b/arch/arm64/boot/dts/qcom/sm4450-qrd.dts >> @@ -0,0 +1,18 @@ >> +// SPDX-License-Identifier: BSD-3-Clause >> +/* >> + * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. >> + */ >> + >> +/dts-v1/; >> + >> +#include "sm4450.dtsi" >> +/ { >> + model = "Qualcomm Technologies, Inc. SM4450 QRD"; >> + compatible = "qcom,sm4450-qrd", "qcom,sm4450"; >> + >> + aliases { }; >> + >> + chosen { >> + bootargs = "console=hvc0 earlycon=hvc0 hvc_dcc.enable=1 cpuidle.off=1"; > > No earlycon, no hvc.enable (there is no such parameter), no cpuidle.off > (again don't add fake stuff). So the only suitable argument is console, > but this should be actually used via stdout path, although it seems > there is no device node for such usage? Hi Krzysztof, Checked upstream linux kernel code, there is not "hvc_dcc.enable", but have other parameters, like earlycon, cpuidle.off. Do you mean we should not set "earlycon=hvc0 cpuidle.off=1" parameters, right? only need: bootargs = "console=hvc0" ? > > > > Best regards, > Krzysztof > -- Thx and BRs, Tengfei Fan