summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Lehrer <jlehrer@nvidia.com>2011-02-13 18:19:34 -0800
committerVarun Colbert <vcolbert@nvidia.com>2011-02-22 18:13:32 -0800
commit70949985bed59a1488bdf5a4481512f214648811 (patch)
tree3a4b932e515c8f31adfee3b2441fff605c7c9129 /include
parentf7a800483296dc29d846d232b58ba7c694e7baab (diff)
video: tegra: Add PWM backlight driver
bug 773671 Change-Id: Ib93f0dcb7e22220fe297c81d403c401548f3c649 Reviewed-on: http://git-master/r/18280 Tested-by: Joseph Lehrer <jlehrer@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_pwm_bl.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/tegra_pwm_bl.h b/include/linux/tegra_pwm_bl.h
new file mode 100644
index 000000000000..4eac77b04203
--- /dev/null
+++ b/include/linux/tegra_pwm_bl.h
@@ -0,0 +1,25 @@
+/* Tegra PWM backlight data *
+ *
+ * Copyright (C) 2011 NVIDIA Corporation
+ * Author: Renuka Apte <rapte@nvidia.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+
+#ifndef TEGRA_PWM_BL_H
+#define TEGRA_PWM_BL_H
+
+struct platform_tegra_pwm_backlight_data {
+ int which_dc;
+ int which_pwm;
+ unsigned int dft_brightness;
+ unsigned int max_brightness;
+ unsigned int period;
+ unsigned int clk_div;
+ unsigned int clk_select;
+};
+
+#endif /* TERGA_PWM_BL_H */