From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3 08/32] misc: imx8: add scfw api impementation
Date: Fri, 10 Aug 2018 16:19:17 +0200 [thread overview]
Message-ID: <20180810161917.20df2886@crub> (raw)
In-Reply-To: <20180806025047.25320-9-peng.fan@nxp.com>
On Mon, 6 Aug 2018 10:50:23 +0800
Peng Fan peng.fan at nxp.com wrote:
> Add clk/misc/pad/pm/rm scfw api implementaion for different
> drivers to invoke. The low level code is using misc_call
> to invoke imx8_scu driver.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
> arch/arm/include/asm/arch-imx8/sci/sci.h | 31 +++++++++-
> drivers/misc/imx8/Makefile | 2 +-
> drivers/misc/imx8/clk.c | 93 ++++++++++++++++++++++++++++++
> drivers/misc/imx8/misc.c | 88 +++++++++++++++++++++++++++++
> drivers/misc/imx8/pad.c | 39 +++++++++++++
> drivers/misc/imx8/pm.c | 38 +++++++++++++
> drivers/misc/imx8/rm.c | 97 ++++++++++++++++++++++++++++++++
> 7 files changed, 386 insertions(+), 2 deletions(-)
> create mode 100644 drivers/misc/imx8/clk.c
> create mode 100644 drivers/misc/imx8/misc.c
> create mode 100644 drivers/misc/imx8/pad.c
> create mode 100644 drivers/misc/imx8/pm.c
> create mode 100644 drivers/misc/imx8/rm.c
What about adding a single file (scu-api.c ?) with all API functions?
> diff --git a/arch/arm/include/asm/arch-imx8/sci/sci.h b/arch/arm/include/asm/arch-imx8/sci/sci.h
> index b7280aee05..4704ba9699 100644
> --- a/arch/arm/include/asm/arch-imx8/sci/sci.h
> +++ b/arch/arm/include/asm/arch-imx8/sci/sci.h
> @@ -46,7 +46,8 @@ static inline int sc_err_to_linux(sc_err_t err)
> ret = -EIO;
> break;
> default:
> - panic("Invalid sc_err_t value\n");
> + ret = 0;
> + break;
> }
Please move this to patch 4/32 that adds sci.h file.
--
Anatolij
next prev parent reply other threads:[~2018-08-10 14:19 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-06 2:50 [U-Boot] [PATCH V3 00/32] i.MX: Add i.MX8QXP support Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 01/32] dt-bindings: pinctrl: add i.MX8QXP pads definition Peng Fan
2018-08-09 8:25 ` Anatolij Gustschin
2018-08-06 2:50 ` [U-Boot] [PATCH V3 02/32] dt-bindings: clock: dt-bindings: pinctrl: add i.MX8QXP clocks definition Peng Fan
2018-08-09 8:29 ` Anatolij Gustschin
2018-08-06 2:50 ` [U-Boot] [PATCH V3 03/32] dt-bindings: soc: add i.MX8QXP pm and rsrc definition Peng Fan
2018-08-09 8:31 ` Anatolij Gustschin
2018-08-06 2:50 ` [U-Boot] [PATCH V3 04/32] imx8: add scfw macro definition Peng Fan
2018-08-09 8:51 ` Anatolij Gustschin
2018-08-06 2:50 ` [U-Boot] [PATCH V3 05/32] imx: add Kconfig entry for i.MX8QXP Peng Fan
2018-08-09 9:45 ` Anatolij Gustschin
2018-08-06 2:50 ` [U-Boot] [PATCH V3 06/32] arm: build mach-imx for i.MX8 Peng Fan
2018-08-09 9:51 ` Anatolij Gustschin
2018-08-06 2:50 ` [U-Boot] [PATCH V3 07/32] misc: add i.MX8 misc driver Peng Fan
2018-08-09 16:18 ` Anatolij Gustschin
2018-08-10 2:30 ` Peng Fan
2018-08-10 14:15 ` Anatolij Gustschin
2018-08-06 2:50 ` [U-Boot] [PATCH V3 08/32] misc: imx8: add scfw api impementation Peng Fan
2018-08-10 14:19 ` Anatolij Gustschin [this message]
2018-08-06 2:50 ` [U-Boot] [PATCH V3 09/32] arm: global_data: add scu_dev for i.MX8 Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 10/32] imx: boot_mode: Add FLEXSPI boot entry Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 11/32] imx8: add imx-regs header file Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 12/32] imx8: pins: include i.MX8QXP pin header when CONFIG_IMX8QXP defined Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 13/32] imx: add i.MX8 cpu type Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 14/32] armv8: add cpu core helper functions Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 15/32] imx8: add basic cpu support Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 16/32] imx8: add boot device detection Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 17/32] imx8: implement mmc_get_env_dev Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 18/32] imx8: add mmu and dram related functiions Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 19/32] imx8: add arch_cpu_init arch_cpu_init_dm Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 20/32] imx8: add iomux configuration api Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 21/32] imx8: add dummy clock Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 22/32] gpio: mxc_gpio: add support for i.MX8 Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 23/32] pinctrl: Add pinctrl driver " Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 24/32] power: Add power domain " Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 25/32] clk: imx: add clk driver for i.MX8QXP Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 26/32] serial_lpuart: Update lpuart driver to support i.MX8 Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 27/32] serial: lpuart: Enable RX and TX FIFO Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 28/32] serial: lpuart: support uclass clk api Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 29/32] fsl_esdhc: Update usdhc driver to support i.MX8 Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 30/32] mmc: fsl_esdhc: add uclass clk support Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 31/32] arm: dts: introduce dtsi for i.MX8QXP Peng Fan
2018-08-06 2:50 ` [U-Boot] [PATCH V3 32/32] imx: add i.MX8QXP MEK board support Peng Fan
2018-08-22 17:23 ` Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180810161917.20df2886@crub \
--to=agust@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox