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=-12.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,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 CC2F7C433E0 for ; Tue, 30 Jun 2020 20:56:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9FFCC2074D for ; Tue, 30 Jun 2020 20:56:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ragnatech-se.20150623.gappssmtp.com header.i=@ragnatech-se.20150623.gappssmtp.com header.b="PwDyq6OR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726655AbgF3U4C (ORCPT ); Tue, 30 Jun 2020 16:56:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726097AbgF3U4B (ORCPT ); Tue, 30 Jun 2020 16:56:01 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30B08C061755 for ; Tue, 30 Jun 2020 13:56:01 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id g2so12234305lfb.0 for ; Tue, 30 Jun 2020 13:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=z85yo7jf7qPAclXdPiDA0Ly0urWg8sAFHzwhucAmoNc=; b=PwDyq6ORpoJdZYnx2AF40a6rD6k1idTrb28wO0N+z8lw22c6LnF1qoh31NieQyO+Ce E2nsMzf2RQqniTmmyCL2HFNE/DIQxD5f+GUFRrbUOC5Z+GgwU5ByZH6F/jJjlUaMk5/V 9m/vnLMixtgM+49m+uPQaDksvPq7z7vaGNyo3qph75vEKCwe/1BIPKYr68PdoMHCUHeQ K2nZe/0LyZXCwTR0oQEi5OQLh3c6uq7vMj4k6jihJHPAtD2kfYL0Igs5eGnVseWQ5lOV QZmns1HlyxWLNSzGpR6Jxbjw/ib2R3n35t9Wk75QQyzzTNrNMfO/BkpoZNA8I9i36lnu F1BA== 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:content-transfer-encoding :in-reply-to; bh=z85yo7jf7qPAclXdPiDA0Ly0urWg8sAFHzwhucAmoNc=; b=hIaR/PaJIVftPXnRWNTNSoVzi1Q9bw6Vyei/BAYe9gqn5tn1wYngHWWX6t34Z5pyIW aC3B88djsVTxkqxtgDLdi46LjRgqBfwECxtaU2ejSSW/9H9gFP9eWj8X85aPJujG8XFI OeHNi5/2LTYrGB3yvXj4gA0uMwuZtiuiqwWSyZwnZSeMlFaKSJfHtcAgOlX/usf1sOUi VwIr0lorzHgg8vgPq7wuCCObuKU1/DYtK/uZN35IYaEBOm5ztyeJ9SlAo+NJnYzlBadV Ry7mo45nXNFIhj1RtMRVbg22rPNqij6zUCDYnpKV1WVAlz60mpd2vNoyhxt6uAdK+kwv zO2g== X-Gm-Message-State: AOAM533WJNrI1SGY5sdKLPZz1eKw8a9PrpQ4ziB91H1bSvTC/NTu73NW mWL0SlsPMGOKnkrSJujPBVEV7g== X-Google-Smtp-Source: ABdhPJzY5xmZCTIyKpSyoIPXdWaUpnwd9q6vbmLXMMNi3iaFVVVP5fvtwGvs63quIicw16llf/CJFw== X-Received: by 2002:a19:7111:: with SMTP id m17mr13317338lfc.156.1593550556920; Tue, 30 Jun 2020 13:55:56 -0700 (PDT) Received: from localhost (h-209-203.A463.priv.bahnhof.se. [155.4.209.203]) by smtp.gmail.com with ESMTPSA id k6sm1199995lfm.89.2020.06.30.13.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 13:55:56 -0700 (PDT) Date: Tue, 30 Jun 2020 22:55:55 +0200 From: Niklas =?iso-8859-1?Q?S=F6derlund?= To: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Rob Herring Subject: Re: [PATCH v2 4/8] dt-bindings: media: renesas,fdp1: Convert binding to YAML Message-ID: <20200630205555.GD2365286@oden.dyn.berto.se> References: <20200621004734.28602-1-laurent.pinchart+renesas@ideasonboard.com> <20200621004734.28602-5-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200621004734.28602-5-laurent.pinchart+renesas@ideasonboard.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hi Laurent, Thanks for your work. On 2020-06-21 03:47:30 +0300, Laurent Pinchart wrote: > Convert the Renesas R-Car FDP1 text binding to YAML. > > Signed-off-by: Laurent Pinchart > Reviewed-by: Geert Uytterhoeven Reviewed-by: Niklas Söderlund > --- > Changes since v1: > > - Update MAINTAINERS > --- > .../bindings/media/renesas,fdp1.txt | 37 ----------- > .../bindings/media/renesas,fdp1.yaml | 63 +++++++++++++++++++ > MAINTAINERS | 2 +- > 3 files changed, 64 insertions(+), 38 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/media/renesas,fdp1.txt > create mode 100644 Documentation/devicetree/bindings/media/renesas,fdp1.yaml > > diff --git a/Documentation/devicetree/bindings/media/renesas,fdp1.txt b/Documentation/devicetree/bindings/media/renesas,fdp1.txt > deleted file mode 100644 > index 8dd1007bb573..000000000000 > --- a/Documentation/devicetree/bindings/media/renesas,fdp1.txt > +++ /dev/null > @@ -1,37 +0,0 @@ > -Renesas R-Car Fine Display Processor (FDP1) > -------------------------------------------- > - > -The FDP1 is a de-interlacing module which converts interlaced video to > -progressive video. It is capable of performing pixel format conversion between > -YCbCr/YUV formats and RGB formats. Only YCbCr/YUV formats are supported as > -an input to the module. > - > -Required properties: > - > - - compatible: must be "renesas,fdp1" > - - reg: the register base and size for the device registers > - - interrupts : interrupt specifier for the FDP1 instance > - - clocks: reference to the functional clock > - > -Optional properties: > - > - - power-domains: reference to the power domain that the FDP1 belongs to, if > - any. > - - renesas,fcp: a phandle referencing the FCP that handles memory accesses > - for the FDP1. Not needed on Gen2, mandatory on Gen3. > - > -Please refer to the binding documentation for the clock and/or power domain > -providers for more details. > - > - > -Device node example > -------------------- > - > - fdp1@fe940000 { > - compatible = "renesas,fdp1"; > - reg = <0 0xfe940000 0 0x2400>; > - interrupts = ; > - clocks = <&cpg CPG_MOD 119>; > - power-domains = <&sysc R8A7795_PD_A3VP>; > - renesas,fcp = <&fcpf0>; > - }; > diff --git a/Documentation/devicetree/bindings/media/renesas,fdp1.yaml b/Documentation/devicetree/bindings/media/renesas,fdp1.yaml > new file mode 100644 > index 000000000000..f4db96a1f53c > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/renesas,fdp1.yaml > @@ -0,0 +1,63 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/renesas,fdp1.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Renesas R-Car Fine Display Processor (FDP1) > + > +maintainers: > + - Laurent Pinchart > + > +description: > + The FDP1 is a de-interlacing module which converts interlaced video to > + progressive video. It is capable of performing pixel format conversion > + between YCbCr/YUV formats and RGB formats. Only YCbCr/YUV formats are > + supported as an input to the module. > + > +properties: > + compatible: > + enum: > + - renesas,fdp1 > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + renesas,fcp: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + A phandle referencing the FCP that handles memory accesses for the FDP1. > + Not allowed on R-Car Gen2, mandatory on R-Car Gen3. > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + fdp1@fe940000 { > + compatible = "renesas,fdp1"; > + reg = <0xfe940000 0x2400>; > + interrupts = ; > + clocks = <&cpg CPG_MOD 119>; > + power-domains = <&sysc R8A7795_PD_A3VP>; > + renesas,fcp = <&fcpf0>; > + }; > +... > diff --git a/MAINTAINERS b/MAINTAINERS > index 660ed6606de2..7383dfa510a3 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -10710,7 +10710,7 @@ L: linux-media@vger.kernel.org > L: linux-renesas-soc@vger.kernel.org > S: Supported > T: git git://linuxtv.org/media_tree.git > -F: Documentation/devicetree/bindings/media/renesas,fdp1.txt > +F: Documentation/devicetree/bindings/media/renesas,fdp1.yaml > F: drivers/media/platform/rcar_fdp1.c > > MEDIA DRIVERS FOR RENESAS - VIN > -- > Regards, > > Laurent Pinchart > -- Regards, Niklas Söderlund