Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2948147pxb; Tue, 13 Apr 2021 14:28:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnAZY3ZL2HJeZYam0U+V/VHHYy9z6RkS2T52DFFW4R+GDtJ7Ul90e9UXeyy1ZhvMVkxISO X-Received: by 2002:aa7:d3c1:: with SMTP id o1mr36628447edr.153.1618349297375; Tue, 13 Apr 2021 14:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618349297; cv=none; d=google.com; s=arc-20160816; b=duI/wHcwucTLp3tcS3hragrNIBTEaRX0mtytKr5m9AyQi0tGD3Dy15/qi8OiV/tUzh oXOVhLuXQkaunIATIsDPrMY5r1UK8Jwx642iIPWZ+UF0vv/9AmBdT63OmSr+gFzUsB9F s1fv3ESDQCQg3rZEIQQZs+IjpTcncUj644kmjpryFBGu22cTD7aqRZ8BElBunTVXvNyY +jxgY1gVE0YIFIltZsyo+dzHqZ39JQkg0vhcpjlWeA6LkorPxU3bfhDUvn2RavIxevmQ 59ul0ZcT0nMCyucuXtNXL1ufscWX3ZrIa+L2oZuEH+Ud0kxmYIYaGPYCDCnp7OxcAFFk YZZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NefVkupW7bW9zAQH4vaqAcrlZ3B5mNHY8cM6wLSvUW8=; b=YVRpEg0G2u7/Hh+2lK+NAIUvZaWc1P0q9ssPOozlxb6tXLrJTZpIbtV19rfMcXox/5 s0b19eYbdpneA4/VenpED6kZcN1XqDCtNF/j9EHljiGPoNZShlES9gdjfJsRQVfJFvK1 roQNfWsuaazfwDJ4Mf0mnf+3wHX/pa7xMDIQx5UOiaAHujMHNw+k7glBwk7N9CCdTUyT t8leJlTYmtiWNclSEWpPNZKhuvR0CrdkaN6VDmdrd2oYXD3vRt+7VDCPvP0lJdOa3OvU UYKaQTkI7BWy1iiG5T1115ELJaim3UeVnp88PcBxQxeRGPthcZd6DyPzEx5ukSYsae1K 5xdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Uap0ILaC; 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 u14si11245892edo.189.2021.04.13.14.27.50; Tue, 13 Apr 2021 14:28:17 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Uap0ILaC; 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 S1346785AbhDMQEn (ORCPT + 99 others); Tue, 13 Apr 2021 12:04:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346781AbhDMQEl (ORCPT ); Tue, 13 Apr 2021 12:04:41 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B69EFC061574; Tue, 13 Apr 2021 09:04:21 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A3E8C9F0; Tue, 13 Apr 2021 18:04:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1618329858; bh=pUgM55miRgoN+NKLMy+bBwdxnn/EXzhYxduslvOw0Ag=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Uap0ILaCqSXV2FQ50sCvEAUadz05Gj75E13xc+gDhbZkBt6v8QkMz7prkHSAhSXyU 1Nd+cQJBWVeSwDO1yjQ9zvlHEd6mFAv271eFF1DwFbQxJOpWyUyu30lQioxBds4bUu 5LECcOIa3jxW/QL1qJCzvsWttGZlFonx0FHUmywg= Date: Tue, 13 Apr 2021 19:03:28 +0300 From: Laurent Pinchart To: Neil Armstrong Cc: a.hajda@samsung.com, paul@crapouillou.net, robert.foss@linaro.org, devicetree@vger.kernel.org, jonas@kwiboo.se, jernej.skrabec@siol.net, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Phong LE Subject: Re: [PATCH v3 1/3] dt-bindings: display: bridge: add it66121 bindings Message-ID: References: <20210412154648.3719153-1-narmstrong@baylibre.com> <20210412154648.3719153-2-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210412154648.3719153-2-narmstrong@baylibre.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Neil, Thank you for the patch. On Mon, Apr 12, 2021 at 05:46:46PM +0200, Neil Armstrong wrote: > From: Phong LE > > Add the ITE bridge HDMI it66121 bindings. > > Signed-off-by: Phong LE > Signed-off-by: Neil Armstrong > --- > .../bindings/display/bridge/ite,it66121.yaml | 123 ++++++++++++++++++ > 1 file changed, 123 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it66121.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it66121.yaml b/Documentation/devicetree/bindings/display/bridge/ite,it66121.yaml > new file mode 100644 > index 000000000000..61ed6dc7740b > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/ite,it66121.yaml > @@ -0,0 +1,123 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/ite,it66121.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ITE it66121 HDMI bridge Device Tree Bindings > + > +maintainers: > + - Phong LE > + - Neil Armstrong > + > +description: | > + The IT66121 is a high-performance and low-power single channel HDMI > + transmitter, fully compliant with HDMI 1.3a, HDCP 1.2 and backward compatible > + to DVI 1.0 specifications. > + > +properties: > + compatible: > + const: ite,it66121 > + > + reg: > + maxItems: 1 > + description: base I2C address of the device You can drop the description. > + > + reset-gpios: > + maxItems: 1 > + description: GPIO connected to active low reset > + > + vrf12-supply: > + description: Regulator for 1.2V analog core power. > + > + vcn33-supply: > + description: Regulator for 3.3V digital core power. > + > + vcn18-supply: > + description: Regulator for 1.8V IO core power. > + > + interrupts: > + maxItems: 1 > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/$defs/port-base > + unevaluatedProperties: false > + description: DPI input port. > + > + properties: > + endpoint: > + $ref: /schemas/graph.yaml#/$defs/endpoint-base > + unevaluatedProperties: false > + > + properties: > + bus-width: > + description: > + Endpoint bus width. > + enum: > + - 12 # 12 data lines connected and dual-edge mode > + - 24 # 24 data lines connected and single-edge mode > + default: 24 > + > + port@1: > + $ref: /schemas/graph.yaml#/properties/port > + description: HDMI Connector port. > + > + required: > + - port@0 > + - port@1 > + > +required: > + - compatible > + - reg > + - reset-gpios > + - vrf12-supply > + - vcn33-supply > + - vcn18-supply > + - interrupts > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; It's customary to indent DT examples with 4 spaces. > + > + it66121hdmitx: it66121hdmitx@4c { > + compatible = "ite,it66121"; > + pinctrl-names = "default"; > + pinctrl-0 = <&ite_pins_default>; > + vcn33-supply = <&mt6358_vcn33_wifi_reg>; > + vcn18-supply = <&mt6358_vcn18_reg>; > + vrf12-supply = <&mt6358_vrf12_reg>; > + reset-gpios = <&pio 160 1 /* GPIO_ACTIVE_LOW */>; You can #include the necessary headers at the top of the example, and use GPIO_ACTIVE_LOW and IRQ_TYPE_LEVEL_LOW to replace the numerical values. Reviewed-by: Laurent Pinchart > + interrupt-parent = <&pio>; > + interrupts = <4 8 /* IRQ_TYPE_LEVEL_LOW */>; > + reg = <0x4c>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + it66121_in: endpoint { > + bus-width = <12>; > + remote-endpoint = <&display_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + hdmi_conn_out: endpoint { > + remote-endpoint = <&hdmi_conn_in>; > + }; > + }; > + }; > + }; > + }; -- Regards, Laurent Pinchart