summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/exynos5440.h
blob: 842cdc0adff1c8a06137ba37c8a554726da67c51 (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
41
42
43
44
/*
 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
 * Author: Andrzej Hajda <a.hajda@samsung.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * Device Tree binding constants for Exynos5440 clock controller.
*/

#ifndef _DT_BINDINGS_CLOCK_EXYNOS_5440_H
#define _DT_BINDINGS_CLOCK_EXYNOS_5440_H

#define CLK_XTAL		1
#define CLK_ARM_CLK		2
#define CLK_CPLLA		3
#define CLK_CPLLB		4
#define CLK_SPI_BAUD		16
#define CLK_PB0_250		17
#define CLK_PR0_250		18
#define CLK_PR1_250		19
#define CLK_B_250		20
#define CLK_B_125		21
#define CLK_B_200		22
#define CLK_SATA		23
#define CLK_USB			24
#define CLK_GMAC0		25
#define CLK_CS250		26
#define CLK_PB0_250_O		27
#define CLK_PR0_250_O		28
#define CLK_PR1_250_O		29
#define CLK_B_250_O		30
#define CLK_B_125_O		31
#define CLK_B_200_O		32
#define CLK_SATA_O		33
#define CLK_USB_O		34
#define CLK_GMAC0_O		35
#define CLK_CS250_O		36

/* must be greater than maximal clock id */
#define CLK_NR_CLKS		37

#endif /* _DT_BINDINGS_CLOCK_EXYNOS_5440_H */
ilarly `pch->cyclic' is written by `pl330_alloc_chan_resources' under `pl330->lock' but read by `pl330_tx_submit' under `pch->lock'. Second, I have removed locking from `pl330_request_channel' and `pl330_release_channel' functions. Function `pl330_request_channel' is only called from `pl330_alloc_chan_resources', so the lock is already held. Function `pl330_release_channel' is called from `pl330_free_chan_resources', which already holds the lock, and from `pl330_del'. Function `pl330_del' is called in an error path of `pl330_probe' and at the end of `pl330_remove', but I assume that there cannot be concurrent accesses to the protected data at those points. Signed-off-by: Iago Abal <mail@iagoabal.eu> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/drm/drm_modes.h')