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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A46C9C00140 for ; Wed, 10 Aug 2022 15:39:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mbtKO8O9lvoctzZOKFmk1zUinJal7WbUZKlFE5yOSj8=; b=sOYlEgFvFVdiRy /gjWJtdcSvsKd/TF2fK2pQ+nYCR2sEKHVw3eOx5NSEeh+Lo5G1DGD+UimgloIRyGi1p4AnzsqLdrW bMhHUdIlHfIAE+X/gpb9wgi5CEVOSn/sFklhpscdgDDFnAm5j1xfA/kpmNBO6dbNNDD3oUVC8eBZY OqNHmBFKO05Sd3Se5I6/bubk21K8XL81/zZOmHmQTuQixwJQNk0jQ7g1uxjlfgrDzvqjk6xNkheM1 sHT58dYil4m3tEjsWsCWjXVA2dDUr6E83xYCoR1I0IAR69Qfz7XN3ZcOO1JmCRe/hqJbpD1sRwv2Q XyvVzFs4BEEHww5A2E0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oLnmc-00Cc5a-Ko; Wed, 10 Aug 2022 15:38:10 +0000 Received: from mail-il1-f176.google.com ([209.85.166.176]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oLnmY-00Cc4S-Us for linux-arm-kernel@lists.infradead.org; Wed, 10 Aug 2022 15:38:08 +0000 Received: by mail-il1-f176.google.com with SMTP id g18so8482011ilk.4 for ; Wed, 10 Aug 2022 08:38:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=d703OGIAWaJFqE2Rp42TVQVb31FLKdiwbLrmUlLlcDE=; b=6gNS7s6bUDcg2XLhNx7tzA766WO9qKOIJIDhXpOzFrA+osEMsNvmRDhtz3avpFqZSp lJWLAR0lJoDiNy20pmUh1GwVwAM6Dv0fdbxga8F0IlAj+QZ0H4odpwD4QzBx1pKSsIBh 7biGjsti2iAxizcI5Ub1iioSHU0+4FSJGmcB/09am1afKgQ8Op61bKg7Hi+/GmNkoY66 PaMNFILgTSg95G/z+jG0S7R3Y6wmB3wmavykaW0UNO+y18FH7VF3Yqw6imwhxUB2V1tx kxgXgfgn9yy9BybATvO/4DeM2+dTRxqIniatuHnuZFI7aNvuTLsWAkybiXFJfsh4Cc0M C1Yw== X-Gm-Message-State: ACgBeo3cGJ7i9kDJ7wJSafKJQHXl9i7B9V17fsvQKEYpsXZgBzscEfFK DIWnE7edTnL9PBC3WTuNKA== X-Google-Smtp-Source: AA6agR7D2VESWtQ+d0hSJfH8s2E2QhlG9jzS2sKVav6VMuiuI2rzKmJsWkaPbCLm1IMZS1BYGQfocA== X-Received: by 2002:a92:d950:0:b0:2df:afdb:3908 with SMTP id l16-20020a92d950000000b002dfafdb3908mr9158360ilq.319.1660145885264; Wed, 10 Aug 2022 08:38:05 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id n12-20020a056638110c00b003433846796esm1317158jal.5.2022.08.10.08.38.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 08:38:04 -0700 (PDT) Received: (nullmailer pid 6576 invoked by uid 1000); Wed, 10 Aug 2022 15:38:02 -0000 Date: Wed, 10 Aug 2022 09:38:02 -0600 From: Rob Herring To: Yuji Ishikawa Cc: Hans Verkuil , Laurent Pinchart , Mauro Carvalho Chehab , Nobuhiro Iwamatsu , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 1/4] dt-bindings: media: platform: visconti: Add Toshiba Visconti Video Input Interface bindings Message-ID: <20220810153802.GA585-robh@kernel.org> References: <20220810132822.32534-1-yuji2.ishikawa@toshiba.co.jp> <20220810132822.32534-2-yuji2.ishikawa@toshiba.co.jp> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220810132822.32534-2-yuji2.ishikawa@toshiba.co.jp> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220810_083807_016163_BD2C348F X-CRM114-Status: GOOD ( 21.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Aug 10, 2022 at 10:28:19PM +0900, 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 > --- > Chengelog v2: > - no change > > Changelog v3: > - no change > --- > .../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 > 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: | Don't need '|' if no formatting. > + 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. Wrap lines at 80 char. > + > +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] No, we don't do indices in DT. Why do you need this? > + > + 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 blank line > + 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 { Drop unused labels. > + compatible = "toshiba,visconti-viif"; > + reg = <0 0x1c000000 0 0x6000>, > + <0 0x1c008000 0 0x400>; > + interrupts = , > + , > + , > + ; > + index = <0>; > + status = "disabled"; Why is your example disabled? Don't put 'status' in examples. > + > + 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>; > + }; > + }; > + }; > + }; > + > -- > 2.17.1 > > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel