From: Junhao Xie <bigfoot@classfun.cn>
To: Chukun Pan <amadeus@jmu.edu.cn>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>, Jonas Karlman <jonas@kwiboo.se>,
Chukun Pan <amadeus@jmu.edu.cn>, FUKAUMI Naoki <naoki@radxa.com>,
Dragan Simic <dsimic@manjaro.org>,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Junhao Xie <bigfoot@classfun.cn>
Subject: Re: [PATCH 3/3] arm64: dts: rockchip: add dts for LCKFB Taishan Pi RK3566
Date: Mon, 26 Aug 2024 16:03:01 +0800 [thread overview]
Message-ID: <6edb8443-6bb4-4174-8fe0-906208757cef@classfun.cn> (raw)
In-Reply-To: <20240826070109.55659-1-amadeus@jmu.edu.cn>
On 2024/8/26 15:01, Chukun Pan wrote:
> Hi Junhao,
>
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/rockchip/rk3566-lckfb-tspi.dts
>> ...
>> + aliases {
>> + mmc0 = &sdmmc0;
>> + mmc1 = &sdhci;
>> + mmc2 = &sdmmc1;
>> + wifi = &brcmf;
>> + bluetooth = &bluetooth;
>> + };
>
> WiFi and Bluetooth do not need aliases.
>
>> ...
>> + vcc5v0_host: vcc5v0-host-regulator {
>> + compatible = "regulator-fixed";
>> + regulator-name = "vcc5v0_host";
>> + regulator-boot-on;
>> + regulator-always-on;
>
> This regulator does not need always-on and boot-on.
>
I will remove them.
>
>> ...
>> + vccio_flash: vccio-flash {
>> + compatible = "regulator-fixed";
>> + regulator-name = "vccio_flash";
>> + regulator-min-microvolt = <1800000>;
>> + regulator-max-microvolt = <1800000>;
>> + vin-supply = <&vcc_1v8>;
>> + };
>
> Generally speaking, vccio_flash is not a DCDC regulator,
> it is directly connected to vcc_1v8. Maybe you need to
> confirm the schematics.
>
Yes, vccio_flash and vccio_wl are not DCDC regulator, they are connected to vcc_1v8 and vcc_3v3 through voltage selection resistors.
>
>> +
>> + vccio_wl: vccio-wl {
>> + compatible = "regulator-fixed";
>> + regulator-name = "vccio_wl";
>> + regulator-min-microvolt = <3300000>;
>> + regulator-max-microvolt = <3300000>;
>> + vin-supply = <&vcc_3v3>;
>> + };
>
> Same as above, usually like this:
> VCC_1V8 or VCCA1V8_PMU - 0R - VCCIO_WL
> `sd-uhs-sdr104` requires 1.8v io voltage,
> you need to confirm the schematics.
>
It is actually connected to vcc_1v8, I will fix it.
>
>> ...
>> +&pinctrl {
>> ...
>> pmic {
>> + pmic {
>> + pmic_int: pmic_int {
>
> Only the pmic_int is needed.
> Also `pmic_int: pmic-int {`
>
>> ...
>> +&sdhci {
>> + bus-width = <8>;
>> + max-frequency = <200000000>;
>> + non-removable;
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe &emmc_rstnout>;
>> + status = "okay";
>> + vmmc-supply = <&vccio_flash>;
>> + vqmmc-supply = <&vccio_flash>;
>> +};
>
> The vmmc requires 3.3V supply (on rk356x).
>
Yes, the vmmc of eMMC is actually connected to vcc_3v3, I will fix it.
>
>> ...
>> +&sdmmc1 {
>> ...
>> + sd-uhs-sdr104;
>> + vmmc-supply = <&vccio_wl>;
>> + vqmmc-supply = <&vccio_wl>;
>
> Same as above.
>
>> ...
> +&uart1 {
>> ...
> + vbat-supply = <&vcc3v3_sys>;
> + vddio-supply = <&vccio_wl>;
>
> Here corresponds to sdmmc1.
>
> Thanks,
> Chukun
>
Thanks for your review, I will fix all problems and post patch v2!
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2024-08-26 8:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 4:44 [PATCH 0/3] Add support for LCKFB Taishan Pi RK3566 Junhao Xie
2024-08-26 4:44 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Shenzhen JLC Technology Group LCKFB Junhao Xie
2024-08-26 6:04 ` Krzysztof Kozlowski
2024-08-26 4:44 ` [PATCH 2/3] dt-bindings: arm: rockchip: Add LCKFB Taishan Pi RK3566 Junhao Xie
2024-08-26 6:04 ` Krzysztof Kozlowski
2024-08-26 4:44 ` [PATCH 3/3] arm64: dts: rockchip: add dts for " Junhao Xie
2024-08-26 6:06 ` Krzysztof Kozlowski
2024-08-26 7:46 ` Junhao Xie
2024-08-26 8:08 ` Krzysztof Kozlowski
2024-08-26 9:31 ` Junhao Xie
2024-08-26 7:01 ` Chukun Pan
2024-08-26 8:03 ` Junhao Xie [this message]
2024-08-28 15:14 ` (subset) [PATCH 0/3] Add support " Heiko Stuebner
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=6edb8443-6bb4-4174-8fe0-906208757cef@classfun.cn \
--to=bigfoot@classfun.cn \
--cc=amadeus@jmu.edu.cn \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dsimic@manjaro.org \
--cc=heiko@sntech.de \
--cc=jonas@kwiboo.se \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=naoki@radxa.com \
--cc=robh@kernel.org \
/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