mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
arm64: dts: freescale: imx8mp-toradex-smarc: add fan PWM configuration
Configure correctly the FAN pwm output (inverted). Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
21faf8f8e0
commit
8c7432dc2a
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
/dts-v1/;
|
||||
|
||||
#include <dt-bindings/pwm/pwm.h>
|
||||
|
||||
#include "imx8mp-toradex-smarc.dtsi"
|
||||
|
||||
/ {
|
||||
|
|
@ -205,9 +207,14 @@ &i2c6 {
|
|||
status = "okay";
|
||||
|
||||
/* Fan controller */
|
||||
fan@18 {
|
||||
fan_controller: fan@18 {
|
||||
compatible = "ti,amc6821";
|
||||
reg = <0x18>;
|
||||
#pwm-cells = <2>;
|
||||
|
||||
fan {
|
||||
pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>;
|
||||
};
|
||||
};
|
||||
|
||||
/* Current measurement into module VDD */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user