prm44xx_54xx.h (1147B)
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 (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. 17 */ 18 19#ifndef __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H 20#define __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H 21 22#include "prcm-common.h" 23 24/* Function prototypes */ 25#ifndef __ASSEMBLER__ 26 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 35int __init omap44xx_prm_init(const struct omap_prcm_init_data *data); 36 37#endif 38 39#endif