Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2136699rwb; Thu, 27 Jul 2023 02:38:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlFZsf9lb6Bj7np6wtDL8PBncZ9QW7OTQ0MFWq6a5YpIUuTWpXg2bvoX0UZ1lfXXhS6l/KWc X-Received: by 2002:a05:6870:ac09:b0:1bb:4bb3:ecee with SMTP id kw9-20020a056870ac0900b001bb4bb3eceemr2951983oab.31.1690450711806; Thu, 27 Jul 2023 02:38:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690450711; cv=none; d=google.com; s=arc-20160816; b=vLFt/vM+kmaktPZp1paStJ76FYXnt6qXYXEXtp8eFyojN673O/oUWz30Um57/qQopk UzePztGtsop4P/FTO8TbqQhVTAJmQ4Ibdi9WT6PJNenruoHV6u/rAuRL4mhHpVmAteW/ ThpxZS71elgE51qLUI++3VsI4m6uy2dpaOi8Xco6vxZ676GSDZqIRr9hopMXSpgiqoXs RNDNEnxqQpyUXIBP0mH09dvHxV1EJ3g2keQYDcpSZm/eb9nFx7kKRflS7J3sG9U0gab2 ITi5UhHCQ0ohDvpvAOrtLAyE1CDB95tCUbm/NkSlPBZ1NBHv3tByAUcEWbxWMZ9DoJ4i ERhA== 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=Dg/6iMgZ3+ILLBF9d/6F/4xH4zT9eUYv7MT1t6eVGO8=; fh=0oRXyGKmQyGCqjqhgX0XQT9j4ZPEsaySuxf539XTn3o=; b=PUs5mj0WC8QMsPW6O6wb6U0s3hM8M2Egi6D3ebqPB++pRcMCrPTAP4sECMCMYoG2k0 dzD0tl8WxZzCoavgZeacufmg03PqP7xYcOgKob2/sURyoKbINyZ29BhVg/uOHGA/aGSM r8e7sMc0gYPbmn/OlFIpseV+Iv/mt36R0M6pGday7Q+eVFOv3AE6nSEfUo21VFCFuj6D SQn3i4h7DrSyPHXTUM73sEcdNTOjxN0KteZl0RDwDksi5Mu6l9GP1Z15V85hkzE5zvWO Rzv7YZv1dh+Fj8KyMn8dprZiDlGokBxx7Un6SXE/4UyqwAcsc+m/kMVWKsEhcawt7wDs Jnig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Xg18iGmb; 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 v7-20020a17090a898700b0024e4ace1a41si1152880pjn.183.2023.07.27.02.38.19; Thu, 27 Jul 2023 02:38:31 -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=Xg18iGmb; 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 S232929AbjG0JIy (ORCPT + 99 others); Thu, 27 Jul 2023 05:08:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232895AbjG0JIl (ORCPT ); Thu, 27 Jul 2023 05:08:41 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACF2059E1; Thu, 27 Jul 2023 01:50:09 -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 36R4wFrY025115; Thu, 27 Jul 2023 08:50:06 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=Dg/6iMgZ3+ILLBF9d/6F/4xH4zT9eUYv7MT1t6eVGO8=; b=Xg18iGmbn5eUtdsxoLB3gLENgrkL3S8ogVUBiGonN1Y1E3w1z2PiK+7CRyMAOoBuS2u2 U+qC50NPz5K7lZOtg2Y4K+o3xq2JkG/MwxHrpmZ712tUalBh86LneLw8Yx58TgNqK1cr W+70FszufdALTpv8Ms5vp4FZGX+ibvUg0gzQbzbHAVwh3vgUI7qFyhXcZJqLRSyL0U4d Uxc1g4hfSJgeTUklg5vKFKydOyFISrm9AVKaFa+4zIa3uaFZAABrRfiKKwJGJhDHsTEO ixMLTHanhkTEleXuDeE0bGRvmx5sZWmw3Ef8EfG+vQ5DPr0/Ds5bzG1Vq4OUiZK4Oc4F /g== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s3b0g13px-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 08:50:05 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36R8o4Iq001276 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 08:50:04 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:49:28 -0700 Message-ID: Date: Thu, 27 Jul 2023 16:49:25 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/6] arm64: dts: qcom: Add base SM4450 QRD DTS To: Konrad Dybcio , Krzysztof Kozlowski , , , , CC: , , , , , , , , , References: <20230727023508.18002-1-quic_tengfan@quicinc.com> <20230727023508.18002-5-quic_tengfan@quicinc.com> <518770c2-05ad-a2a2-4e73-7ceb30687614@linaro.org> From: Tengfei Fan In-Reply-To: <518770c2-05ad-a2a2-4e73-7ceb30687614@linaro.org> 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: Di7yZVm7FCKkLzMyC06m29HlQKckRgJx X-Proofpoint-ORIG-GUID: Di7yZVm7FCKkLzMyC06m29HlQKckRgJx 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 phishscore=0 impostorscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307270078 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 3:59 PM, Konrad Dybcio 写道: > On 27.07.2023 08:56, Krzysztof Kozlowski wrote: >> 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? > hvc totally comes from Qualcomm downstream and all the Gunyah > shenanigans.. > > Tengfei, please ensure the patches are tested against linux-next > with no additional changes or modules, with a clean Linux userspace > (or at least a ramdisk). > > Konrad Hi Konrad, All these patches are tesed on linux-next, and get DCC console. For support this test, I did a temporal for enable CONFIG_HVC_DCC(this change haven't push to upstream). -- Thx and BRs, Tengfei Fan