From patchwork Mon Mar 28 07:20:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12793256 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7CC11C433F5 for ; Mon, 28 Mar 2022 07:21:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=6X4MCyFD/hE1+psorBCZC+3PW6rT6mAtfthgTXu2P3k=; b=qczG55G3ohkD2A dUYLlu1WXhrrPbtXvdmycCgwGt4hMjjxTKYZ3JiRD5VZhg3QqwDTSsK5nIjkG5qm9KsrsIGb7Pccj arOBOadXqZY4sB0ONVsOjiRgowYmy+O8/v4t0o+rAO4F6nx8knst9cQTDO8KREpNNUV5jkBoeif45 ShgqjclhbDLNwYGtqlit7eXF1WRDRMGa2ipHZdRRcQJKN2wpeUMHvxgVddyk3BSQ1tC0E6uSAOGXr cadTXYXNOC9IacQNhp1vGpjFnfpanAaYJQXlC4hJjhP22gsYD0Wn2lwWwxD4/boioOKZyxrnMiaD+ 49kjaVBp+Kt/E+S/UfqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYjfp-007a0c-WD; Mon, 28 Mar 2022 07:20:22 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYjfm-007ZzB-KH for linux-arm-kernel@lists.infradead.org; Mon, 28 Mar 2022 07:20:20 +0000 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 259F42F7; Mon, 28 Mar 2022 09:20:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1648452017; bh=ZOyMcaeFIpOwoJgI+hutCIyY2Ug3+XJCMJsqm6bw57U=; h=From:To:Cc:Subject:Date:From; b=WbhLt8/vdg3Ie7bcydUFw5Qzi3PtvjVgHgQGSsFeYTp5a9rqZCty4QKtLKNDxAS4p 1vU0ig7N9Ki0mxElMn7EM2PieRAKDMbumA5qRvbXF310A0IDyHgutmHJd9YUZ2JcAl gVkkz6doDGMTyZHW3JE70kviCu14iZqlhCNUngAg= From: Laurent Pinchart To: linux-arm-kernel@lists.infradead.org, Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , NXP Linux Team , Fabio Estevam , Paul Elder , Lucas Stach , Marek Vasut , Alexander Stein Subject: [PATCH v4 0/4] imx8mp: Add media block control Date: Mon, 28 Mar 2022 10:20:05 +0300 Message-Id: <20220328072009.1441-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220328_002018_852844_C0294193 X-CRM114-Status: GOOD ( 13.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Tested-by: Peng Fan