Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2672606ybv; Mon, 24 Feb 2020 09:23:55 -0800 (PST) X-Google-Smtp-Source: APXvYqy8MQy+W9VMLwaY/XRlQlOiyxNdWilIwFg2FkpTrQINB40fleeDCI7A9RLLQa9TXoFcgoxq X-Received: by 2002:aca:1c09:: with SMTP id c9mr89398oic.85.1582565035553; Mon, 24 Feb 2020 09:23:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582565035; cv=none; d=google.com; s=arc-20160816; b=pRl+5pk4Vh4uUEtEQlqA9GvV7w0AY0q6BgBkF2uNDoHbqWCPZ+5nni9fvd+P3FeLDL /sIlgSHtGFRTNX59tOff1KrdT6NmYLjkeKEr3+1vXR1jhthUM/8tYSQPavNCZI8nsdmC Mdz/HMAnAxlJ8JgNOmWe+NbpFsA6I/k/aBv+mr4O1s0zuXx57vflL8V3gCHTEPiqrE2g mLi7bMKLgWIj/zD3H0ECW4fUd9bEMj74qrGezrrmbWqpwPQDc5fjgdjuntFAxIL5kcvG RRe8tvuHH+nQet2qwDLGMCls4LMJdUI5bc3GnK6yO2RyvdrlaVC6zH8HgkZ4RzMqQVNS aaFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=4XjCDSk4xhJcw9XyMlEezHAGHScq1EAhHUAe0OZzFLo=; b=zNllue90Xt9uC16IEjisFI/L+t8x/57+G52Nk9B13zz+xX1R9k0dfq+NQJ0fGUOVdk /66uTkZxi/yGqHvd0B2kiNyEHCJxC9V5d2WTLbfMcg3U3I98lPiOWnOERDOBq9F1CobI jyrjxuWsp9a4eymoPAG1pyyrHQ7zc0CGGisBqQJEDWnuWjc74R3YG9w0G8x1c9F/V14L oqeqks9y2SvkG21/5sUPcgGCzmCrBH/dMtEa5lSETBeoW6lxtllk5k8nlbRsO1kGEnZR bAFmnFl6HilIBZlINBIy8u8+DKprj1O4adzMLAPU/Mw9ZGzKJnhn9EsNZMmsiAdzYaJf KgtQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w29si7324625oth.313.2020.02.24.09.23.43; Mon, 24 Feb 2020 09:23:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728292AbgBXRWM (ORCPT + 99 others); Mon, 24 Feb 2020 12:22:12 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:48799 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728269AbgBXRWI (ORCPT ); Mon, 24 Feb 2020 12:22:08 -0500 Received: from kresse.hi.pengutronix.de ([2001:67c:670:100:1d::2a]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1j6HQc-0002l7-Tk; Mon, 24 Feb 2020 18:21:58 +0100 Message-ID: <7716263db71ca07a52e5a562882f0ae7f35fee48.camel@pengutronix.de> Subject: Re: [PATCH v3 3/4] dt-bindings: display: imx: add bindings for DCSS From: Lucas Stach To: Laurentiu Palcu , Philipp Zabel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: agx@sigxcpu.org, lukas@mntmn.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Mon, 24 Feb 2020 18:21:57 +0100 In-Reply-To: <1575625964-27102-4-git-send-email-laurentiu.palcu@nxp.com> References: <1575625964-27102-1-git-send-email-laurentiu.palcu@nxp.com> <1575625964-27102-4-git-send-email-laurentiu.palcu@nxp.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::2a X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fr, 2019-12-06 at 11:52 +0200, Laurentiu Palcu wrote: > Add bindings for iMX8MQ Display Controller Subsystem. > > Signed-off-by: Laurentiu Palcu > Reviewed-by: Rob Herring > --- > .../bindings/display/imx/nxp,imx8mq-dcss.yaml | 86 ++++++++++++++++++++++ > 1 file changed, 86 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 00000000..efd2494 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/imx/nxp,imx8mq-dcss.yaml > @@ -0,0 +1,86 @@ > +# 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. HDMI 2.0a and MIPI_DSI are not really properties of the DCSS, but rather the connected bridges. Maybe just drop them here? > 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: > + maxItems: 2 > + > + interrupts: > + maxItems: 3 > + 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: > + maxItems: 3 > + items: > + - const: ctx_ld Can we make this just "ctxld" for a bit more consistency with the name below? > + - const: ctxld_kick > + - const: vblank > + > + clocks: > + maxItems: 5 > + 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 driver 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 > + > + port@0: > + type: object > + description: A port node pointing to a hdmi_in or mipi_in port node. "A port node pointing to the input port of a HDMI/DP or MIPI display bridge". > + > +examples: > + - | > + dcss: display-controller@32e00000 { > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "nxp,imx8mq-dcss"; > + reg = <0x32e00000 0x2d000>, <0x32e2f000 0x1000>; > + interrupts = <6>, <8>, <9>; > + interrupt-names = "ctx_ld", "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>; > + assigned-clock-rates = <800000000>, > + <400000000>; > + port@0 { > + dcss_out: endpoint { > + remote-endpoint = <&hdmi_in>; > + }; > + }; > + }; > +