[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240826070109.55659-1-amadeus@jmu.edu.cn>
Date: Mon, 26 Aug 2024 15:01:09 +0800
From: Chukun Pan <amadeus@....edu.cn>
To: bigfoot@...ssfun.cn
Cc: amadeus@....edu.cn,
conor+dt@...nel.org,
devicetree@...r.kernel.org,
dsimic@...jaro.org,
heiko@...ech.de,
jonas@...boo.se,
krzk+dt@...nel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org
Subject: Re: [PATCH 3/3] arm64: dts: rockchip: add dts for LCKFB Taishan Pi RK3566
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.
> ...
> + 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.
> +
> + 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.
> ...
> +&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).
> ...
> +&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
--
2.25.1
Powered by blists - more mailing lists