summaryrefslogtreecommitdiffstats
path: root/kernel/include/dt-bindings/pwm
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/dt-bindings/pwm')
-rw-r--r--kernel/include/dt-bindings/pwm/pwm.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/include/dt-bindings/pwm/pwm.h b/kernel/include/dt-bindings/pwm/pwm.h
new file mode 100644
index 000000000..96f49e822
--- /dev/null
+++ b/kernel/include/dt-bindings/pwm/pwm.h
@@ -0,0 +1,14 @@
+/*
+ * This header provides constants for most PWM bindings.
+ *
+ * Most PWM bindings can include a flags cell as part of the PWM specifier.
+ * In most cases, the format of the flags cell uses the standard values
+ * defined in this header.
+ */
+
+#ifndef _DT_BINDINGS_PWM_PWM_H
+#define _DT_BINDINGS_PWM_PWM_H
+
+#define PWM_POLARITY_INVERTED (1 << 0)
+
+#endif