Introduce the string property "sqw" to control Square Wave Output register. This enables pulse generation output, that is useful for xtal calibration or for an external usage. Signed-off-by: Kirill Kapranov <kirill.kapranov@xxxxxxxxxxxxxx> --- Documentation/devicetree/bindings/rtc/abracon,abx80x.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt b/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt index 2405e35a1bc0..4c545ece33b5 100644 --- a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt +++ b/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt @@ -29,3 +29,15 @@ and valid to enable charging: - "abracon,tc-diode": should be "standard" (0.6V) or "schottky" (0.3V) - "abracon,tc-resistor": should be <0>, <3>, <6> or <11>. 0 disables the output resistor, the other values are in kOhm. + +The RTC can produce square wave output on a dedicated pin for an external usage +or for calibration purpose. A valid string should be assigned to the "sqw" +property to enable the output: + + - "sqw": should be one of the following: + "1_century", "32768_Hz", "8192_Hz", "4096_Hz", "2048_Hz", "1024_Hz", + "512_Hz", "256_Hz", "128_Hz", "64_Hz", "32_Hz", "16_Hz", "8_Hz", "4_Hz", + "2_Hz", "1_Hz", "1/2_Hz", "1/4_Hz", "1/8_Hz", "1/16_Hz", "1/32_Hz", + "1_min", "16384_Hz", "100_Hz", "1_hour", "1_day", "TIRQ", "nTIRQ", + "1_year", "1_Hz_to_Counters", "1/32_Hz_from_Acal", "1/8_Hz_from_Acal", + "none" -- 2.11.0