Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3039815pxb; Tue, 13 Apr 2021 17:14:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJaUwOF5kMn1kFZXIDJGKnJiGwb5nx1ixzoQFg8hBnP3Fg9dtg5jf+kPGiJWmDAGXJl0e3 X-Received: by 2002:a17:90a:5284:: with SMTP id w4mr372294pjh.29.1618359258971; Tue, 13 Apr 2021 17:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618359258; cv=none; d=google.com; s=arc-20160816; b=BTHAwNLfQNO+uZjJUc8NTua++LOzWaOv1zOas3gDpCnyRT1VD2NX8qVZTNG5hwCziy IjYNuCzqc/+yxY++DzuoJnL69e1MSa2Q2bIGmXdZX44fzJry4DMbho7JT5WT49NPnh44 07bsAaVk/z4wSX+U0vnz/ApMX2ybh8+/+JW2W2X/4Zf6BMtkvh7PdJWUD4btEsRz9/oK 8liUMtg47B1Z+G2dBjBnkGRWcB5U65yxqos6jC5jtFrNzwOKg5n5UVQq06fxHwQ3rC9D aAIbwKVVT+FY+U02vntxFB0qOTok5w43d00qgsnXNqfYjNRGcfd1ulH8Rx98HEmoirtr gzLA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=26b1+nSAB+ujVRtTRvlWlHIarrebQR2yk6nxRePN8PI=; b=C43sv8g/vZcdc4J2BdYyWwD8oQk7t58iJpwcYvfa+pUHvuakCsvtkc23f4qjb9MV8q UplnY9GyOeTYT7qnQdfftoZUC96YxpvWuCO6Rju7vWb5rt4RyvB1yE/3+k2hy6Yq7TvA dQz8o2d0S6PIYPT0YxXQ0u8jb3G2ihAlv2okfibiT58+6KKAFfpgCWEgaZtU0nrxv8j7 rbmbHN4evnvmXpOeNwHLmmh6bTjFQ4vZ9EaJtDd+ZfsKldjTSN00uG24soDMrp5xGJ2Z BmiAHChJXfEdKqIS1YDBxt0IlTiEFU6H7YEqjB/AW8LzZsr6T1N3fG16jIEDlu71KCXa CBbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=WDok0Gxm; 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 d30si14869964plj.294.2021.04.13.17.14.06; Tue, 13 Apr 2021 17:14:18 -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=WDok0Gxm; 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 S231860AbhDMUTU (ORCPT + 99 others); Tue, 13 Apr 2021 16:19:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348198AbhDMUTG (ORCPT ); Tue, 13 Apr 2021 16:19:06 -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 3C5F6C061574; Tue, 13 Apr 2021 13:18:46 -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 EF0AD9F0; Tue, 13 Apr 2021 22:18:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1618345123; bh=c4e7lBPFa0mIb5bY8GUL6gHcossp3SJOZrfVo9bPbVI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WDok0GxmhA3PJhBkvHJn7ugok9gHr6pMIeiXp6eQqhgfByRezUHzPak5M9J3srQm4 6kf80uTeKGpqlfBkrd2LyvzcWViYuAmDnypE+wG1xnDEwe/S9mKN6n/RjMcYFKbKWU k2Ar5VN6iTlPabrn1B8FppMU2Ff5DO5y9YfQCZlo= Date: Tue, 13 Apr 2021 23:17:52 +0300 From: Laurent Pinchart To: Paul Cercueil Cc: Neil Armstrong , a.hajda@samsung.com, 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 Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, On Tue, Apr 13, 2021 at 07:09:17PM +0100, Paul Cercueil wrote: > Le lun. 12 avril 2021 à 17:46, Neil Armstrong a écrit : > > 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 > > + > > + 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 > > Should port@1 really be required? Since the chip itself handles the > hotplug detection and stuff like DCC, I'm not sure what to connect here. It should be connected to a DT node that models the connector (Documentation/devicetree/bindings/display/connector/*). > > + > > +required: > > + - compatible > > + - reg > > + - reset-gpios > > + - vrf12-supply > > + - vcn33-supply > > + - vcn18-supply > > + - interrupts > > + - ports > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + i2c { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + 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 */>; > > + 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