hdq1w.h 534 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Shared macros and function prototypes for the HDQ1W/1-wire IP block
  4. *
  5. * Copyright (C) 2012 Texas Instruments, Inc.
  6. * Paul Walmsley
  7. */
  8. #ifndef ARCH_ARM_MACH_OMAP2_HDQ1W_H
  9. #define ARCH_ARM_MACH_OMAP2_HDQ1W_H
  10. #include "omap_hwmod.h"
  11. /*
  12. * XXX A future cleanup patch should modify
  13. * drivers/w1/masters/omap_hdq.c to use these macros
  14. */
  15. #define HDQ_CTRL_STATUS_OFFSET 0x0c
  16. #define HDQ_CTRL_STATUS_CLOCKENABLE_SHIFT 5
  17. extern int omap_hdq1w_reset(struct omap_hwmod *oh);
  18. #endif