Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: jz4740: Rename vendor-specific DT properties

These properties are never set anywhere within any of the upstream
devicetree files, so I assume I'm not breaking the ABI with this change.

Rename vendor-specific DT properties to have the 'ingenic,' prefix,
which they should have had from the start.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20200311182318.22154-2-paul@crapouillou.net
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Paul Cercueil and committed by
Alexandre Belloni
91b298f5 58407485

+3 -2
+3 -2
drivers/rtc/rtc-jz4740.c
··· 374 374 if (!pm_power_off) { 375 375 /* Default: 60ms */ 376 376 rtc->reset_pin_assert_time = 60; 377 - of_property_read_u32(np, "reset-pin-assert-time-ms", 377 + of_property_read_u32(np, 378 + "ingenic,reset-pin-assert-time-ms", 378 379 &rtc->reset_pin_assert_time); 379 380 380 381 /* Default: 100ms */ 381 382 rtc->min_wakeup_pin_assert_time = 100; 382 383 of_property_read_u32(np, 383 - "min-wakeup-pin-assert-time-ms", 384 + "ingenic,min-wakeup-pin-assert-time-ms", 384 385 &rtc->min_wakeup_pin_assert_time); 385 386 386 387 dev_for_power_off = &pdev->dev;