Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2432505rdb; Mon, 5 Feb 2024 06:32:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGaXnhk0JOAcleBrlyw1lObbCcYh7u4xU9I5ZSl+2D7hgiF3pO8VCLZxL87VGrWdlCOhkYu X-Received: by 2002:aa7:d0c6:0:b0:560:5fc:9f0d with SMTP id u6-20020aa7d0c6000000b0056005fc9f0dmr4435197edo.9.1707143542482; Mon, 05 Feb 2024 06:32:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707143542; cv=pass; d=google.com; s=arc-20160816; b=dcPDYjg6CkuwG0tpOvdhblnY/Y8eTCVYk6Rv+JYy7IhCYb+D+M47cTFv1SpdoFRaLr Nfy2uJLblSM7zXp7fPjwYnYyzo5gqYe1W7qXb9bW07yAIr5DPadXeTO/8uU5CfVEJWXN tv8hHBfXJVgaFkCvXKmXGlqXvcDMgbF4ZpqpQ6oPMBAv379TZn2tj3ou5pw5Iy2NmgeT FcZcp1IfP8rxFPuqOoeK8zliy7c/eGANuXg0M0fyV6ms0n9RflV5RqLCymmzmZzecaa/ 3/fBG+WBTLDzsfC8FHWKD2EpsQ1tQCFcy3+MDcfox4b7IXOWOvdzoFZsj4WN7fVps6LI B+Gg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=+5NlV443+B7q3oSMetmnKtZavUAqBXHNm5S0epsUCIU=; fh=840fBg/lGeEZscJbxSocjjDz7OSmBbHXWzhApQUut5M=; b=KLPmn8aU+CPJ73Aqalb+2xaVIfYUkNR0K44SiIgCy0xrxIp82slpfjp7L99x91g7UI KfxS+W4izHK6RRaPd2iEJiFKIaqiwwHNwgeSnQ9SzGY2xp0BDuVpxjdmt45E2/8/EzIg 6DxN/Uqga81CmSOQ4hbRqrwwaaWhq3PPSHgTynJ1oKoM9Ozmb1/66LfYxnBwKPc1JvNi Nl3P5k5zlFhtkbaceFg0tRlx3fwSiplyLo5eQN65YW9l14UVRhxegcn6S84SazNBEa8Y ust8Qq5urUxm+7zjwyCclIRo+lmSgh2K5XrVtWa8PCQylBXH6caBNkkCmImnjGGddqut 4i/g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NQfc5zvF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-52810-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52810-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCWA7EmX+d65rH6BHFs2kvKoMnoiz/gMnegBXNiUfC3xEaQf3d+WKqyTQ0khxkGGL+lVjfZ/7CFUI9rBPWs8WjvamagAVp3OahGpewEqCA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bl21-20020a056402211500b0056025fa6962si2751678edb.217.2024.02.05.06.32.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 06:32:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52810-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NQfc5zvF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-52810-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52810-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 232A81F27BB9 for ; Mon, 5 Feb 2024 14:23:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0123B2C1A5; Mon, 5 Feb 2024 14:23:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NQfc5zvF" Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40B3728DD1 for ; Mon, 5 Feb 2024 14:23:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707143002; cv=none; b=asX86GBJigeq0cFZB1uz/Y36kCFq6mOP8uRr47exOFDF/zXqOp63FxsvFlmWlG1RBzovPmp7CyYSADd/uMKgM8jgHqKqRSewxQ/5NnQ92KXBb9NqT6o7lkRIqjsc6FK2/sWCPk2vPmWL12MgQejGKPjFbD5MDcj+g/YrC1RWNPw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707143002; c=relaxed/simple; bh=5RyMVLemSkWVpyHBi0so1fiYtu5f37OhHrGEU8lWY2Y=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=roH2iwt9LRl3HaMYosBrY4AOmbggPi9iHTUSfyqayiQtLzNX5LvU3l+GmgF9kAqgDzexrm1aqpzFeF4lJ5B2RM17G2zUhRVlkGmmdPuLc+/6LVWqsNi/PEBq1Jlovv/Nr9zuxv69UHWE/voMdgOz6P7LU7pr9pNIGpngcmKcLgE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=NQfc5zvF; arc=none smtp.client-ip=209.85.219.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f176.google.com with SMTP id 3f1490d57ef6-dc6df0f9bcdso3863498276.2 for ; Mon, 05 Feb 2024 06:23:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707142997; x=1707747797; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+5NlV443+B7q3oSMetmnKtZavUAqBXHNm5S0epsUCIU=; b=NQfc5zvF8fb4Iv1czlnFnsrAGQULSpqyTntEPy8R0ej0wzEa/OfOKOMfoTYEgjkwsF oxc5xMVesQO/nN0FJUQlYcnUdroO2tU77lx/+LWQ/ieeeLAKaC0GB/p40j2syrtiLpR5 r1KcUOaWLgOf06uVXrojPXonDNfW11SCyF34blWNBsufyh1YJ+7t2dtKUt65cXwJlnv1 BgETtjgFC6Aruf6oI3H5Hj5N3uN49EHQB3IxGS8J2XPoI+/0oF8xx+VdDuDSDFVrcCc2 p+e2gvEWNzkYft7AdwSSXZtaek7+xaaN5lljO8fJsWDDSmLEXPXp9vJerMe5zGvTxnfn 1mbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707142997; x=1707747797; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+5NlV443+B7q3oSMetmnKtZavUAqBXHNm5S0epsUCIU=; b=Yc9X1xIAW2ktKqXonFrqx5xuL//LEbvbvJvsvC3pmHUca0+opu9gnzbiobLYpwtuOM B/T1xidHz23KYUYJrG6MBkR2Z3rZFT9JRq0JBR+wMkyXLedBmJUDYegOYiuPEJnFAPiF pPR4PJwwdjRxUYgmu7kOKiM1/OmgoPwuR21gyIV649uGkbrcCo49kgJKYE00v/1tjn9n xnCOLZ8Rste2RLKqotkbU31bAoeUdk3WrNk7aSAqtyfNEWk1IeHRsWyEIiZ8NaahExY8 14O2w7OhQNMq0fGZPR0agrtf7JqYloH7L/0+TCvAsv5ovZZp2cKu+P5qwI3Cf2cFuMEf x7vQ== X-Gm-Message-State: AOJu0YwHV7DNtjOJMnpfILmK3ZVOrfWqLySJYV5v8Iym2MJcVkhpuEJH pXeS3mgHnWN9+LRJQtvVQ5kyonHupTFA4UbP3ibcqQIJIg5lMBJsk0L9ZTXZhscaipWdo+1dFWv 56k1dsjlhWdAZmY2ob+Cugn30E7y0NLzMand6+A== X-Received: by 2002:a25:acd2:0:b0:dc2:35c1:7d9c with SMTP id x18-20020a25acd2000000b00dc235c17d9cmr8131574ybd.60.1707142997250; Mon, 05 Feb 2024 06:23:17 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240205115721.1195336-1-quic_jingyw@quicinc.com> <20240205115721.1195336-6-quic_jingyw@quicinc.com> In-Reply-To: <20240205115721.1195336-6-quic_jingyw@quicinc.com> From: Dmitry Baryshkov Date: Mon, 5 Feb 2024 16:23:06 +0200 Message-ID: Subject: Re: [RFC PATCH 5/6] arm64: dts: qcom: add base AIM500 dtsi To: Jingyi Wang Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, kernel@quicinc.com, Tingwei Zhang Content-Type: text/plain; charset="UTF-8" On Mon, 5 Feb 2024 at 14:00, Jingyi Wang wrote: > > Introduce aim500 board dtsi. So, is it a board or a module? > > 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. > +}; > + > +&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? > + > +&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 > > -- With best wishes Dmitry