mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tengfei Fan <quic_tengfan@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	<agross@kernel.org>, <andersson@kernel.org>,
	<konrad.dybcio@linaro.org>, <robh+dt@kernel.org>,
	<krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>,
	<tglx@linutronix.de>
Cc: <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <-cc=kernel@quicinc.com>
Subject: Re: [PATCH 06/16] arm64: dts: qcom: sm8550-aim300: add SM8550 AIM300
Date: Tue, 21 Nov 2023 08:38:25 +0800	[thread overview]
Message-ID: <209d6082-35b6-4403-9dc4-a02c0da4fb94@quicinc.com> (raw)
In-Reply-To: <aecb04cd-805d-4c2d-b6a7-67a47b963ee9@linaro.org>



在 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 <quic_tengfan@quicinc.com>
>> ---
>>   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 <dt-bindings/regulator/qcom,rpmh-regulator.h>
>> +#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

  reply	other threads:[~2023-11-21  0:38 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-17 10:18 [PATCH 00/16] arm64: qcom: add sm8550-aim300 board support Tengfei Fan
2023-11-17 10:18 ` [PATCH 01/16] dt-bindings: arm: qcom: add SM8550 AIM300 Tengfei Fan
2023-11-17 10:22   ` Krzysztof Kozlowski
2023-11-20  8:53     ` Krzysztof Kozlowski
2023-11-21  0:30       ` Tengfei Fan
2023-11-21  7:18         ` Krzysztof Kozlowski
2023-11-22 19:35           ` Konrad Dybcio
2023-11-24  2:31             ` Tengfei Fan
2023-11-24  7:47               ` Krzysztof Kozlowski
2023-11-24 10:11                 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 02/16] dt-bindings: interrupt-controller: qcom,pdc: document qcom,sm8550-pdc Tengfei Fan
2023-11-17 10:23   ` Krzysztof Kozlowski
2023-11-21  0:33     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 03/16] arm64: dts: qcom: sm8550: update Soundwire node name Tengfei Fan
2023-11-17 10:24   ` Krzysztof Kozlowski
2023-11-21  0:35     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 04/16] arm64: dts: qcom: sm8550: remove address/size-cells from pwm Tengfei Fan
2023-11-17 10:25   ` Dmitry Baryshkov
2023-11-17 10:18 ` [PATCH 05/16] arm64: dts: qcom: sm8550: remove address/size-cells from mdss_dsi1 Tengfei Fan
2023-11-17 10:24   ` Dmitry Baryshkov
2023-11-17 10:28     ` Dmitry Baryshkov
2023-11-17 10:18 ` [PATCH 06/16] arm64: dts: qcom: sm8550-aim300: add SM8550 AIM300 Tengfei Fan
2023-11-17 10:28   ` Dmitry Baryshkov
2023-11-21  0:38     ` Tengfei Fan [this message]
2023-11-21  2:52     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 07/16] arm64: dts: qcom: sm8550-aim300: add PCIe0 Tengfei Fan
2023-11-17 10:29   ` Dmitry Baryshkov
2023-11-17 10:41     ` neil.armstrong
2023-11-18  0:08       ` Konrad Dybcio
2023-11-19 17:59         ` Neil Armstrong
2023-11-21  0:40           ` Tengfei Fan
2023-11-17 10:30   ` Krzysztof Kozlowski
2023-11-21  0:51     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 08/16] arm64: dts: qcom: sm8550-aim300: add WCD9385 audio-codec Tengfei Fan
2023-11-17 10:31   ` Krzysztof Kozlowski
2023-11-21  0:54     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 09/16] arm64: dts: qcom: sm8550-aim300: add flash LEDs Tengfei Fan
2023-11-17 10:34   ` Krzysztof Kozlowski
2023-11-21  0:54     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 10/16] arm64: dts: qcom: sm8550-aim300: add display and panel Tengfei Fan
2023-11-17 10:30   ` Dmitry Baryshkov
2023-11-21  0:56     ` Tengfei Fan
2023-11-17 10:31   ` Krzysztof Kozlowski
2023-11-21  1:01     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 11/16] arm64: dts: qcom: sm8550-aim300: add notification RGB LED Tengfei Fan
2023-11-17 10:31   ` Krzysztof Kozlowski
2023-11-21  1:01     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 12/16] arm64: dts: qcom: sm8550-aim300: enable PMIC Volume and Power buttons Tengfei Fan
2023-11-17 10:32   ` Krzysztof Kozlowski
2023-11-21  1:03     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 13/16] arm64: dts: qcom: sm8550-aim300: add WSA8845 speakers Tengfei Fan
2023-11-17 10:33   ` Krzysztof Kozlowski
2023-11-21  1:04     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 14/16] arm64: dts: qcom: sm8550-aim300: add sound card Tengfei Fan
2023-11-17 10:33   ` Krzysztof Kozlowski
2023-11-21  1:04     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 15/16] arm64: dts: qcom: sm8550-aim300: add pmic glink port/endpoints Tengfei Fan
2023-11-17 10:32   ` Dmitry Baryshkov
2023-11-21  1:06     ` Tengfei Fan
2023-11-28  8:11     ` Tengfei Fan
2023-12-13 10:04       ` Dmitry Baryshkov
2024-02-21  7:48         ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 16/16] arm64: dts: qcom: sm8550-aim300: add bluetooth support Tengfei Fan
2023-11-17 10:33   ` Krzysztof Kozlowski
2023-11-21  1:06     ` Tengfei Fan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=209d6082-35b6-4403-9dc4-a02c0da4fb94@quicinc.com \
    --to=quic_tengfan@quicinc.com \
    --cc=-cc=kernel@quicinc.com \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®