Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1612920rdb; Tue, 20 Feb 2024 01:18:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW3xFL4XwfpmXeL5STLJQ5uuu2b8LB4aJZ5F8P/7ZW0+Zx8G+Z4kO1epfvfXhjd8sFSuyO2k0qB1FbMyLdIetElJj806rSvwx78u2JBnQ== X-Google-Smtp-Source: AGHT+IFUF3imWrUTh0tuBgKFbYoM1GQUp6y8j1pcNr3YcYI/wznBC8wlNXtnvH1nZBTqkXRmODBb X-Received: by 2002:a17:906:6c90:b0:a3e:cf42:cc1c with SMTP id s16-20020a1709066c9000b00a3ecf42cc1cmr2239239ejr.52.1708420691637; Tue, 20 Feb 2024 01:18:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708420691; cv=pass; d=google.com; s=arc-20160816; b=QBs2oCw+S97MejAnjiyZwaNdfVHKfJdiC7wS7oJ8aVQrYftYKXfQmQZJ7OhEnZMQeT ZqzSH+3Xwx3NNu7+Qlwn9lxmFGGNDgtkhZJIcpuvuheopjqGzSM3s5r5wumfY5aT+1jx i3WVAPg3XOvHLNsz0Ah08dBF9uP6k7keaRr/nXa544j+BH+cY5R3hduHCAyQURg6UcIg NTvlzGSEylRKsJVpFACQ6D1v5fYsYGZMG2LARhytLxogySFXeL+0bp6X53Ww3M4SqwvO Yo7CWFndA6WIphttHIfz8ht6vVNNDuzqQMFxDWDJ8O1DCP7lMGqwu6vyLdz+D0njDDED 6Yeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=u/nDscEgr3PQKZPl5jkaOnMAm17XyF+XZVEyKYKfXqk=; fh=Wnsq3U7dv/9dYglAQB5yvN9ox2JpqCvFN2uJPC8h7M8=; b=baIYAN36TKMjvpnl+ndTbI+hcAe7zuf0WVTlnkdhCctkZdgHjGgxeQE4Cf/uAhvMlW F1tLum7ClLydP01GaoAljjN9QRRdBF53ZFOp3fkPrrT5KP3Q5dEdvJ4jvQTcw8KIXMx5 nbr98p9CJYsCh+fsXbLv+veWx+ybFqVoS7zPGGZNyGXOWsokl5oAcKo3llGFoTOOLFY6 x7XCFJr4z06w7yQ7ilcEBuzSXYyJrlRYR/TAiGTNPJZksWRL9g9BvfiNhT3YS+2azRE7 fEycAi/nKQ0y2pKWdiBlowkfUPsytJx2ApcUw0COC9smSk1kASkCKWfpdmOuEyHrFYI1 gW4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DXdJVTNd; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-72675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o19-20020a1709061b1300b00a3d5e9bcbc3si3342792ejg.565.2024.02.20.01.18.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 01:18:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DXdJVTNd; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-72675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4C7411F2590E for ; Tue, 20 Feb 2024 09:18:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF90F5F49C; Tue, 20 Feb 2024 09:17:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="DXdJVTNd" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F7D7482D1; Tue, 20 Feb 2024 09:17:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708420650; cv=none; b=Lh8qKkTJiKsrCjv1QPGKg65y6O7KSVAm7r2Z2K+Om/vo1I78KQzBml+TAyjNNBucIjmAsCOwpyFhEDzeJn5/FQCLsqtdtq9BUmp2Ocv9SFZQTtOhz9Ez7XSFec2IBHOleR4UWkFwWZWBM3TtuMO2SGoNbavptDsJjLcxpdglnkg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708420650; c=relaxed/simple; bh=OpVDXGdwnO7ThSle8DqmEJO/1F2fU3O04+8aMmj69JA=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=S0TGDmSpkSDJqrxoq5B1TW3KP8svh/e9HnNeJQHA9PlKJULOoWlZo/1JkKk0irz5Ze7UYDOjgu1rWTEp88Jl0tPDTXepFMoCB5mWtzjb+rEgk6zu9nvPxKIyWwYJT1CVdHcnAj+iSh5eeYZybMeVExMKu7qQuz6JgVUyjaNs064= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=DXdJVTNd; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41K6xCqF025678; Tue, 20 Feb 2024 09:17:26 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=u/nDscEgr3PQKZPl5jkaOnMAm17XyF+XZVEyKYKfXqk=; b=DX dJVTNd2heTBF3BKFhAZUFss0VkdE8QxdKKAUgavtY4dUzzl0mhxpymfpM4kR7XwL lm2d4ZLMLWP9NCJfaSYLjYtDSPuOYMEsv7XR5D2AzgTIR4sxmuOVCg/NcE/KD7u9 2OnH5lCSpzRH69q6Iti9/NO6sofpzXVuC9YB7WTQcwPjriuxOVkP+0oUIbbKlXdt YSmnliwggqWp+MALp4gS/GAXJ3BPW4MTKo2cYdPhwl2XdyY3SDDNa6pT5MJAeGai gWqrTvrsJFsLQ46n8JIcHDbf2MPuVJ0q/xiKQl/TKECaJgTA8zYwD9ju30IJnAXZ aHtLGOJZjtuyAUyJ2kIw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wcn15rghy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Feb 2024 09:17:25 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41K9H5XT017572 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Feb 2024 09:17:05 GMT Received: from [10.233.21.53] (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 20 Feb 2024 01:16:59 -0800 Message-ID: <9685991e-6577-4f96-a17f-b0a65d8d1260@quicinc.com> Date: Tue, 20 Feb 2024 17:16:57 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 5/6] arm64: dts: qcom: add base AIM500 dtsi Content-Language: en-US To: Dmitry Baryshkov CC: , , , , , , , , , Tingwei Zhang References: <20240205115721.1195336-1-quic_jingyw@quicinc.com> <20240205115721.1195336-6-quic_jingyw@quicinc.com> From: Jingyi Wang In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: K1UCLmE-9T9o54i-Nk4aBbabbtm7ZamE X-Proofpoint-GUID: K1UCLmE-9T9o54i-Nk4aBbabbtm7ZamE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-20_06,2024-02-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1011 phishscore=0 suspectscore=0 bulkscore=0 adultscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402200066 Hi Dmitry, On 2/5/2024 10:23 PM, Dmitry Baryshkov wrote: > On Mon, 5 Feb 2024 at 14:00, Jingyi Wang wrote: >> >> Introduce aim500 board dtsi. > > So, is it a board or a module? > aim500 is a module, will fix the descrption. >> >> AIM500 Series is a highly optimized family of modules designed to >> support AIoT and Generative AI applications based on sm8650p with >> PMIC and bluetooth functions etc. >> >> Co-developed-by: Tingwei Zhang >> Signed-off-by: Tingwei Zhang >> Signed-off-by: Jingyi Wang >> --- >> arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi | 409 +++++++++++++++++++ >> 1 file changed, 409 insertions(+) >> create mode 100644 arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi >> >> diff --git a/arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi b/arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi >> new file mode 100644 >> index 000000000000..cb857da8653b >> --- /dev/null >> +++ b/arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi >> @@ -0,0 +1,409 @@ >> +// SPDX-License-Identifier: BSD-3-Clause >> +/* >> + * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. >> + */ >> + >> +#include >> +#include "sm8650p.dtsi" >> +#include "pm8550.dtsi" >> +#include "pm8550b.dtsi" >> +#define PMK8550VE_SID 8 >> +#include "pm8550ve.dtsi" >> +#include "pm8550vs.dtsi" >> +#include "pmk8550.dtsi" >> + >> +/ { >> + aliases { >> + serial1 = &uart14; >> + }; >> + >> + vph_pwr: vph-pwr-regulator { }; > > Is this regulator a part of the module or a part of the carrier board? > If the latter is true, this must go to the carrier board DT file. > the vph_pwr regulator is defined in the aim500-aiot carrier board and used in aim500 module. >> +}; >> + >> +&apps_rsc { >> + regulators-0 { >> + compatible = "qcom,pm8550-rpmh-regulators"; >> + >> + vdd-bob1-supply = <&vph_pwr>; >> + vdd-bob2-supply = <&vph_pwr>; >> + vdd-l2-l13-l14-supply = <&vreg_bob1>; >> + vdd-l3-supply = <&vreg_s1c_1p2>; >> + vdd-l5-l16-supply = <&vreg_bob1>; >> + vdd-l6-l7-supply = <&vreg_bob1>; >> + vdd-l8-l9-supply = <&vreg_bob1>; >> + vdd-l11-supply = <&vreg_s1c_1p2>; >> + vdd-l12-supply = <&vreg_s6c_1p8>; >> + vdd-l15-supply = <&vreg_s6c_1p8>; >> + vdd-l17-supply = <&vreg_bob2>; >> + >> + qcom,pmic-id = "b"; > > [skipped] > >> + >> +&qupv3_id_1 { >> + status = "okay"; >> +}; > > No GPI node being enabled? > will drop this node for there is no client under that. >> + >> +&tlmm { >> + bt_default: bt-default-state { >> + bt-en-pins { >> + pins = "gpio17"; >> + function = "gpio"; >> + drive-strength = <16>; >> + bias-disable; >> + }; >> + >> + sw-ctrl-pins { >> + pins = "gpio18"; >> + function = "gpio"; >> + bias-pull-down; >> + }; >> + }; >> +}; >> + >> +&uart14 { >> + status = "okay"; >> + >> + bluetooth { >> + compatible = "qcom,wcn7850-bt"; >> + >> + clocks = <&rpmhcc RPMH_RF_CLK1>; >> + >> + vddio-supply = <&vreg_l3c_1p2>; >> + vddaon-supply = <&vreg_l15b_1p8>; >> + vdddig-supply = <&vreg_s3c_0p9>; >> + vddrfa0p8-supply = <&vreg_s3c_0p9>; >> + vddrfa1p2-supply = <&vreg_s1c_1p2>; >> + vddrfa1p9-supply = <&vreg_s6c_1p8>; >> + >> + max-speed = <3200000>; >> + >> + enable-gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>; >> + swctrl-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>; >> + >> + pinctrl-0 = <&bt_default>; >> + pinctrl-names = "default"; >> + }; >> +}; >> -- >> 2.25.1 >> >> > > Thanks, Jingyi