Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4484733pxb; Wed, 20 Apr 2022 04:20:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwooWDIM3seNmh3q78egb+gD526UpAViL/CKAbj+TOc6HKUfi52bc1zJLELVsXnj0SaXag+ X-Received: by 2002:a17:90b:17c6:b0:1d2:8450:49b3 with SMTP id me6-20020a17090b17c600b001d2845049b3mr3823250pjb.246.1650453602426; Wed, 20 Apr 2022 04:20:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650453602; cv=none; d=google.com; s=arc-20160816; b=OQXd38P6HEqltpbDe82oZe5j3CS9ET8tLO29wZXUIvax9O5UGWqYc1nMDZbKJkbQ26 HgQPVUL7S3f98st0jrm9vykoLLtFRWXhgZ9seUdWJ4qpkfnSdLQGYJHI7YzMfxG7uwv0 MCq69gX27LktfDlN1I2qnEDgT1dDj9RwRuQsUOz6noUNlkYG2lj095jT50gUSvSlZMBJ zs2w+lyQP44x1jfCzSZzvB3WNR7FSQKdVmy9xbqOjCIUm3hduPicdEuT9HTQq2AJ06gu Eg5dEo1wBaNaN9WhRhLSbaw8+sg7pr5uHrml3A7o3RvXQmGdZnQR6HVWOtiftdRjL9Tf CVBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=Iyk3WmZlrrPdon5+Z/jpoKAlJHAo9TfpTgCPQvM8Jw4=; b=r3dUSy6EO6vULQylwD3j1KddqaJJBZ0qMsBqG+YnHer883neZ0w41XsmvxvPpwMZEr BwQVKUHJWhkIu/jYeUgwzkgkbRDa21OY2NP4N1jMRXkudt+Ni59ZM+KtoPV70M64SS9v +qXEEhQPnS7WsD/JPgINRxGvFtZW8xu0m6sB27I1HSKbpvv6o091yVaWbSQ+pOtm+KrI MScu6OuZgYpk0bQkAv3j8aLi8kLSgeSiPmdccdFMaGkdZB+x8TkDODoY4SU6t7rINR9t DpcS5QYw4cf2rGE1tVNrc2dTOqxQgRhaUa6HwSXNfT1hfPIpiEZ9A1kFaBE2dqdctA3x ZR6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id om2-20020a17090b3a8200b001cdbf9d04d6si1821361pjb.178.2022.04.20.04.19.47; Wed, 20 Apr 2022 04:20:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376581AbiDTH7X (ORCPT + 99 others); Wed, 20 Apr 2022 03:59:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376567AbiDTH7T (ORCPT ); Wed, 20 Apr 2022 03:59:19 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C19F2668; Wed, 20 Apr 2022 00:56:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CF8ADB81D57; Wed, 20 Apr 2022 07:56:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 730F5C385A1; Wed, 20 Apr 2022 07:56:30 +0000 (UTC) Message-ID: Date: Wed, 20 Apr 2022 09:56:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 1/5] dt-bindings: media: platform: visconti: Add Toshiba Visconti Video Input Interface bindings Content-Language: en-US To: Yuji Ishikawa , Mauro Carvalho Chehab , Nobuhiro Iwamatsu Cc: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220414053528.31460-1-yuji2.ishikawa@toshiba.co.jp> <20220414053528.31460-2-yuji2.ishikawa@toshiba.co.jp> From: Hans Verkuil In-Reply-To: <20220414053528.31460-2-yuji2.ishikawa@toshiba.co.jp> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/04/2022 07:35, Yuji Ishikawa wrote: > Adds the Device Tree binding documentation that allows to describe > the Video Input Interface found in Toshiba Visconti SoCs. > > Signed-off-by: Yuji Ishikawa > Reviewed-by: Nobuhiro Iwamatsu > --- > .../bindings/media/toshiba,visconti-viif.yaml | 103 ++++++++++++++++++ > 1 file changed, 103 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/toshiba,visconti-viif.yaml > > diff --git a/Documentation/devicetree/bindings/media/toshiba,visconti-viif.yaml b/Documentation/devicetree/bindings/media/toshiba,visconti-viif.yaml > new file mode 100644 You need to CC this series to devicetree@vger.kernel.org so that the device tree reviewers can take a look at this. Regards, Hans > index 000000000..848ea5019 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/toshiba,visconti-viif.yaml > @@ -0,0 +1,103 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/toshiba,visconti-viif.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Toshiba Visconti5 SoC Video Input Interface Device Tree Bindings > + > +maintainers: > + - Nobuhiro Iwamatsu > + > +description: | > + Toshiba Visconti5 SoC Video Input Interface (VIIF) receives MIPI CSI2 video stream, > + processes the stream with embedded image signal processor (L1ISP, L2ISP), then stores pictures to main memory. > + > +properties: > + compatible: > + const: toshiba,visconti-viif > + > + reg: > + items: > + - description: registers for capture control > + - description: registers for CSI2 receiver control > + > + interrupts: > + items: > + - description: Sync Interrupt > + - description: Status (Error) Interrupt > + - description: CSI2 Receiver Interrupt > + - description: L1ISP Interrupt > + > + index: > + enum: [0, 1] > + > + port: > + $ref: /schemas/graph.yaml#/$defs/port-base > + unevaluatedProperties: false > + description: Input port node, single endpoint describing the CSI-2 transmitter. > + > + properties: > + endpoint: > + $ref: video-interfaces.yaml# > + unevaluatedProperties: false > + > + properties: > + data-lanes: > + description: VIIF supports 2 or 4 data lines > + items: > + minItems: 1 > + maxItems: 4 > + items: > + - const: 1 > + - const: 2 > + - const: 3 > + - const: 4 > + clock-lanes: > + description: VIIF supports 1 clock line > + const: 0 > + > +required: > + - compatible > + - reg > + - interrupts > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + > + viif0: viif@1c000000 { > + compatible = "toshiba,visconti-viif"; > + reg = <0 0x1c000000 0 0x6000>, > + <0 0x1c008000 0 0x400>; > + interrupts = , > + , > + , > + ; > + index = <0>; > + status = "disabled"; > + > + port { > + #address-cells = <1>; > + #size-cells = <0>; > + > + csi_in0: endpoint { > + remote-endpoint = <&imx219_out0>; > + bus-type = <4>; > + data-lanes = <1 2>; > + clock-lanes = <0>; > + clock-noncontinuous; > + link-frequencies = /bits/ 64 <456000000>; > + }; > + }; > + }; > + }; > +