summaryrefslogtreecommitdiff
path: root/include/linux/tegra_pwm_bl.h
diff options
context:
space:
mode:
authorJoseph Lehrer <jlehrer@nvidia.com>2011-02-13 18:19:34 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:44:53 -0800
commit40bf0ce8f6d7fe4cf1dd98f6de5c6608078cbb61 (patch)
tree3d1ffb49d953f29dba02986796a23d6ad058f4a8 /include/linux/tegra_pwm_bl.h
parent920d93a2ef85f7cde4e97884d42ad633ad672bc3 (diff)
video: tegra: Add PWM backlight driver
bug 773671 Original-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> Rebase-Id: R3ddd56d2d3df9d9a78b2e8ccbfd0cd64e824ab2f
Diffstat (limited to 'include/linux/tegra_pwm_bl.h')
-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 */