Thread (12 messages) 12 messages, 5 authors, 2021-02-06

Re: [PATCH v4 1/2] dt-bindings: counter: add pulse-counter binding

From: Linus Walleij <hidden>
Date: 2021-01-28 08:19:04
Also in: linux-iio, lkml

Hi Oleksij,

thanks for your patch!

On Tue, Jan 26, 2021 at 2:15 PM Oleksij Rempel [off-list ref] wrote:
Add binding for the pulse counter node

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
(...)
+properties:
+  compatible:
+    const: virtual,pulse-counter
What is so virtual about this? The device seems very real.
However it is certainly a GPIO counter.

I would call it "gpio-counter" simply.

Define:
  $nodename:
     pattern: "^counter(@.*)?$"
+    counter-0 {
counter@0 {
+    counter-1 {
counter@1 {

Thanks!
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help