Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753213AbeABJe6 (ORCPT + 1 other); Tue, 2 Jan 2018 04:34:58 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:35625 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751471AbeABJex (ORCPT ); Tue, 2 Jan 2018 04:34:53 -0500 X-Google-Smtp-Source: ACJfBov2/CU5UBLwt7VAojY14npk6GbAMWVvvxNpnWmu3jGzj2nvvPPXaojK8EGIiV35rudnxL+G4VvNNdFdyX7N6N0= MIME-Version: 1.0 In-Reply-To: <1514469681-15602-2-git-send-email-jacopo+renesas@jmondi.org> References: <1514469681-15602-1-git-send-email-jacopo+renesas@jmondi.org> <1514469681-15602-2-git-send-email-jacopo+renesas@jmondi.org> From: Geert Uytterhoeven Date: Tue, 2 Jan 2018 10:34:51 +0100 X-Google-Sender-Auth: M-yKfm-qkIpr4mkpAm-0u8oAyes Message-ID: Subject: Re: [PATCH v2 1/9] dt-bindings: media: Add Renesas CEU bindings To: Jacopo Mondi Cc: Laurent Pinchart , Magnus Damm , Mauro Carvalho Chehab , Hans Verkuil , Rob Herring , Mark Rutland , Linux-Renesas , Linux Media Mailing List , Linux-sh list , devicetree@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi Jacopo, On Thu, Dec 28, 2017 at 3:01 PM, Jacopo Mondi wrote: > Add bindings documentation for Renesas Capture Engine Unit (CEU). Thanks for your patch! > Signed-off-by: Jacopo Mondi > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/renesas,ceu.txt > @@ -0,0 +1,85 @@ > +Renesas Capture Engine Unit (CEU) > +---------------------------------------------- > + > +The Capture Engine Unit is the image capture interface found on Renesas > +RZ chip series and on SH Mobile ones. > + > +The interface supports a single parallel input with data bus width up to > +8/16 bits. > + > +Required properties: > +- compatible > + Must be one of: > + - "renesas,ceu" Isn't "renesas,ceu" the generic fallback? > + - "renesas,r7s72100-ceu" > +- reg > + Physical address base and size. > +- interrupts > + The interrupt specifier. > +- pinctrl-names, pinctrl-0 > + phandle of pin controller sub-node configuring pins for CEU operations. > +- remote-endpoint > + phandle to an 'endpoint' subnode of a remote device node. "remote-endpoint" is not a direct property, but must be part of nested "ports" and "endpoint" subnodes, like in the example? > +Example: > + > +The example describes the connection between the Capture Engine Unit and an > +OV7670 image sensor sitting on bus i2c1. > + > +ceu: ceu@e8210000 { > + reg = <0xe8210000 0x209c>; > + compatible = "renesas,ceu"; > + interrupts = ; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&vio_pins>; > + > + status = "okay"; > + > + port { > + ceu_in: endpoint { > + remote-endpoint = <&ov7670_out>; > + > + hsync-active = <1>; > + vsync-active = <0>; > + }; > + }; > +}; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds