summaryrefslogtreecommitdiff
path: root/include/dt-bindings/power/mt2701-power.h
blob: 64cc826d642c20c4600e4a87c5c4dcbebf199813 (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
/*
 * Copyright (C) 2015 MediaTek Inc.
 *
 * 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.
 *
 * This program is distributed in the hope that 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.
 */

#ifndef _DT_BINDINGS_POWER_MT2701_POWER_H
#define _DT_BINDINGS_POWER_MT2701_POWER_H

#define MT2701_POWER_DOMAIN_CONN	0
#define MT2701_POWER_DOMAIN_DISP	1
#define MT2701_POWER_DOMAIN_MFG		2
#define MT2701_POWER_DOMAIN_VDEC	3
#define MT2701_POWER_DOMAIN_ISP		4
#define MT2701_POWER_DOMAIN_BDP		5
#define MT2701_POWER_DOMAIN_ETH		6
#define MT2701_POWER_DOMAIN_HIF		7
#define MT2701_POWER_DOMAIN_IFR_MSC	8

#endif /* _DT_BINDINGS_POWER_MT2701_POWER_H */
nelle warnings: drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link() error: we previously assumed 'xcv' could be null (see line 118) [smatch] drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119:16-20: ERROR: xcv is NULL but dereferenced. [coccinelle] Fixes: 6465859aba1e66a5 ("net: thunderx: Add RGMII interface type support") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/misc/yurex.c')