Commit 56c660f5 authored by Madhusudhan Chikkature Rajashekar's avatar Madhusudhan Chikkature Rajashekar Committed by Tony Lindgren

HDQ/1-wire driver for OMAP2430/3430

This patch adds OMAP2430/3430 HDQ/1-Wire driver support.

Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 30c16c9f
...@@ -42,5 +42,13 @@ config W1_MASTER_DS1WM ...@@ -42,5 +42,13 @@ config W1_MASTER_DS1WM
in HP iPAQ devices like h5xxx, h2200, and ASIC3-based like in HP iPAQ devices like h5xxx, h2200, and ASIC3-based like
hx4700. hx4700.
config HDQ_MASTER_OMAP
tristate "OMAP HDQ driver"
depends on ARCH_OMAP2430 || ARCH_OMAP34XX
help
Say Y here if you want support for the 1-wire or HDQ Interface
on an OMAP processor.
endmenu endmenu
...@@ -6,3 +6,4 @@ obj-$(CONFIG_W1_MASTER_MATROX) += matrox_w1.o ...@@ -6,3 +6,4 @@ obj-$(CONFIG_W1_MASTER_MATROX) += matrox_w1.o
obj-$(CONFIG_W1_MASTER_DS2490) += ds2490.o obj-$(CONFIG_W1_MASTER_DS2490) += ds2490.o
obj-$(CONFIG_W1_MASTER_DS2482) += ds2482.o obj-$(CONFIG_W1_MASTER_DS2482) += ds2482.o
obj-$(CONFIG_W1_MASTER_DS1WM) += ds1wm.o obj-$(CONFIG_W1_MASTER_DS1WM) += ds1wm.o
obj-$(CONFIG_HDQ_MASTER_OMAP) += omap_hdq.o
This diff is collapsed.
/*
* include/asm-arm/arch-omap/hdq.h
*
* Copyright (C) 2007 Texas Instruments, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*
*/
#ifndef __ASM_OMAP2_HDQ_H__
#define __ASM_OMAP2_HDQ_H__
/* Note the following APIs have to be called in a process context */
int omap_hdq_get(void); /* request the HDQ block */
int omap_hdq_put(void); /* release the HDQ block */
int omap_hdq_break(void); /* reset the slave by sending it a break pulse */
int omap_hdq_reset(void); /* reset the HDQ block */
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment