mbox series

[v4,0/4] imx8mp: Add media block control

Message ID 20220328072009.1441-1-laurent.pinchart@ideasonboard.com (mailing list archive)
Headers show
Series imx8mp: Add media block control | expand

Message

Laurent Pinchart March 28, 2022, 7:20 a.m. UTC
Hello,

This patch series adds support for the MEDIA_BLK_CTRL of the i.MX8MP to
the imx8m-blk-ctrl driver, and integrates it in the i.MX8MP device tree.

The patches depend on v2 of the series "soc: imx: gpcv2: add PGC
control register indirection" from Lucas Stach [1]. For testing
convenience, a branch that includes the dependency, based on Shawn's
latest for-next branch, is available at [2].

The series starts with DT bindings (1/4) and driver support (2/4),
followed by addition of the MEDIAMIX power domains to the GPC DT node
(3/4) and finally the new DT node for the MEDIA_BLK_CTRL.

Changes since v3 are listed in changelogs in the individual patches.

The patches have been tested with the ISI and ISP on the i.MX8MP. The
ISI driver is still under development [3], and will be posted in the not
too distant future. ISP support is in a dirty prototype state and will
require more work.

[1] https://lore.kernel.org/all/20220207192547.1997549-1-l.stach@pengutronix.de/
[2] https://git.linuxtv.org/pinchartl/media.git/log/?h=nxp/next/powerdomains
[3] https://gitlab.com/ideasonboard/nxp/linux/-/tree/pinchartl/v5.17/isi

Laurent Pinchart (1):
  arm64: dts: imx8mp: Add MEDIAMIX power domains

Paul Elder (3):
  dt-bindings: soc: Add i.MX8MP media block control DT bindings
  soc: imx: imx8m-blk-ctrl: Add i.MX8MP media blk-ctrl
  arm64: dts: imx8mp: Add MEDIA_BLK_CTRL

 .../soc/imx/fsl,imx8mp-media-blk-ctrl.yaml    | 104 +++++++++++++++
 arch/arm64/boot/dts/freescale/imx8mp.dtsi     |  61 +++++++++
 drivers/soc/imx/imx8m-blk-ctrl.c              | 123 +++++++++++++++++-
 include/dt-bindings/power/imx8mp-power.h      |  10 ++
 4 files changed, 296 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml

Comments

Peng Fan March 31, 2022, 8:12 a.m. UTC | #1
> Subject: [PATCH v4 0/4] imx8mp: Add media block control
> 
> Hello,
> 
> This patch series adds support for the MEDIA_BLK_CTRL of the i.MX8MP to
> the imx8m-blk-ctrl driver, and integrates it in the i.MX8MP device tree.
> 
> The patches depend on v2 of the series "soc: imx: gpcv2: add PGC control
> register indirection" from Lucas Stach [1]. For testing convenience, a branch
> that includes the dependency, based on Shawn's latest for-next branch, is
> available at [2].
> 
> The series starts with DT bindings (1/4) and driver support (2/4), followed by
> addition of the MEDIAMIX power domains to the GPC DT node
> (3/4) and finally the new DT node for the MEDIA_BLK_CTRL.
> 
> Changes since v3 are listed in changelogs in the individual patches.
> 
> The patches have been tested with the ISI and ISP on the i.MX8MP. The ISI
> driver is still under development [3], and will be posted in the not too distant
> future. ISP support is in a dirty prototype state and will require more work.


Tested-by: Peng Fan <peng.fan@nxp.com>

> 
> [1]
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.ke
> rnel.org%2Fall%2F20220207192547.1997549-1-l.stach%40pengutronix.de%2
> F&amp;data=04%7C01%7Cpeng.fan%40nxp.com%7C7b6ea3d39e2240d9e92
> c08da108b6959%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63
> 7840488192591173%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMD
> AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata
> =tf0Ct7LhL%2BOT6djWwNlD1%2Fe57mvEmc0asP9oAibX1cs%3D&amp;reser
> ved=0
> [2]
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.linu
> xtv.org%2Fpinchartl%2Fmedia.git%2Flog%2F%3Fh%3Dnxp%2Fnext%2Fpower
> domains&amp;data=04%7C01%7Cpeng.fan%40nxp.com%7C7b6ea3d39e224
> 0d9e92c08da108b6959%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C
> 0%7C637840488192591173%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w
> LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&a
> mp;sdata=%2FfC5OymggcxB6frrxYpEAtpE4F8n2yx0Ita3JevhBuw%3D&amp;re
> served=0
> [3]
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.
> com%2Fideasonboard%2Fnxp%2Flinux%2F-%2Ftree%2Fpinchartl%2Fv5.17%2
> Fisi&amp;data=04%7C01%7Cpeng.fan%40nxp.com%7C7b6ea3d39e2240d9e9
> 2c08da108b6959%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6
> 37840488192591173%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwM
> DAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdat
> a=zX%2BwhXoap1ZaOWGSmGcowIfzoPji35OeZPGs%2FVuqGpk%3D&amp;res
> erved=0
> 
> Laurent Pinchart (1):
>   arm64: dts: imx8mp: Add MEDIAMIX power domains
> 
> Paul Elder (3):
>   dt-bindings: soc: Add i.MX8MP media block control DT bindings
>   soc: imx: imx8m-blk-ctrl: Add i.MX8MP media blk-ctrl
>   arm64: dts: imx8mp: Add MEDIA_BLK_CTRL
> 
>  .../soc/imx/fsl,imx8mp-media-blk-ctrl.yaml    | 104 +++++++++++++++
>  arch/arm64/boot/dts/freescale/imx8mp.dtsi     |  61 +++++++++
>  drivers/soc/imx/imx8m-blk-ctrl.c              | 123
> +++++++++++++++++-
>  include/dt-bindings/power/imx8mp-power.h      |  10 ++
>  4 files changed, 296 insertions(+), 2 deletions(-)  create mode 100644
> Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml
> 
> --
> Regards,
> 
> Laurent Pinchart