Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp1107411pxb; Fri, 13 Aug 2021 13:51:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/m1PWeil6OK6caQba69gFym1kEsalOFMMjAewYP/4uljdQqg6JFGZr/F76u8wltprS2kw X-Received: by 2002:a50:ed99:: with SMTP id h25mr5512886edr.327.1628887881042; Fri, 13 Aug 2021 13:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628887881; cv=none; d=google.com; s=arc-20160816; b=vNiIur22nHEUpibpfND1Lm8LgH1mpVlXLAHy1n6H7cZu5i7ptYPQJOF+ywL1+k288f t7j2IgPWQ+fNqckA3RKTKeoEWRG8s8znbnF3CLt7SQS6qXkhoiGAWIu1/CPxabVNYTkZ BNP833eyrsNlyDdg52xJ6LgHRiU78Xa316L6PKKpPvH78pvifGa7XJEiClCfeYG5Su06 w0BodyujBA6xGAC41IgtPqTNIxLE7SsNa4vvsFW/OTgYm9mDo9gkTVdwyysXS9TKdLo4 8tuZaXyA+ELC7MKPxi2NT2oQy+lyKnBfvB5f8GQ+ibWiNmc+1zcoa8HCgITHulD298LB cvWw== 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; bh=B9ZjlpepAqxi24gGPGuLYAWFUHictoqyOAnCw/D5l9g=; b=ASa4RNE0tkfeh/OIlyRfsihDxZF8oFcdvup+FetIbdWjDRC7SJJnpLVBd39N/Dp53N iYdIEkAQb5sOwRsTtbwn92jjgHate7zuEXzaqT+1QsYiixcqBPNk0vPpkU5Z9L4Y/Qtc vY/N++JwqGvt2W6fwOgKohcI7YwiR7Hm2Cyykv4Mk6XtOXTzzNllqgpLkbQ8In1i1RS6 R0Puk6r9Gwb8x1w2e9JpJ11aEYpzQ4zS30M96q25hZfTe+Kqh8OTPxn7swN4SVHmcsLD gA2MJoSf7oh7QX7KOJUcBvOkqTg4mURy03anzSUwEpQYcLCwFp9duWisGJhMmMJ2xqHY WxMQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w26si2625841edq.559.2021.08.13.13.50.57; Fri, 13 Aug 2021 13:51:21 -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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234456AbhHMUr1 (ORCPT + 99 others); Fri, 13 Aug 2021 16:47:27 -0400 Received: from mail-oo1-f43.google.com ([209.85.161.43]:41814 "EHLO mail-oo1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233915AbhHMUr0 (ORCPT ); Fri, 13 Aug 2021 16:47:26 -0400 Received: by mail-oo1-f43.google.com with SMTP id f33-20020a4a89240000b029027c19426fbeso3161500ooi.8; Fri, 13 Aug 2021 13:46:59 -0700 (PDT) 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; bh=B9ZjlpepAqxi24gGPGuLYAWFUHictoqyOAnCw/D5l9g=; b=QpwNu4e6D2cNs+3mLGCKXznmv8+FbxZAyfBH0c4SzpwvsJFyzFoHy4gPqlo2xD458h 6Py7ltFnOq3VkGjeRwPsTWod3DRmBtkT3W4fuch9nA8L1Hqow/OPz0DO3aqo87ih3AfT t6sB+TPGD4WI3syb8XGAu4yLJpqcWouQpgGxwrMCUMDSgajvdRk1CLW/MEKGvblgClRT BknyZV93FvVRF/5kQOGTMLPquDFOp7u1Q16f8keevRa4dk0ZGiqreVbop2XVEW3eZdkN i3OPmmo/obYcLnL0s3Lb1aVhJr5EJEQ4F0+MOrjLNYyhPUA3u6u6Wh2EkdmrVo3NGaof veMg== X-Gm-Message-State: AOAM533zQ2my4C8oOOUMCg8eSHX19l0crYzXb3CEMUmT0FqQy3TJSIJw ZdLUGd1nllzfh+HHIZHAVA== X-Received: by 2002:a4a:e291:: with SMTP id k17mr3184266oot.91.1628887614278; Fri, 13 Aug 2021 13:46:54 -0700 (PDT) Received: from robh.at.kernel.org (2603-8080-2a06-ed00-7254-0b80-dd3c-00c6.res6.spectrum.com. [2603:8080:2a06:ed00:7254:b80:dd3c:c6]) by smtp.gmail.com with ESMTPSA id x13sm357809otk.42.2021.08.13.13.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 13:46:53 -0700 (PDT) Received: (nullmailer pid 4001992 invoked by uid 1000); Fri, 13 Aug 2021 20:46:51 -0000 Date: Fri, 13 Aug 2021 15:46:51 -0500 From: Rob Herring To: "H. Nikolaus Schaller" Cc: Paul Cercueil , Mark Rutland , Thomas Bogendoerfer , Geert Uytterhoeven , Kees Cook , "Eric W. Biederman" , Miquel Raynal , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jernej Skrabec , Ezequiel Garcia , Harry Wentland , Sam Ravnborg , Maxime Ripard , Hans Verkuil , devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, Paul Boddie , Jonas Karlman , dri-devel@lists.freedesktop.org Subject: Re: [PATCH v3 5/9] dt-bindings: display: Add ingenic-jz4780-hdmi DT Schema Message-ID: References: <606e22c2ef4d32d63937976860fb24f4cb39b720.1628399442.git.hns@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <606e22c2ef4d32d63937976860fb24f4cb39b720.1628399442.git.hns@goldelico.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 08, 2021 at 07:10:39AM +0200, H. Nikolaus Schaller wrote: > 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 > --- > .../bindings/display/ingenic-jz4780-hdmi.yaml | 82 +++++++++++++++++++ > 1 file changed, 82 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml > > diff --git a/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml b/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml > new file mode 100644 > index 0000000000000..a545ff8704ebd > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml > @@ -0,0 +1,82 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/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: panel/panel-common.yaml# This isn't a panel... > + > +properties: > + compatible: > + items: > + - const: ingenic,jz4780-hdmi > + > + reg: > + maxItems: 1 > + description: the address & size of the LCD controller registers Drop. Don't need generic descriptions. Plus, this isn't an LCD controller. > + > + reg-io-width: > + const: 4 > + > + interrupts: > + maxItems: 1 > + description: Specifies the interrupt provided by parent Drop. Don't need generic descriptions. > + > + clocks: > + maxItems: 2 > + description: Clock specifiers for isrf and iahb clocks > + > + clock-names: > + items: > + - const: isfr > + - const: iahb > + > + ddc-i2c-bus: true This belongs in a connector or panel node. > + ports: true You have to define what each 'port' node is and reference the graph schema. Given you are using 'ports', I assume there is more than 1. The example says not, but you need to add an output port for a connector node. > + > +required: > + - compatible > + - clocks > + - clock-names > + - ports > + - reg-io-width > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + hdmi: hdmi@10180000 { > + compatible = "ingenic,jz4780-hdmi"; > + reg = <0x10180000 0x8000>; > + reg-io-width = <4>; > + ddc-i2c-bus = <&i2c4>; > + interrupt-parent = <&intc>; > + interrupts = <3>; > + clocks = <&cgu JZ4780_CLK_HDMI>, <&cgu JZ4780_CLK_AHB0>; > + clock-names = "isfr", "iahb"; > + > + ports { > + hdmi_in: port { > + #address-cells = <1>; > + #size-cells = <0>; > + hdmi_in_lcd: endpoint@0 { > + reg = <0>; > + remote-endpoint = <&jz4780_out_hdmi>; > + }; > + }; > + }; > + }; > + > +... > -- > 2.31.1 > >