Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp10277204ybl; Thu, 26 Dec 2019 14:25:54 -0800 (PST) X-Google-Smtp-Source: APXvYqxF84CmUDCyx3RH8gqKiJj3GjbsdbXTwhjPtw+VJB45ayOIRqHQh+msRdXDMjTSdp9TJ+D0 X-Received: by 2002:a9d:6396:: with SMTP id w22mr53261220otk.364.1577399153979; Thu, 26 Dec 2019 14:25:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577399153; cv=none; d=google.com; s=arc-20160816; b=SO4Hf+TPOkH100jSVllwDHtVvGl3w3DKxFSkg4fgTWmspw/ige/DnZ1zR97Isiyleo dJsPjFljQFOGcU66Fp3SahteARIR8ECoWpY+j7D+t7+WBqm1pB81ZZMv7taoa+QOmYfq SyvGlbF1wM8olbyorhFF+YEai93RXaq6udlIxpGLbanWDFv8pc5yYAYoN6iHeW1+e5AZ Q2NJWlzS+h39POUWI0Dhr8RpumJLwe/8SnbEE4pMm9EvuLMy8Q+SQ8gKev9ZFGXtZR6a 3eMGXFN5EjA05wcO+sbcj0GF96sZecgRH9I/1O+XQksfc6+nuG5K5aAKm7r2zv9hb8Zk yJOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=37uqwtRwSPKrS7mePUoQwRbRxVBQ1BJulsNk0ZshgZ4=; b=gp4fjJRgwP3JuWS+sphGHRz8ZXt2w25mD3nv77gqIjJ2ybRE7D/udStmJ2FYlrvH3W XuQtRjMXxyidxmfrNVoEIdDv9RQsfNQrnzts0KXjpfGEFOQY8WN+YjqGYVBv2zCMAjQR zODAEgsG3V4CWejNyOm8dF2sktdlOzNzRPJoFHh+asSukMqx8dJa2TDTB44voH762SAZ 4jUdCXnrjryBKSuD/OEn9J7cbFpKwVnP8XiTr/Jxg2ssbIHkpj8Jw9qusQA094+vimJQ ZWYGs0n/5fC6EnbUXo0gOGN5aVIRAu1t/JxZF4JR5g+KDu3ICEBpagvX42eNaKstpc4V iJ4A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r15si13766179ota.264.2019.12.26.14.25.42; Thu, 26 Dec 2019 14:25:53 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbfLZWYw (ORCPT + 99 others); Thu, 26 Dec 2019 17:24:52 -0500 Received: from mail-io1-f65.google.com ([209.85.166.65]:36601 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726277AbfLZWYw (ORCPT ); Thu, 26 Dec 2019 17:24:52 -0500 Received: by mail-io1-f65.google.com with SMTP id r13so14272074ioa.3; Thu, 26 Dec 2019 14:24:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=37uqwtRwSPKrS7mePUoQwRbRxVBQ1BJulsNk0ZshgZ4=; b=hW2qpQV1f1r8UgwfPA+eJshGpiDUYDLTwGHOxaA5NxraSPkGomehuIjOLkjEsHy0a7 vsj2HEBoHgYuAZXp7IKPKpEZaC3Jn5sEXcGQBY7MZds9jEIyowRTvm7RBoaXZFF6a+/l lwzx+y9lreGzVJU5UFm4aJGYycAZGIGz8uiJbCCFXZ8ahzSC2mE6kgRz+WNpP/B8lPsy SYUj0VCfCCY3vbwxCxPo5VhshmvkUFpFJPLKeY7LCyXj1fKBKrFa0DQg3RbGkU/YHFZ2 lpaAeztx5LT1OuBUti9Kk75myGktYEX9mUUxjSHU8lS+y/T4tUGrE7Tj9rK7hhpaaKuX rRpA== X-Gm-Message-State: APjAAAUzGO1D9Qf5t/+E5c7NhX8EwI7jcm1a52sT0hgxJoWZq1VCjEUW cyW9X07h5Xju5K5TBv8r8Q== X-Received: by 2002:a5d:8996:: with SMTP id m22mr33343498iol.141.1577399091059; Thu, 26 Dec 2019 14:24:51 -0800 (PST) Received: from localhost ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id m24sm8970619ioc.37.2019.12.26.14.24.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2019 14:24:50 -0800 (PST) Date: Thu, 26 Dec 2019 15:24:49 -0700 From: Rob Herring To: Peter Ujfalusi Cc: airlied@linux.ie, daniel@ffwll.ch, mark.rutland@arm.com, a.hajda@samsung.com, narmstrong@baylibre.com, tomi.valkeinen@ti.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net Subject: Re: [PATCH 1/2] dt-bindings: display: bridge: Add documentation for Toshiba tc358768 Message-ID: <20191226222449.GA8816@bogus> References: <20191217101506.18910-1-peter.ujfalusi@ti.com> <20191217101506.18910-2-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191217101506.18910-2-peter.ujfalusi@ti.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 17, 2019 at 12:15:05PM +0200, Peter Ujfalusi wrote: > TC358768/TC358778 is a Parallel RGB to MIPI DSI bridge. > > Signed-off-by: Peter Ujfalusi > --- > .../display/bridge/toshiba,tc358768.yaml | 158 ++++++++++++++++++ > 1 file changed, 158 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml > new file mode 100644 > index 000000000000..8f96867caca0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml > @@ -0,0 +1,158 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/toshiba,tc358768.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Toschiba TC358768/TC358778 Parallel RGB to MIPI DSI bridge > + > +maintainers: > + - Peter Ujfalusi > + > +description: | > + The TC358768/TC358778 is bridge device which converts RGB to DSI. > + > +properties: > + compatible: > + enum: > + - toshiba,tc358768 > + - toshiba,tc358778 > + > + reg: > + maxItems: 1 > + description: base I2C address of the device > + > + reset-gpios: > + maxItems: 1 > + description: GPIO connected to active low RESX pin > + > + vddc-supply: > + maxItems: 1 Drop this. Not an array. *-supply doesn't need further constraints. > + description: Regulator for 1.2V internal core power. > + > + vddmipi-supply: > + maxItems: 1 > + description: Regulator for 1.2V for the MIPI. > + > + vddio-supply: > + maxItems: 1 > + description: Regulator for 1.8V - 3.3V IO power. Blank line here. > + clocks: > + maxItems: 1 > + > + clock-names: > + const: refclk > + > + ports: > + type: object > + > + properties: > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > + port@0: > + type: object > + additionalProperties: false > + > + description: | > + Video port for RGB input > + > + properties: > + reg: > + const: 0 > + > + patternProperties: > + endpoint: > + type: object > + additionalProperties: false > + > + properties: > + data-lines: > + enum: [ 16, 18, 24 ] > + > + remote-endpoint: true > + > + required: > + - reg > + > + port@1: > + type: object > + description: | > + Video port for DSI output (panel or connector). > + > + properties: > + reg: > + const: 1 > + > + patternProperties: > + endpoint: > + type: object > + additionalProperties: false > + > + properties: > + remote-endpoint: true > + > + required: > + - reg No additionalProperties on this one? > + > + required: > + - "#address-cells" > + - "#size-cells" > + - port@0 > + - port@1 > + > +required: > + - compatible > + - reg > + - vddc-supply > + - vddmipi-supply > + - vddio-supply > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + i2c1 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + dsi_bridge: tc358768@0e { > + compatible = "toshiba,tc358768"; > + reg = <0x0e>; > + > + clocks = <&tc358768_refclk>; > + clock-names = "refclk"; > + > + /* GPIO line is inverted before going to the bridge */ > + reset-gpios = <&pcf_display_board 0 1 /* GPIO_ACTIVE_LOW */>; > + > + vddc-supply = <&v1_2d>; > + vddmipi-supply = <&v1_2d>; > + vddio-supply = <&v3_3d>; > + > + dsi_bridge_ports: ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + rgb_in: endpoint { > + remote-endpoint = <&dpi_out>; > + data-lines = <24>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + dsi_out: endpoint { > + remote-endpoint = <&lcd_in>; > + }; > + }; > + }; > + }; > + }; > + > -- > Peter > > Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. > Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki >