mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-19 04:14:49 +08:00
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>
This commit is contained in:
parent
5840748520
commit
91b298f5dc
@ -374,13 +374,14 @@ static int jz4740_rtc_probe(struct platform_device *pdev)
|
|||||||
if (!pm_power_off) {
|
if (!pm_power_off) {
|
||||||
/* Default: 60ms */
|
/* Default: 60ms */
|
||||||
rtc->reset_pin_assert_time = 60;
|
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);
|
&rtc->reset_pin_assert_time);
|
||||||
|
|
||||||
/* Default: 100ms */
|
/* Default: 100ms */
|
||||||
rtc->min_wakeup_pin_assert_time = 100;
|
rtc->min_wakeup_pin_assert_time = 100;
|
||||||
of_property_read_u32(np,
|
of_property_read_u32(np,
|
||||||
"min-wakeup-pin-assert-time-ms",
|
"ingenic,min-wakeup-pin-assert-time-ms",
|
||||||
&rtc->min_wakeup_pin_assert_time);
|
&rtc->min_wakeup_pin_assert_time);
|
||||||
|
|
||||||
dev_for_power_off = &pdev->dev;
|
dev_for_power_off = &pdev->dev;
|
||||||
|
Loading…
Reference in New Issue
Block a user