cmdq:
- clean ups of unused code and debuggability
- add cmdq_instruction to make the function call interface more readable
- add functions for polling and providing info for the user of cmdq

scpsys:
- add bindings for MT6765

* tag 'v5.5-next-soc' of https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux:
  dt-bindings: mediatek: add MT6765 power dt-bindings
  soc: mediatek: cmdq: delete not used define
  soc: mediatek: cmdq: add cmdq_dev_get_client_reg function
  soc: mediatek: cmdq: add polling function
  soc: mediatek: cmdq: define the instruction struct
  soc: mediatek: cmdq: remove OR opertaion from err return

Link: https://lore.kernel.org/r/9b365e76-e346-f813-d750-d7cfd0d16e4e@gmail.com
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson
2020-01-20 11:26:09 -08:00
5 changed files with 205 additions and 28 deletions

View File

@@ -0,0 +1,14 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _DT_BINDINGS_POWER_MT6765_POWER_H
#define _DT_BINDINGS_POWER_MT6765_POWER_H
#define MT6765_POWER_DOMAIN_CONN 0
#define MT6765_POWER_DOMAIN_MM 1
#define MT6765_POWER_DOMAIN_MFG_ASYNC 2
#define MT6765_POWER_DOMAIN_ISP 3
#define MT6765_POWER_DOMAIN_MFG 4
#define MT6765_POWER_DOMAIN_MFG_CORE0 5
#define MT6765_POWER_DOMAIN_CAM 6
#define MT6765_POWER_DOMAIN_VCODEC 7
#endif /* _DT_BINDINGS_POWER_MT6765_POWER_H */