bus: vexpress-config: Merge vexpress-syscfg into vexpress-config
[linux-2.6-microblaze.git] / include / linux / vexpress.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  *
4  * Copyright (C) 2012 ARM Limited
5  */
6
7 #ifndef _LINUX_VEXPRESS_H
8 #define _LINUX_VEXPRESS_H
9
10 #include <linux/device.h>
11 #include <linux/regmap.h>
12
13 #define VEXPRESS_SITE_MB                0
14 #define VEXPRESS_SITE_DB1               1
15 #define VEXPRESS_SITE_DB2               2
16 #define VEXPRESS_SITE_MASTER            0xf
17
18 /* Config infrastructure */
19
20 void vexpress_config_set_master(u32 site);
21
22 /* Config regmap API */
23
24 struct regmap *devm_regmap_init_vexpress_config(struct device *dev);
25
26 #endif