* [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2)
@ 2024-11-06 19:05 Stanislav Jakubek
2024-11-06 19:05 ` [PATCH v2 1/5] arm64: dts: sprd: sp9860g-1h10: fix constant-charge-voltage-max-microvolt property Stanislav Jakubek
` (5 more replies)
0 siblings, 6 replies; 12+ messages in thread
From: Stanislav Jakubek @ 2024-11-06 19:05 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
Baolin Wang, Chunyan Zhang
Cc: devicetree, linux-arm-kernel, linux-kernel
This series continues cleaning up various issues with the Spreadtrum/Unisoc
ARM64 DeviceTrees.
Changes in V2:
- dropped original patch 2, as it was split off into its own series [1]
- new patches 2, 4 and 5 which fix some issues found by Rob's bot
and/or CHECK_DTBS=y
- rebase on next-20241106
[1] https://lore.kernel.org/lkml/cover.1730720720.git.stano.jakubek@gmail.com/
Link to V1: https://lore.kernel.org/lkml/cover.1723716331.git.stano.jakubek@gmail.com/
Stanislav Jakubek (5):
arm64: dts: sprd: sp9860g-1h10: fix
constant-charge-voltage-max-microvolt property
arm64: dts: sprd: sp9860g-1h10: fix
factory-internal-resistance-micro-ohms property
arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device
DTS
arm64: dts: sprd: sc9863a: fix in-ports property
arm64: dts: sprd: sc9863a: reorder clocks, clock-names per bindings
arch/arm64/boot/dts/sprd/sc2731.dtsi | 4 ++--
arch/arm64/boot/dts/sprd/sc9863a.dtsi | 14 +++++++-------
arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | 9 +++++++--
3 files changed, 16 insertions(+), 11 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v2 1/5] arm64: dts: sprd: sp9860g-1h10: fix constant-charge-voltage-max-microvolt property
2024-11-06 19:05 [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2) Stanislav Jakubek
@ 2024-11-06 19:05 ` Stanislav Jakubek
2024-11-20 13:05 ` Rob Herring
2024-11-06 19:05 ` [PATCH v2 2/5] arm64: dts: sprd: sp9860g-1h10: fix factory-internal-resistance-micro-ohms property Stanislav Jakubek
` (4 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Stanislav Jakubek @ 2024-11-06 19:05 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
Baolin Wang, Chunyan Zhang
Cc: devicetree, linux-arm-kernel, linux-kernel
This property has hyphens/dashes, not underscores.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
---
Changes in V2:
- collect Baolin's R-b
arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
index 095b24a31313..cd8b1069e387 100644
--- a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
+++ b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
@@ -71,7 +71,7 @@ bat: battery {
compatible = "simple-battery";
charge-full-design-microamp-hours = <1900000>;
charge-term-current-microamp = <120000>;
- constant_charge_voltage_max_microvolt = <4350000>;
+ constant-charge-voltage-max-microvolt = <4350000>;
internal-resistance-micro-ohms = <250000>;
ocv-capacity-celsius = <20>;
ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>,
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v2 2/5] arm64: dts: sprd: sp9860g-1h10: fix factory-internal-resistance-micro-ohms property
2024-11-06 19:05 [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2) Stanislav Jakubek
2024-11-06 19:05 ` [PATCH v2 1/5] arm64: dts: sprd: sp9860g-1h10: fix constant-charge-voltage-max-microvolt property Stanislav Jakubek
@ 2024-11-06 19:05 ` Stanislav Jakubek
2024-11-07 1:37 ` Baolin Wang
2024-11-06 19:05 ` [PATCH v2 3/5] arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device DTS Stanislav Jakubek
` (3 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Stanislav Jakubek @ 2024-11-06 19:05 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
Baolin Wang, Chunyan Zhang
Cc: devicetree, linux-arm-kernel, linux-kernel
As per DT bindings, this property was missing the "factory-" prefix.
Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
---
Changes in V2:
- new patch
I thought about squashing this with the 1st patch, but I wanted to keep
Baolin's R-b, so I kept it separate.
arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
index cd8b1069e387..94af7700f3e2 100644
--- a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
+++ b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
@@ -72,7 +72,7 @@ bat: battery {
charge-full-design-microamp-hours = <1900000>;
charge-term-current-microamp = <120000>;
constant-charge-voltage-max-microvolt = <4350000>;
- internal-resistance-micro-ohms = <250000>;
+ factory-internal-resistance-micro-ohms = <250000>;
ocv-capacity-celsius = <20>;
ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>,
<4022000 85>, <3983000 80>, <3949000 75>,
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v2 3/5] arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device DTS
2024-11-06 19:05 [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2) Stanislav Jakubek
2024-11-06 19:05 ` [PATCH v2 1/5] arm64: dts: sprd: sp9860g-1h10: fix constant-charge-voltage-max-microvolt property Stanislav Jakubek
2024-11-06 19:05 ` [PATCH v2 2/5] arm64: dts: sprd: sp9860g-1h10: fix factory-internal-resistance-micro-ohms property Stanislav Jakubek
@ 2024-11-06 19:05 ` Stanislav Jakubek
2024-11-07 5:42 ` Baolin Wang
2024-11-06 19:05 ` [PATCH v2 4/5] arm64: dts: sprd: sc9863a: fix in-ports property Stanislav Jakubek
` (2 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Stanislav Jakubek @ 2024-11-06 19:05 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
Baolin Wang, Chunyan Zhang
Cc: devicetree, linux-arm-kernel, linux-kernel
The monitored-battery property is a property of the board, not the PMIC.
Move this property to the DTS of its only user, sp9860g-1h10.
While at it, disable the fuel-gauge node by default and enable it only
for its users, as it requires board-specific properties to work correctly.
Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
---
Changes in V2:
- none
Note that the 'sprd,calib-resistance-micro-ohms' property isn't specified
as I do not have the board or any other source of information about it.
If the SPRD folks could chime in here, that'd be great.
arch/arm64/boot/dts/sprd/sc2731.dtsi | 4 ++--
arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi
index 12136e68dada..2d27427c41a2 100644
--- a/arch/arm64/boot/dts/sprd/sc2731.dtsi
+++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi
@@ -94,17 +94,17 @@ pmic_adc: adc@480 {
nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
};
- fuel-gauge@a00 {
+ pmic_fgu: fuel-gauge@a00 {
compatible = "sprd,sc2731-fgu";
reg = <0xa00>;
bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
io-channels = <&pmic_adc 3>, <&pmic_adc 6>;
io-channel-names = "bat-temp", "charge-vol";
- monitored-battery = <&bat>;
nvmem-cell-names = "fgu_calib";
nvmem-cells = <&fgu_calib>;
interrupt-parent = <&sc2731_pmic>;
interrupts = <4>;
+ status = "disabled";
};
vibrator@ec8 {
diff --git a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
index 94af7700f3e2..b1fa817ece1e 100644
--- a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
+++ b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
@@ -84,6 +84,11 @@ bat: battery {
};
};
+&pmic_fgu {
+ monitored-battery = <&bat>;
+ status = "okay";
+};
+
&uart0 {
status = "okay";
};
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v2 4/5] arm64: dts: sprd: sc9863a: fix in-ports property
2024-11-06 19:05 [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2) Stanislav Jakubek
` (2 preceding siblings ...)
2024-11-06 19:05 ` [PATCH v2 3/5] arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device DTS Stanislav Jakubek
@ 2024-11-06 19:05 ` Stanislav Jakubek
2024-11-07 1:39 ` Baolin Wang
2024-11-06 19:05 ` [PATCH v2 5/5] arm64: dts: sprd: sc9863a: reorder clocks, clock-names per bindings Stanislav Jakubek
2024-12-05 10:42 ` [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2) Krzysztof Kozlowski
5 siblings, 1 reply; 12+ messages in thread
From: Stanislav Jakubek @ 2024-11-06 19:05 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
Baolin Wang, Chunyan Zhang
Cc: devicetree, linux-arm-kernel, linux-kernel
This property is called "in-ports", not "in-port", fix it.
Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
---
Changes in V2:
- new patch
arch/arm64/boot/dts/sprd/sc9863a.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/sprd/sc9863a.dtsi b/arch/arm64/boot/dts/sprd/sc9863a.dtsi
index e5a2857721e2..31172ac44adc 100644
--- a/arch/arm64/boot/dts/sprd/sc9863a.dtsi
+++ b/arch/arm64/boot/dts/sprd/sc9863a.dtsi
@@ -288,7 +288,7 @@ etf_little_out: endpoint {
};
};
- in-port {
+ in-ports {
port {
etf_little_in: endpoint {
remote-endpoint =
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v2 5/5] arm64: dts: sprd: sc9863a: reorder clocks, clock-names per bindings
2024-11-06 19:05 [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2) Stanislav Jakubek
` (3 preceding siblings ...)
2024-11-06 19:05 ` [PATCH v2 4/5] arm64: dts: sprd: sc9863a: fix in-ports property Stanislav Jakubek
@ 2024-11-06 19:05 ` Stanislav Jakubek
2024-11-07 1:42 ` Baolin Wang
2024-12-05 10:42 ` [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2) Krzysztof Kozlowski
5 siblings, 1 reply; 12+ messages in thread
From: Stanislav Jakubek @ 2024-11-06 19:05 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
Baolin Wang, Chunyan Zhang
Cc: devicetree, linux-arm-kernel, linux-kernel
DT bindings expect the SC9863A clock-controller clocks/clock-names to be
in a specific order, reorder them.
Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
---
Changes in V2:
- new patch
arch/arm64/boot/dts/sprd/sc9863a.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/sprd/sc9863a.dtsi b/arch/arm64/boot/dts/sprd/sc9863a.dtsi
index 31172ac44adc..e97000e560e7 100644
--- a/arch/arm64/boot/dts/sprd/sc9863a.dtsi
+++ b/arch/arm64/boot/dts/sprd/sc9863a.dtsi
@@ -163,18 +163,18 @@ gic: interrupt-controller@14000000 {
ap_clk: clock-controller@21500000 {
compatible = "sprd,sc9863a-ap-clk";
reg = <0 0x21500000 0 0x1000>;
- clocks = <&ext_32k>, <&ext_26m>;
- clock-names = "ext-32k", "ext-26m";
+ clocks = <&ext_26m>, <&ext_32k>;
+ clock-names = "ext-26m", "ext-32k";
#clock-cells = <1>;
};
aon_clk: clock-controller@402d0000 {
compatible = "sprd,sc9863a-aon-clk";
reg = <0 0x402d0000 0 0x1000>;
- clocks = <&ext_26m>, <&rco_100m>,
- <&ext_32k>, <&ext_4m>;
- clock-names = "ext-26m", "rco-100m",
- "ext-32k", "ext-4m";
+ clocks = <&ext_26m>, <&ext_32k>,
+ <&ext_4m>, <&rco_100m>;
+ clock-names = "ext-26m", "ext-32k",
+ "ext-4m", "rco-100m";
#clock-cells = <1>;
};
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/5] arm64: dts: sprd: sp9860g-1h10: fix factory-internal-resistance-micro-ohms property
2024-11-06 19:05 ` [PATCH v2 2/5] arm64: dts: sprd: sp9860g-1h10: fix factory-internal-resistance-micro-ohms property Stanislav Jakubek
@ 2024-11-07 1:37 ` Baolin Wang
0 siblings, 0 replies; 12+ messages in thread
From: Baolin Wang @ 2024-11-07 1:37 UTC (permalink / raw)
To: Stanislav Jakubek, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Orson Zhai, Chunyan Zhang
Cc: devicetree, linux-arm-kernel, linux-kernel
On 2024/11/7 03:05, Stanislav Jakubek wrote:
> As per DT bindings, this property was missing the "factory-" prefix.
>
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Thanks. LGTM.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
> ---
> Changes in V2:
> - new patch
>
> I thought about squashing this with the 1st patch, but I wanted to keep
> Baolin's R-b, so I kept it separate.
>
> arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
> index cd8b1069e387..94af7700f3e2 100644
> --- a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
> +++ b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
> @@ -72,7 +72,7 @@ bat: battery {
> charge-full-design-microamp-hours = <1900000>;
> charge-term-current-microamp = <120000>;
> constant-charge-voltage-max-microvolt = <4350000>;
> - internal-resistance-micro-ohms = <250000>;
> + factory-internal-resistance-micro-ohms = <250000>;
> ocv-capacity-celsius = <20>;
> ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>,
> <4022000 85>, <3983000 80>, <3949000 75>,
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 4/5] arm64: dts: sprd: sc9863a: fix in-ports property
2024-11-06 19:05 ` [PATCH v2 4/5] arm64: dts: sprd: sc9863a: fix in-ports property Stanislav Jakubek
@ 2024-11-07 1:39 ` Baolin Wang
0 siblings, 0 replies; 12+ messages in thread
From: Baolin Wang @ 2024-11-07 1:39 UTC (permalink / raw)
To: Stanislav Jakubek, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Orson Zhai, Chunyan Zhang
Cc: devicetree, linux-arm-kernel, linux-kernel
On 2024/11/7 03:05, Stanislav Jakubek wrote:
> This property is called "in-ports", not "in-port", fix it.
>
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
LGTM.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
> ---
> Changes in V2:
> - new patch
>
> arch/arm64/boot/dts/sprd/sc9863a.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/sprd/sc9863a.dtsi b/arch/arm64/boot/dts/sprd/sc9863a.dtsi
> index e5a2857721e2..31172ac44adc 100644
> --- a/arch/arm64/boot/dts/sprd/sc9863a.dtsi
> +++ b/arch/arm64/boot/dts/sprd/sc9863a.dtsi
> @@ -288,7 +288,7 @@ etf_little_out: endpoint {
> };
> };
>
> - in-port {
> + in-ports {
> port {
> etf_little_in: endpoint {
> remote-endpoint =
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 5/5] arm64: dts: sprd: sc9863a: reorder clocks, clock-names per bindings
2024-11-06 19:05 ` [PATCH v2 5/5] arm64: dts: sprd: sc9863a: reorder clocks, clock-names per bindings Stanislav Jakubek
@ 2024-11-07 1:42 ` Baolin Wang
0 siblings, 0 replies; 12+ messages in thread
From: Baolin Wang @ 2024-11-07 1:42 UTC (permalink / raw)
To: Stanislav Jakubek, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Orson Zhai, Chunyan Zhang
Cc: devicetree, linux-arm-kernel, linux-kernel
On 2024/11/7 03:05, Stanislav Jakubek wrote:
> DT bindings expect the SC9863A clock-controller clocks/clock-names to be
> in a specific order, reorder them.
>
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Thanks.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
> ---
> Changes in V2:
> - new patch
>
> arch/arm64/boot/dts/sprd/sc9863a.dtsi | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/sprd/sc9863a.dtsi b/arch/arm64/boot/dts/sprd/sc9863a.dtsi
> index 31172ac44adc..e97000e560e7 100644
> --- a/arch/arm64/boot/dts/sprd/sc9863a.dtsi
> +++ b/arch/arm64/boot/dts/sprd/sc9863a.dtsi
> @@ -163,18 +163,18 @@ gic: interrupt-controller@14000000 {
> ap_clk: clock-controller@21500000 {
> compatible = "sprd,sc9863a-ap-clk";
> reg = <0 0x21500000 0 0x1000>;
> - clocks = <&ext_32k>, <&ext_26m>;
> - clock-names = "ext-32k", "ext-26m";
> + clocks = <&ext_26m>, <&ext_32k>;
> + clock-names = "ext-26m", "ext-32k";
> #clock-cells = <1>;
> };
>
> aon_clk: clock-controller@402d0000 {
> compatible = "sprd,sc9863a-aon-clk";
> reg = <0 0x402d0000 0 0x1000>;
> - clocks = <&ext_26m>, <&rco_100m>,
> - <&ext_32k>, <&ext_4m>;
> - clock-names = "ext-26m", "rco-100m",
> - "ext-32k", "ext-4m";
> + clocks = <&ext_26m>, <&ext_32k>,
> + <&ext_4m>, <&rco_100m>;
> + clock-names = "ext-26m", "ext-32k",
> + "ext-4m", "rco-100m";
> #clock-cells = <1>;
> };
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 3/5] arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device DTS
2024-11-06 19:05 ` [PATCH v2 3/5] arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device DTS Stanislav Jakubek
@ 2024-11-07 5:42 ` Baolin Wang
0 siblings, 0 replies; 12+ messages in thread
From: Baolin Wang @ 2024-11-07 5:42 UTC (permalink / raw)
To: Stanislav Jakubek, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Orson Zhai, Chunyan Zhang
Cc: devicetree, linux-arm-kernel, linux-kernel
On 2024/11/7 03:05, Stanislav Jakubek wrote:
> The monitored-battery property is a property of the board, not the PMIC.
> Move this property to the DTS of its only user, sp9860g-1h10.
> While at it, disable the fuel-gauge node by default and enable it only
> for its users, as it requires board-specific properties to work correctly.
>
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Looks reasonable to me. Thanks.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
> ---
> Changes in V2:
> - none
>
> Note that the 'sprd,calib-resistance-micro-ohms' property isn't specified
> as I do not have the board or any other source of information about it.
>
> If the SPRD folks could chime in here, that'd be great.
>
> arch/arm64/boot/dts/sprd/sc2731.dtsi | 4 ++--
> arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | 5 +++++
> 2 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi
> index 12136e68dada..2d27427c41a2 100644
> --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi
> +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi
> @@ -94,17 +94,17 @@ pmic_adc: adc@480 {
> nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
> };
>
> - fuel-gauge@a00 {
> + pmic_fgu: fuel-gauge@a00 {
> compatible = "sprd,sc2731-fgu";
> reg = <0xa00>;
> bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
> io-channels = <&pmic_adc 3>, <&pmic_adc 6>;
> io-channel-names = "bat-temp", "charge-vol";
> - monitored-battery = <&bat>;
> nvmem-cell-names = "fgu_calib";
> nvmem-cells = <&fgu_calib>;
> interrupt-parent = <&sc2731_pmic>;
> interrupts = <4>;
> + status = "disabled";
> };
>
> vibrator@ec8 {
> diff --git a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
> index 94af7700f3e2..b1fa817ece1e 100644
> --- a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
> +++ b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
> @@ -84,6 +84,11 @@ bat: battery {
> };
> };
>
> +&pmic_fgu {
> + monitored-battery = <&bat>;
> + status = "okay";
> +};
> +
> &uart0 {
> status = "okay";
> };
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/5] arm64: dts: sprd: sp9860g-1h10: fix constant-charge-voltage-max-microvolt property
2024-11-06 19:05 ` [PATCH v2 1/5] arm64: dts: sprd: sp9860g-1h10: fix constant-charge-voltage-max-microvolt property Stanislav Jakubek
@ 2024-11-20 13:05 ` Rob Herring
0 siblings, 0 replies; 12+ messages in thread
From: Rob Herring @ 2024-11-20 13:05 UTC (permalink / raw)
To: Stanislav Jakubek
Cc: Krzysztof Kozlowski, Conor Dooley, Orson Zhai, Baolin Wang,
Chunyan Zhang, devicetree, linux-arm-kernel, linux-kernel
On Wed, Nov 06, 2024 at 08:05:29PM +0100, Stanislav Jakubek wrote:
> This property has hyphens/dashes, not underscores.
>
> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> ---
> Changes in V2:
> - collect Baolin's R-b
>
> arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2)
2024-11-06 19:05 [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2) Stanislav Jakubek
` (4 preceding siblings ...)
2024-11-06 19:05 ` [PATCH v2 5/5] arm64: dts: sprd: sc9863a: reorder clocks, clock-names per bindings Stanislav Jakubek
@ 2024-12-05 10:42 ` Krzysztof Kozlowski
5 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2024-12-05 10:42 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
Baolin Wang, Chunyan Zhang, Stanislav Jakubek
Cc: devicetree, linux-arm-kernel, linux-kernel
On Wed, 06 Nov 2024 20:05:19 +0100, Stanislav Jakubek wrote:
> This series continues cleaning up various issues with the Spreadtrum/Unisoc
> ARM64 DeviceTrees.
>
> Changes in V2:
> - dropped original patch 2, as it was split off into its own series [1]
> - new patches 2, 4 and 5 which fix some issues found by Rob's bot
> and/or CHECK_DTBS=y
> - rebase on next-20241106
>
> [...]
Applied, thanks!
[1/5] arm64: dts: sprd: sp9860g-1h10: fix constant-charge-voltage-max-microvolt property
https://git.kernel.org/krzk/linux-dt/c/367d31471c3272b87a7e842355b2aa4bc688add8
[2/5] arm64: dts: sprd: sp9860g-1h10: fix factory-internal-resistance-micro-ohms property
https://git.kernel.org/krzk/linux-dt/c/e864e215ce2197cd5d5c0e9229b4bb83379a5186
[3/5] arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device DTS
https://git.kernel.org/krzk/linux-dt/c/ec87fd9f66bb8196ce4c80b6f9a02a8fdb452821
[4/5] arm64: dts: sprd: sc9863a: fix in-ports property
https://git.kernel.org/krzk/linux-dt/c/a34907f484949e3a550a54a19d71e8616d812d7e
[5/5] arm64: dts: sprd: sc9863a: reorder clocks, clock-names per bindings
https://git.kernel.org/krzk/linux-dt/c/49f4ad82f031ac390ea4571a5bf7d58ee27ce4f2
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-12-05 11:59 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06 19:05 [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2) Stanislav Jakubek
2024-11-06 19:05 ` [PATCH v2 1/5] arm64: dts: sprd: sp9860g-1h10: fix constant-charge-voltage-max-microvolt property Stanislav Jakubek
2024-11-20 13:05 ` Rob Herring
2024-11-06 19:05 ` [PATCH v2 2/5] arm64: dts: sprd: sp9860g-1h10: fix factory-internal-resistance-micro-ohms property Stanislav Jakubek
2024-11-07 1:37 ` Baolin Wang
2024-11-06 19:05 ` [PATCH v2 3/5] arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device DTS Stanislav Jakubek
2024-11-07 5:42 ` Baolin Wang
2024-11-06 19:05 ` [PATCH v2 4/5] arm64: dts: sprd: sc9863a: fix in-ports property Stanislav Jakubek
2024-11-07 1:39 ` Baolin Wang
2024-11-06 19:05 ` [PATCH v2 5/5] arm64: dts: sprd: sc9863a: reorder clocks, clock-names per bindings Stanislav Jakubek
2024-11-07 1:42 ` Baolin Wang
2024-12-05 10:42 ` [PATCH v2 0/5] Cleanup Spreadtrum/Unisoc ARM64 DT (part 2) Krzysztof Kozlowski
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).