Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp68509rdf; Mon, 20 Nov 2023 16:38:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6YZe5qPmar3mIdPU4txUKANiJ0uwRayb7p9eOpaWOmASdu3vZfBkuC47mvsI/OsSb+hpR X-Received: by 2002:a17:90b:384b:b0:280:8544:42fb with SMTP id nl11-20020a17090b384b00b00280854442fbmr7039049pjb.17.1700527138352; Mon, 20 Nov 2023 16:38:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700527138; cv=none; d=google.com; s=arc-20160816; b=QHublL2gT6/NvfxD0u7JfGbISPuhZfxcp0xXHwvs9Tpx7d7m2sRdJt7/eV432KYIZP TF2kTxrkMbdIyN4wp7QNQC06D6mYJemdSuwHehOC3BEWNvM3u3Zxz1+b4G0DdTlke4Y+ NIivmr47FihZ4rEFdgFQvz8QyphWUEuvnFWMrXixctuEjldLbbL4R4aCK2Lfhpq9EKfd aqyIDVhvw01UP6eJ28CkPSGjuAA0s6j5npLbNqrHLyR7yLecg3CRHntRgkiyPqqEnCUN J36GV9qel9LUIvRhz678+fm2ncK6SK5AzxhRgHcpFW1karzINcfe5NJLW5S5vr8Mi4TY bYBA== 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=0/itjaExNH+7XRC48OKXd7v1XRJUqmRluEPlRqEzoNo=; fh=+zebjR6FSf2usm2eiB8E2Mr+gcF3bepSsguCbjZcptM=; b=bEXljxvba9cG+NWKpUZQ2whF0Pw0b+SMxJ++VlSEPB0iVaQPReD0gj87qAMCrVvBiE 4P2a7+bvXL2MEWYkDYmR58XdsyE0410KliAYUltPt/SYQj68iaAW37BZOE2I+PKTvATx O3DIl89POpHozvpjG39lBhfvTsEC8GwvymiAAeYVtwgDq8Ufd8PiuX24gAgDBGbsN1Pg EsCbdTcd1NVCiCcL0SUkIVeqwH8Rh37+dYxGkqCgX6kYYX6Q3NBub0nNEXnWP69IvU0k 7k3vDg8nqN+bYavV5bYnOBgjfA0likLxvgSEF37T/kbcpE1S7sc5zkcF+zR3aIA0vQum JrEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iT1oVFCc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id nw10-20020a17090b254a00b0027d30e575ccsi9976205pjb.115.2023.11.20.16.38.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 16:38:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iT1oVFCc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id F1E3180A3700; Mon, 20 Nov 2023 16:38:54 -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 S229853AbjKUAim (ORCPT + 99 others); Mon, 20 Nov 2023 19:38:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjKUAil (ORCPT ); Mon, 20 Nov 2023 19:38:41 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FC4ACF; Mon, 20 Nov 2023 16:38:38 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AL0PcS3011703; Tue, 21 Nov 2023 00:38: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=0/itjaExNH+7XRC48OKXd7v1XRJUqmRluEPlRqEzoNo=; b=iT1oVFCcfWdHht+NRhxX/OQZO5DqZEJ12z3TpJ+FPZUUGywr5jqtJpslS1GMIlysTyS/ cRBOoD0yuIVC7rAMgEZuRTSoFPazuzlZz4Kj5M4ahHACOI03HHOw0IuaSWGcBJGyH3gE Km3mB3/g5/ZGJ0HR3l0F6gMiSJyK2bhAgLfXjjq2RfCD4FhvKZQVVmmt0TdpHzXsW2kL FVgwFdhimZXrIphKWa+toHcMPmIzlBcQlM3vxjR3HhuWAdqTVgY+FOTRLEZCVCX1qBaU 4a2kgGlIbvOH6w0h3ekD46mE6hkZtzvm29jrX3Vq7jPq/H1cVjfqwkOa1bUz5BoyHlIe dg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ug30mj69p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 00:38:31 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AL0cUuM017814 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 00:38: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.40; Mon, 20 Nov 2023 16:38:28 -0800 Message-ID: <209d6082-35b6-4403-9dc4-a02c0da4fb94@quicinc.com> Date: Tue, 21 Nov 2023 08:38:25 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 06/16] arm64: dts: qcom: sm8550-aim300: add SM8550 AIM300 To: Dmitry Baryshkov , , , , , , , CC: , , , <-cc=kernel@quicinc.com> References: <20231117101817.4401-1-quic_tengfan@quicinc.com> <20231117101817.4401-7-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: kQtM2r9cFGnnoXTNNLOr7I652NoG47h_ X-Proofpoint-ORIG-GUID: kQtM2r9cFGnnoXTNNLOr7I652NoG47h_ 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-20_22,2023-11-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 clxscore=1015 mlxlogscore=999 priorityscore=1501 lowpriorityscore=0 spamscore=0 phishscore=0 adultscore=0 bulkscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311210001 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]); Mon, 20 Nov 2023 16:38:55 -0800 (PST) 在 11/17/2023 6:28 PM, Dmitry Baryshkov 写道: > On 17/11/2023 12:18, Tengfei Fan wrote: >> Add a minimal DTS for the new QRD8550 board, serial, UFS and USB should >> be working. > > An explanation of what is AIM300 would be welcomed. > >> >> Signed-off-by: Tengfei Fan >> --- >>   arch/arm64/boot/dts/qcom/Makefile          |   1 + >>   arch/arm64/boot/dts/qcom/sm8550-aim300.dts | 490 +++++++++++++++++++++ >>   2 files changed, 491 insertions(+) >>   create mode 100644 arch/arm64/boot/dts/qcom/sm8550-aim300.dts >> >> diff --git a/arch/arm64/boot/dts/qcom/Makefile >> b/arch/arm64/boot/dts/qcom/Makefile >> index d6cb840b7050..ea5d4a07671a 100644 >> --- a/arch/arm64/boot/dts/qcom/Makefile >> +++ b/arch/arm64/boot/dts/qcom/Makefile >> @@ -229,5 +229,6 @@ dtb-$(CONFIG_ARCH_QCOM)    += sm8450-hdk.dtb >>   dtb-$(CONFIG_ARCH_QCOM)    += sm8450-qrd.dtb >>   dtb-$(CONFIG_ARCH_QCOM)    += sm8450-sony-xperia-nagara-pdx223.dtb >>   dtb-$(CONFIG_ARCH_QCOM)    += sm8450-sony-xperia-nagara-pdx224.dtb >> +dtb-$(CONFIG_ARCH_QCOM) += sm8550-aim300.dtb > > My email client suggests that alignment is broken here. I checked the code after apply this patch, and find this code alignment have not issue, so I will check if have some format issue when I do this patch. > >>   dtb-$(CONFIG_ARCH_QCOM)    += sm8550-mtp.dtb >>   dtb-$(CONFIG_ARCH_QCOM)    += sm8550-qrd.dtb >> diff --git a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts >> b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts >> new file mode 100644 >> index 000000000000..202b979da8ca >> --- /dev/null >> +++ b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts >> @@ -0,0 +1,490 @@ >> +// SPDX-License-Identifier: BSD-3-Clause >> +/* >> + * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights >> reserved. >> + */ >> + >> +/dts-v1/; >> + >> +#include >> +#include "sm8550.dtsi" >> +#include "pm8010.dtsi" >> +#include "pm8550.dtsi" >> +#include "pm8550b.dtsi" >> +#include "pm8550ve.dtsi" >> +#include "pm8550vs.dtsi" >> +#include "pmk8550.dtsi" >> +#include "pmr735d_a.dtsi" >> +#include "pmr735d_b.dtsi" >> + >> +/ { >> +    model = "Qualcomm Technologies, Inc. SM8550 AIM300"; >> +    compatible = "qcom,sm8550-aim300", "qcom,sm8550"; >> + >> +    aliases { >> +        serial0 = &uart7; >> +    }; >> + >> +    chosen { >> +        stdout-path = "serial0:115200n8"; >> +    }; >> + >> +    pmic-glink { >> +        compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink"; >> +        #address-cells = <1>; >> +        #size-cells = <0>; >> +        orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>; >> + >> +        connector@0 { >> +            compatible = "usb-c-connector"; >> +            reg = <0>; >> +            power-role = "dual"; >> +            data-role = "dual"; >> + >> +            ports { >> +                #address-cells = <1>; >> +                #size-cells = <0>; >> + >> +                port@0 { >> +                    reg = <0>; >> + >> +                    pmic_glink_hs_in: endpoint { >> +                        remote-endpoint = <&usb_1_dwc3_hs>; >> +                    }; >> +                }; >> + >> +                port@1 { >> +                    reg = <1>; >> + >> +                    pmic_glink_ss_in: endpoint { >> +                        remote-endpoint = <&usb_1_dwc3_ss>; >> +                    }; >> +                }; >> +            }; >> +        }; >> +    }; >> + >> +    vph_pwr: vph-pwr-regulator { > > It's not demanded, I think, but I'd suggest 'regulator-vph-pwr' to allow > all regulators to be grouped together. Thanks this comments, I will sync your comments with internal team, then I will update sync result to you. > >> +        compatible = "regulator-fixed"; >> +        regulator-name = "vph_pwr"; >> +        regulator-min-microvolt = <3700000>; >> +        regulator-max-microvolt = <3700000>; >> + >> +        regulator-always-on; >> +        regulator-boot-on; >> +    }; >> +}; > > Other than that looks good to me. > -- Thx and BRs, Tengfei Fan