From patchwork Sat Mar 26 18:33:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12792657 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 6F555C433EF for ; Sat, 26 Mar 2022 18:35:16 +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=Xr5AFGPZZtgfH7UbxHkY1FtT8afjm3KmUvsuSBpsb6o=; b=2C4ez77+V6iZNF P8jfPt6tGMP9KZuWPpRIL/RdvzKV/qDSKLQeA8JkMNpQkaIsNjwO8wcXathMNqdFzmKV3q4AG3WE3 UUrBcEcorVY5si20aZiJ5DjS+5e4WILRmdoLD13Ht/qvqBw/7xWU11//qqezJRvUo5dqIR8lPIyED dejGvPkKTLHcId7/gJ+HD3YaZN4bZd8o+5VlhKBG0qwG442bUoHHAFIjtodC4vfU/xZwIggmZUQ6W ygP2WnTEs5emg81VsE42wGya+PnnlaKmpSPWiWjIGZC5FZmBCeMcy2/vu0eOhYePXT3/uGpXmQ6QR 29Ik12agC42Caf7GVbGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYBEY-004gpD-3J; Sat, 26 Mar 2022 18:33:54 +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 1nYBEL-004gml-5A for linux-arm-kernel@lists.infradead.org; Sat, 26 Mar 2022 18:33:42 +0000 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 36F78474; Sat, 26 Mar 2022 19:33:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1648319615; bh=NX+iMcq5cqo7YOxdMnELo4UiW3G2HlC787ANuficEEI=; h=From:To:Cc:Subject:Date:From; b=ILsSn3Wgc2lnDtjfSrd3GEC+TlLhy9gn5eaCX7h1V8fsz+3S6XxpQUg8yW5l1lPl6 gE4WcUBcXx+qcL4/Uqg8P3laE95MM9xAnZB2qCMoAk/PudBdX2wVNUsnnppaHMkH5y tb9tujNIvci7cKRQRjcW9cTY0tcfOmOC6ui5Rr7U= 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 Subject: [PATCH v3 0/4] imx8mp: Add media block control Date: Sat, 26 Mar 2022 20:33:25 +0200 Message-Id: <20220326183329.5072-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-20220326_113341_408115_3E1D7D1C X-CRM114-Status: GOOD ( 14.01 ) 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 v2 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 | 106 ++++++++++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 62 +++++++++ drivers/soc/imx/imx8m-blk-ctrl.c | 131 +++++++++++++++++- include/dt-bindings/power/imx8mp-power.h | 11 ++ 4 files changed, 308 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml