Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3699722ybc; Thu, 14 Nov 2019 13:17:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzoAK0uZGAt2dBlB80Lt8xBS9Ga0RuJ6MhiI3JKPhyjGbooDlV4kG6ZjNnzMRtNxRqiNijI X-Received: by 2002:a05:600c:2911:: with SMTP id i17mr10211326wmd.83.1573766247833; Thu, 14 Nov 2019 13:17:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573766247; cv=none; d=google.com; s=arc-20160816; b=Iu5b62s+VPH6BfimEDw8XbXsiX5BehcxpmCgY4Z9Py+4nvBnQeBR8D8MzQqtqaWu9i /uAEW0qyaEmi8OqdmmRFHZbLImZkmU5eLqL2uX+fjEOO4qAJSuPKBH2rgnWeC9jvzwQd L4k8nbL+QzmHx698UgaJ4MfYDD+xDmXfCTHAxtUpaXpSuLZ0NNp4dsFR5i83h7VV+sA1 DAG5mrp9fS//jyYmSFDLm6vGMP/mNIu8oRB2u6x7nuVxrEwY1W3BZl334AMYc/VuyPB4 KM/wg+j7wMhI4e70V+tSA/WjTZ4h2n3Ico8YOSbr0hyNHy+xInLt+rnBbCIGmo0vPISJ 7UCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=fuBWITyC2SUHGRslSMvj5Vn8Ahl50d58H5d7xUTeDJI=; b=W5AeMdlbDu22huKn+H1MjarO4VD1YDS/PJg+hnqtrlz7XVoArM2uJJce9MGTqMSi1K OWazyB1wSXAJtnaoPfLDdkfaavF3oghjq0TfaZ+43TzzejF6MUcTXBKtPX3z9Z89QTj7 gVp9HAhF1RBuJJYV56L405rOU027DzPdOJazOpJWlhiLxwV2gVR7V7J+IJprtkddUAmA MK9TgwTZ54a4l7nBL+ja/q94Zx5kGGgAYRdK2RIy4+0kJ7DZ1RR+L6jE6R4PtiqDqlDY s4wXgrriZZLgvRhXsg9f2wFMPnQQYd0Gf2d43x+nx0WFSK+gaLYqtkwHQWL02+ASA7V+ l32g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si4123462ejz.434.2019.11.14.13.17.00; Thu, 14 Nov 2019 13:17:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726958AbfKNVQK (ORCPT + 99 others); Thu, 14 Nov 2019 16:16:10 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:41591 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbfKNVQJ (ORCPT ); Thu, 14 Nov 2019 16:16:09 -0500 Received: by mail-oi1-f196.google.com with SMTP id e9so6651131oif.8; Thu, 14 Nov 2019 13:16:09 -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:user-agent; bh=fuBWITyC2SUHGRslSMvj5Vn8Ahl50d58H5d7xUTeDJI=; b=tc7YV5ON3zl81ROXYDKc6mFSGhuezco79nmwVqvjQrOVnXv5z4t7CulJoM4af8tXA+ /1ajDCrKZrqlTXA3zhfOBsdwHP1zGHFNWKWQi68ZycawAQ4lTB60jBd2M/IIbSVOtbNj a48ymqEtnrvVD4lUWz4zo4LpzrPGfEhsH5b6tjkneLX2C9OlQfF2Htc2tjAeDcppEw1C /EahNQHUseAoKJfBUOCZ8UE029fItz/XHhnZooVH04UN0zZKl8wmBUuSX8MJAZLCbox4 cMcPNTnB4WmQsg2qXrSNggk71JX6LuGTSrL23Ueets1zchQkSIyGMu1MuzwQyWK1XNws 4R/Q== X-Gm-Message-State: APjAAAXxTTzI1etyH3tx7iBQUFOp007ApJVwLHz67ozgg+7U9sihJAu8 iP2obnMHR5me/QfafQzIbUWCWt4= X-Received: by 2002:aca:b909:: with SMTP id j9mr5324529oif.121.1573766168634; Thu, 14 Nov 2019 13:16:08 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id h9sm2209821otn.14.2019.11.14.13.16.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2019 13:16:07 -0800 (PST) Date: Thu, 14 Nov 2019 15:16:07 -0600 From: Rob Herring To: Jacopo Mondi Cc: mark.rutland@arm.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: media: renesas,ceu: Convert to yaml Message-ID: <20191114211607.GA4896@bogus> References: <20191111120017.83161-1-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191111120017.83161-1-jacopo+renesas@jmondi.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 11, 2019 at 01:00:17PM +0100, Jacopo Mondi wrote: > Convert the Renesas CEU bindings description to json-schema and remove > the existing textual bindings document. > > Signed-off-by: Jacopo Mondi > --- > .../devicetree/bindings/media/renesas,ceu.txt | 86 ------------------- > .../bindings/media/renesas,ceu.yaml | 72 ++++++++++++++++ > MAINTAINERS | 2 +- > 3 files changed, 73 insertions(+), 87 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/media/renesas,ceu.txt > create mode 100644 Documentation/devicetree/bindings/media/renesas,ceu.yaml > diff --git a/Documentation/devicetree/bindings/media/renesas,ceu.yaml b/Documentation/devicetree/bindings/media/renesas,ceu.yaml > new file mode 100644 > index 000000000000..3c4a4ff975ae > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/renesas,ceu.yaml > @@ -0,0 +1,72 @@ > +# SPDX-License-Identifier: GPL-2.0-only If only Renesas authors, can you dual license. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/renesas,ceu.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Renesas Capture Engine Unit (CEU) Bindings > + > +maintainers: > + - Jacopo Mondi > + - linux-renesas-soc@vger.kernel.org > + > +description: |+ > + The Capture Engine Unit is the image capture interface found in the Renesas SH > + Mobile, R-Mobile and RZ SoCs. The interface supports a single parallel input > + with data bus width of 8 or 16 bits. > + > +properties: > + compatible: > + enum: > + - renesas,r7a72100-ceu > + - renesas,r8a7740-ceu > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + port: > + type: object > + additionalProperties: false > + > + properties: > + endpoint: > + type: object > + > + # Properties described in > + # Documentation/devicetree/bindings/media/video-interfaces.txt > + properties: > + hsync-active: true > + vsync-active: true > + field-even-active: false > + bus-width: > + enum: [8, 16] These should all have 'default'. > + > + required: > + - endpoint > + > +required: > + - compatible > + - reg > + - interrupts > + - port > + > +examples: > + - | > + #include > + > + ceu: ceu@e8210000 { > + reg = <0xe8210000 0x209c>; > + compatible = "renesas,r7s72100-ceu"; > + interrupts = ; > + > + port { > + ceu_in: endpoint { > + remote-endpoint = <&ov7670_out>; > + hsync-active = <1>; > + vsync-active = <0>; > + }; > + }; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS > index 37a977cbac6f..feab894f7584 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -10133,7 +10133,7 @@ L: linux-media@vger.kernel.org > L: linux-renesas-soc@vger.kernel.org > T: git git://linuxtv.org/media_tree.git > S: Supported > -F: Documentation/devicetree/bindings/media/renesas,ceu.txt > +F: Documentation/devicetree/bindings/media/renesas,ceu.yaml > F: drivers/media/platform/renesas-ceu.c > F: include/media/drv-intf/renesas-ceu.h > > -- > 2.23.0 >