summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/include/mach/pwm_backlight.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/include/mach/pwm_backlight.h')
-rw-r--r--arch/arm/mach-exynos/include/mach/pwm_backlight.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/include/mach/pwm_backlight.h b/arch/arm/mach-exynos/include/mach/pwm_backlight.h
new file mode 100644
index 0000000..4f54fa7
--- /dev/null
+++ b/arch/arm/mach-exynos/include/mach/pwm_backlight.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2012 Samsung Electronics
+ *
+ * Author: Donghwa Lee <dh09.lee@samsung.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef _PWM_BACKLIGHT_H_
+#define _PWM_BACKLIGHT_H_
+
+struct pwm_backlight_data {
+ int pwm_id;
+ int period;
+ int max_brightness;
+ int brightness;
+};
+
+extern int exynos_pwm_backlight_init(struct pwm_backlight_data *pd);
+
+#endif /* _PWM_BACKLIGHT_H_ */