#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/pinctrl/consumer.h>
#include <linux/platform_device.h>
#include <linux/pwm.h>
#include <linux/slab.h>
#include <linux/stmp_device.h>
Go to the source code of this file.
#define PERIOD_ACTIVE_HIGH (3 << 16) |
#define PERIOD_CDIV |
( |
|
div | ) |
(((div) & 0x7) << 20) |
#define PERIOD_CDIV_MAX 8 |
#define PERIOD_INACTIVE_LOW (2 << 18) |
#define PERIOD_PERIOD |
( |
|
p | ) |
((p) & 0xffff) |
#define PERIOD_PERIOD_MAX 0x10000 |
MODULE_ALIAS |
( |
"platform:mxs-pwm" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Freescale MXS PWM Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
mxs_pwm_dt_ids |
|
|
) |
| |
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_platform_driver |
( |
mxs_pwm_driver |
| ) |
|