[PATCH v3 0/4] dt-bindings: rtc: ti,omap-rtc: Convert to DT schema and cleanups

Bhargav Joshi posted 4 patches 1 month, 4 weeks ago
Documentation/devicetree/bindings/rtc/rtc-omap.txt |  53 --------
.../devicetree/bindings/rtc/ti,omap-rtc.yaml       | 140 +++++++++++++++++++++
arch/arm/boot/dts/ti/omap/am335x-shc.dts           |   4 -
arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi   |   1 -
arch/arm/boot/dts/ti/omap/dra7-l4.dtsi             |   2 +-
5 files changed, 141 insertions(+), 59 deletions(-)
[PATCH v3 0/4] dt-bindings: rtc: ti,omap-rtc: Convert to DT schema and cleanups
Posted by Bhargav Joshi 1 month, 4 weeks ago
This series converts the Texas Instruments OMAP Real Time Clock (RTC) 
binding from the legacy format to dt-schema.

The am3352-rtc is compatible with the da830-trc. Update the compatible
string to include the ti,da830-rtc fallback 

Two legacy, undocumented properties were discovered in the upstream
device trees:
 - 'ext-clk-src' in am57xx-idk-common.dtsi
 - 'ti,no-init' in am335x-shc.dts
Both properties are completely unhandled by the rtc-omap driver. Patches
1 and 2 remove them from the device trees. Patch 3 then introduces the
new YAML schema.

Signed-off-by: Bhargav Joshi <j.bhargav.u@gmail.com>
---
Changes in v3:
- fixed dts where only am3352-rtc was used without da830-rtc
- fixed compatible where am3352 is only compatible with da830
- simplified clock-output-names property and pins property
- Link to v2: https://lore.kernel.org/r/20260725-ti-omap-rtc-v2-0-13f765ca96b3@gmail.com

Changes in v2:
- Patch 1: unchanged
- Patch 2: unchanged
- Patch 3: Removed left out legacy text binding and Added constraint
  block restricting 'system-power-controller' and 'ext-wakeup' subnodes
  strictly to hardware variants that support PMIC mode
- Link to v1: https://lore.kernel.org/r/20260724-ti-omap-rtc-v1-0-ffef78853cd6@gmail.com

---
Bhargav Joshi (4):
      ARM: dts: ti: am57xx-idk-common: Remove unused ext-clk-src property
      ARM: dts: ti: am335x-shc: Remove unused ti,no-init property
      ARM: dts: omap: dra7: add da830 fallback to am3352 rtc compatible string
      dt-bindings: rtc: ti,omap-rtc: Convert to DT schema

 Documentation/devicetree/bindings/rtc/rtc-omap.txt |  53 --------
 .../devicetree/bindings/rtc/ti,omap-rtc.yaml       | 140 +++++++++++++++++++++
 arch/arm/boot/dts/ti/omap/am335x-shc.dts           |   4 -
 arch/arm/boot/dts/ti/omap/am57xx-idk-common.dtsi   |   1 -
 arch/arm/boot/dts/ti/omap/dra7-l4.dtsi             |   2 +-
 5 files changed, 141 insertions(+), 59 deletions(-)
---
base-commit: 48a5a7ab8d6ab7090564339e039c421f315de912
change-id: 20260724-ti-omap-rtc-6a5c5888e7e3

Best regards,
-- 
Bhargav
Re: (subset) [PATCH v3 0/4] dt-bindings: rtc: ti,omap-rtc: Convert to DT schema and cleanups
Posted by Kevin Hilman 1 month ago
On Tue, 04 Aug 2026 22:35:04 +0530, Bhargav Joshi wrote:
> This series converts the Texas Instruments OMAP Real Time Clock (RTC)
> binding from the legacy format to dt-schema.
> 
> The am3352-rtc is compatible with the da830-trc. Update the compatible
> string to include the ti,da830-rtc fallback
> 
> Two legacy, undocumented properties were discovered in the upstream
> device trees:
>  - 'ext-clk-src' in am57xx-idk-common.dtsi
>  - 'ti,no-init' in am335x-shc.dts
> Both properties are completely unhandled by the rtc-omap driver. Patches
> 1 and 2 remove them from the device trees. Patch 3 then introduces the
> new YAML schema.
> 
> [...]

Applied, thanks!

[1/4] ARM: dts: ti: am57xx-idk-common: Remove unused ext-clk-src property
      commit: ff94c2d480faee28000d0a4c4f23147f15a9d1b1
[2/4] ARM: dts: ti: am335x-shc: Remove unused ti,no-init property
      commit: 7b300285a4af35396df237ca6bb4ce24f721dcec
[3/4] ARM: dts: omap: dra7: add da830 fallback to am3352 rtc compatible string
      commit: 008e8fab68d8b33929686c2f71ff92675ec515b5

Best regards,
-- 
Kevin Hilman (TI) <khilman@baylibre.com>