aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/soc
diff options
context:
space:
mode:
authorAndy Gross <agross@codeaurora.org>2014-04-24 12:31:20 -0400
committerKumar Gala <galak@codeaurora.org>2014-05-23 12:38:53 -0400
commit08f9234ad6b0b8bc51046346eabf5b92e631e62a (patch)
treeb6cb9e940e548f4091b3e3bb38279e2ced9f4a59 /include/dt-bindings/soc
parent3e944c7693b7eaf0dfc35765e41e8c571fa64707 (diff)
soc: qcom: Add device tree binding for GSBI
Add device tree binding support for the QCOM GSBI driver. Signed-off-by: Andy Gross <agross@codeaurora.org> Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'include/dt-bindings/soc')
-rw-r--r--include/dt-bindings/soc/qcom,gsbi.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/dt-bindings/soc/qcom,gsbi.h b/include/dt-bindings/soc/qcom,gsbi.h
new file mode 100644
index 000000000000..7ac4292333aa
--- /dev/null
+++ b/include/dt-bindings/soc/qcom,gsbi.h
@@ -0,0 +1,26 @@
1/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
2 *
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.
6 *
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.
11 */
12#ifndef __DT_BINDINGS_QCOM_GSBI_H
13#define __DT_BINDINGS_QCOM_GSBI_H
14
15#define GSBI_PROT_IDLE 0
16#define GSBI_PROT_I2C_UIM 1
17#define GSBI_PROT_I2C 2
18#define GSBI_PROT_SPI 3
19#define GSBI_PROT_UART_W_FC 4
20#define GSBI_PROT_UIM 5
21#define GSBI_PROT_I2C_UART 6
22
23#define GSBI_CRCI_QUP 0
24#define GSBI_CRCI_UART 1
25
26#endif