Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2429615pxb; Thu, 3 Feb 2022 06:33:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYSLmrwj2c/e3uox7JHX9YocrVJKm7fegl7zf65xXansra42BvY5A7Qm9b4PiaIvvpk/jL X-Received: by 2002:a17:906:fb19:: with SMTP id lz25mr23998433ejb.19.1643898799205; Thu, 03 Feb 2022 06:33:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643898799; cv=none; d=google.com; s=arc-20160816; b=BoA19ErxR/eMfEyYWO2pUp8ILDAaBtbFLWFpNHM9RinOsEdv8OIN9PTyqP5QSuBSnC kLcQ+yIZ3eTp7yXIq8QVRtpw9MD296iWlYTRXRXL997CyikPaOBZjywrro1IgWyS4f/m NVHJInJbPNh4WF8oX9uyBoHqxtyAgLZIJeFz9uGRkoiw06VUvEnWTGga5PxNMiczWtBK cJtaUDGI1kmt9r0DPirGwgLa3yv8H+k3VB4c21fUQRTy2dlFXJrGhspImQ6nbnZVJbTD GZu+uzuki8BMyLnTwn6fgCw83tvMXgSngKICWtkeQJTovOIUDEGhIlz9HF/v9miaWlQK WnAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=pZc3k2e6gytwmznM0Uuw5dl3AVAzNWITlIrFh3iYiJs=; b=mQBOk4P/wWd+HnreY5KN6YVcvN0DdMkilAKWbtoUWkYiVOMDOV38HdJIfMnavDnpQa Ryza7m2ZhfhM/Fa6li5me0J21Nf3fXzNgSE6o2e2EizlnchYjIhzEnB2jyv+F7NzX3Vh MaMCwaQO3BooM7ocJW7prESAOolQSkhNRrlVYmaIxQEYPOtmisma8QXuXZ5EqHJcyUI4 KU+/qOSbDLH6aoutzvqr4xiIVf0LkiTTqUIqAmUWRLMRddaOmIR/yTm8nIpzX7k59ERr 7g7HPlS4xe41u/WU9w5J44lb7KaGZ1Yfc5WHC4y+xnbkx7WaLGTBSogsXcySR5MnTpXz 3C7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=EGdniJJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds9si13341459ejc.302.2022.02.03.06.32.53; Thu, 03 Feb 2022 06:33:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=EGdniJJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344051AbiBBL7V (ORCPT + 99 others); Wed, 2 Feb 2022 06:59:21 -0500 Received: from mo4-p03-ob.smtp.rzone.de ([85.215.255.101]:36795 "EHLO mo4-p03-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbiBBL7U (ORCPT ); Wed, 2 Feb 2022 06:59:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1643803145; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=pZc3k2e6gytwmznM0Uuw5dl3AVAzNWITlIrFh3iYiJs=; b=EGdniJJxXbqCy9Pn3hBHZErt73L65URr7vHPaRv2hPxj07lhRJs4o6iHlOmNNrFCh2 cvEnXNYPyoEyt+Dnq12lUztkpALMJu4HGN6smhw6RZktaXuz5Qw8iyxNr8lnXwBebPDB Kvf1Cmim4OWdVYiMGYr/UMFtfGxAfP+4gQUw8Jg7HTMEIdaTFE0k1s+mhwHkFqahbwIF +Lwl3/TyEWaTa1VfNtGmXl0afyeHJJBSB6Y0Ba3rGTfvXPb7X+jDgDYcqQAq3+WAe93m xanNTLrsORBIH/fbecOu2KA1LU+qX8vvmFrsIkr6D258lxZxLRTfjl8srD3pf9J0duOB eUBQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj7wpz8NIGH/jrwDCocQ==" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 47.39.0 DYNA|AUTH) with ESMTPSA id L29417y12Bx49lf (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 2 Feb 2022 12:59:04 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH v12 3/9] dt-bindings: display: Add ingenic,jz4780-dw-hdmi DT Schema From: "H. Nikolaus Schaller" In-Reply-To: Date: Wed, 2 Feb 2022 12:59:03 +0100 Cc: Rob Herring , Mark Rutland , Thomas Bogendoerfer , Geert Uytterhoeven , Kees Cook , "Eric W. Biederman" , Miquel Raynal , David Airlie , Daniel Vetter , Neil Armstrong , Robert Foss , Laurent Pinchart , Jernej Skrabec , Harry Wentland , Sam Ravnborg , Maxime Ripard , Hans Verkuil , Liam Girdwood , Mark Brown , Paul Boddie , Andrzej Hajda , Kieran Bingham , devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, Jonas Karlman , dri-devel@lists.freedesktop.org, Rob Herring Content-Transfer-Encoding: quoted-printable Message-Id: <89CF4AD2-F147-4A06-B630-5422DB6AAFE9@goldelico.com> References: <2386420a975e0a6c17393828af776991f3d17c01.1643632014.git.hns@goldelico.com> To: Paul Cercueil X-Mailer: Apple Mail (2.3445.104.21) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, > Am 02.02.2022 um 10:59 schrieb Paul Cercueil : >=20 > Hi Nikolaus, >=20 > Le lun., janv. 31 2022 at 13:26:49 +0100, H. Nikolaus Schaller = a =C3=A9crit : >> From: Sam Ravnborg >> Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. >> Based on .txt binding from Zubair Lutfullah Kakakhel >> Signed-off-by: Sam Ravnborg >> Signed-off-by: H. Nikolaus Schaller >> Cc: Rob Herring >> Cc: devicetree@vger.kernel.org >> --- >> .../display/bridge/ingenic,jz4780-hdmi.yaml | 83 = +++++++++++++++++++ >> 1 file changed, 83 insertions(+) >> create mode 100644 = Documentation/devicetree/bindings/display/bridge/ingenic,jz4780-hdmi.yaml >> diff --git = a/Documentation/devicetree/bindings/display/bridge/ingenic,jz4780-hdmi.yam= l = b/Documentation/devicetree/bindings/display/bridge/ingenic,jz4780-hdmi.yam= l >> new file mode 100644 >> index 0000000000000..5a2767308c0ab >> --- /dev/null >> +++ = b/Documentation/devicetree/bindings/display/bridge/ingenic,jz4780-hdmi.yam= l >> @@ -0,0 +1,83 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: = http://devicetree.org/schemas/display/bridge/ingenic,jz4780-hdmi.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Bindings for Ingenic JZ4780 HDMI Transmitter >> + >> +maintainers: >> + - H. Nikolaus Schaller >> + >> +description: | >> + The HDMI Transmitter in the Ingenic JZ4780 is a Synopsys = DesignWare HDMI 1.4 >> + TX controller IP with accompanying PHY IP. >> + >> +allOf: >> + - $ref: synopsys,dw-hdmi.yaml# >> + >> +properties: >> + compatible: >> + const: ingenic,jz4780-dw-hdmi >> + >> + reg-io-width: >> + const: 4 >> + >> + clocks: >> + maxItems: 2 >> + >> + ports: >> + $ref: /schemas/graph.yaml#/properties/ports >> + >> + properties: >> + port@0: >> + $ref: /schemas/graph.yaml#/properties/port >> + description: Input from LCD controller output. >> + >> + port@1: >> + $ref: /schemas/graph.yaml#/properties/port >> + description: Link to the HDMI connector. >> + >> +required: >> + - compatible >> + - clocks >> + - clock-names >> + - ports >> + - reg-io-width >> + >> +unevaluatedProperties: false >> + >> +examples: >> + - | >> + #include >> + >> + hdmi: hdmi@10180000 { >> + compatible =3D "ingenic,jz4780-dw-hdmi"; >> + reg =3D <0x10180000 0x8000>; >> + reg-io-width =3D <4>; >> + ddc-i2c-bus =3D <&i2c4>; >> + interrupt-parent =3D <&intc>; >> + interrupts =3D <3>; >> + clocks =3D <&cgu JZ4780_CLK_AHB0>, <&cgu JZ4780_CLK_HDMI>; >> + clock-names =3D "iahb", "isfr"; >> + hdmi-5v-supply =3D <&hdmi_power>; >=20 > Where is this property defined? It was (not) is defined in v11... So forgot to remove it from the = example. HDMI power is now defined at the connector. Thanks, Nikolaus >=20 > Cheers, > -Paul >=20 >> + >> + ports { >> + #address-cells =3D <1>; >> + #size-cells =3D <0>; >> + hdmi_in: port@0 { >> + reg =3D <0>; >> + dw_hdmi_in: endpoint { >> + remote-endpoint =3D <&jz4780_lcd_out>; >> + }; >> + }; >> + hdmi_out: port@1 { >> + reg =3D <1>; >> + dw_hdmi_out: endpoint { >> + remote-endpoint =3D <&hdmi_con>; >> + }; >> + }; >> + }; >> + }; >> + >> +... >> -- >> 2.33.0 >=20 >=20