Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp879001rdb; Fri, 2 Feb 2024 06:54:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IGlU7vWjrRAiiGFEqXLE91Y8PBv+WNw7eMjPvhnW5BPWa8GARI/fkxqNukNGecXEuuCa6Gf X-Received: by 2002:a17:906:28c9:b0:a2e:3a1a:e436 with SMTP id p9-20020a17090628c900b00a2e3a1ae436mr1705788ejd.64.1706885651022; Fri, 02 Feb 2024 06:54:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706885651; cv=pass; d=google.com; s=arc-20160816; b=enerN81wAR+sAOIa4UZNWRvkqv+69kh5Oq9tgtApBaALJgwFLM3A3ohUZGCZE0Td/D OM9IhpEeHKCFfOLNdkIfHrVulEtqHtcTr0uJFQHlfoQR1iY7a0hW7ehBBrQ1eud1n31A 5AytUUNB4FCFiIHH8vBRx5dcOXFkZ+dRJhL8UOnH2Mur19zIeACo0tAbRKI5Jx8rxWAW gKh4OJN4i0STvP/CmQhNulehlJ0yENstz9TlRqQibPYLcG1gvw3uWOFdQSTb3BHni5vk 5STWuIuSuW4mJWRhPP0MfmFB/fjbcB0E/XdVK/AmqGEa0n8FhezwKfp3lb7bj/YyImrY ILkQ== 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=02x6Zmjh1nlIs3J2kQ9IE2Yk4MS8HfXjLqkeUrush18=; fh=2N6ABkH89/InhfGmAPoufV2t/3IkLYRyLB4jYB7eNaw=; b=IWOZfrdd4ReAa8ORgzE80ZheLz0kDCH9QyFngFBjJp3sXiwASQujmKxxoaoINN4dEj 1GfVLQr2Xg+SG7tJSSLKPpm3XpHRaLYr4ohPkDaFYFI9Y0YsoJWkPbMQNR8aMKOOOASV PqEnocVFDwGGcuVaehm7jTclp2W+xFLqg9jFSnKGl75oP4q7c2huA45a9MzKOVL8TgAF FNRPCUEQRrq9p3LgCtlbkmB/6SD6ODGNFyDED3R74gVYj/HjXz+Y54t+PFDrX52s3F4L Blr77ZZ4AiiTly0m88rSkppmFp8e6uLUDxy2aO7/yMIE95E/Y8PCh5h9zZIwsYymHSR2 37Rg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gy6CI3ba; 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-49969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49969-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; AJvYcCXYihFEMNzgVI+qa57teBq5FEnJd+x114kjIAY1KbbbnsAuPyj4WthKZtzfTYhe+QdwXASmeR9acn9TLrySAW5wIv0x+HfZ4BRtRZFayw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h21-20020a17090634d500b00a34a4effc5csi945504ejb.39.2024.02.02.06.54.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 06:54:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49969-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=Gy6CI3ba; 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-49969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49969-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 BEE6A1F2B204 for ; Fri, 2 Feb 2024 14:54:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B4D7914532F; Fri, 2 Feb 2024 14:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Gy6CI3ba" Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) (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 09762145328 for ; Fri, 2 Feb 2024 14:53:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706885640; cv=none; b=ubhjLOfXj2QboYAZFxLacmrti00y4iZ6uZnw4qMQI+HLjbfGxDY30fTNHPfo9fRxl9u5xCRQb+IKGrI0VqOfeytZP97L6RxTdO6Q0X9MrJW/hZm/XNaRKh9y1MiC6KBOBJNwwDmyLS1depPs7Cb0B4zdYm9tB0l351OxPZvLSkc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706885640; c=relaxed/simple; bh=stQxsvkV5cdC8fjrrEyx+K8ZARUrypTTRJCL41lbX0M=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Ysevnct+gAhBw1LkG40Q6ce8OjTVVVTbwPD4A0raKe3o2sjaTA8acMcDsNt/THGVZKNgrbkXTDhQajYlzXO4lCsGk//lQD7/Uzj8ALadjZQVmB5ey5Zr3ZDGfKPHkMjr7GOv8sxGKqjvE2SoFd1pXwSPw+96jCpTrEUrZJRn8ck= 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=Gy6CI3ba; arc=none smtp.client-ip=209.85.128.175 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-yw1-f175.google.com with SMTP id 00721157ae682-604059403e9so22000857b3.3 for ; Fri, 02 Feb 2024 06:53:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706885638; x=1707490438; 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=02x6Zmjh1nlIs3J2kQ9IE2Yk4MS8HfXjLqkeUrush18=; b=Gy6CI3baGn00dSSshEYIU6S2y3gnUq/dSVu6gtz7HyfxEU2nCpHU8yBOT5dXR90KKT 9mzcRfYTKwfH8cJaGpY5/h49CM94NHvOrGgzVA5S4AVXJxpL9QeNaHn/2wmdBL1/+lyn XjwsbvWH857X6o0MPVwLwvxpyntFTuy+AZ9YF04wpe58eBN0EVxMfQph9w/HkGlHurx/ gFyjhlpNlfdWr25SKAT/zJ43dqO+IyM8HQ2qe310/JTwMtw96jSK5dHTwBji5WhAxZn2 fK/QmoBAvOGdTI95GNPjTjSk4zu02d3PTqvA94Q3IZb/w928scoZfP0inXH5pGsg71uG 9Dfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706885638; x=1707490438; 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=02x6Zmjh1nlIs3J2kQ9IE2Yk4MS8HfXjLqkeUrush18=; b=Pg55w3gsLn6aEwJvUTICZLyua8g4DGR7a3Id/bS+uVXrzEpMLO5H4tHm/WVFwKD1xT hUwxHeVmaJiJWgZGAIML+0tkXabq5pORiJFIxF2HtoUj2PpkTt85yHH/E+4Pa9k1WzAI /OZs5PdswCNPGaQa5OQ1LlxuSA70WnlBTJBOMAuct+dn6ktg5vMC1roD+HE14mVT2y1K CsiHj16Eyu80vEoommFnEvVc78qNYVhLGvrX2v0ztKqPGp0kiWU2regjlhx56JfbsxPs ESLHFl1PVwr8sUDphFJUi5PhjBn4pJ1Z0KVS5UpDQ4/tpWGq1vO02NjBSIaaCkmNRiuK klvQ== X-Gm-Message-State: AOJu0YzOQup69S6KVIXvC9MFXs7fZJjFMYdCSwMHB0aE6pW889bQYDA9 O6Gy8dezfg96O169r+ij2kayO3YREWShk2/Kmbs5ejCY2ujDYwNsORBqwKArPF4g8UL850kIoNs kaAP2fZ+dSaigTxbVBVQ6AAUiw4Vyhcd0QKqWmw== X-Received: by 2002:a81:6d8f:0:b0:5ff:4959:1da8 with SMTP id i137-20020a816d8f000000b005ff49591da8mr4828166ywc.50.1706885637942; Fri, 02 Feb 2024 06:53:57 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240202133638.4720-1-quic_wasimn@quicinc.com> <20240202133638.4720-4-quic_wasimn@quicinc.com> In-Reply-To: <20240202133638.4720-4-quic_wasimn@quicinc.com> From: Dmitry Baryshkov Date: Fri, 2 Feb 2024 16:53:46 +0200 Message-ID: Subject: Re: [PATCH 3/3] arm64: dts: qcom: Add initial support for rb5gen2 HDK board To: Wasim Nazir Cc: andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com Content-Type: text/plain; charset="UTF-8" On Fri, 2 Feb 2024 at 15:37, Wasim Nazir wrote: > > RB5gen2 hardware development kit is based on QCS8550-Rb5gen2 SOM > for IOT solutions. > This initial version describes VPH_PWR, UART & USB3.1. > > On-board PMICs: > - PMR735D > - PM8010 > > Signed-off-by: Wasim Nazir > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index 6fdde64d7540..8840b219d6d5 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -93,6 +93,7 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs8550-aim300-aiot.dtb > +dtb-$(CONFIG_ARCH_QCOM) += qcs8550-rb5gen2-hdk.dtb > dtb-$(CONFIG_ARCH_QCOM) += qdu1000-idp.dtb > dtb-$(CONFIG_ARCH_QCOM) += qrb2210-rb1.dtb > dtb-$(CONFIG_ARCH_QCOM) += qrb4210-rb2.dtb > diff --git a/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2-hdk.dts b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2-hdk.dts > new file mode 100644 > index 000000000000..6f4c68402823 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2-hdk.dts > @@ -0,0 +1,136 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. > + */ > + > +/dts-v1/; > + > +#include "qcs8550-rb5gen2.dtsi" > +#include "pm8010.dtsi" > +#include "pmr735d_a.dtsi" > +#include "pmr735d_b.dtsi" > + > +/ { > + model = "Qualcomm Technologies, Inc. QCS8550 RB5Gen2 HDK"; > + compatible = "qcom,qcs8550-rb5gen2-hdk", "qcom,qcs8550-rb5gen2", > + "qcom,qcs8550", "qcom,qcm8550", "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>; > + > + 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>; > + }; SS lines unconnected? SBU is unconnected? > + }; > + }; > + }; > + }; > + > + vph_pwr: vph-pwr-regulator { > + compatible = "regulator-fixed"; > + regulator-name = "vph_pwr"; > + regulator-min-microvolt = <3700000>; > + regulator-max-microvolt = <3700000>; > + > + regulator-always-on; > + regulator-boot-on; > + }; > +}; > + > +&apps_rsc { > + regulators-0 { > + vdd-bob1-supply = <&vph_pwr>; > + vdd-bob2-supply = <&vph_pwr>; > + }; > + > + regulators-2 { > + vdd-s4-supply = <&vph_pwr>; > + vdd-s5-supply = <&vph_pwr>; > + }; > + > + regulators-3 { > + vdd-s1-supply = <&vph_pwr>; > + vdd-s3-supply = <&vph_pwr>; > + vdd-s4-supply = <&vph_pwr>; > + vdd-s5-supply = <&vph_pwr>; > + vdd-s6-supply = <&vph_pwr>; > + }; > + > + regulators-4 { > + vdd-s1-supply = <&vph_pwr>; > + vdd-s3-supply = <&vph_pwr>; > + vdd-s4-supply = <&vph_pwr>; > + vdd-s5-supply = <&vph_pwr>; > + vdd-s7-supply = <&vph_pwr>; > + }; > + > + regulators-5 { > + vdd-s1-supply = <&vph_pwr>; > + vdd-s2-supply = <&vph_pwr>; > + vdd-s3-supply = <&vph_pwr>; > + vdd-s4-supply = <&vph_pwr>; > + vdd-s5-supply = <&vph_pwr>; > + vdd-s6-supply = <&vph_pwr>; > + }; > +}; > + > +&pm8550b_eusb2_repeater { > + vdd18-supply = <&vreg_l15b_1p8>; > + vdd3-supply = <&vreg_l5b_3p1>; > +}; > + > +&uart7 { > + status = "okay"; > +}; > + > +&usb_1 { > + status = "okay"; > +}; > + > +&usb_1_dwc3 { > + dr_mode = "otg"; > + usb-role-switch; > +}; > + > +&usb_1_dwc3_hs { > + remote-endpoint = <&pmic_glink_hs_in>; > +}; > + > +&usb_1_hsphy { > + vdd-supply = <&vreg_l1e_0p88>; > + vdda12-supply = <&vreg_l3e_1p2>; > + > + phys = <&pm8550b_eusb2_repeater>; > + > + status = "okay"; > +}; > + > +&usb_dp_qmpphy { > + vdda-phy-supply = <&vreg_l3e_1p2>; > + vdda-pll-supply = <&vreg_l3f_0p88>; > + > + status = "okay"; > +}; > -- > 2.43.0 > > -- With best wishes Dmitry