From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CE83C433E9 for ; Tue, 12 Jan 2021 00:30:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D2B2A22D5A for ; Tue, 12 Jan 2021 00:30:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405546AbhALAZv (ORCPT ); Mon, 11 Jan 2021 19:25:51 -0500 Received: from mail-oo1-f53.google.com ([209.85.161.53]:46989 "EHLO mail-oo1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389073AbhAKWqh (ORCPT ); Mon, 11 Jan 2021 17:46:37 -0500 Received: by mail-oo1-f53.google.com with SMTP id n127so134314ooa.13; Mon, 11 Jan 2021 14:46:21 -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; bh=TWzR02te5uk5MCjIEEArzIEPWl3rL9lGlci+NkzFFu0=; b=VYRSIIjbB+2Y/fu+jTwfKoydgPSJaPJ+QAS96bFeNj/aNgdOUDVHpGURyNUiXmpnoT S6qmeW0qWmDmwCCh3A4P/XQj9Wu6mzEjZZGmmnLavtaYEcPO15GMpRNDseFKFfy+sU9s /fXLjHkHMDPZhhdfbnNUNjHxUU6LDtZDZLE/Pl29jxvFdvYCXAddgTON93miFL4r7eF3 u/KVqJMgNwW/EGCJplUjNDunklgzaMiv6ukn/K6ES6Elo1YMh97KRl4KAzNFxDiY4br+ BK6cJZpz6r2wImDhKyV7SIVZPLKFwAKJ38eLzd6gQW5F9MvHAIkn0P9WirS65suCuLqQ RoQw== X-Gm-Message-State: AOAM530MVS4zKXt0mkCb4wCrlL23deIFBT4wMaFGNtGc3ZUnYAuhN47i ZNx1ZlFzH+TINkpbAY1Cdg== X-Google-Smtp-Source: ABdhPJxp3aLQjXnU6rPP97yT5iEdgQlltxbQWg8hftjInKb4DwHZB4Jv6tWnqIddgIZhK92E4lmH3w== X-Received: by 2002:a4a:751a:: with SMTP id j26mr971798ooc.68.1610405155736; Mon, 11 Jan 2021 14:45:55 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id d10sm196490ooh.32.2021.01.11.14.45.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 14:45:54 -0800 (PST) Received: (nullmailer pid 3197463 invoked by uid 1000); Mon, 11 Jan 2021 22:45:53 -0000 Date: Mon, 11 Jan 2021 16:45:53 -0600 From: Rob Herring To: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Sandy Huang , Chen-Yu Tsai , Maxime Ripard , Philipp Zabel , Mark Yao Subject: Re: [PATCH v3 1/6] dt-bindings: display: bridge: Add YAML schema for Synopsys DW-HDMI Message-ID: <20210111224553.GA3192268@robh.at.kernel.org> References: <20210105060818.24158-1-laurent.pinchart+renesas@ideasonboard.com> <20210105060818.24158-2-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210105060818.24158-2-laurent.pinchart+renesas@ideasonboard.com> Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org On Tue, Jan 05, 2021 at 08:08:13AM +0200, Laurent Pinchart wrote: > Add a .yaml schema containing the common properties for the Synopsys > DesignWare HDMI TX controller. This isn't a full device tree binding > specification, but is meant to be referenced by platform-specific > bindings for the IP core. > > Signed-off-by: Laurent Pinchart > --- > Changes since v1: > > - Add default to reg-io-width property > - Add additionalProperties > - Rebase on top of OF graph schema, dropped redundant properties > - Drop cec clock as it's device-specific > - Increase max clocks to 5 to accommodate the Rockchip DW-HDMI > --- > .../display/bridge/synopsys,dw-hdmi.yaml | 58 +++++++++++++++++++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml > new file mode 100644 > index 000000000000..96c4bc06dbe7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/synopsys,dw-hdmi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Common Properties for Synopsys DesignWare HDMI TX Controller > + > +maintainers: > + - Laurent Pinchart > + > +description: | > + This document defines device tree properties for the Synopsys DesignWare HDMI > + TX controller (DWC HDMI TX) IP core. It doesn't constitute a full device tree > + binding specification by itself but is meant to be referenced by device tree > + bindings for the platform-specific integrations of the DWC HDMI TX. > + > + When referenced from platform device tree bindings the properties defined in > + this document are defined as follows. The platform device tree bindings are > + responsible for defining whether each property is required or optional. > + > +properties: > + reg: > + maxItems: 1 > + > + reg-io-width: > + description: > + Width (in bytes) of the registers specified by the reg property. > + allOf: > + - $ref: /schemas/types.yaml#/definitions/uint32 > + - enum: [1, 4] > + default: 1 > + > + clocks: > + minItems: 2 > + maxItems: 5 > + items: > + - description: The bus clock for either AHB and APB > + - description: The internal register configuration clock > + additionalItems: true > + > + clock-names: > + minItems: 2 > + maxItems: 5 > + items: > + - const: iahb > + - const: isfr > + additionalItems: true > + > + interrupts: > + maxItems: 1 > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports 'ports' should probably be dropped if what each 'port' is is not defined here. Any users will have to define 'ports' and the child nodes. Reviewed-by: Rob Herring > + > +additionalProperties: true > + > +... > -- > Regards, > > Laurent Pinchart > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADF26C433E0 for ; Mon, 11 Jan 2021 22:45:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 517D222CAF for ; Mon, 11 Jan 2021 22:45:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 517D222CAF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 84A9489DC1; Mon, 11 Jan 2021 22:45:57 +0000 (UTC) Received: from mail-oo1-f43.google.com (mail-oo1-f43.google.com [209.85.161.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8A49989DC1 for ; Mon, 11 Jan 2021 22:45:56 +0000 (UTC) Received: by mail-oo1-f43.google.com with SMTP id v19so143340ooj.7 for ; Mon, 11 Jan 2021 14:45:56 -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; bh=TWzR02te5uk5MCjIEEArzIEPWl3rL9lGlci+NkzFFu0=; b=Zzzjpr44ZvoPhia90T+ygqXtBoJlzw+cn+frHKYwLTNZJku3hZfq7aaBBWcD8wwRE7 1NhfpZJNqiBs5bSLYIIFgEnz5i6Efir7htBdUwUwRarG2C8q55ehi5PdwuiHcKkywLGh IY1uGyQIvTbeuyUrGQ5KPIixD9kEp0pwsoH67GI7jTz+TGn33JQNmlq+EsYir7RGvaBO 5EUZS9RasPL8i4Y+lYIMrOCrKZY2pVSH0bQljfKaOB40dawCvKPi3ZHquX5R8TJbULqf jEAsR9SkeH0tvM4zSxxZQCF+3zg1NZeTinT5Trau6RJ+7QjKFKccc+Rtq4A5SzU5AIAf ZY5g== X-Gm-Message-State: AOAM532Pq1RcDcWkkLobo4HE6Ci44cYB7dTO+iK9vijkqCcZaZBJJkHV PNvZ8YsRxkHq8KG2tdcXdQ== X-Google-Smtp-Source: ABdhPJxp3aLQjXnU6rPP97yT5iEdgQlltxbQWg8hftjInKb4DwHZB4Jv6tWnqIddgIZhK92E4lmH3w== X-Received: by 2002:a4a:751a:: with SMTP id j26mr971798ooc.68.1610405155736; Mon, 11 Jan 2021 14:45:55 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id d10sm196490ooh.32.2021.01.11.14.45.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 14:45:54 -0800 (PST) Received: (nullmailer pid 3197463 invoked by uid 1000); Mon, 11 Jan 2021 22:45:53 -0000 Date: Mon, 11 Jan 2021 16:45:53 -0600 From: Rob Herring To: Laurent Pinchart Subject: Re: [PATCH v3 1/6] dt-bindings: display: bridge: Add YAML schema for Synopsys DW-HDMI Message-ID: <20210111224553.GA3192268@robh.at.kernel.org> References: <20210105060818.24158-1-laurent.pinchart+renesas@ideasonboard.com> <20210105060818.24158-2-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210105060818.24158-2-laurent.pinchart+renesas@ideasonboard.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Sandy Huang , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Chen-Yu Tsai , Maxime Ripard , Mark Yao Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, Jan 05, 2021 at 08:08:13AM +0200, Laurent Pinchart wrote: > Add a .yaml schema containing the common properties for the Synopsys > DesignWare HDMI TX controller. This isn't a full device tree binding > specification, but is meant to be referenced by platform-specific > bindings for the IP core. > > Signed-off-by: Laurent Pinchart > --- > Changes since v1: > > - Add default to reg-io-width property > - Add additionalProperties > - Rebase on top of OF graph schema, dropped redundant properties > - Drop cec clock as it's device-specific > - Increase max clocks to 5 to accommodate the Rockchip DW-HDMI > --- > .../display/bridge/synopsys,dw-hdmi.yaml | 58 +++++++++++++++++++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml > new file mode 100644 > index 000000000000..96c4bc06dbe7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/synopsys,dw-hdmi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Common Properties for Synopsys DesignWare HDMI TX Controller > + > +maintainers: > + - Laurent Pinchart > + > +description: | > + This document defines device tree properties for the Synopsys DesignWare HDMI > + TX controller (DWC HDMI TX) IP core. It doesn't constitute a full device tree > + binding specification by itself but is meant to be referenced by device tree > + bindings for the platform-specific integrations of the DWC HDMI TX. > + > + When referenced from platform device tree bindings the properties defined in > + this document are defined as follows. The platform device tree bindings are > + responsible for defining whether each property is required or optional. > + > +properties: > + reg: > + maxItems: 1 > + > + reg-io-width: > + description: > + Width (in bytes) of the registers specified by the reg property. > + allOf: > + - $ref: /schemas/types.yaml#/definitions/uint32 > + - enum: [1, 4] > + default: 1 > + > + clocks: > + minItems: 2 > + maxItems: 5 > + items: > + - description: The bus clock for either AHB and APB > + - description: The internal register configuration clock > + additionalItems: true > + > + clock-names: > + minItems: 2 > + maxItems: 5 > + items: > + - const: iahb > + - const: isfr > + additionalItems: true > + > + interrupts: > + maxItems: 1 > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports 'ports' should probably be dropped if what each 'port' is is not defined here. Any users will have to define 'ports' and the child nodes. Reviewed-by: Rob Herring > + > +additionalProperties: true > + > +... > -- > Regards, > > Laurent Pinchart > _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel