From 1957106371b150419ad4c34bd92aa036f6373461 Mon Sep 17 00:00:00 2001 From: Vignesh Kulothungan Date: Mon, 18 Nov 2019 17:50:23 -0800 Subject: [PATCH] dt-bindings: sound: Add GPR device tree bindings Add definitions for GPR domain id's and ADSP service id's in device tree bindings. Change-Id: I1d7d81893643287c5720a339b1eedbb6be92b4c4 Signed-off-by: Vignesh Kulothungan --- include/dt-bindings/sound/qcom,gpr.h | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/dt-bindings/sound/qcom,gpr.h diff --git a/include/dt-bindings/sound/qcom,gpr.h b/include/dt-bindings/sound/qcom,gpr.h new file mode 100644 index 000000000000..d448692b69ab --- /dev/null +++ b/include/dt-bindings/sound/qcom,gpr.h @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2019, The Linux Foundation. All rights reserved. */ +#ifndef __DT_BINDINGS_QCOM_GPR_H +#define __DT_BINDINGS_QCOM_GPR_H + +/* Domain IDs */ +#define GPR_DOMAIN_SIM 0x1 +#define GPR_DOMAIN_PC 0x2 +#define GPR_DOMAIN_MODEM 0x3 +#define GPR_DOMAIN_ADSP 0x4 +#define GPR_DOMAIN_APPS 0x5 +#define GPR_DOMAIN_MAX 0x6 + +/* ADSP service IDs */ +#define GPR_SVC_ADSP_CORE 0x3 +#define GPR_SVC_AFE 0x4 +#define GPR_SVC_VSM 0x5 +#define GPR_SVC_VPM 0x6 +#define GPR_SVC_ASM 0x7 +#define GPR_SVC_ADM 0x8 +#define GPR_SVC_ADSP_MVM 0x09 +#define GPR_SVC_ADSP_CVS 0x0A +#define GPR_SVC_ADSP_CVP 0x0B +#define GPR_SVC_USM 0x0C +#define GPR_SVC_LSM 0x0D +#define GPR_SVC_VIDC 0x16 +#define GPR_SVC_MAX 0x17 + +#endif /* __DT_BINDINGS_QCOM_GPR_H */ +