prm44xx_54xx.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * OMAP44xx and 54xx PRM common functions
  4. *
  5. * Copyright (C) 2009-2013 Texas Instruments, Inc.
  6. * Copyright (C) 2009-2010 Nokia Corporation
  7. *
  8. * Paul Walmsley ([email protected])
  9. * Rajendra Nayak ([email protected])
  10. * Benoit Cousson ([email protected])
  11. *
  12. * This file is automatically generated from the OMAP hardware databases.
  13. * We respectfully ask that any modifications to this file be coordinated
  14. * with the public [email protected] mailing list and the
  15. * authors above to ensure that the autogeneration scripts are kept
  16. * up-to-date with the file contents.
  17. */
  18. #ifndef __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
  19. #define __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
  20. #include "prcm-common.h"
  21. /* Function prototypes */
  22. #ifndef __ASSEMBLER__
  23. /*
  24. * OMAP4/OMAP5 access functions for voltage controller (VC) and
  25. * voltage proccessor (VP) in the PRM.
  26. */
  27. extern u32 omap4_prm_vcvp_read(u8 offset);
  28. extern void omap4_prm_vcvp_write(u32 val, u8 offset);
  29. extern u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset);
  30. int __init omap44xx_prm_init(const struct omap_prcm_init_data *data);
  31. #endif
  32. #endif