From patchwork Sat Oct 3 22:45:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 1376357 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4C3hmk6BrYz9sSG for ; Sun, 4 Oct 2020 09:46:30 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726067AbgJCWq3 (ORCPT ); Sat, 3 Oct 2020 18:46:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbgJCWq3 (ORCPT ); Sat, 3 Oct 2020 18:46:29 -0400 Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53325C0613D0 for ; Sat, 3 Oct 2020 15:46:29 -0700 (PDT) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4C3hmd5g4vz1rt4X; Sun, 4 Oct 2020 00:46:25 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4C3hmd4flzz1qy6R; Sun, 4 Oct 2020 00:46:25 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id m-VtluX0ZXkt; Sun, 4 Oct 2020 00:46:24 +0200 (CEST) X-Auth-Info: xKxg2pu9OLj9KhYon8gogpU9fL4yna5kX4lcs1bWTkg= Received: from desktop.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 4 Oct 2020 00:46:24 +0200 (CEST) From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Abel Vesa , Dong Aisheng , Fabio Estevam , =?utf-8?q?Guido_G=C3=BCnther?= , Lucas Stach , Rob Herring , Shawn Guo , NXP Linux Team , devicetree@vger.kernel.org Subject: [PATCH 1/5] Documentation: bindings: clk: Add bindings for i.MX8MM BLK_CTL Date: Sun, 4 Oct 2020 00:45:51 +0200 Message-Id: <20201003224555.163780-1-marex@denx.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the i.MX8MM BLK_CTL compatible string to the list. Signed-off-by: Marek Vasut Cc: Abel Vesa Cc: Dong Aisheng Cc: Fabio Estevam Cc: Guido Günther Cc: Lucas Stach Cc: Rob Herring Cc: Shawn Guo Cc: NXP Linux Team Cc: devicetree@vger.kernel.org Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/fsl,imx-blk-ctl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctl.yaml b/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctl.yaml index 5e9eb402b9b6..346429f49093 100644 --- a/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctl.yaml +++ b/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctl.yaml @@ -20,6 +20,7 @@ properties: compatible: items: - enum: + - fsl,imx8mm-dispmix-blk-ctl - fsl,imx8mp-audio-blk-ctl - fsl,imx8mp-hdmi-blk-ctl - fsl,imx8mp-media-blk-ctl From patchwork Sat Oct 3 22:45:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 1376358 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4C3hmn0QDXz9sTq for ; Sun, 4 Oct 2020 09:46:33 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726066AbgJCWqa (ORCPT ); Sat, 3 Oct 2020 18:46:30 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:40260 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725931AbgJCWq3 (ORCPT ); Sat, 3 Oct 2020 18:46:29 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4C3hmg2FMrz1qs3T; Sun, 4 Oct 2020 00:46:27 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4C3hmg1B73z1qy6V; Sun, 4 Oct 2020 00:46:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id lJ6lxqqGBFM5; Sun, 4 Oct 2020 00:46:25 +0200 (CEST) X-Auth-Info: NpyB8tc9Xcqbjjvi4qz3pTG08V7PpYIZ5PfH4b3TpeI= Received: from desktop.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 4 Oct 2020 00:46:25 +0200 (CEST) From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Abel Vesa , Dong Aisheng , Fabio Estevam , =?utf-8?q?Guido_G=C3=BCnther?= , Lucas Stach , Rob Herring , Shawn Guo , NXP Linux Team , devicetree@vger.kernel.org Subject: [PATCH 2/5] dt-bindings: clock: imx8mm: Add media blk_ctl clock IDs Date: Sun, 4 Oct 2020 00:45:52 +0200 Message-Id: <20201003224555.163780-2-marex@denx.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201003224555.163780-1-marex@denx.de> References: <20201003224555.163780-1-marex@denx.de> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org These will be used by the imx8mm for blk_ctl driver. Signed-off-by: Marek Vasut Cc: Abel Vesa Cc: Dong Aisheng Cc: Fabio Estevam Cc: Guido Günther Cc: Lucas Stach Cc: Rob Herring Cc: Shawn Guo Cc: NXP Linux Team Cc: devicetree@vger.kernel.org Acked-by: Rob Herring --- include/dt-bindings/clock/imx8mm-clock.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/dt-bindings/clock/imx8mm-clock.h b/include/dt-bindings/clock/imx8mm-clock.h index e63a5530aed7..576b229a72f2 100644 --- a/include/dt-bindings/clock/imx8mm-clock.h +++ b/include/dt-bindings/clock/imx8mm-clock.h @@ -276,4 +276,11 @@ #define IMX8MM_CLK_END 252 +#define IMX8MM_CLK_MEDIA_BLK_CTL_LCDIF_APB 0 +#define IMX8MM_CLK_MEDIA_BLK_CTL_LCDIF_PIXEL 1 +#define IMX8MM_CLK_MEDIA_BLK_CTL_MIPI_DSI_PCLK 2 +#define IMX8MM_CLK_MEDIA_BLK_CTL_MIPI_DSI_CLKREF 3 + +#define IMX8MM_CLK_MEDIA_BLK_CTL_END 4 + #endif From patchwork Sat Oct 3 22:45:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 1376359 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4C3hmn4gWxz9sTr for ; Sun, 4 Oct 2020 09:46:33 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725931AbgJCWqb (ORCPT ); Sat, 3 Oct 2020 18:46:31 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:44060 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726048AbgJCWqa (ORCPT ); Sat, 3 Oct 2020 18:46:30 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4C3hmh4zqdz1qs3n; Sun, 4 Oct 2020 00:46:28 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4C3hmh4l8xz1qy6R; Sun, 4 Oct 2020 00:46:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id hHhi1YgtMIEG; Sun, 4 Oct 2020 00:46:27 +0200 (CEST) X-Auth-Info: 7MJTfldTMV5KB5P7NMznqfNlf4WWtG6ZlkhGgAqWVXE= Received: from desktop.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 4 Oct 2020 00:46:27 +0200 (CEST) From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Abel Vesa , Dong Aisheng , Fabio Estevam , =?utf-8?q?Guido_G=C3=BCnther?= , Lucas Stach , Rob Herring , Shawn Guo , NXP Linux Team , devicetree@vger.kernel.org Subject: [PATCH 3/5] dt-bindings: reset: imx8mm: Add media blk_ctl reset IDs Date: Sun, 4 Oct 2020 00:45:53 +0200 Message-Id: <20201003224555.163780-3-marex@denx.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201003224555.163780-1-marex@denx.de> References: <20201003224555.163780-1-marex@denx.de> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org These will be used by the imx8mm for blk_ctl driver. Signed-off-by: Marek Vasut Cc: Abel Vesa Cc: Dong Aisheng Cc: Fabio Estevam Cc: Guido Günther Cc: Lucas Stach Cc: Rob Herring Cc: Shawn Guo Cc: NXP Linux Team Cc: devicetree@vger.kernel.org Acked-by: Rob Herring --- include/dt-bindings/reset/imx8mm-reset.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/dt-bindings/reset/imx8mm-reset.h diff --git a/include/dt-bindings/reset/imx8mm-reset.h b/include/dt-bindings/reset/imx8mm-reset.h new file mode 100644 index 000000000000..1dda59d30c06 --- /dev/null +++ b/include/dt-bindings/reset/imx8mm-reset.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 Marek Vasut + */ + +#ifndef DT_BINDING_RESET_IMX8MM_H +#define DT_BINDING_RESET_IMX8MM_H + +#define IMX8MM_MEDIA_BLK_CTL_RESET_MIPI_DSI_I_PRESET 0 +#define IMX8MM_MEDIA_BLK_CTL_RESET_MIPI_M_RESET 1 + +#define IMX8MM_MEDIA_BLK_CTL_RESET_NUM 2 + +#endif