From patchwork Tue Mar 22 19:03:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12788958 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 0FC33C433F5 for ; Tue, 22 Mar 2022 19:05:11 +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=U7r03ObBf5mXDnXtyaBl+44zX9UFjOuunJuo2VfioVs=; b=yTmvdsBoV3Xj58 SbpXCbMXSQ4PGVnwg2IfbWJJfJGifE00yucSUYyrTMmuXmvss1FdIHL55Kmmd8fiPvo/LGmu7L5II y0CFXSO4J1S1u8ebPdwl58kSNW+9r6dZ6UVQxL3PVnqK7oFjOdmAJYbyyv6RlPhHx0KWGs669iKhT fECLBIYgwyPk0ms8I0f8YS62k0jtZrW73qtzHFn2eFZyLC7aTRxnt9XMEX5ezEttxSrrmX5thEzSl KpE9eh7a7wkO57OuTjpby0ZBWzGO9NcMWWL8vk/i7mBF6eXjx3AWMFrE9CC8GmG01FV1WPt0H9vDS EYiDF5pghzeVXMrZ+ovQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWjnN-00ByDL-Dg; Tue, 22 Mar 2022 19:03:53 +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 1nWjnK-00ByBW-3h for linux-arm-kernel@lists.infradead.org; Tue, 22 Mar 2022 19:03:51 +0000 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 84EBFDFA; Tue, 22 Mar 2022 20:03:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1647975825; bh=ek59+m3F7lLUZDQXoYOJQSuzS1HjyIFfAJo/5HxvEuk=; h=From:To:Cc:Subject:Date:From; b=rwjIFNAN3/DNl5ZH1VnsG16+7WBgCTi3hT8A+/Tj/YWuospT1L2RXj1U/qhusT7BG fL1GLZl1vHlYf9xRXYzdsK3P9oOzYh2SongkJhsNh8fRxSX/qwNwJQnUZK/SyuOADk puVaGfvAPCCKYwYKRTZCIn2pdykSHQK8SC4XrvEk= 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 , devicetree@vger.kernel.org, Rob Herring Subject: [PATCH v2 0/4] imx8mp: Add media block control Date: Tue, 22 Mar 2022 21:03:20 +0200 Message-Id: <20220322190324.12589-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-20220322_120350_322258_89435C21 X-CRM114-Status: GOOD ( 14.43 ) 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 v5.17, 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 v1 are listed in changelogs in the individual patches. The patches have been tested with with ISI on the i.MX8MP. The ISI driver is still under development [3], and will be posted in the not too distant future. [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 | 106 ++++++++++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 59 ++++++++ drivers/soc/imx/imx8m-blk-ctrl.c | 131 +++++++++++++++++- include/dt-bindings/power/imx8mp-power.h | 11 ++ 4 files changed, 305 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml base-commit: 256819fa3c09600675e31e9cb64a1a24574f02b2