summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/oxsemi,ox820.h
blob: f661ecc8d7603b56ed6db9a3af8ef8589369ceb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef DT_CLOCK_OXSEMI_OX820_H
#define DT_CLOCK_OXSEMI_OX820_H

/* PLLs */
#define CLK_820_PLLA		0
#define CLK_820_PLLB		1

/* Gate Clocks */
#define CLK_820_LEON		2
#define CLK_820_DMA_SGDMA	3
#define CLK_820_CIPHER		4
#define CLK_820_SD		5
#define CLK_820_SATA		6
#define CLK_820_AUDIO		7
#define CLK_820_USBMPH		8
#define CLK_820_ETHA		9
#define CLK_820_PCIEA		10
#define CLK_820_NAND		11
#define CLK_820_PCIEB		12
#define CLK_820_ETHB		13
#define CLK_820_REF600		14
#define CLK_820_USBDEV		15

#endif /* DT_CLOCK_OXSEMI_OX820_H */
This contains a trivial typo fix and an extension to the core code for dynamically allocating states in the prepare stage. The extension is necessary right now because we need a proper way to unbreak LTTNG, which iscurrently non functional due to the removal of the notifiers. Surely it's out of tree, but it's widely used by distros. The simple solution would have been to reserve a state for LTTNG, but I'm not fond about unused crap in the kernel and the dynamic range, which we admittedly should have done right away, allows us to remove quite some of the hardcoded states, i.e. those which have no ordering requirements. So doing the right thing now is better than having an smaller intermediate solution which needs to be reworked anyway" * 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: cpu/hotplug: Provide dynamic range for prepare stage perf/x86/amd/ibs: Fix typo after cleanup state names in cpu/hotplug
Diffstat (limited to 'tools/vm/.gitignore')