]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-palmas.c: add dt support
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 26 Mar 2013 23:25:45 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:51 +0000 (17:12 +1100)
commitfef2dcd752b5eab646c04ba65252ea326ce7fe34
treec221cb62dc9199a7ae6231f0693c68ff3b2775c3
parentaff46ad49862d22e8b27a0314a19ca21dde7d721
drivers/rtc/rtc-palmas.c: add dt support

Add of_device_id table for Palma RTC to be enable the driver from DT file.

The driver can be registered from DT file as:
palmas: tps65913@58 {
:::::::::::
palmas_rtc {
compatible = "ti,palmas-rtc";
interrupt-parent = <&palmas>;
interrupts = <8 0>;
};
};

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-palmas.c