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-next>] [day] [month] [year] [list]
Date:   Fri, 4 Feb 2022 10:14:46 +0200
From:   Eugen Hristev <eugen.hristev@...rochip.com>
To:     <robh+dt@...nel.org>
CC:     <nicolas.ferre@...rochip.com>, <alexandre.belloni@...tlin.com>,
        <devicetree@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>, <clement.leger@...tlin.com>,
        Eugen Hristev <eugen.hristev@...rochip.com>
Subject: [PATCH] dt-bindings: microchip: atmel,at91rm9200-tcb: remove mandatory interrupts property

The timer block can be used only to be read and to measure time in a polling
fashion. This can be used by Linux like this for example, or it can be used
by different projects which do not have interrupt controllers, or do not
wish to enable them (e.g. U-boot).
As DT is ABI, the binding should relate to all possible use cases and describe
the hardware and the requirements.
The interrupt is not a hard requirement for the timer to function in a
specific way.
Thus, choose to remove the interrupts property from the mandatory list of
properties.

Signed-off-by: Eugen Hristev <eugen.hristev@...rochip.com>
---
 .../devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
index 597d67fba92f..27f78459b892 100644
--- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
+++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
@@ -134,7 +134,6 @@ allOf:
 required:
   - compatible
   - reg
-  - interrupts
   - clocks
   - clock-names
   - '#address-cells'
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ