lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <159101709835.17951.3106594572515576976.tip-bot2@tip-bot2>
Date:   Mon, 01 Jun 2020 13:11:38 -0000
From:   "tip-bot2 for Serge Semin" <tip-bot2@...utronix.de>
To:     linux-tip-commits@...r.kernel.org
Cc:     Serge Semin <Sergey.Semin@...kalelectronics.ru>,
        Alexandre Belloni <alexandre.belloni@...tlin.com>,
        Rob Herring <robh@...nel.org>,
        Alexey Malahov <Alexey.Malahov@...kalelectronics.ru>,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
        Paul Burton <paulburton@...nel.org>,
        Ralf Baechle <ralf@...ux-mips.org>,
        Arnd Bergmann <arnd@...db.de>, linux-mips@...r.kernel.org,
        Daniel Lezcano <daniel.lezcano@...aro.org>,
        x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [tip: timers/core] dt-bindings: timer: Move snps,dw-apb-timer DT
 schema from rtc

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     e69bc8999662a3fa6d856820dd09717afff1cbb0
Gitweb:        https://git.kernel.org/tip/e69bc8999662a3fa6d856820dd09717afff1cbb0
Author:        Serge Semin <Sergey.Semin@...kalelectronics.ru>
AuthorDate:    Thu, 21 May 2020 23:48:11 +03:00
Committer:     Daniel Lezcano <daniel.lezcano@...aro.org>
CommitterDate: Sat, 23 May 2020 00:02:33 +02:00

dt-bindings: timer: Move snps,dw-apb-timer DT schema from rtc

This binding file doesn't belong to the rtc seeing it's a pure timer
with no rtc facilities like days/months/years counting and alarms.
So move the YAML-file to the Documentation/devicetree/bindings/timer/
directory.

Signed-off-by: Serge Semin <Sergey.Semin@...kalelectronics.ru>
Acked-by: Alexandre Belloni <alexandre.belloni@...tlin.com>
Acked-by: Rob Herring <robh@...nel.org>
Cc: Alexey Malahov <Alexey.Malahov@...kalelectronics.ru>
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: Paul Burton <paulburton@...nel.org>
Cc: Ralf Baechle <ralf@...ux-mips.org>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: linux-mips@...r.kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Link: https://lore.kernel.org/r/20200521204818.25436-3-Sergey.Semin@baikalelectronics.ru
---
 Documentation/devicetree/bindings/rtc/snps,dw-apb-timer.yaml   | 88 +-------
 Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml | 88 +++++++-
 2 files changed, 88 insertions(+), 88 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rtc/snps,dw-apb-timer.yaml
 create mode 100644 Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml

diff --git a/Documentation/devicetree/bindings/rtc/snps,dw-apb-timer.yaml b/Documentation/devicetree/bindings/rtc/snps,dw-apb-timer.yaml
deleted file mode 100644
index 002fe1e..0000000
--- a/Documentation/devicetree/bindings/rtc/snps,dw-apb-timer.yaml
+++ /dev/null
@@ -1,88 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-%YAML 1.2
----
-$id: http://devicetree.org/schemas/rtc/snps,dw-apb-timer.yaml#
-$schema: http://devicetree.org/meta-schemas/core.yaml#
-
-title: Synopsys DesignWare APB Timer
-
-maintainers:
-  - Daniel Lezcano <daniel.lezcano@...aro.org>
-
-properties:
-  compatible:
-    oneOf:
-      - const: snps,dw-apb-timer
-      - enum:
-          - snps,dw-apb-timer-sp
-          - snps,dw-apb-timer-osc
-        deprecated: true
-
-  reg:
-    maxItems: 1
-
-  interrupts:
-    maxItems: 1
-
-  clocks:
-    minItems: 1
-    items:
-       - description: Timer ticks reference clock source
-       - description: APB interface clock source
-
-  clock-names:
-    minItems: 1
-    items:
-      - const: timer
-      - const: pclk
-
-  clock-frequency: true
-
-  clock-freq:
-    $ref: "/schemas/types.yaml#/definitions/uint32"
-    description: |
-      Has the same meaning as the 'clock-frequency' property - timer clock
-      frequency in HZ, but is defined only for the backwards compatibility
-      with the picoxcell platform.
-
-unevaluatedProperties: false
-
-required:
-  - compatible
-  - reg
-  - interrupts
-
-oneOf:
-  - required:
-      - clocks
-      - clock-names
-  - required:
-      - clock-frequency
-  - required:
-      - clock-freq
-
-examples:
-  - |
-    timer@...00000 {
-      compatible = "snps,dw-apb-timer";
-      interrupts = <0 170 4>;
-      reg = <0xffe00000 0x1000>;
-      clocks = <&timer_clk>, <&timer_pclk>;
-      clock-names = "timer", "pclk";
-    };
-  - |
-    timer@...00000 {
-      compatible = "snps,dw-apb-timer";
-      interrupts = <0 170 4>;
-      reg = <0xffe00000 0x1000>;
-      clocks = <&timer_clk>;
-      clock-names = "timer";
-    };
-  - |
-    timer@...00000 {
-      compatible = "snps,dw-apb-timer";
-      interrupts = <0 170 4>;
-      reg = <0xffe00000 0x1000>;
-      clock-frequency = <25000000>;
-    };
-...
diff --git a/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml b/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
new file mode 100644
index 0000000..5d300ef
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
@@ -0,0 +1,88 @@
+# SPDX-License-Identifier: GPL-2.0-only
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Synopsys DesignWare APB Timer
+
+maintainers:
+  - Daniel Lezcano <daniel.lezcano@...aro.org>
+
+properties:
+  compatible:
+    oneOf:
+      - const: snps,dw-apb-timer
+      - enum:
+          - snps,dw-apb-timer-sp
+          - snps,dw-apb-timer-osc
+        deprecated: true
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  clocks:
+    minItems: 1
+    items:
+       - description: Timer ticks reference clock source
+       - description: APB interface clock source
+
+  clock-names:
+    minItems: 1
+    items:
+      - const: timer
+      - const: pclk
+
+  clock-frequency: true
+
+  clock-freq:
+    $ref: "/schemas/types.yaml#/definitions/uint32"
+    description: |
+      Has the same meaning as the 'clock-frequency' property - timer clock
+      frequency in HZ, but is defined only for the backwards compatibility
+      with the picoxcell platform.
+
+unevaluatedProperties: false
+
+required:
+  - compatible
+  - reg
+  - interrupts
+
+oneOf:
+  - required:
+      - clocks
+      - clock-names
+  - required:
+      - clock-frequency
+  - required:
+      - clock-freq
+
+examples:
+  - |
+    timer@...00000 {
+      compatible = "snps,dw-apb-timer";
+      interrupts = <0 170 4>;
+      reg = <0xffe00000 0x1000>;
+      clocks = <&timer_clk>, <&timer_pclk>;
+      clock-names = "timer", "pclk";
+    };
+  - |
+    timer@...00000 {
+      compatible = "snps,dw-apb-timer";
+      interrupts = <0 170 4>;
+      reg = <0xffe00000 0x1000>;
+      clocks = <&timer_clk>;
+      clock-names = "timer";
+    };
+  - |
+    timer@...00000 {
+      compatible = "snps,dw-apb-timer";
+      interrupts = <0 170 4>;
+      reg = <0xffe00000 0x1000>;
+      clock-frequency = <25000000>;
+    };
+...

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ