[PATCH 2/2] rtc: ds1307: Add support for configuring external clock pin

Sascha Hauer s.hauer at pengutronix.de
Sun May 29 22:14:39 PDT 2016


On Thu, May 19, 2016 at 11:39:32PM +0000, Trent Piepho wrote:
> 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 at kymetacorp.com>

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list