diff options
52 files changed, 744 insertions, 566 deletions
diff --git a/Documentation/core-api/printk-formats.rst b/Documentation/core-api/printk-formats.rst index ff48b55040ef..a7fae4538946 100644 --- a/Documentation/core-api/printk-formats.rst +++ b/Documentation/core-api/printk-formats.rst | |||
| @@ -412,6 +412,24 @@ Examples:: | |||
| 412 | 412 | ||
| 413 | Passed by reference. | 413 | Passed by reference. |
| 414 | 414 | ||
| 415 | Time and date (struct rtc_time) | ||
| 416 | ------------------------------- | ||
| 417 | |||
| 418 | :: | ||
| 419 | |||
| 420 | %ptR YYYY-mm-ddTHH:MM:SS | ||
| 421 | %ptRd YYYY-mm-dd | ||
| 422 | %ptRt HH:MM:SS | ||
| 423 | %ptR[dt][r] | ||
| 424 | |||
| 425 | For printing date and time as represented by struct rtc_time structure in | ||
| 426 | human readable format. | ||
| 427 | |||
| 428 | By default year will be incremented by 1900 and month by 1. Use %ptRr (raw) | ||
| 429 | to suppress this behaviour. | ||
| 430 | |||
| 431 | Passed by reference. | ||
| 432 | |||
| 415 | struct clk | 433 | struct clk |
| 416 | ---------- | 434 | ---------- |
| 417 | 435 | ||
diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index 0af618b6a448..27784b6edfed 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | |||
| @@ -109,6 +109,12 @@ Required properties for Pinctrl sub nodes: | |||
| 109 | [2] Documentation/devicetree/bindings/power/power_domain.txt | 109 | [2] Documentation/devicetree/bindings/power/power_domain.txt |
| 110 | [3] Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt | 110 | [3] Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt |
| 111 | 111 | ||
| 112 | RTC bindings based on SCU Message Protocol | ||
| 113 | ------------------------------------------------------------ | ||
| 114 | |||
| 115 | Required properties: | ||
| 116 | - compatible: should be "fsl,imx8qxp-sc-rtc"; | ||
| 117 | |||
| 112 | Example (imx8qxp): | 118 | Example (imx8qxp): |
| 113 | ------------- | 119 | ------------- |
| 114 | lsio_mu1: mailbox@5d1c0000 { | 120 | lsio_mu1: mailbox@5d1c0000 { |
| @@ -151,6 +157,10 @@ firmware { | |||
| 151 | compatible = "fsl,imx8qxp-scu-pd"; | 157 | compatible = "fsl,imx8qxp-scu-pd"; |
| 152 | #power-domain-cells = <1>; | 158 | #power-domain-cells = <1>; |
| 153 | }; | 159 | }; |
| 160 | |||
| 161 | rtc: rtc { | ||
| 162 | compatible = "fsl,imx8qxp-sc-rtc"; | ||
| 163 | }; | ||
| 154 | }; | 164 | }; |
| 155 | }; | 165 | }; |
| 156 | 166 | ||
diff --git a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt b/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt index be789685a1c2..18b892d010d8 100644 --- a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt +++ b/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt | |||
| @@ -27,4 +27,4 @@ and valid to enable charging: | |||
| 27 | 27 | ||
| 28 | - "abracon,tc-diode": should be "standard" (0.6V) or "schottky" (0.3V) | 28 | - "abracon,tc-diode": should be "standard" (0.6V) or "schottky" (0.3V) |
| 29 | - "abracon,tc-resistor": should be <0>, <3>, <6> or <11>. 0 disables the output | 29 | - "abracon,tc-resistor": should be <0>, <3>, <6> or <11>. 0 disables the output |
| 30 | resistor, the other values are in ohm. | 30 | resistor, the other values are in kOhm. |
diff --git a/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt b/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt index 811124a36d16..1994f601800a 100644 --- a/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt +++ b/Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt | |||
| @@ -2,6 +2,7 @@ NXP PCF2123 SPI Real Time Clock | |||
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible: should be: "nxp,rtc-pcf2123" | 4 | - compatible: should be: "nxp,rtc-pcf2123" |
| 5 | or "microcrystal,rv2123" | ||
| 5 | - reg: should be the SPI slave chipselect address | 6 | - reg: should be the SPI slave chipselect address |
| 6 | 7 | ||
| 7 | Optional properties: | 8 | Optional properties: |
diff --git a/Documentation/devicetree/bindings/rtc/pcf85363.txt b/Documentation/devicetree/bindings/rtc/pcf85363.txt index 76fdabc59742..94adc1cf93d9 100644 --- a/Documentation/devicetree/bindings/rtc/pcf85363.txt +++ b/Documentation/devicetree/bindings/rtc/pcf85363.txt | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | NXP PCF85363 Real Time Clock | 1 | NXP PCF85263/PCF85363 Real Time Clock |
| 2 | ============================ | 2 | ============================ |
| 3 | 3 | ||
| 4 | Required properties: | 4 | Required properties: |
| 5 | - compatible: Should contain "nxp,pcf85363". | 5 | - compatible: Should contain "nxp,pcf85263" or "nxp,pcf85363". |
| 6 | - reg: I2C address for chip. | 6 | - reg: I2C address for chip. |
| 7 | 7 | ||
| 8 | Optional properties: | 8 | Optional properties: |
diff --git a/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt b/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt index eebfbe04207a..eaee19b60960 100644 --- a/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt +++ b/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt | |||
| @@ -35,7 +35,7 @@ Optional properties: | |||
| 35 | Should be given if internal trickle charger diode should be disabled | 35 | Should be given if internal trickle charger diode should be disabled |
| 36 | 36 | ||
| 37 | Example: | 37 | Example: |
| 38 | rtc1: ds1339@68 { | 38 | ds1339: rtc@68 { |
| 39 | compatible = "dallas,ds1339"; | 39 | compatible = "dallas,ds1339"; |
| 40 | reg = <0x68>; | 40 | reg = <0x68>; |
| 41 | interrupt-parent = <&gpio4>; | 41 | interrupt-parent = <&gpio4>; |
diff --git a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt index 12c083c1140a..6b732c41392b 100644 --- a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt +++ b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt | |||
| @@ -3,25 +3,44 @@ | |||
| 3 | RTC controller for the Allwinner A31 | 3 | RTC controller for the Allwinner A31 |
| 4 | 4 | ||
| 5 | Required properties: | 5 | Required properties: |
| 6 | - compatible : Should be "allwinner,sun6i-a31-rtc" | 6 | - compatible : Should be one of the following combinations: |
| 7 | - "allwinner,sun6i-a31-rtc" | ||
| 8 | - "allwinner,sun8i-a23-rtc" | ||
