mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
/* SPDX-License-Identifier: GPL-2.0-only */ |
|
/* |
|
* OMAP44xx and 54xx PRM common functions |
|
* |
|
* Copyright (C) 2009-2013 Texas Instruments, Inc. |
|
* Copyright (C) 2009-2010 Nokia Corporation |
|
* |
|
* Paul Walmsley ([email protected]) |
|
* Rajendra Nayak ([email protected]) |
|
* Benoit Cousson ([email protected]) |
|
* |
|
* This file is automatically generated from the OMAP hardware databases. |
|
* We respectfully ask that any modifications to this file be coordinated |
|
* with the public [email protected] mailing list and the |
|
* authors above to ensure that the autogeneration scripts are kept |
|
* up-to-date with the file contents. |
|
*/ |
|
|
|
#ifndef __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H |
|
#define __ARCH_ARM_MACH_OMAP2_PRM44XX_54XX_H |
|
|
|
#include "prcm-common.h" |
|
|
|
/* Function prototypes */ |
|
#ifndef __ASSEMBLER__ |
|
|
|
/* |
|
* OMAP4/OMAP5 access functions for voltage controller (VC) and |
|
* voltage proccessor (VP) in the PRM. |
|
*/ |
|
extern u32 omap4_prm_vcvp_read(u8 offset); |
|
extern void omap4_prm_vcvp_write(u32 val, u8 offset); |
|
extern u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset); |
|
|
|
int __init omap44xx_prm_init(const struct omap_prcm_init_data *data); |
|
|
|
#endif |
|
|
|
#endif
|
|
|