From mboxrd@z Thu Jan 1 00:00:00 1970 From: aisheng.dong@nxp.com (A.s. Dong) Date: Thu, 1 Nov 2018 15:19:48 +0000 Subject: [PATCH V9 0/5] soc: imx: add scu power domain driver Message-ID: <1541085298-375-1-git-send-email-aisheng.dong@nxp.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This patch set adds the scu based power domain driver. It depends on SCU driver. Change Log: v8->v9: * add comment at the top of scu-pd.c file about how to convert to "single global domain". v7->v8: * update to #power-domain-cells 1 binding v6->v7: * keep "fsl,scu-pd" as fall back compatible string v5->v6: * only compatible string name updated from fsl,scu-pd to fsl,imx8qxp-scu-pd accordingly v4->v5: * some minor improvements according to Sascha's suggestion Note: did not use dev_* print functions due to we already have proper prefix by redefining pr_fmt. So it seems not quite neccesary to pass in a struct device * pointer for debug purpose only in each functions. v3->v4: * only scu headfile path update v2->v3: * structure and enums name update * api usage update Dong Aisheng (5): dt-bindings: imx: add scu resource id headfile firmware: imx: remove resource id enums dt-bindings: fsl: scu: update power domain binding firmware: imx: add pm svc headfile firmware: imx: add SCU power domain driver .../devicetree/bindings/arm/freescale/fsl,scu.txt | 37 +- drivers/firmware/imx/Kconfig | 6 + drivers/firmware/imx/Makefile | 3 +- drivers/firmware/imx/scu-pd.c | 339 +++++++++++++ include/dt-bindings/firmware/imx/rsrc.h | 559 +++++++++++++++++++++ include/linux/firmware/imx/sci.h | 1 + include/linux/firmware/imx/svc/pm.h | 85 ++++ include/linux/firmware/imx/types.h | 552 -------------------- 8 files changed, 1000 insertions(+), 582 deletions(-) create mode 100644 drivers/firmware/imx/scu-pd.c create mode 100644 include/dt-bindings/firmware/imx/rsrc.h create mode 100644 include/linux/firmware/imx/svc/pm.h -- 2.7.4