Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1122881ybg; Wed, 29 Jul 2020 06:28:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbgb7piwCY3ReS/GdieHJ1gwk0kzigVCnOWO51n8j0+n8o5xA8bFL9VkbOGokhSjOOnigM X-Received: by 2002:a50:b8e2:: with SMTP id l89mr5130267ede.214.1596029288966; Wed, 29 Jul 2020 06:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596029288; cv=none; d=google.com; s=arc-20160816; b=jNru2lKZwaFZ0EkybWAXMB1RCi/y+n7StiVNCp4O5Rkn8rm41n1Dp2ZnLi7prBh/Fr a2c/zJ9aDQgjolYxCMkVNo/sr2xX/YHB8wsOTJ6lWh8KI+KdKrr/DvoEOdj/uKwwB0kM 08L4qLN4PmcV9mdgBvgFu5h0/pDhhAqLkfNAj87ctRHIEfd4FuZVcG9cPSEFOPStNeA0 yxmQGSIaSqcJPEexSPoL38KV5vpQ+m3NT3ljows9UeEFX7nXIwnxtSbNFQLIJ9FXmIqL dxRNRGjjUu6DYfmbpiclR0XoRLhLva0dB2wJvw4Vv6l1wHIoAaEOJGkSNh2tjsVuR5Ni wpJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=7dBXuhViMKjcrzESFvyk7G2IqjvQSoH34JQIwip+TN4=; b=IfmUFdQIxPEYwpkNyYsTjkTElGI3cPQ+uVscnrQp+zUorh2Qi9ZDIQsg5ccUGP3Mvc enKRgJfTHML51L9rUFZDSA8nu1Y5rgwJ8X+UHsIXqNWHWoZNIZPqOBtAXSorSZTfd+iX 6G26JRxY+Pe4LpCBcsdwr7MF/Ivk4DcRc29QJG8U9tl+Yc/Q+RwSoNbbXHk1kM/88P8P r96nQHRvP/vDBozBUXAIyB8eF6rmsDNXH3vomt9M2FQ9YLOQLyf8XHzxW31DBaQJlk5F RVmIUHpk3QggtG/9qe3ATdSoT5XKiLuBlbugxtBzmCSy27v5HnteOhgA1P46D4s6Y3z3 KzHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si1281851edy.593.2020.07.29.06.27.45; Wed, 29 Jul 2020 06:28:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727050AbgG2N1h (ORCPT + 99 others); Wed, 29 Jul 2020 09:27:37 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:43788 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726476AbgG2N1h (ORCPT ); Wed, 29 Jul 2020 09:27:37 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id E767AFB05; Wed, 29 Jul 2020 15:27:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3xIffyALAbLL; Wed, 29 Jul 2020 15:27:30 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 346BB45341; Wed, 29 Jul 2020 15:27:30 +0200 (CEST) Date: Wed, 29 Jul 2020 15:27:30 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Laurentiu Palcu Cc: Lucas Stach , Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , lukas@mntmn.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Laurentiu Palcu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v8 5/5] dt-bindings: display: imx: add bindings for DCSS Message-ID: <20200729132730.GA266947@bogon.m.sigxcpu.org> References: <20200724090736.12228-1-laurentiu.palcu@oss.nxp.com> <20200724090736.12228-6-laurentiu.palcu@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200724090736.12228-6-laurentiu.palcu@oss.nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Jul 24, 2020 at 12:07:34PM +0300, Laurentiu Palcu wrote: > From: Laurentiu Palcu > > Add bindings for iMX8MQ Display Controller Subsystem. > > Signed-off-by: Laurentiu Palcu > Reviewed-by: Rob Herring > --- > .../bindings/display/imx/nxp,imx8mq-dcss.yaml | 104 ++++++++++++++++++ > 1 file changed, 104 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/imx/nxp,imx8mq-dcss.yaml > > diff --git a/Documentation/devicetree/bindings/display/imx/nxp,imx8mq-dcss.yaml b/Documentation/devicetree/bindings/display/imx/nxp,imx8mq-dcss.yaml > new file mode 100644 > index 000000000000..68e4635e4874 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/imx/nxp,imx8mq-dcss.yaml > @@ -0,0 +1,104 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +# Copyright 2019 NXP > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/display/imx/nxp,imx8mq-dcss.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: iMX8MQ Display Controller Subsystem (DCSS) > + > +maintainers: > + - Laurentiu Palcu > + > +description: > + > + The DCSS (display controller sub system) is used to source up to three > + display buffers, compose them, and drive a display using HDMI 2.0a(with HDCP > + 2.2) or MIPI-DSI. The DCSS is intended to support up to 4kp60 displays. HDR10 > + image processing capabilities are included to provide a solution capable of > + driving next generation high dynamic range displays. > + > +properties: > + compatible: > + const: nxp,imx8mq-dcss > + > + reg: > + items: > + - description: DCSS base address and size, up to IRQ steer start > + - description: DCSS BLKCTL base address and size > + > + interrupts: > + items: > + - description: Context loader completion and error interrupt > + - description: DTG interrupt used to signal context loader trigger time > + - description: DTG interrupt for Vblank > + > + interrupt-names: > + items: > + - const: ctxld > + - const: ctxld_kick > + - const: vblank > + > + clocks: > + items: > + - description: Display APB clock for all peripheral PIO access interfaces > + - description: Display AXI clock needed by DPR, Scaler, RTRAM_CTRL > + - description: RTRAM clock > + - description: Pixel clock, can be driven either by HDMI phy clock or MIPI > + - description: DTRC clock, needed by video decompressor > + > + clock-names: > + items: > + - const: apb > + - const: axi > + - const: rtrm > + - const: pix > + - const: dtrc > + > + assigned-clocks: > + items: > + - description: Phandle and clock specifier of IMX8MQ_CLK_DISP_AXI_ROOT > + - description: Phandle and clock specifier of IMX8MQ_CLK_DISP_RTRM > + - description: Phandle and clock specifier of either IMX8MQ_VIDEO2_PLL1_REF_SEL or > + IMX8MQ_VIDEO_PLL1_REF_SEL > + > + assigned-clock-parents: > + items: > + - description: Phandle and clock specifier of IMX8MQ_SYS1_PLL_800M > + - description: Phandle and clock specifier of IMX8MQ_SYS1_PLL_800M > + - description: Phandle and clock specifier of IMX8MQ_CLK_27M > + > + assigned-clock-rates: > + items: > + - description: Must be 800 MHz > + - description: Must be 400 MHz > + > + port: > + type: object > + description: > + A port node pointing to the input port of a HDMI/DP or MIPI display bridge. > + > +additionalProperties: false > + > +examples: > + - | it would be nice to #include here... > + dcss: display-controller@32e00000 { > + compatible = "nxp,imx8mq-dcss"; > + reg = <0x32e00000 0x2d000>, <0x32e2f000 0x1000>; > + interrupts = <6>, <8>, <9>; > + interrupt-names = "ctxld", "ctxld_kick", "vblank"; > + interrupt-parent = <&irqsteer>; > + clocks = <&clk 248>, <&clk 247>, <&clk 249>, > + <&clk 254>,<&clk 122>; > + clock-names = "apb", "axi", "rtrm", "pix", "dtrc"; > + assigned-clocks = <&clk 107>, <&clk 109>, <&clk 266>; > + assigned-clock-parents = <&clk 78>, <&clk 78>, <&clk 3>; so that clock names like IMX8MQ_CLK_DISP_AXI could be used to make this even more useful. Cheers, -- Guido > + assigned-clock-rates = <800000000>, > + <400000000>; > + port { > + dcss_out: endpoint { > + remote-endpoint = <&hdmi_in>; > + }; > + }; > + }; > + > -- > 2.23.0 >