1 /* Copyright (c) 2015, The Linux Foundation. All rights reserved.
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 #ifndef __DT_BINDINGS_QCOM_IDS_H
13 #define __DT_BINDINGS_QCOM_IDS_H
16 #define QCOM_ID_MSM8916 206
17 #define QCOM_ID_APQ8016 247
18 #define QCOM_ID_MSM8216 248
19 #define QCOM_ID_MSM8116 249
20 #define QCOM_ID_MSM8616 250
23 #define QCOM_BRD_ID(a, major, minor) \
24 (((major & 0xff) << 16) | ((minor & 0xff) << 8) | QCOM_BRD_ID_##a)
26 #define QCOM_BRD_ID_MTP 8
27 #define QCOM_BRD_ID_DRAGONBRD 10
28 #define QCOM_BRD_ID_SBC 24
30 #define QCOM_BRD_SUBTYPE_DEFAULT 0
31 #define QCOM_BRD_SUBTYPE_MTP8916_SMB1360 1