#ifndef TSTAMPING_H #define TSTAMPING_H #include "config.h" #ifdef HAVE_HARDWARE_TIMESTAMPING extern int set_sockopt_hwtimestamp(int sock, const char *dev); #else static inline int set_sockopt_hwtimestamp(int sock, const char *dev) { return -1; } #endif #endif /* TSTAMPING_H */ tps://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/Documentation/i2c?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
path: root/Documentation/i2c
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-10-27 11:27:25 +0530
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-11-04 23:11:37 +0100
commit3984903a2e3906d3def220e688040ce93368200a (patch)
tree0dfd07a0079bf488b61fea891f801554bbb884a1 /Documentation/i2c
parent368e21aebe9535c1643b272aaa9819298a6bc3e5 (diff)
rtc: omap: Fix selecting external osc
RTC can be clocked from an external 32KHz oscillator, or from the Peripheral PLL. The RTC has an internal oscillator buffer to support direct operation with a crystal. ---------------------------------------- | Device --------- | | | | | | | RTCSS | | | --------- | | | OSC |<------| RTC | | | | |------>| OSC |--- | | | | -------- | | | | | ----|clk | | | -------- | | | | | | PRCM |--- | | | | -------- -------- | ---------------------------------------- The RTC functional clock is sourced by default from the clock derived from the Peripheral PLL. In order to select source as external osc clk the following changes needs to be done: - Enable the RTC OSC (RTC_OSC_REG[4]OSC32K_GZ = 0) - Enable the clock mux(RTC_OSC_REG[6]K32CLK_EN = 1) - Select the external clock source (RTC_OSC_REG[3]32KCLK_SEL = 1) Fixes: 399cf0f63f6f2 ("rtc: omap: Add external clock enabling support") Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'Documentation/i2c')