~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-omap2/opp4xxx_data.c

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only
  2 /*
  3  * OMAP4 OPP table definitions.
  4  *
  5  * Copyright (C) 2010-2012 Texas Instruments Incorporated - https://www.ti.com/
  6  *      Nishanth Menon
  7  *      Kevin Hilman
  8  *      Thara Gopinath
  9  * Copyright (C) 2010-2011 Nokia Corporation.
 10  *      Eduardo Valentin
 11  *      Paul Walmsley
 12  */
 13 #include <linux/module.h>
 14 
 15 #include "soc.h"
 16 #include "control.h"
 17 #include "omap_opp_data.h"
 18 #include "pm.h"
 19 
 20 /*
 21  * Structures containing OMAP4430 voltage supported and various
 22  * voltage dependent data for each VDD.
 23  */
 24 
 25 #define OMAP4430_VDD_MPU_OPP50_UV               1025000
 26 #define OMAP4430_VDD_MPU_OPP100_UV              1200000
 27 #define OMAP4430_VDD_MPU_OPPTURBO_UV            1325000
 28 #define OMAP4430_VDD_MPU_OPPNITRO_UV            1388000
 29 #define OMAP4430_VDD_MPU_OPPNITROSB_UV          1398000
 30 
 31 struct omap_volt_data omap443x_vdd_mpu_volt_data[] = {
 32         VOLT_DATA_DEFINE(OMAP4430_VDD_MPU_OPP50_UV, OMAP44XX_CONTROL_FUSE_MPU_OPP50, 0xf4, 0x0c),
 33         VOLT_DATA_DEFINE(OMAP4430_VDD_MPU_OPP100_UV, OMAP44XX_CONTROL_FUSE_MPU_OPP100, 0xf9, 0x16),
 34         VOLT_DATA_DEFINE(OMAP4430_VDD_MPU_OPPTURBO_UV, OMAP44XX_CONTROL_FUSE_MPU_OPPTURBO, 0xfa, 0x23),
 35         VOLT_DATA_DEFINE(OMAP4430_VDD_MPU_OPPNITRO_UV, OMAP44XX_CONTROL_FUSE_MPU_OPPNITRO, 0xfa, 0x27),
 36         VOLT_DATA_DEFINE(OMAP4430_VDD_MPU_OPPNITROSB_UV, OMAP44XX_CONTROL_FUSE_MPU_OPPNITROSB, 0xfa, 0x27),
 37         VOLT_DATA_DEFINE(0, 0, 0, 0),
 38 };
 39 
 40 #define OMAP4430_VDD_IVA_OPP50_UV                950000
 41 #define OMAP4430_VDD_IVA_OPP100_UV              1114000
 42 #define OMAP4430_VDD_IVA_OPPTURBO_UV            1291000
 43 
 44 struct omap_volt_data omap443x_vdd_iva_volt_data[] = {
 45         VOLT_DATA_DEFINE(OMAP4430_VDD_IVA_OPP50_UV, OMAP44XX_CONTROL_FUSE_IVA_OPP50, 0xf4, 0x0c),
 46         VOLT_DATA_DEFINE(OMAP4430_VDD_IVA_OPP100_UV, OMAP44XX_CONTROL_FUSE_IVA_OPP100, 0xf9, 0x16),
 47         VOLT_DATA_DEFINE(OMAP4430_VDD_IVA_OPPTURBO_UV, OMAP44XX_CONTROL_FUSE_IVA_OPPTURBO, 0xfa, 0x23),
 48         VOLT_DATA_DEFINE(0, 0, 0, 0),
 49 };
 50 
 51 #define OMAP4430_VDD_CORE_OPP50_UV               962000
 52 #define OMAP4430_VDD_CORE_OPP100_UV             1127000
 53 
 54 struct omap_volt_data omap443x_vdd_core_volt_data[] = {
 55         VOLT_DATA_DEFINE(OMAP4430_VDD_CORE_OPP50_UV, OMAP44XX_CONTROL_FUSE_CORE_OPP50, 0xf4, 0x0c),
 56         VOLT_DATA_DEFINE(OMAP4430_VDD_CORE_OPP100_UV, OMAP44XX_CONTROL_FUSE_CORE_OPP100, 0xf9, 0x16),
 57         VOLT_DATA_DEFINE(0, 0, 0, 0),
 58 };
 59 
 60 #define OMAP4460_VDD_MPU_OPP50_UV               1025000
 61 #define OMAP4460_VDD_MPU_OPP100_UV              1200000
 62 #define OMAP4460_VDD_MPU_OPPTURBO_UV            1313000
 63 #define OMAP4460_VDD_MPU_OPPNITRO_UV            1375000
 64 
 65 struct omap_volt_data omap446x_vdd_mpu_volt_data[] = {
 66         VOLT_DATA_DEFINE(OMAP4460_VDD_MPU_OPP50_UV, OMAP44XX_CONTROL_FUSE_MPU_OPP50, 0xf4, 0x0c),
 67         VOLT_DATA_DEFINE(OMAP4460_VDD_MPU_OPP100_UV, OMAP44XX_CONTROL_FUSE_MPU_OPP100, 0xf9, 0x16),
 68         VOLT_DATA_DEFINE(OMAP4460_VDD_MPU_OPPTURBO_UV, OMAP44XX_CONTROL_FUSE_MPU_OPPTURBO, 0xfa, 0x23),
 69         VOLT_DATA_DEFINE(OMAP4460_VDD_MPU_OPPNITRO_UV, OMAP44XX_CONTROL_FUSE_MPU_OPPNITRO, 0xfa, 0x27),
 70         VOLT_DATA_DEFINE(0, 0, 0, 0),
 71 };
 72 
 73 #define OMAP4460_VDD_IVA_OPP50_UV               1025000
 74 #define OMAP4460_VDD_IVA_OPP100_UV              1200000
 75 #define OMAP4460_VDD_IVA_OPPTURBO_UV            1313000
 76 #define OMAP4460_VDD_IVA_OPPNITRO_UV            1375000
 77 
 78 struct omap_volt_data omap446x_vdd_iva_volt_data[] = {
 79         VOLT_DATA_DEFINE(OMAP4460_VDD_IVA_OPP50_UV, OMAP44XX_CONTROL_FUSE_IVA_OPP50, 0xf4, 0x0c),
 80         VOLT_DATA_DEFINE(OMAP4460_VDD_IVA_OPP100_UV, OMAP44XX_CONTROL_FUSE_IVA_OPP100, 0xf9, 0x16),
 81         VOLT_DATA_DEFINE(OMAP4460_VDD_IVA_OPPTURBO_UV, OMAP44XX_CONTROL_FUSE_IVA_OPPTURBO, 0xfa, 0x23),
 82         VOLT_DATA_DEFINE(OMAP4460_VDD_IVA_OPPNITRO_UV, OMAP44XX_CONTROL_FUSE_IVA_OPPNITRO, 0xfa, 0x23),
 83         VOLT_DATA_DEFINE(0, 0, 0, 0),
 84 };
 85 
 86 #define OMAP4460_VDD_CORE_OPP50_UV              1025000
 87 #define OMAP4460_VDD_CORE_OPP100_UV             1200000
 88 #define OMAP4460_VDD_CORE_OPP100_OV_UV          1250000
 89 
 90 struct omap_volt_data omap446x_vdd_core_volt_data[] = {
 91         VOLT_DATA_DEFINE(OMAP4460_VDD_CORE_OPP50_UV, OMAP44XX_CONTROL_FUSE_CORE_OPP50, 0xf4, 0x0c),
 92         VOLT_DATA_DEFINE(OMAP4460_VDD_CORE_OPP100_UV, OMAP44XX_CONTROL_FUSE_CORE_OPP100, 0xf9, 0x16),
 93         VOLT_DATA_DEFINE(OMAP4460_VDD_CORE_OPP100_OV_UV, OMAP44XX_CONTROL_FUSE_CORE_OPP100OV, 0xf9, 0x16),
 94         VOLT_DATA_DEFINE(0, 0, 0, 0),
 95 };
 96 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php