Commit d2f51b35 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull RTC updates from Alexandre Belloni:
 "There is a new driver for the RTC of the Mstar SSD202D SoC. The
  rtc7301 driver gains support for byte addresses to support the
  USRobotics USR8200. Then we have many non user visible changes and
  typo fixes.

  Summary:

  Subsytem:
   - convert platform drivers to remove_new
   - prevent modpost warnings for unremovable platform drivers

  New driver:
   - Mstar SSD202D

  Drivers:
   - brcmstb-waketimer: support level alarm_irq
   - ep93xx: add DT support
   - rtc7301: support byte-addressed IO"

* tag 'rtc-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (28 commits)
  dt-bindings: rtc: Add Mstar SSD202D RTC
  rtc: Add support for the SSD202D RTC
  rtc: at91rm9200: annotate at91_rtc_remove with __exit again
  dt-bindings: rtc: microcrystal,rv3032: Document wakeup-source property
  dt-bindings: rtc: pcf8523: Convert to YAML
  dt-bindings: rtc: mcp795: move to trivial-rtc
  rtc: ep93xx: add DT support for Cirrus EP93xx
  dt-bindings: rtc: Add Cirrus EP93xx
  dt-bindings: rtc: pcf2123: convert to YAML
  rtc: efi: fixed typo in efi_procfs()
  rtc: omap: Use device_get_match_data()
  rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
  rtc: rtc7301: Support byte-addressed IO
  rtc: rtc7301: Rewrite bindings in schema
  rtc: sh: Convert to platform remove callback returning void
  rtc: pxa: Convert to platform remove callback returning void
  rtc: mv: Convert to platform remove callback returning void
  rtc: imxdi: Convert to platform remove callback returning void
  rtc: at91rm9200: Convert to platform remove callback returning void
  rtc: pcap: Drop no-op remove function
  ...
parents 7b2c9e41 cfb67623
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Cirrus EP93xx Real Time Clock controller

maintainers:
  - Hartley Sweeten <hsweeten@visionengravers.com>
  - Alexander Sverdlin <alexander.sverdlin@gmail.com>

allOf:
  - $ref: rtc.yaml#

properties:
  compatible:
    oneOf:
      - const: cirrus,ep9301-rtc
      - items:
          - enum:
              - cirrus,ep9302-rtc
              - cirrus,ep9307-rtc
              - cirrus,ep9312-rtc
              - cirrus,ep9315-rtc
          - const: cirrus,ep9301-rtc

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    rtc@80920000 {
        compatible = "cirrus,ep9301-rtc";
        reg = <0x80920000 0x100>;
    };
+0 −16
Original line number Diff line number Diff line
EPSON TOYOCOM RTC-7301SF/DG

Required properties:

- compatible: Should be "epson,rtc7301sf" or "epson,rtc7301dg"
- reg: Specifies base physical address and size of the registers.
- interrupts: A single interrupt specifier.

Example:

rtc: rtc@44a00000 {
	compatible = "epson,rtc7301dg";
	reg = <0x44a00000 0x10000>;
	interrupt-parent = <&axi_intc_0>;
	interrupts = <3 2>;
};
+51 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/epson,rtc7301.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Epson Toyocom RTC-7301SF/DG

description:
  The only difference between the two variants is the packaging.
  The DG variant is a DIL package, and the SF variant is a flat
  package.

maintainers:
  - Akinobu Mita <akinobu.mita@gmail.com>

properties:
  compatible:
    enum:
      - epson,rtc7301dg
      - epson,rtc7301sf

  reg:
    maxItems: 1

  reg-io-width:
    description:
      The size (in bytes) of the IO accesses that should be performed
      on the device.
    enum: [1, 4]
    default: 4

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    rtc: rtc@44a00000 {
        compatible = "epson,rtc7301dg";
        reg = <0x44a00000 0x10000>;
        reg-io-width = <4>;
        interrupt-parent = <&axi_intc_0>;
        interrupts = <3 2>;
    };
+0 −11
Original line number Diff line number Diff line
* Maxim MCP795		SPI Serial Real-Time Clock

Required properties:
- compatible: Should contain "maxim,mcp795".
- reg: SPI address for chip

Example:
	mcp795: rtc@0 {
		compatible = "maxim,mcp795";
		reg = <0>;
	};
+2 −0
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ properties:
      - 3000
      - 4400

  wakeup-source: true

required:
  - compatible
  - reg
Loading