Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.10-rc5 37 lines 818 B view raw
1* Maxim DS3231 Real Time Clock 2 3Required properties: 4see: Documentation/devicetree/bindings/i2c/trivial-admin-guide/devices.rst 5 6Optional property: 7- #clock-cells: Should be 1. 8- clock-output-names: 9 overwrite the default clock names "ds3231_clk_sqw" and "ds3231_clk_32khz". 10 11Each clock is assigned an identifier and client nodes can use this identifier 12to specify the clock which they consume. Following indices are allowed: 13 - 0: square-wave output on the SQW pin 14 - 1: square-wave output on the 32kHz pin 15 16- interrupts: rtc alarm/event interrupt. When this property is selected, 17 clock on the SQW pin cannot be used. 18 19Example: 20 21ds3231: ds3231@51 { 22 compatible = "maxim,ds3231"; 23 reg = <0x68>; 24 #clock-cells = <1>; 25}; 26 27device1 { 28... 29 clocks = <&ds3231 0>; 30... 31}; 32 33device2 { 34... 35 clocks = <&ds3231 1>; 36... 37};