xtensa: fix high memory/reserved memory collision
[cris-mirror.git] / include / linux / platform_data / x86 / clk-pmc-atom.h
blob3ab892208343c2d22d71a630f1097d6941534518
1 /*
2 * Intel Atom platform clocks for BayTrail and CherryTrail SoC.
4 * Copyright (C) 2016, Intel Corporation
5 * Author: Irina Tirdea <irina.tirdea@intel.com>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU General Public License,
9 * version 2, as published by the Free Software Foundation.
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
17 #ifndef __PLATFORM_DATA_X86_CLK_PMC_ATOM_H
18 #define __PLATFORM_DATA_X86_CLK_PMC_ATOM_H
20 /**
21 * struct pmc_clk - PMC platform clock configuration
23 * @name: identified, typically pmc_plt_clk_<x>, x=[0..5]
24 * @freq: in Hz, 19.2MHz and 25MHz (Baytrail only) supported
25 * @parent_name: one of 'xtal' or 'osc'
27 struct pmc_clk {
28 const char *name;
29 unsigned long freq;
30 const char *parent_name;
33 /**
34 * struct pmc_clk_data - common PMC clock configuration
36 * @base: PMC clock register base offset
37 * @clks: pointer to set of registered clocks, typically 0..5
39 struct pmc_clk_data {
40 void __iomem *base;
41 const struct pmc_clk *clks;
44 #endif /* __PLATFORM_DATA_X86_CLK_PMC_ATOM_H */