Thread (13 messages) 13 messages, 3 authors, 2023-09-12

Re: [PATCH v8 2/3] dt-bindings: hwmon: Support Aspeed g6 PWM TACH Control

From: Billy Tsai <hidden>
Date: 2023-09-07 15:24:04
Also in: linux-aspeed, linux-devicetree, linux-doc, linux-hwmon, linux-pwm, lkml

quoted
+
+examples:
+  - |
+    #include <dt-bindings/clock/aspeed-clock.h>
+    pwm_tach: pwm-tach-controller@1e610000 {
+      compatible = "aspeed,ast2600-pwm-tach";
+      reg = <0x1e610000 0x100>;
+      clocks = <&syscon ASPEED_CLK_AHB>;
+      resets = <&syscon ASPEED_RESET_PWM>;
+      #pwm-cells = <3>;
Blank line.
quoted
+      fan0_hwmon {
+        tach-ch = <0x0>;
Don't you need 'pwms'?
Yes, I only want to create the fan monitor without fan control.
+      };
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help