* [PATCH 0/2] dt-bindings: rtc: Convert to DT schema @ 2026-07-19 14:10 Eduard Bostina 2026-07-19 14:10 ` [PATCH 1/2] dt-bindings: rtc: Convert TI Palmas RTC " Eduard Bostina 2026-07-19 14:10 ` [PATCH 2/2] ARM: dts: ti: omap: Fix Palmas RTC node names Eduard Bostina 0 siblings, 2 replies; 6+ messages in thread From: Eduard Bostina @ 2026-07-19 14:10 UTC (permalink / raw) To: Aaro Koskinen, Alexandre Belloni, Andreas Kemnade, Conor Dooley, devicetree, Eduard Bostina, Kevin Hilman, Krzysztof Kozlowski, linux-kernel, linux-omap, linux-rtc, Rob Herring, Roger Quadros, Tony Lindgren Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry This series converts the Texas Instruments Palmas RTC bindings to DT schema and resolves a node name compliance issue. Patch 1 converts the text binding to DT schema. Patch 2 updates the tps659038_rtc nodes across the AM57xx device trees to use the generic 'rtc' node name. Eduard Bostina (2): dt-bindings: rtc: Convert TI Palmas RTC to DT schema ARM: dts: ti: omap: Fix Palmas RTC node names .../devicetree/bindings/rtc/rtc-palmas.txt | 32 ----------- .../bindings/rtc/ti,palmas-rtc.yaml | 57 +++++++++++++++++++ .../boot/dts/ti/omap/am5729-beagleboneai.dts | 2 +- .../dts/ti/omap/am57xx-beagle-x15-common.dtsi | 2 +- .../boot/dts/ti/omap/am57xx-idk-common.dtsi | 2 +- 5 files changed, 60 insertions(+), 35 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-palmas.txt create mode 100644 Documentation/devicetree/bindings/rtc/ti,palmas-rtc.yaml -- 2.43.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] dt-bindings: rtc: Convert TI Palmas RTC to DT schema 2026-07-19 14:10 [PATCH 0/2] dt-bindings: rtc: Convert to DT schema Eduard Bostina @ 2026-07-19 14:10 ` Eduard Bostina 2026-07-19 14:18 ` sashiko-bot 2026-07-19 14:56 ` Alexandre Belloni 2026-07-19 14:10 ` [PATCH 2/2] ARM: dts: ti: omap: Fix Palmas RTC node names Eduard Bostina 1 sibling, 2 replies; 6+ messages in thread From: Eduard Bostina @ 2026-07-19 14:10 UTC (permalink / raw) To: Aaro Koskinen, Alexandre Belloni, Andreas Kemnade, Conor Dooley, devicetree, Eduard Bostina, Kevin Hilman, Krzysztof Kozlowski, linux-kernel, linux-omap, linux-rtc, Rob Herring, Roger Quadros, Tony Lindgren Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry Convert the Texas Instruments Palmas RTC controller bindings to DT schema. As part of the conversion, declare 'wakeup-source: true'. This documents the Palmas PMIC's capability to wake the system. Signed-off-by: Eduard Bostina <egbostina@gmail.com> --- .../devicetree/bindings/rtc/rtc-palmas.txt | 32 ----------- .../bindings/rtc/ti,palmas-rtc.yaml | 57 +++++++++++++++++++ 2 files changed, 57 insertions(+), 32 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-palmas.txt create mode 100644 Documentation/devicetree/bindings/rtc/ti,palmas-rtc.yaml diff --git a/Documentation/devicetree/bindings/rtc/rtc-palmas.txt b/Documentation/devicetree/bindings/rtc/rtc-palmas.txt deleted file mode 100644 index c6cf37758a77..000000000000 --- a/Documentation/devicetree/bindings/rtc/rtc-palmas.txt +++ /dev/null @@ -1,32 +0,0 @@ -Palmas RTC controller bindings - -Required properties: -- compatible: - - "ti,palmas-rtc" for palma series of the RTC controller -- interrupts: Interrupt number of RTC submodule on device. - -Optional properties: - -- ti,backup-battery-chargeable: The Palmas series device like TPS65913 or - TPS80036 supports the backup battery for powering the RTC when main - battery is removed or in very low power state. The backup battery - can be chargeable or non-chargeable. This flag will tells whether - battery is chargeable or not. If charging battery then driver can - enable the charging. -- ti,backup-battery-charge-high-current: Enable high current charging in - backup battery. Device supports the < 100uA and > 100uA charging. - The high current will be > 100uA. Absence of this property will - charge battery to lower current i.e. < 100uA. - -Example: - palmas: tps65913@58 { - ... - palmas_rtc: rtc { - compatible = "ti,palmas-rtc"; - interrupt-parent = <&palmas>; - interrupts = <8 0>; - ti,backup-battery-chargeable; - ti,backup-battery-charge-high-current; - }; - ... - }; diff --git a/Documentation/devicetree/bindings/rtc/ti,palmas-rtc.yaml b/Documentation/devicetree/bindings/rtc/ti,palmas-rtc.yaml new file mode 100644 index 000000000000..ac64f0589c84 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/ti,palmas-rtc.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/ti,palmas-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments Palmas RTC + +maintainers: + - Eduard Bostina <egbostina@gmail.com> + +allOf: + - $ref: /schemas/rtc/rtc.yaml# + +properties: + compatible: + const: ti,palmas-rtc + + interrupts: + maxItems: 1 + + wakeup-source: true + + ti,backup-battery-chargeable: + type: boolean + description: + The backup battery can be chargeable or non-chargeable. This flag + indicates whether the battery is chargeable. If present, the driver + can enable charging. + + ti,backup-battery-charge-high-current: + type: boolean + description: + Enable high current charging in the backup battery. + Device supports the < 100uA and > 100uA charging. The high current will + be > 100uA. Absence of this property will charge battery to lower + current i.e. < 100uA. + +required: + - compatible + - interrupts + +unevaluatedProperties: false + +examples: + - | + pmic { + #address-cells = <1>; + #size-cells = <0>; + + rtc { + compatible = "ti,palmas-rtc"; + interrupts = <8 0>; + ti,backup-battery-chargeable; + ti,backup-battery-charge-high-current; + }; + }; -- 2.43.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: rtc: Convert TI Palmas RTC to DT schema 2026-07-19 14:10 ` [PATCH 1/2] dt-bindings: rtc: Convert TI Palmas RTC " Eduard Bostina @ 2026-07-19 14:18 ` sashiko-bot 2026-07-19 14:56 ` Alexandre Belloni 1 sibling, 0 replies; 6+ messages in thread From: sashiko-bot @ 2026-07-19 14:18 UTC (permalink / raw) To: Eduard Bostina; +Cc: Alexandre Belloni, devicetree, linux-rtc, conor+dt, robh > Convert the Texas Instruments Palmas RTC controller bindings > to DT schema. > > As part of the conversion, declare 'wakeup-source: true'. > This documents the Palmas PMIC's capability to wake the system. > > Signed-off-by: Eduard Bostina <egbostina@gmail.com> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/20260719141008.3562347-1-egbostina@gmail.com?part=1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: rtc: Convert TI Palmas RTC to DT schema 2026-07-19 14:10 ` [PATCH 1/2] dt-bindings: rtc: Convert TI Palmas RTC " Eduard Bostina 2026-07-19 14:18 ` sashiko-bot @ 2026-07-19 14:56 ` Alexandre Belloni 1 sibling, 0 replies; 6+ messages in thread From: Alexandre Belloni @ 2026-07-19 14:56 UTC (permalink / raw) To: Eduard Bostina Cc: Aaro Koskinen, Andreas Kemnade, Conor Dooley, devicetree, Kevin Hilman, Krzysztof Kozlowski, linux-kernel, linux-omap, linux-rtc, Rob Herring, Roger Quadros, Tony Lindgren, daniel.baluta, simona.toaca, goledhruva, m-chawdhry On 19/07/2026 14:10:07+0000, Eduard Bostina wrote: > Convert the Texas Instruments Palmas RTC controller bindings > to DT schema. > > As part of the conversion, declare 'wakeup-source: true'. > This documents the Palmas PMIC's capability to wake the system. > > Signed-off-by: Eduard Bostina <egbostina@gmail.com> > --- > .../devicetree/bindings/rtc/rtc-palmas.txt | 32 ----------- > .../bindings/rtc/ti,palmas-rtc.yaml | 57 +++++++++++++++++++ > 2 files changed, 57 insertions(+), 32 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-palmas.txt > create mode 100644 Documentation/devicetree/bindings/rtc/ti,palmas-rtc.yaml > > diff --git a/Documentation/devicetree/bindings/rtc/rtc-palmas.txt b/Documentation/devicetree/bindings/rtc/rtc-palmas.txt > deleted file mode 100644 > index c6cf37758a77..000000000000 > --- a/Documentation/devicetree/bindings/rtc/rtc-palmas.txt > +++ /dev/null > @@ -1,32 +0,0 @@ > -Palmas RTC controller bindings > - > -Required properties: > -- compatible: > - - "ti,palmas-rtc" for palma series of the RTC controller > -- interrupts: Interrupt number of RTC submodule on device. > - > -Optional properties: > - > -- ti,backup-battery-chargeable: The Palmas series device like TPS65913 or > - TPS80036 supports the backup battery for powering the RTC when main > - battery is removed or in very low power state. The backup battery > - can be chargeable or non-chargeable. This flag will tells whether > - battery is chargeable or not. If charging battery then driver can > - enable the charging. > -- ti,backup-battery-charge-high-current: Enable high current charging in > - backup battery. Device supports the < 100uA and > 100uA charging. > - The high current will be > 100uA. Absence of this property will > - charge battery to lower current i.e. < 100uA. > - > -Example: > - palmas: tps65913@58 { > - ... > - palmas_rtc: rtc { > - compatible = "ti,palmas-rtc"; > - interrupt-parent = <&palmas>; > - interrupts = <8 0>; > - ti,backup-battery-chargeable; > - ti,backup-battery-charge-high-current; > - }; > - ... > - }; > diff --git a/Documentation/devicetree/bindings/rtc/ti,palmas-rtc.yaml b/Documentation/devicetree/bindings/rtc/ti,palmas-rtc.yaml > new file mode 100644 > index 000000000000..ac64f0589c84 > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/ti,palmas-rtc.yaml > @@ -0,0 +1,57 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/rtc/ti,palmas-rtc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Texas Instruments Palmas RTC > + > +maintainers: > + - Eduard Bostina <egbostina@gmail.com> > + > +allOf: > + - $ref: /schemas/rtc/rtc.yaml# > + > +properties: > + compatible: > + const: ti,palmas-rtc > + > + interrupts: > + maxItems: 1 > + > + wakeup-source: true > + > + ti,backup-battery-chargeable: > + type: boolean > + description: > + The backup battery can be chargeable or non-chargeable. This flag > + indicates whether the battery is chargeable. If present, the driver > + can enable charging. > + It would be great to convert to the genric proeprty which is aux-voltage-chargeable from rtc.yaml > + ti,backup-battery-charge-high-current: > + type: boolean > + description: > + Enable high current charging in the backup battery. > + Device supports the < 100uA and > 100uA charging. The high current will > + be > 100uA. Absence of this property will charge battery to lower > + current i.e. < 100uA. I guess we could make trickle-resistor-ohms fit or get a new generic property for this. -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] ARM: dts: ti: omap: Fix Palmas RTC node names 2026-07-19 14:10 [PATCH 0/2] dt-bindings: rtc: Convert to DT schema Eduard Bostina 2026-07-19 14:10 ` [PATCH 1/2] dt-bindings: rtc: Convert TI Palmas RTC " Eduard Bostina @ 2026-07-19 14:10 ` Eduard Bostina 2026-07-19 14:13 ` sashiko-bot 1 sibling, 1 reply; 6+ messages in thread From: Eduard Bostina @ 2026-07-19 14:10 UTC (permalink / raw) To: Aaro Koskinen, Alexandre Belloni, Andreas Kemnade, Conor Dooley, devicetree, Eduard Bostina, Kevin Hilman, Krzysztof Kozlowski, linux-kernel, linux-omap, linux-rtc, Rob Herring, Roger Quadros, Tony Lindgren Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry The core RTC Device Tree schema expects RTC nodes to be named generically ('rtc' or 'rtc@...'). Update the tps659038_rtc nodes across the AM57xx device trees to use the generic 'rtc' node name to resolve dtbs_check warnings. Signed-off-by: Eduard Bostina <egbostina@gmail.com> --- arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts | 2 +- arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-common.dtsi | 2 +- arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts b/arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts index 76bfb364777e..46270ed87377 100644 --- a/arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts +++ b/arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts @@ -386,7 +386,7 @@ regen2: regen2 { }; }; - tps659038_rtc: tps659038_rtc { + tps659038_rtc: rtc { compatible = "ti,palmas-rtc"; interrupt-parent = <&tps659038>; interrupts = <8 IRQ_TYPE_EDGE_FALLING>; diff --git a/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-common.dtsi index 87b61a98d5e9..e7c186941c23 100644 --- a/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-common.dtsi +++ b/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-common.dtsi @@ -360,7 +360,7 @@ regen1: regen1 { }; }; - tps659038_rtc: tps659038_rtc { + tps659038_rtc: rtc { compatible = "ti,palmas-rtc"; interrupt-parent = <&tps659038>; interrupts = <8 IRQ_TYPE_EDGE_FALLING>; diff --git a/arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi b/arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi index 5eccff3bb4b6..a2a654ef4ef9 100644 --- a/arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi +++ b/arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi @@ -405,7 +405,7 @@ regen2: regen2 { }; }; - tps659038_rtc: tps659038_rtc { + tps659038_rtc: rtc { compatible = "ti,palmas-rtc"; interrupt-parent = <&tps659038>; interrupts = <8 IRQ_TYPE_EDGE_FALLING>; -- 2.43.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] ARM: dts: ti: omap: Fix Palmas RTC node names 2026-07-19 14:10 ` [PATCH 2/2] ARM: dts: ti: omap: Fix Palmas RTC node names Eduard Bostina @ 2026-07-19 14:13 ` sashiko-bot 0 siblings, 0 replies; 6+ messages in thread From: sashiko-bot @ 2026-07-19 14:13 UTC (permalink / raw) To: Eduard Bostina; +Cc: devicetree, conor+dt, robh, linux-rtc, Alexandre Belloni > The core RTC Device Tree schema expects RTC nodes to be named generically > ('rtc' or 'rtc@...'). > > Update the tps659038_rtc nodes across the AM57xx device trees to use > the generic 'rtc' node name to resolve dtbs_check warnings. > > Signed-off-by: Eduard Bostina <egbostina@gmail.com> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/20260719141008.3562347-1-egbostina@gmail.com?part=2 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-07-19 14:56 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-07-19 14:10 [PATCH 0/2] dt-bindings: rtc: Convert to DT schema Eduard Bostina 2026-07-19 14:10 ` [PATCH 1/2] dt-bindings: rtc: Convert TI Palmas RTC " Eduard Bostina 2026-07-19 14:18 ` sashiko-bot 2026-07-19 14:56 ` Alexandre Belloni 2026-07-19 14:10 ` [PATCH 2/2] ARM: dts: ti: omap: Fix Palmas RTC node names Eduard Bostina 2026-07-19 14:13 ` sashiko-bot
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox