cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

voltagedomains2xxx_data.c (550B)


      1// SPDX-License-Identifier: GPL-2.0-only
      2/*
      3 * OMAP3 voltage domain data
      4 *
      5 * Copyright (C) 2011 Texas Instruments, Inc.
      6 */
      7#include <linux/kernel.h>
      8#include <linux/init.h>
      9
     10#include "voltage.h"
     11
     12static struct voltagedomain omap2_voltdm_core = {
     13	.name = "core",
     14};
     15
     16static struct voltagedomain omap2_voltdm_wkup = {
     17	.name = "wakeup",
     18};
     19
     20static struct voltagedomain *voltagedomains_omap2[] __initdata = {
     21	&omap2_voltdm_core,
     22	&omap2_voltdm_wkup,
     23	NULL,
     24};
     25
     26void __init omap2xxx_voltagedomains_init(void)
     27{
     28	voltdm_init(voltagedomains_omap2);
     29}