* [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices
@ 2024-03-25 17:51 Chris Morgan
2024-03-25 17:51 ` [PATCH 1/4] dts: rockchip: Add chasis-type for Powkiddy rk3566 devices Chris Morgan
` (5 more replies)
0 siblings, 6 replies; 12+ messages in thread
From: Chris Morgan @ 2024-03-25 17:51 UTC (permalink / raw)
To: linux-rockchip
Cc: devicetree, heiko, conor+dt, krzysztof.kozlowski+dt, robh,
Chris Morgan
From: Chris Morgan <macromorgan@hotmail.com>
Users have requested fixes for Powkiddy devices to help with some
intermittent WiFi issues by adding additional properties to the
SDMMC2 node. They have also requested that the model name be
represented consistently with both the manufacturer name and model
name. Lastly, there exists a second configuration of the RGB30 with
a slightly different regulator layout we need to describe.
I have added the new/additional property of "chasis-type" as well.
Chris Morgan (4):
dts: rockchip: Add chasis-type for Powkiddy rk3566 devices
arm64: dts: rockchip: Update sdmmc node for wifi on powkiddy rk3566
arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices
arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30
.../dts/rockchip/rk3566-powkiddy-rgb30.dts | 30 ++++++++++++++++++-
.../dts/rockchip/rk3566-powkiddy-rk2023.dts | 6 +++-
.../dts/rockchip/rk3566-powkiddy-rk2023.dtsi | 4 +++
.../boot/dts/rockchip/rk3566-powkiddy-x55.dts | 4 +++
4 files changed, 42 insertions(+), 2 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/4] dts: rockchip: Add chasis-type for Powkiddy rk3566 devices
2024-03-25 17:51 [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Chris Morgan
@ 2024-03-25 17:51 ` Chris Morgan
2024-03-25 17:51 ` [PATCH 2/4] arm64: dts: rockchip: Update sdmmc node for wifi on powkiddy rk3566 Chris Morgan
` (4 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Chris Morgan @ 2024-03-25 17:51 UTC (permalink / raw)
To: linux-rockchip
Cc: devicetree, heiko, conor+dt, krzysztof.kozlowski+dt, robh,
Chris Morgan
From: Chris Morgan <macromorgan@hotmail.com>
Add the optional node of chasis-type for Powkiddy RK3566 based
devices.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi | 2 ++
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts | 1 +
2 files changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi
index 3ab751a01cb2..bd332714a023 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi
@@ -10,6 +10,8 @@
#include "rk3566.dtsi"
/ {
+ chassis-type = "handset";
+
aliases {
mmc1 = &sdmmc0;
mmc2 = &sdmmc1;
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts
index 4786b19fd017..5a648db41f35 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts
@@ -11,6 +11,7 @@
/ {
model = "Powkiddy x55";
+ chassis-type = "handset";
compatible = "powkiddy,x55", "rockchip,rk3566";
aliases {
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/4] arm64: dts: rockchip: Update sdmmc node for wifi on powkiddy rk3566
2024-03-25 17:51 [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Chris Morgan
2024-03-25 17:51 ` [PATCH 1/4] dts: rockchip: Add chasis-type for Powkiddy rk3566 devices Chris Morgan
@ 2024-03-25 17:51 ` Chris Morgan
2024-03-25 17:51 ` [PATCH 3/4] arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices Chris Morgan
` (3 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Chris Morgan @ 2024-03-25 17:51 UTC (permalink / raw)
To: linux-rockchip
Cc: devicetree, heiko, conor+dt, krzysztof.kozlowski+dt, robh,
Chris Morgan
From: Chris Morgan <macromorgan@hotmail.com>
Update the sdmmc nodes responsible for WiFi on the Powkiddy RK3566
based devices. For the RGB30, RK2023, and X55 we also add the
sd-uhs-sdr50 parameter. For the RGB10Max3 this parameter is not
supported by the WiFi card.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts | 4 ++++
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts | 4 ++++
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi | 2 ++
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts | 3 +++
4 files changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
index 1f567a14ac84..f0f5ee595938 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
@@ -55,3 +55,7 @@ regulator-state-mem {
};
};
};
+
+&sdmmc2 {
+ sd-uhs-sdr50;
+};
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts
index bc9933d9e262..661abceaba9c 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts
@@ -54,3 +54,7 @@ regulator-state-mem {
};
};
};
+
+&sdmmc2 {
+ sd-uhs-sdr50;
+};
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi
index bd332714a023..10089921c62d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi
@@ -771,6 +771,8 @@ &sdmmc2 {
cap-sdio-irq;
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
+ no-mmc;
+ no-sd;
non-removable;
pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>;
pinctrl-names = "default";
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts
index 5a648db41f35..ccdf654a3f48 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts
@@ -835,9 +835,12 @@ &sdmmc1 {
cap-sdio-irq;
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
+ no-mmc;
+ no-sd;
non-removable;
pinctrl-0 = <&sdmmc1_bus4>, <&sdmmc1_cmd>, <&sdmmc1_clk>;
pinctrl-names = "default";
+ sd-uhs-sdr50;
vmmc-supply = <&vcc_wifi>;
status = "okay";
};
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 3/4] arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices
2024-03-25 17:51 [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Chris Morgan
2024-03-25 17:51 ` [PATCH 1/4] dts: rockchip: Add chasis-type for Powkiddy rk3566 devices Chris Morgan
2024-03-25 17:51 ` [PATCH 2/4] arm64: dts: rockchip: Update sdmmc node for wifi on powkiddy rk3566 Chris Morgan
@ 2024-03-25 17:51 ` Chris Morgan
2024-03-25 17:51 ` [PATCH 4/4] arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30 Chris Morgan
` (2 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Chris Morgan @ 2024-03-25 17:51 UTC (permalink / raw)
To: linux-rockchip
Cc: devicetree, heiko, conor+dt, krzysztof.kozlowski+dt, robh,
Chris Morgan
From: Chris Morgan <macromorgan@hotmail.com>
Some Powkiddy model names begin with the company "Powkiddy" and others
simply list the model number. Make this consistent across the device
lineup by including the manufacturer in the model name.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts | 2 +-
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
index f0f5ee595938..e359465eebe9 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
@@ -8,7 +8,7 @@
#include "rk3566-powkiddy-rk2023.dtsi"
/ {
- model = "RGB30";
+ model = "Powkiddy RGB30";
compatible = "powkiddy,rgb30", "rockchip,rk3566";
};
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts
index 661abceaba9c..b83116c56584 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dts
@@ -8,7 +8,7 @@
#include "rk3566-powkiddy-rk2023.dtsi"
/ {
- model = "RK2023";
+ model = "Powkiddy RK2023";
compatible = "powkiddy,rk2023", "rockchip,rk3566";
};
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 4/4] arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30
2024-03-25 17:51 [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Chris Morgan
` (2 preceding siblings ...)
2024-03-25 17:51 ` [PATCH 3/4] arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices Chris Morgan
@ 2024-03-25 17:51 ` Chris Morgan
2024-04-11 18:42 ` Heiko Stuebner
2024-03-25 17:57 ` [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Dragan Simic
2024-04-11 18:29 ` (subset) " Heiko Stuebner
5 siblings, 1 reply; 12+ messages in thread
From: Chris Morgan @ 2024-03-25 17:51 UTC (permalink / raw)
To: linux-rockchip
Cc: devicetree, heiko, conor+dt, krzysztof.kozlowski+dt, robh,
Chris Morgan
From: Chris Morgan <macromorgan@hotmail.com>
Describe a possible secondary regulator configuration for the RGB30.
At some point Powkiddy altered the CPU regulator for the RGB30 without
creating a new model revision. Note this in the device-tree in the
hopes that it may alleviate a user's confusion (or possibly allow a
bootloader to manipulate the tree to swap out the regulators when the
alternate configuration is detected).
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
.../dts/rockchip/rk3566-powkiddy-rgb30.dts | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
index e359465eebe9..484f097e9f11 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
@@ -54,6 +54,30 @@ regulator-state-mem {
regulator-off-in-suspend;
};
};
+
+ /*
+ * Some RGB30 devices use a different CPU regulator. These
+ * devices have no external markings to denote a different
+ * model revision.
+ */
+ vdd_cpu_alt: regulator@40 {
+ compatible = "tcs,tcs4525";
+ reg = <0x40>;
+ fcs,suspend-voltage-selector = <1>;
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <712500>;
+ regulator-max-microvolt = <1390000>;
+ regulator-name = "vdd_cpu_alt";
+ regulator-ramp-delay = <2300>;
+ vin-supply = <&vcc_sys>;
+
+ status = "disabled";
+
+ regulator-state-mem {
+ regulator-off-in-suspend;
+ };
+ };
};
&sdmmc2 {
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices
2024-03-25 17:51 [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Chris Morgan
` (3 preceding siblings ...)
2024-03-25 17:51 ` [PATCH 4/4] arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30 Chris Morgan
@ 2024-03-25 17:57 ` Dragan Simic
2024-03-25 21:53 ` Heiko Stübner
2024-04-11 18:29 ` (subset) " Heiko Stuebner
5 siblings, 1 reply; 12+ messages in thread
From: Dragan Simic @ 2024-03-25 17:57 UTC (permalink / raw)
To: Chris Morgan
Cc: linux-rockchip, devicetree, heiko, conor+dt,
krzysztof.kozlowski+dt, robh, Chris Morgan
Hello Chris,
On 2024-03-25 18:51, Chris Morgan wrote:
> From: Chris Morgan <macromorgan@hotmail.com>
>
> Users have requested fixes for Powkiddy devices to help with some
> intermittent WiFi issues by adding additional properties to the
> SDMMC2 node. They have also requested that the model name be
> represented consistently with both the manufacturer name and model
> name. Lastly, there exists a second configuration of the RGB30 with
> a slightly different regulator layout we need to describe.
>
> I have added the new/additional property of "chasis-type" as well.
Shouldn't this series be labeled as v2?
By the way, regarding renaming the mmcX aliases, maybe that would
actually be doable, but only if you have full control over software
that runs on these devices.
> Chris Morgan (4):
> dts: rockchip: Add chasis-type for Powkiddy rk3566 devices
> arm64: dts: rockchip: Update sdmmc node for wifi on powkiddy rk3566
> arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices
> arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30
>
> .../dts/rockchip/rk3566-powkiddy-rgb30.dts | 30 ++++++++++++++++++-
> .../dts/rockchip/rk3566-powkiddy-rk2023.dts | 6 +++-
> .../dts/rockchip/rk3566-powkiddy-rk2023.dtsi | 4 +++
> .../boot/dts/rockchip/rk3566-powkiddy-x55.dts | 4 +++
> 4 files changed, 42 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices
2024-03-25 17:57 ` [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Dragan Simic
@ 2024-03-25 21:53 ` Heiko Stübner
2024-03-25 21:58 ` Dragan Simic
2024-03-25 22:10 ` Chris Morgan
0 siblings, 2 replies; 12+ messages in thread
From: Heiko Stübner @ 2024-03-25 21:53 UTC (permalink / raw)
To: Chris Morgan, Dragan Simic
Cc: linux-rockchip, devicetree, conor+dt, krzysztof.kozlowski+dt,
robh, Chris Morgan
Am Montag, 25. März 2024, 18:57:06 CET schrieb Dragan Simic:
> Hello Chris,
>
> On 2024-03-25 18:51, Chris Morgan wrote:
> > From: Chris Morgan <macromorgan@hotmail.com>
> >
> > Users have requested fixes for Powkiddy devices to help with some
> > intermittent WiFi issues by adding additional properties to the
> > SDMMC2 node. They have also requested that the model name be
> > represented consistently with both the manufacturer name and model
> > name. Lastly, there exists a second configuration of the RGB30 with
> > a slightly different regulator layout we need to describe.
> >
> > I have added the new/additional property of "chasis-type" as well.
>
> Shouldn't this series be labeled as v2?
I think this is for Powkiddy handhelds, the other series was
for Anberic ones.
Somehow they design and build seemingly dozens of somewhat
similar handhelds around the rk3566 ;-)
> By the way, regarding renaming the mmcX aliases, maybe that would
> actually be doable, but only if you have full control over software
> that runs on these devices.
>
> > Chris Morgan (4):
> > dts: rockchip: Add chasis-type for Powkiddy rk3566 devices
> > arm64: dts: rockchip: Update sdmmc node for wifi on powkiddy rk3566
> > arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices
> > arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30
> >
> > .../dts/rockchip/rk3566-powkiddy-rgb30.dts | 30 ++++++++++++++++++-
> > .../dts/rockchip/rk3566-powkiddy-rk2023.dts | 6 +++-
> > .../dts/rockchip/rk3566-powkiddy-rk2023.dtsi | 4 +++
> > .../boot/dts/rockchip/rk3566-powkiddy-x55.dts | 4 +++
> > 4 files changed, 42 insertions(+), 2 deletions(-)
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices
2024-03-25 21:53 ` Heiko Stübner
@ 2024-03-25 21:58 ` Dragan Simic
2024-03-25 22:10 ` Chris Morgan
1 sibling, 0 replies; 12+ messages in thread
From: Dragan Simic @ 2024-03-25 21:58 UTC (permalink / raw)
To: Heiko Stübner
Cc: Chris Morgan, linux-rockchip, devicetree, conor+dt,
krzysztof.kozlowski+dt, robh, Chris Morgan
Hello Heiko,
On 2024-03-25 22:53, Heiko Stübner wrote:
> Am Montag, 25. März 2024, 18:57:06 CET schrieb Dragan Simic:
>> Hello Chris,
>>
>> On 2024-03-25 18:51, Chris Morgan wrote:
>> > From: Chris Morgan <macromorgan@hotmail.com>
>> >
>> > Users have requested fixes for Powkiddy devices to help with some
>> > intermittent WiFi issues by adding additional properties to the
>> > SDMMC2 node. They have also requested that the model name be
>> > represented consistently with both the manufacturer name and model
>> > name. Lastly, there exists a second configuration of the RGB30 with
>> > a slightly different regulator layout we need to describe.
>> >
>> > I have added the new/additional property of "chasis-type" as well.
>>
>> Shouldn't this series be labeled as v2?
>
> I think this is for Powkiddy handhelds, the other series was
> for Anberic ones.
>
> Somehow they design and build seemingly dozens of somewhat
> similar handhelds around the rk3566 ;-)
Ah, you're right, I was wrong. It's quite easy to become confused
a bit with such similar devices and similar patches. :)
>> By the way, regarding renaming the mmcX aliases, maybe that would
>> actually be doable, but only if you have full control over software
>> that runs on these devices.
>>
>> > Chris Morgan (4):
>> > dts: rockchip: Add chasis-type for Powkiddy rk3566 devices
>> > arm64: dts: rockchip: Update sdmmc node for wifi on powkiddy rk3566
>> > arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices
>> > arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30
>> >
>> > .../dts/rockchip/rk3566-powkiddy-rgb30.dts | 30 ++++++++++++++++++-
>> > .../dts/rockchip/rk3566-powkiddy-rk2023.dts | 6 +++-
>> > .../dts/rockchip/rk3566-powkiddy-rk2023.dtsi | 4 +++
>> > .../boot/dts/rockchip/rk3566-powkiddy-x55.dts | 4 +++
>> > 4 files changed, 42 insertions(+), 2 deletions(-)
>>
>
>
>
>
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices
2024-03-25 21:53 ` Heiko Stübner
2024-03-25 21:58 ` Dragan Simic
@ 2024-03-25 22:10 ` Chris Morgan
1 sibling, 0 replies; 12+ messages in thread
From: Chris Morgan @ 2024-03-25 22:10 UTC (permalink / raw)
To: Heiko Stübner
Cc: Chris Morgan, Dragan Simic, linux-rockchip, devicetree, conor+dt,
krzysztof.kozlowski+dt, robh
On Mon, Mar 25, 2024 at 10:53:02PM +0100, Heiko Stübner wrote:
> Am Montag, 25. März 2024, 18:57:06 CET schrieb Dragan Simic:
> > Hello Chris,
> >
> > On 2024-03-25 18:51, Chris Morgan wrote:
> > > From: Chris Morgan <macromorgan@hotmail.com>
> > >
> > > Users have requested fixes for Powkiddy devices to help with some
> > > intermittent WiFi issues by adding additional properties to the
> > > SDMMC2 node. They have also requested that the model name be
> > > represented consistently with both the manufacturer name and model
> > > name. Lastly, there exists a second configuration of the RGB30 with
> > > a slightly different regulator layout we need to describe.
> > >
> > > I have added the new/additional property of "chasis-type" as well.
> >
> > Shouldn't this series be labeled as v2?
>
> I think this is for Powkiddy handhelds, the other series was
> for Anberic ones.
>
> Somehow they design and build seemingly dozens of somewhat
> similar handhelds around the rk3566 ;-)
Yes they do, and unfortunately in the case of some of the devices they
love to make changes and not tell anyone (like the regulator change for
the RGB30) In regards to that specific change, let me know if it's not
appropriate to put that in the devicetree the way I did. Ideally I'll
do a fixup of sorts with U-Boot, but it might be easier if I have a
disabled node to work with already...
Otherwise these fixes try to resolve some wifi issues for all the
devices along with fixing the inconsistent names. I have some additional
fixes (coming when I can get them finished and tested) for the Powkiddy
devices as some of the screens have slightly shifted pixels.
Thank you.
>
>
> > By the way, regarding renaming the mmcX aliases, maybe that would
> > actually be doable, but only if you have full control over software
> > that runs on these devices.
> >
> > > Chris Morgan (4):
> > > dts: rockchip: Add chasis-type for Powkiddy rk3566 devices
> > > arm64: dts: rockchip: Update sdmmc node for wifi on powkiddy rk3566
> > > arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices
> > > arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30
> > >
> > > .../dts/rockchip/rk3566-powkiddy-rgb30.dts | 30 ++++++++++++++++++-
> > > .../dts/rockchip/rk3566-powkiddy-rk2023.dts | 6 +++-
> > > .../dts/rockchip/rk3566-powkiddy-rk2023.dtsi | 4 +++
> > > .../boot/dts/rockchip/rk3566-powkiddy-x55.dts | 4 +++
> > > 4 files changed, 42 insertions(+), 2 deletions(-)
> >
>
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: (subset) [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices
2024-03-25 17:51 [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Chris Morgan
` (4 preceding siblings ...)
2024-03-25 17:57 ` [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Dragan Simic
@ 2024-04-11 18:29 ` Heiko Stuebner
2024-04-12 14:35 ` Chris Morgan
5 siblings, 1 reply; 12+ messages in thread
From: Heiko Stuebner @ 2024-04-11 18:29 UTC (permalink / raw)
To: Chris Morgan, linux-rockchip
Cc: Heiko Stuebner, krzysztof.kozlowski+dt, conor+dt, devicetree,
robh, Chris Morgan
On Mon, 25 Mar 2024 12:51:29 -0500, Chris Morgan wrote:
> From: Chris Morgan <macromorgan@hotmail.com>
>
> Users have requested fixes for Powkiddy devices to help with some
> intermittent WiFi issues by adding additional properties to the
> SDMMC2 node. They have also requested that the model name be
> represented consistently with both the manufacturer name and model
> name. Lastly, there exists a second configuration of the RGB30 with
> a slightly different regulator layout we need to describe.
>
> [...]
Applied, thanks!
[1/4] dts: rockchip: Add chasis-type for Powkiddy rk3566 devices
commit: 9d3d2be86c7d4b1bc16b65a06ba06886913de7e8
[3/4] arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices
commit: 1b76d86dbc5faf907d74343e1b15daa84ab8322c
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 4/4] arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30
2024-03-25 17:51 ` [PATCH 4/4] arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30 Chris Morgan
@ 2024-04-11 18:42 ` Heiko Stuebner
0 siblings, 0 replies; 12+ messages in thread
From: Heiko Stuebner @ 2024-04-11 18:42 UTC (permalink / raw)
To: linux-rockchip, Chris Morgan
Cc: devicetree, conor+dt, krzysztof.kozlowski+dt, robh, Chris Morgan
Am Montag, 25. März 2024, 18:51:33 CEST schrieb Chris Morgan:
> From: Chris Morgan <macromorgan@hotmail.com>
>
> Describe a possible secondary regulator configuration for the RGB30.
> At some point Powkiddy altered the CPU regulator for the RGB30 without
> creating a new model revision. Note this in the device-tree in the
> hopes that it may alleviate a user's confusion (or possibly allow a
> bootloader to manipulate the tree to swap out the regulators when the
> alternate configuration is detected).
>
> Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
I don't think this is the correct approach here, we'll really need
a second board dts for the variant.
Only describing the regulator in a comment does not help the affected
users at all, as they would need to adapt the dt they have on their
device on each update.
Having a second dtb will have the kernel build both (also improving
build testing) and allow them to configure their bootloader to load
the correct one, even if we can't detect the variant device automatically.
Heiko
> ---
> .../dts/rockchip/rk3566-powkiddy-rgb30.dts | 24 +++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
> index e359465eebe9..484f097e9f11 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
> @@ -54,6 +54,30 @@ regulator-state-mem {
> regulator-off-in-suspend;
> };
> };
> +
> + /*
> + * Some RGB30 devices use a different CPU regulator. These
> + * devices have no external markings to denote a different
> + * model revision.
> + */
> + vdd_cpu_alt: regulator@40 {
> + compatible = "tcs,tcs4525";
> + reg = <0x40>;
> + fcs,suspend-voltage-selector = <1>;
> + regulator-always-on;
> + regulator-boot-on;
> + regulator-min-microvolt = <712500>;
> + regulator-max-microvolt = <1390000>;
> + regulator-name = "vdd_cpu_alt";
> + regulator-ramp-delay = <2300>;
> + vin-supply = <&vcc_sys>;
> +
> + status = "disabled";
> +
> + regulator-state-mem {
> + regulator-off-in-suspend;
> + };
> + };
> };
>
> &sdmmc2 {
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: (subset) [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices
2024-04-11 18:29 ` (subset) " Heiko Stuebner
@ 2024-04-12 14:35 ` Chris Morgan
0 siblings, 0 replies; 12+ messages in thread
From: Chris Morgan @ 2024-04-12 14:35 UTC (permalink / raw)
To: Heiko Stuebner
Cc: Chris Morgan, linux-rockchip, krzysztof.kozlowski+dt, conor+dt,
devicetree, robh
On Thu, Apr 11, 2024 at 08:29:53PM +0200, Heiko Stuebner wrote:
> On Mon, 25 Mar 2024 12:51:29 -0500, Chris Morgan wrote:
> > From: Chris Morgan <macromorgan@hotmail.com>
> >
> > Users have requested fixes for Powkiddy devices to help with some
> > intermittent WiFi issues by adding additional properties to the
> > SDMMC2 node. They have also requested that the model name be
> > represented consistently with both the manufacturer name and model
> > name. Lastly, there exists a second configuration of the RGB30 with
> > a slightly different regulator layout we need to describe.
> >
> > [...]
>
> Applied, thanks!
>
> [1/4] dts: rockchip: Add chasis-type for Powkiddy rk3566 devices
> commit: 9d3d2be86c7d4b1bc16b65a06ba06886913de7e8
> [3/4] arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices
> commit: 1b76d86dbc5faf907d74343e1b15daa84ab8322c
Thank you. Like the other devices as long as we can make the wifi
location consistent (mmc3) the rest of the aliases aren't as
important.
I understand about the regulator stuff, I'll try to fix it up with the
bootloader. I just didn't know if there was any proper way/benefit
of flagging it this way versus doing a different board revision (even
though there is absolutely nothing user visible about the change).
>
> Best regards,
> --
> Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-04-12 14:35 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-25 17:51 [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Chris Morgan
2024-03-25 17:51 ` [PATCH 1/4] dts: rockchip: Add chasis-type for Powkiddy rk3566 devices Chris Morgan
2024-03-25 17:51 ` [PATCH 2/4] arm64: dts: rockchip: Update sdmmc node for wifi on powkiddy rk3566 Chris Morgan
2024-03-25 17:51 ` [PATCH 3/4] arm64: dts: rockchip: Correct model name for Powkiddy RK3566 Devices Chris Morgan
2024-03-25 17:51 ` [PATCH 4/4] arm64: dts: rockchip: Describe Alternate Regulator Config on RGB30 Chris Morgan
2024-04-11 18:42 ` Heiko Stuebner
2024-03-25 17:57 ` [PATCH 0/4] User Requested Fixes for Powkiddy RK3566 Devices Dragan Simic
2024-03-25 21:53 ` Heiko Stübner
2024-03-25 21:58 ` Dragan Simic
2024-03-25 22:10 ` Chris Morgan
2024-04-11 18:29 ` (subset) " Heiko Stuebner
2024-04-12 14:35 ` Chris Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).