#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <plat/omap_hwmod.h>
#include <plat/omap_device.h>
#include "hdq1w.h"
#include "common.h"
Go to the source code of this file.
#define MAX_MODULE_SOFTRESET_WAIT 10000 |
arch_initcall |
( |
omap_init_hdq |
| ) |
|
omap_hdq1w_reset - reset the OMAP HDQ1W module : struct omap_hwmod *
OCP soft reset the HDQ1W IP block. Section 20.6.1.4 "HDQ1W/1-Wire
Software Reset" of the OMAP34xx Technical Reference Manual Revision ZR (SWPU223R) does not include the rather important fact that, for the reset to succeed, the HDQ1W module's internal clock gate must be programmed to allow the clock to propagate to the rest of the module. In this sense, it's rather similar to the I2C custom reset function. Returns 0.
Definition at line 51 of file hdq1w.c.