Merge tag 'sound-6.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[linux-block.git] / arch / arm / mach-omap2 / prm44xx_54xx.h
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
9920eca8
SS
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 (paul@pwsan.com)
9 * Rajendra Nayak (rnayak@ti.com)
10 * Benoit Cousson (b-cousson@ti.com)
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 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.
9920eca8
SS
17 */
18
19#ifndef __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
20#define __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H
21
ab7b2ffc
TK
22#include "prcm-common.h"
23
9920eca8
SS
24/* Function prototypes */
25#ifndef __ASSEMBLER__
26
9920eca8
SS
27/*
28 * OMAP4/OMAP5 access functions for voltage controller (VC) and
29 * voltage proccessor (VP) in the PRM.
30 */
31extern u32 omap4_prm_vcvp_read(u8 offset);
32extern void omap4_prm_vcvp_write(u32 val, u8 offset);
33extern u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset);
34
ab7b2ffc 35int __init omap44xx_prm_init(const struct omap_prcm_init_data *data);
9920eca8
SS
36
37#endif
38
39#endif