mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
rtc: mcp795: add devicetree support
Add device tree support to the rtc-mcp795 driver. Signed-off-by: Emil Bartczak <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
parent
15c6ea6f81
commit
7f8a58925b
2 changed files with 21 additions and 0 deletions
11
Documentation/devicetree/bindings/rtc/maxim,mcp795.txt
Normal file
11
Documentation/devicetree/bindings/rtc/maxim,mcp795.txt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
* Maxim MCP795 SPI Serial Real-Time Clock
|
||||
|
||||
Required properties:
|
||||
- compatible: Should contain "maxim,mcp795".
|
||||
- reg: SPI address for chip
|
||||
|
||||
Example:
|
||||
mcp795: rtc@0 {
|
||||
compatible = "maxim,mcp795";
|
||||
reg = <0>;
|
||||
};
|
||||
Loading…
Reference in a new issue