From patchwork Mon Feb 28 15:47:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 12763495 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 382ADC433F5 for ; Mon, 28 Feb 2022 15:49:40 +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=a/3bvB8ntbL3vuX3cQhcspp4GDeSjHPh3wt3PbQsDoE=; b=CezmGZK2l62W/E JzQUPP/0EVyT3JnSOwuxeT86LhrA7LrXGFgRQoaG5TKxUZgbPkdMEuUc1aAosaUwN6Q7WVn/lk+Y/ JEzCRyKijQxf9n8K2xvAEWoj6k+BUpTMC/iKyDONqBha/UzpeHWejZlq2BIK4J2diCbVCIjQ9TMmb 57IuNCufsCldRXx0EEuDuymw7gQTCrOoK7ZB/rmFUfDfih1o4YhLA36g8UX1T5W5nKKv/ymTOlVXC 3Dwoope9VzGwp33CLf3p9otN/xa36njTDACdCXj2mjNkYgXkEXjlIsRyO2cRDEQZvlnWBdREzI2UU 7HwfDTpmuFOycjUDnQXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOiGF-00DD7c-4H; Mon, 28 Feb 2022 15:48:31 +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 1nOiGA-00DD5W-LI for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 15:48:28 +0000 Received: from pyrite.rasen.tech (h175-177-042-148.catv02.itscom.jp [175.177.42.148]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B7E09478; Mon, 28 Feb 2022 16:48:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1646063301; bh=tpbylHIrigSnf/DD/+R4ZPtYn1ROIYJyi/07EoMfG/A=; h=From:To:Cc:Subject:Date:From; b=wike9SuIU9w8Lwv4YvIB0WTxT0ZrCtIbFELnWNboJM+bnxfYJrntu4Vr7hz7NH0Wg jt2rUpz6OZn4x2ASQzL9inVMLNX7MRJ+zGDa8JOSsEarGMJJiLLLf8dCpeM5df6M0F 9MosV1ujhHRtB1AdCBbfBosBEfiWllKO0XhalqmI= From: Paul Elder To: Rob Herring , Shawn Guo , Sascha Hauer Cc: Paul Elder , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Joakim Zhang , Laurent Pinchart , Peng Fan , Lucas Stach , Marek Vasut , Daniel Baluta , Zhen Lei , Jacky Bai , Adam Ford , Frieder Schrempf , Dan Carpenter , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/4] imx8mp: Add media block control Date: Tue, 1 Mar 2022 00:47:57 +0900 Message-Id: <20220228154801.1347487-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220228_074826_941135_C05F0D1B X-CRM114-Status: GOOD ( 12.02 ) 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 This patch series depends on v2 of the series "soc: imx: gpcv2: add PGC control register indirection" from Lucas Stach [1]. The i.MX8MP Media Block Control (MEDIA BLK_CTRL) is a top-level peripheral providing access to the NoC and ensuring proper power sequencing of the peripherals within the MEDIAMIX domain. This patch series adds DT bindings for it, and expands the imx8m-blk-ctrl driver to support the i.MX8MP's Media Block Control. The patches have been tested with with ISI on the i.MX8MP. The ISI driver is still under development [2], 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://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 | 105 +++++++++++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 66 ++++++++++ drivers/soc/imx/imx8m-blk-ctrl.c | 123 +++++++++++++++++- include/dt-bindings/power/imx8mp-power.h | 10 ++ 4 files changed, 302 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml