Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Shared macros and function prototypes for the HDQ1W/1-wire IP block
0004  *
0005  * Copyright (C) 2012 Texas Instruments, Inc.
0006  * Paul Walmsley
0007  */
0008 #ifndef ARCH_ARM_MACH_OMAP2_HDQ1W_H
0009 #define ARCH_ARM_MACH_OMAP2_HDQ1W_H
0010 
0011 #include "omap_hwmod.h"
0012 
0013 /*
0014  * XXX A future cleanup patch should modify
0015  * drivers/w1/masters/omap_hdq.c to use these macros
0016  */
0017 #define HDQ_CTRL_STATUS_OFFSET          0x0c
0018 #define HDQ_CTRL_STATUS_CLOCKENABLE_SHIFT   5
0019 
0020 
0021 extern int omap_hdq1w_reset(struct omap_hwmod *oh);
0022 
0023 #endif