* ARM: dts: rockchip: Wifi improvements for Sonoff iHost
@ 2025-04-27 6:50 ` Hao Zhang
0 siblings, 0 replies; 7+ messages in thread
From: Hao Zhang @ 2025-04-27 6:50 UTC (permalink / raw)
To: linux-rockchip
Cc: devicetree, linux-arm-kernel, conor+dt, heiko,
krzysztof.kozlowski+dt, robh+dt, linux-kernel
Hello maintainers,
This is my first patch submission for the Rockchip DTS files.
The patch improves WiFi stability for Sonoff iHost.
Please let me know if any modifications are needed.
Best regards,
Hao Zhang
^ permalink raw reply [flat|nested] 7+ messages in thread
* ARM: dts: rockchip: Wifi improvements for Sonoff iHost
@ 2025-04-27 6:50 ` Hao Zhang
0 siblings, 0 replies; 7+ messages in thread
From: Hao Zhang @ 2025-04-27 6:50 UTC (permalink / raw)
To: linux-rockchip
Cc: devicetree, linux-arm-kernel, conor+dt, heiko,
krzysztof.kozlowski+dt, robh+dt, linux-kernel
Hello maintainers,
This is my first patch submission for the Rockchip DTS files.
The patch improves WiFi stability for Sonoff iHost.
Please let me know if any modifications are needed.
Best regards,
Hao Zhang
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/1] ARM: dts: rockchip: Wifi improvements for Sonoff iHost
2025-04-27 6:50 ` Hao Zhang
@ 2025-04-27 6:50 ` Hao Zhang
-1 siblings, 0 replies; 7+ messages in thread
From: Hao Zhang @ 2025-04-27 6:50 UTC (permalink / raw)
To: linux-rockchip
Cc: devicetree, linux-arm-kernel, conor+dt, heiko,
krzysztof.kozlowski+dt, robh+dt, linux-kernel, hao.zhang
From: "hao.zhang" <hao.zhang@coolkit.cn>
After some Sonoff-iHosts have been running for a long time,
the WiFi module will run abnormally.
Adjust the pmu_io_domains and sdio properties
to solve the WiFi module operation abnormality.
Signed-off-by: "hao.zhang" <hao.zhang@coolkit.cn>
---
.../dts/rockchip/rv1126-sonoff-ihost.dtsi | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi b/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
index 9a87dc0d5f66..3c0371103015 100644
--- a/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
+++ b/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
@@ -323,15 +323,15 @@ wifi_enable_h: wifi-enable-h {
};
&pmu_io_domains {
- pmuio0-supply = <&vcc1v8_pmu>;
+ pmuio0-supply = <&vcc3v3_sys>;
pmuio1-supply = <&vcc3v3_sys>;
vccio1-supply = <&vcc_1v8>;
vccio2-supply = <&vccio_sd>;
- vccio3-supply = <&vcc3v3_sd>;
- vccio4-supply = <&vcc_dovdd>;
- vccio5-supply = <&vcc_1v8>;
- vccio6-supply = <&vcc_1v8>;
- vccio7-supply = <&vcc_dovdd>;
+ vccio3-supply = <&vcc_3v3>;
+ vccio4-supply = <&vcc_3v3>;
+ vccio5-supply = <&vcc_3v3>;
+ vccio6-supply = <&vcc_3v3>;
+ vccio7-supply = <&vcc_1v8>;
status = "okay";
};
@@ -342,18 +342,15 @@ &saradc {
&sdio {
bus-width = <4>;
- cap-sd-highspeed;
cap-sdio-irq;
keep-power-in-suspend;
- max-frequency = <50000000>;
+ max-frequency = <25000000>;
mmc-pwrseq = <&sdio_pwrseq>;
+ supports-sdio;
non-removable;
pinctrl-names = "default";
pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>;
rockchip,default-sample-phase = <90>;
- sd-uhs-sdr50;
- vmmc-supply = <&vcc3v3_sd>;
- vqmmc-supply = <&vcc_1v8>;
status = "okay";
};
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 1/1] ARM: dts: rockchip: Wifi improvements for Sonoff iHost
@ 2025-04-27 6:50 ` Hao Zhang
0 siblings, 0 replies; 7+ messages in thread
From: Hao Zhang @ 2025-04-27 6:50 UTC (permalink / raw)
To: linux-rockchip
Cc: devicetree, linux-arm-kernel, conor+dt, heiko,
krzysztof.kozlowski+dt, robh+dt, linux-kernel, hao.zhang
From: "hao.zhang" <hao.zhang@coolkit.cn>
After some Sonoff-iHosts have been running for a long time,
the WiFi module will run abnormally.
Adjust the pmu_io_domains and sdio properties
to solve the WiFi module operation abnormality.
Signed-off-by: "hao.zhang" <hao.zhang@coolkit.cn>
---
.../dts/rockchip/rv1126-sonoff-ihost.dtsi | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi b/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
index 9a87dc0d5f66..3c0371103015 100644
--- a/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
+++ b/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
@@ -323,15 +323,15 @@ wifi_enable_h: wifi-enable-h {
};
&pmu_io_domains {
- pmuio0-supply = <&vcc1v8_pmu>;
+ pmuio0-supply = <&vcc3v3_sys>;
pmuio1-supply = <&vcc3v3_sys>;
vccio1-supply = <&vcc_1v8>;
vccio2-supply = <&vccio_sd>;
- vccio3-supply = <&vcc3v3_sd>;
- vccio4-supply = <&vcc_dovdd>;
- vccio5-supply = <&vcc_1v8>;
- vccio6-supply = <&vcc_1v8>;
- vccio7-supply = <&vcc_dovdd>;
+ vccio3-supply = <&vcc_3v3>;
+ vccio4-supply = <&vcc_3v3>;
+ vccio5-supply = <&vcc_3v3>;
+ vccio6-supply = <&vcc_3v3>;
+ vccio7-supply = <&vcc_1v8>;
status = "okay";
};
@@ -342,18 +342,15 @@ &saradc {
&sdio {
bus-width = <4>;
- cap-sd-highspeed;
cap-sdio-irq;
keep-power-in-suspend;
- max-frequency = <50000000>;
+ max-frequency = <25000000>;
mmc-pwrseq = <&sdio_pwrseq>;
+ supports-sdio;
non-removable;
pinctrl-names = "default";
pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>;
rockchip,default-sample-phase = <90>;
- sd-uhs-sdr50;
- vmmc-supply = <&vcc3v3_sd>;
- vqmmc-supply = <&vcc_1v8>;
status = "okay";
};
--
2.34.1
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] ARM: dts: rockchip: Wifi improvements for Sonoff iHost
2025-04-27 6:50 ` Hao Zhang
@ 2025-04-27 11:14 ` Heiko Stübner
-1 siblings, 0 replies; 7+ messages in thread
From: Heiko Stübner @ 2025-04-27 11:14 UTC (permalink / raw)
To: linux-rockchip, Hao Zhang
Cc: devicetree, linux-arm-kernel, conor+dt, krzysztof.kozlowski+dt,
robh+dt, linux-kernel, hao.zhang
Hi,
Am Sonntag, 27. April 2025, 08:50:13 Mitteleuropäische Sommerzeit schrieb Hao Zhang:
> From: "hao.zhang" <hao.zhang@coolkit.cn>
>
> After some Sonoff-iHosts have been running for a long time,
> the WiFi module will run abnormally.
>
> Adjust the pmu_io_domains and sdio properties
> to solve the WiFi module operation abnormality.
"adjust the ... properties", really sounds like hacking around some issue.
> diff --git a/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi b/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
> index 9a87dc0d5f66..3c0371103015 100644
> --- a/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
> +++ b/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
> @@ -323,15 +323,15 @@ wifi_enable_h: wifi-enable-h {
> };
>
> &pmu_io_domains {
> - pmuio0-supply = <&vcc1v8_pmu>;
> + pmuio0-supply = <&vcc3v3_sys>;
> pmuio1-supply = <&vcc3v3_sys>;
> vccio1-supply = <&vcc_1v8>;
> vccio2-supply = <&vccio_sd>;
> - vccio3-supply = <&vcc3v3_sd>;
> - vccio4-supply = <&vcc_dovdd>;
> - vccio5-supply = <&vcc_1v8>;
> - vccio6-supply = <&vcc_1v8>;
> - vccio7-supply = <&vcc_dovdd>;
> + vccio3-supply = <&vcc_3v3>;
> + vccio4-supply = <&vcc_3v3>;
> + vccio5-supply = <&vcc_3v3>;
> + vccio6-supply = <&vcc_3v3>;
> + vccio7-supply = <&vcc_1v8>;
> status = "okay";
> };
First of all, this would be two patches. If the io-domains do not follow
the schematics, fixing this is one patch, but for such a big change
I do expect actual references to the devices' schematics for that.
This is even more important, as you're switching some supplies
between sources of different voltages
> @@ -342,18 +342,15 @@ &saradc {
>
> &sdio {
> bus-width = <4>;
> - cap-sd-highspeed;
> cap-sdio-irq;
> keep-power-in-suspend;
> - max-frequency = <50000000>;
> + max-frequency = <25000000>;
> mmc-pwrseq = <&sdio_pwrseq>;
> + supports-sdio;
> non-removable;
> pinctrl-names = "default";
> pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>;
> rockchip,default-sample-phase = <90>;
> - sd-uhs-sdr50;
> - vmmc-supply = <&vcc3v3_sd>;
> - vqmmc-supply = <&vcc_1v8>;
> status = "okay";
> };
and here it looks like you're more or less randomly adding and removing
properties until it worked "for you".
Especially removing the supply-regulators does not really make sense.
If you see instabilities, the main contenders would be max-frequency and
sd-uhs-sdr50 as culprits.
Similarly, supports-sdio is not even a valid property, so neither the
devicetree spec does allow it, nor does the kernel handle it at all.
Heiko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] ARM: dts: rockchip: Wifi improvements for Sonoff iHost
@ 2025-04-27 11:14 ` Heiko Stübner
0 siblings, 0 replies; 7+ messages in thread
From: Heiko Stübner @ 2025-04-27 11:14 UTC (permalink / raw)
To: linux-rockchip, Hao Zhang
Cc: devicetree, linux-arm-kernel, conor+dt, krzysztof.kozlowski+dt,
robh+dt, linux-kernel, hao.zhang
Hi,
Am Sonntag, 27. April 2025, 08:50:13 Mitteleuropäische Sommerzeit schrieb Hao Zhang:
> From: "hao.zhang" <hao.zhang@coolkit.cn>
>
> After some Sonoff-iHosts have been running for a long time,
> the WiFi module will run abnormally.
>
> Adjust the pmu_io_domains and sdio properties
> to solve the WiFi module operation abnormality.
"adjust the ... properties", really sounds like hacking around some issue.
> diff --git a/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi b/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
> index 9a87dc0d5f66..3c0371103015 100644
> --- a/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
> +++ b/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi
> @@ -323,15 +323,15 @@ wifi_enable_h: wifi-enable-h {
> };
>
> &pmu_io_domains {
> - pmuio0-supply = <&vcc1v8_pmu>;
> + pmuio0-supply = <&vcc3v3_sys>;
> pmuio1-supply = <&vcc3v3_sys>;
> vccio1-supply = <&vcc_1v8>;
> vccio2-supply = <&vccio_sd>;
> - vccio3-supply = <&vcc3v3_sd>;
> - vccio4-supply = <&vcc_dovdd>;
> - vccio5-supply = <&vcc_1v8>;
> - vccio6-supply = <&vcc_1v8>;
> - vccio7-supply = <&vcc_dovdd>;
> + vccio3-supply = <&vcc_3v3>;
> + vccio4-supply = <&vcc_3v3>;
> + vccio5-supply = <&vcc_3v3>;
> + vccio6-supply = <&vcc_3v3>;
> + vccio7-supply = <&vcc_1v8>;
> status = "okay";
> };
First of all, this would be two patches. If the io-domains do not follow
the schematics, fixing this is one patch, but for such a big change
I do expect actual references to the devices' schematics for that.
This is even more important, as you're switching some supplies
between sources of different voltages
> @@ -342,18 +342,15 @@ &saradc {
>
> &sdio {
> bus-width = <4>;
> - cap-sd-highspeed;
> cap-sdio-irq;
> keep-power-in-suspend;
> - max-frequency = <50000000>;
> + max-frequency = <25000000>;
> mmc-pwrseq = <&sdio_pwrseq>;
> + supports-sdio;
> non-removable;
> pinctrl-names = "default";
> pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>;
> rockchip,default-sample-phase = <90>;
> - sd-uhs-sdr50;
> - vmmc-supply = <&vcc3v3_sd>;
> - vqmmc-supply = <&vcc_1v8>;
> status = "okay";
> };
and here it looks like you're more or less randomly adding and removing
properties until it worked "for you".
Especially removing the supply-regulators does not really make sense.
If you see instabilities, the main contenders would be max-frequency and
sd-uhs-sdr50 as culprits.
Similarly, supports-sdio is not even a valid property, so neither the
devicetree spec does allow it, nor does the kernel handle it at all.
Heiko
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] ARM: dts: rockchip: Wifi improvements for Sonoff iHost
@ 2025-04-30 0:23 kernel test robot
0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2025-04-30 0:23 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "dtcheck: binding changes may go via different trees"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20250427065013.99871-2-hao.zhang@coolkit.cn>
References: <20250427065013.99871-2-hao.zhang@coolkit.cn>
TO: Hao Zhang <hao.zhang@coolkit.cn>
TO: linux-rockchip@lists.infradead.org
CC: devicetree@vger.kernel.org
CC: linux-arm-kernel@lists.infradead.org
CC: conor+dt@kernel.org
CC: heiko@sntech.de
CC: krzysztof.kozlowski+dt@linaro.org
CC: robh+dt@kernel.org
CC: linux-kernel@vger.kernel.org
CC: "hao.zhang" <hao.zhang@coolkit.cn>
Hi Hao,
kernel test robot noticed the following build warnings:
[auto build test WARNING on rockchip/for-next]
[also build test WARNING on linus/master v6.15-rc4 next-20250429]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Hao-Zhang/ARM-dts-rockchip-Wifi-improvements-for-Sonoff-iHost/20250427-155046
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
patch link: https://lore.kernel.org/r/20250427065013.99871-2-hao.zhang%40coolkit.cn
patch subject: [PATCH 1/1] ARM: dts: rockchip: Wifi improvements for Sonoff iHost
:::::: branch date: 3 days ago
:::::: commit date: 3 days ago
config: arm-randconfig-052-20250429 (https://download.01.org/0day-ci/archive/20250430/202504300816.UPjewbSf-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
dtschema version: 2025.3.dev21+ge6ea659
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250430/202504300816.UPjewbSf-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202504300816.UPjewbSf-lkp@intel.com/
dtcheck warnings: (new ones prefixed by >>)
>> arch/arm/boot/dts/rockchip/rv1109-sonoff-ihost.dtb: mmc@ffc70000 (rockchip,rv1126-dw-mshc): Unevaluated properties are not allowed ('supports-sdio' was unexpected)
from schema $id: http://devicetree.org/schemas/mmc/rockchip-dw-mshc.yaml#
--
>> arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtb: mmc@ffc70000 (rockchip,rv1126-dw-mshc): Unevaluated properties are not allowed ('supports-sdio' was unexpected)
from schema $id: http://devicetree.org/schemas/mmc/rockchip-dw-mshc.yaml#
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-04-30 0:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-27 6:50 ARM: dts: rockchip: Wifi improvements for Sonoff iHost Hao Zhang
2025-04-27 6:50 ` Hao Zhang
2025-04-27 6:50 ` [PATCH 1/1] " Hao Zhang
2025-04-27 6:50 ` Hao Zhang
2025-04-27 11:14 ` Heiko Stübner
2025-04-27 11:14 ` Heiko Stübner
-- strict thread matches above, loose matches on Subject: below --
2025-04-30 0:23 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.