Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / mach-omap2 / prm44xx_54xx.h
blob0915a109260d11e32ac130121976f0acf3598595
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * OMAP44xx and 54xx PRM common functions
5 * Copyright (C) 2009-2013 Texas Instruments, Inc.
6 * Copyright (C) 2009-2010 Nokia Corporation
8 * Paul Walmsley (paul@pwsan.com)
9 * Rajendra Nayak (rnayak@ti.com)
10 * Benoit Cousson (b-cousson@ti.com)
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 linux-omap@vger.kernel.org mailing list and the
15 * authors above to ensure that the autogeneration scripts are kept
16 * up-to-date with the file contents.
19 #ifndef __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
20 #define __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
22 #include "prcm-common.h"
24 /* Function prototypes */
25 #ifndef __ASSEMBLER__
28 * OMAP4/OMAP5 access functions for voltage controller (VC) and
29 * voltage proccessor (VP) in the PRM.
31 extern u32 omap4_prm_vcvp_read(u8 offset);
32 extern void omap4_prm_vcvp_write(u32 val, u8 offset);
33 extern u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset);
35 int __init omap44xx_prm_init(const struct omap_prcm_init_data *data);
37 #endif
39 #endif