#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/io.h>
#include "../w1.h"
#include "../w1_int.h"
#include "../w1_log.h"
Go to the source code of this file.
#define MXC_W1_COMMAND 0x06 |
#define MXC_W1_CONTROL 0x00 |
#define MXC_W1_INTERRUPT 0x0A |
#define MXC_W1_INTERRUPT_EN 0x0C |
#define MXC_W1_RESET 0x04 |
#define MXC_W1_RESET_TIMEOUT 500 |
#define MXC_W1_TIME_DIVIDER 0x02 |
MODULE_AUTHOR |
( |
"Freescale Semiconductors Inc" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Driver for One-Wire on MXC" |
| ) |
|
module_exit |
( |
mxc_w1_exit |
| ) |
|
module_init |
( |
mxc_w1_init |
| ) |
|