All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ming Qian <ming.qian@nxp.com>
To: mchehab@kernel.org, shawnguo@kernel.org, robh+dt@kernel.org,
	s.hauer@pengutronix.de
Cc: hverkuil-cisco@xs4all.nl, kernel@pengutronix.de,
	festevam@gmail.com, linux-imx@nxp.com, aisheng.dong@nxp.com,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v15.1 12/13] firmware: imx: scu-pd: imx8q: add vpu mu resources
Date: Wed, 26 Jan 2022 11:09:31 +0800	[thread overview]
Message-ID: <d9444b239c69714808e27d4c9df3bc9a741caed4.1643165765.git.ming.qian@nxp.com> (raw)
In-Reply-To: <cover.1643165764.git.ming.qian@nxp.com>

the vpu core depends on the mu resources.
if they're missed, the vpu can't work.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
---
 drivers/firmware/imx/scu-pd.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c
index ff6569c4a53b..af3d057e6421 100644
--- a/drivers/firmware/imx/scu-pd.c
+++ b/drivers/firmware/imx/scu-pd.c
@@ -155,6 +155,10 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = {
 	{ "vpu-pid", IMX_SC_R_VPU_PID0, 8, true, 0 },
 	{ "vpu-dec0", IMX_SC_R_VPU_DEC_0, 1, false, 0 },
 	{ "vpu-enc0", IMX_SC_R_VPU_ENC_0, 1, false, 0 },
+	{ "vpu-enc1", IMX_SC_R_VPU_ENC_1, 1, false, 0 },
+	{ "vpu-mu0", IMX_SC_R_VPU_MU_0, 1, false, 0 },
+	{ "vpu-mu1", IMX_SC_R_VPU_MU_1, 1, false, 0 },
+	{ "vpu-mu2", IMX_SC_R_VPU_MU_2, 1, false, 0 },
 
 	/* GPU SS */
 	{ "gpu0-pid", IMX_SC_R_GPU_0_PID0, 4, true, 0 },
-- 
2.33.0


WARNING: multiple messages have this Message-ID (diff)
From: Ming Qian <ming.qian@nxp.com>
To: mchehab@kernel.org, shawnguo@kernel.org, robh+dt@kernel.org,
	s.hauer@pengutronix.de
Cc: hverkuil-cisco@xs4all.nl, kernel@pengutronix.de,
	festevam@gmail.com, linux-imx@nxp.com, aisheng.dong@nxp.com,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v15.1 12/13] firmware: imx: scu-pd: imx8q: add vpu mu resources
Date: Wed, 26 Jan 2022 11:09:31 +0800	[thread overview]
Message-ID: <d9444b239c69714808e27d4c9df3bc9a741caed4.1643165765.git.ming.qian@nxp.com> (raw)
In-Reply-To: <cover.1643165764.git.ming.qian@nxp.com>

the vpu core depends on the mu resources.
if they're missed, the vpu can't work.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
---
 drivers/firmware/imx/scu-pd.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c
index ff6569c4a53b..af3d057e6421 100644
--- a/drivers/firmware/imx/scu-pd.c
+++ b/drivers/firmware/imx/scu-pd.c
@@ -155,6 +155,10 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = {
 	{ "vpu-pid", IMX_SC_R_VPU_PID0, 8, true, 0 },
 	{ "vpu-dec0", IMX_SC_R_VPU_DEC_0, 1, false, 0 },
 	{ "vpu-enc0", IMX_SC_R_VPU_ENC_0, 1, false, 0 },
+	{ "vpu-enc1", IMX_SC_R_VPU_ENC_1, 1, false, 0 },
+	{ "vpu-mu0", IMX_SC_R_VPU_MU_0, 1, false, 0 },
+	{ "vpu-mu1", IMX_SC_R_VPU_MU_1, 1, false, 0 },
+	{ "vpu-mu2", IMX_SC_R_VPU_MU_2, 1, false, 0 },
 
 	/* GPU SS */
 	{ "gpu0-pid", IMX_SC_R_GPU_0_PID0, 4, true, 0 },
-- 
2.33.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-01-26  3:11 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26  3:09 [PATCH v15.1 00/13] amphion video decoder/encoder driver Ming Qian
2022-01-26  3:09 ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 01/13] dt-bindings: media: amphion: add amphion video codec bindings Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 02/13] media: add nv12m_8l128 and nv12m_10be_8l128 video format Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 03/13] media: amphion: add amphion vpu device driver Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 04/13] media: amphion: add vpu core driver Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 05/13] media: amphion: implement vpu core communication based on mailbox Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 06/13] media: amphion: add vpu v4l2 m2m support Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 07/13] media: amphion: add v4l2 m2m vpu encoder stateful driver Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 08/13] media: amphion: add v4l2 m2m vpu decoder " Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 09/13] media: amphion: implement windsor encoder rpc interface Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 10/13] media: amphion: implement malone decoder " Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 11/13] ARM64: dts: freescale: imx8q: add imx vpu codec entries Ming Qian
2022-01-26  3:09   ` Ming Qian
2022-02-21  2:59   ` Shawn Guo
2022-02-21  2:59     ` Shawn Guo
2022-01-26  3:09 ` Ming Qian [this message]
2022-01-26  3:09   ` [PATCH v15.1 12/13] firmware: imx: scu-pd: imx8q: add vpu mu resources Ming Qian
2022-01-26  3:09 ` [PATCH v15.1 13/13] MAINTAINERS: add AMPHION VPU CODEC V4L2 driver entry Ming Qian
2022-01-26  3:09   ` Ming Qian

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=d9444b239c69714808e27d4c9df3bc9a741caed4.1643165765.git.ming.qian@nxp.com \
    --to=ming.qian@nxp.com \
    --cc=aisheng.dong@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.