9
0
Fork 0
barebox/drivers/rtc
Trent Piepho 24fcf5fcee rtc: ds1307: Add support for configuring external clock pin
The DS1307 has a square wave output pin, which can be used to output a
clock signal from the DS1307.  Additionally, the DS1308 supports
configuring this pin as an input from an external clock source to
which it should sync itself.

Add support with OF device tree properties to configure these
settings.  Supported features are using the clock pin as an output, an
input, the rate of the pin, and if it should be enabled on battery
backup power.

The driver does not check that the selected features are supported by
the clock chip being used.  It is the designer's responsibility to
create a valid device tree node; the bootloader does not attempt to be
a device tree validator.

Signed-off-by: Trent Piepho <tpiepho@kymetacorp.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2016-05-30 07:12:19 +02:00
..
Kconfig rtc: Add Abracon driver 2016-01-07 08:46:09 +01:00
Makefile rtc: Add Abracon driver 2016-01-07 08:46:09 +01:00
class.c rtc: Fill in weekdays before setting time 2016-01-07 08:46:09 +01:00
rtc-abracon.c rtc: abracon: Check obtained time for validity 2016-04-05 08:40:51 +02:00
rtc-ds1307.c rtc: ds1307: Add support for configuring external clock pin 2016-05-30 07:12:19 +02:00
rtc-jz4740.c driver: replace dev_request_mem_region with dev_request_mem_resource 2016-03-07 08:57:56 +01:00
rtc-lib.c rtc-lib: Check tm_wday for validity in rtc_valid_tm() 2016-01-07 08:46:10 +01:00