projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5840748
)
rtc: jz4740: Rename vendor-specific DT properties
author
Paul Cercueil
<paul@crapouillou.net>
Wed, 11 Mar 2020 18:23:17 +0000
(19:23 +0100)
committer
Alexandre Belloni
<alexandre.belloni@bootlin.com>
Tue, 24 Mar 2020 10:03:23 +0000
(11:03 +0100)
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>
drivers/rtc/rtc-jz4740.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-jz4740.c
b/drivers/rtc/rtc-jz4740.c
index d764cd525c9a1d394753858da87318f24093feec..e4c719085c31d332facba571987b17aa76d97fb0 100644
(file)
--- a/
drivers/rtc/rtc-jz4740.c
+++ b/
drivers/rtc/rtc-jz4740.c
@@
-374,13
+374,14
@@
static int jz4740_rtc_probe(struct platform_device *pdev)
if (!pm_power_off) {
/* Default: 60ms */
rtc->reset_pin_assert_time = 60;
- of_property_read_u32(np, "reset-pin-assert-time-ms",
+ of_property_read_u32(np,
+ "ingenic,reset-pin-assert-time-ms",
&rtc->reset_pin_assert_time);
/* Default: 100ms */
rtc->min_wakeup_pin_assert_time = 100;
of_property_read_u32(np,
- "min-wakeup-pin-assert-time-ms",
+ "
ingenic,
min-wakeup-pin-assert-time-ms",
&rtc->min_wakeup_pin_assert_time);
dev_for_power_off = &pdev->dev;