mbox series

[v3,0/2] add reset-source RTC binding, update pcf2127 driver

Message ID 20201218101054.25416-1-rasmus.villemoes@prevas.dk
Headers show
Series add reset-source RTC binding, update pcf2127 driver | expand

Message

Rasmus Villemoes Dec. 18, 2020, 10:10 a.m. UTC
This adds a reset-source RTC DT binding, as suggested by Alexandre,
and resends Uwe's patch making use of that property in pcf2127 driver
to avoid the driver exposing a watchdog that doesn't work (and
potentially shuffling the enumeration of the existing devices that do
work).

v3: elide the refactoring patch already in -next (5d78533a0c53 - rtc:
pcf2127: move watchdog initialisation to a separate function), make
sure to cc the DT binding list.

Applies on top of next-20201218.

Rasmus Villemoes (1):
  dt-bindings: rtc: add reset-source property

Uwe Kleine-König (1):
  rtc: pcf2127: only use watchdog when explicitly available

 Documentation/devicetree/bindings/rtc/rtc.yaml | 5 +++++
 drivers/rtc/rtc-pcf2127.c                      | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

Comments

Alexandre Belloni Dec. 19, 2020, 12:58 a.m. UTC | #1
On Fri, 18 Dec 2020 11:10:52 +0100, Rasmus Villemoes wrote:
> This adds a reset-source RTC DT binding, as suggested by Alexandre,
> and resends Uwe's patch making use of that property in pcf2127 driver
> to avoid the driver exposing a watchdog that doesn't work (and
> potentially shuffling the enumeration of the existing devices that do
> work).
> 
> v3: elide the refactoring patch already in -next (5d78533a0c53 - rtc:
> pcf2127: move watchdog initialisation to a separate function), make
> sure to cc the DT binding list.
> 
> [...]

Applied, thanks!

[1/2] dt-bindings: rtc: add reset-source property
      commit: 320d159e2d63a97a40f24cd6dfda5a57eec65b91
[2/2] rtc: pcf2127: only use watchdog when explicitly available
      commit: 71ac13457d9d1007effde65b54818106b2c2b525

Best regards,