-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/rtc/rtc-ds1742.c: add devicetree support
This patch allows the driver to be enabled with devicetree. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
- Loading branch information
Alexander Shiyan
authored and
Linus Torvalds
committed
Jan 24, 2014
1 parent
1b3d224
commit 663b352
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
* Maxim (Dallas) DS1742/DS1743 Real Time Clock | ||
|
||
Required properties: | ||
- compatible: Should contain "maxim,ds1742". | ||
- reg: Physical base address of the RTC and length of memory | ||
mapped region. | ||
|
||
Example: | ||
rtc: rtc@10000000 { | ||
compatible = "maxim,ds1742"; | ||
reg = <0x10000000 0x800>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters