summaryrefslogtreecommitdiff
path: root/src/cpu/samsung/exynos5-common/pwm.h
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-02-14 16:35:47 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-02-15 02:11:34 +0100
commit5dbf689b62367f5386441cdc35434f14b39ac17b (patch)
tree5329f24010efbe3487fb7379e2cc1a577ef8ba0f /src/cpu/samsung/exynos5-common/pwm.h
parent7512e4593ed535bdd1bc33a91dfb769566146a39 (diff)
downloadcoreboot-5dbf689b62367f5386441cdc35434f14b39ac17b.tar.xz
Exynos5: Drop S5P directory and merge files
s5p-common mostly contained duplicate files, drop the whole directory and merge the few pieces that we are using into exynos5-common. Change-Id: I5f18e8a6d2379d719ab6bbbf817fe15bda70d17f Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2405 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'src/cpu/samsung/exynos5-common/pwm.h')
-rw-r--r--src/cpu/samsung/exynos5-common/pwm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu/samsung/exynos5-common/pwm.h b/src/cpu/samsung/exynos5-common/pwm.h
index a4e0acf693..d7aa76fd15 100644
--- a/src/cpu/samsung/exynos5-common/pwm.h
+++ b/src/cpu/samsung/exynos5-common/pwm.h
@@ -63,6 +63,12 @@ struct s5p_timer {
unsigned int tcnto4;
unsigned int tintcstat;
};
+
+int pwm_config(int pwm_id, int duty_ns, int period_ns);
+int pwm_check_enabled(int pwm_id);
+void pwm_disable(int pwm_id);
+int pwm_enable(int pwm_id);
+int pwm_init(int pwm_id, int div, int invert);
#endif /* __ASSEMBLER__ */
#endif