Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp367691imn; Wed, 3 Aug 2022 07:18:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR4EFVCW1e2OV3j0ivur2PHzZ+f6JlHoL+xquqd0GdEzC6q/HbnS+jV2MoutGflfWDSUUAwk X-Received: by 2002:a63:84c2:0:b0:41b:c8f4:df78 with SMTP id k185-20020a6384c2000000b0041bc8f4df78mr15819903pgd.625.1659536286516; Wed, 03 Aug 2022 07:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659536286; cv=none; d=google.com; s=arc-20160816; b=YlpJniVKS4nd+gm4CXgUQ2wwbuJvF8B6oSxgR54ay8PlV7GHwl6KgNEDXAO651Qrl+ 1B5WGhAZBScoVMEy9HvNvAM9mYVhHweyO3kQ832Ds7CDQO4oh7A7sXid2rFWrO/ZZFMV 17cv2YkEHa/uwT2vuvd8puJvhjcYCS3fZp8NEIt0f+N+5QE/4OvPA+ZeDL91eZkMDdoP ItUPHdKMG5MI5Xw+7XP4KlKGhw73XnUA527swtCTI2MN+AL8wkAfyKn0PPMehUmUw8/o 1mf7MhM4dKdlxeBLj8EZzh1iy1GFcYh5OOWu3KpJunisO12OdcOJxCEto7Lx5TM/zoDd EcPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qEmnRhUglwgaMG2x8XfL+UPh5kqurYSbdexAPUQtz+g=; b=MxrX4JHKFmb/XWHSLVvDOLIAMY9V1PAN/XpiA/juF7qvn/YBEOHbVCuIPzT2iM2pE0 vb3OK81cU7DBBJ1dcJmjjvaYAdDm0+hA8ygigCIjsj/SC0NGgVVLiTrDSuUFUL1C3od0 9oA75k1obQkfW9gNZH24hN0AuGGL0jL7p2ftOzJXxdEBmPsSWFncUx7chYx7+4Cdl4UE qwPz6Qx5yL0VcrpCbY1NkHhDpWy2t0KF4godQd9pel+Hixh3wvmwydgvw6G/pndyo25x FI436ZWH6Xvtlqygn7MiYtkX4fIiePOoYj7ixz31T6fuKVuL/Pv6wM7WRNwryUXGusK7 p7Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=irhK4yng; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m15-20020a170902db0f00b0016d90f4b9bcsi2660096plx.408.2022.08.03.07.17.50; Wed, 03 Aug 2022 07:18:06 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=irhK4yng; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237915AbiHCNiK (ORCPT + 99 others); Wed, 3 Aug 2022 09:38:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233926AbiHCNiF (ORCPT ); Wed, 3 Aug 2022 09:38:05 -0400 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3771186C4; Wed, 3 Aug 2022 06:38:04 -0700 (PDT) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-32194238c77so171759347b3.4; Wed, 03 Aug 2022 06:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qEmnRhUglwgaMG2x8XfL+UPh5kqurYSbdexAPUQtz+g=; b=irhK4yngUwEW391KpWw9RU4kcByAludlJD+Xq561IHNOdtLNiRzmLarGUmdFj/cXxj p+l/n9g3lgGxuUhxdtlBWklJnFAcQZUwBh+2q3bNv4foibskugl2lDqcml9IF8rAlO+W aEcNRZNP1k8xIBQQ32MAt7Rr8ageEeGf8nnNpVqkSsRF1v5PrGlX0bzL2mXg6XhBzTsB PKHVAbg/FOeaDno5+Hr719lY7Ii4YdQlNPDfpq5zsIZ4WKfOwV0+vZxREMUvj/+oS0Q4 2zzDYP68T2nCFvWls+6HETS0/LmW3k1L7o1DwvAFyf9RK5y/Gv1cA3bkcZ3CapsI8+uF dwtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qEmnRhUglwgaMG2x8XfL+UPh5kqurYSbdexAPUQtz+g=; b=y/PUp5cszsaThgRAGNvlPmODlieD407K90mbI5PGq88CectZ7k6QOChcUxNWwDaYk6 aUxiksvVUJyWmz6mDztGra/un6h9CceLKLZ51EAc7LXbU4dKwWIecNZw0gNnqLjip/o0 N/M+2qFVuRDfyfw8nTefXUuNPEY51GZZuDs/xGlQCKmQcvT+3Mie5Xt6puR1yrD6xDYW eZFNYPaOBvlcnypf73CP2qaEVlCLBCnqFLECEf2UEW/mWw2YZUA6Pt6nrxeVirocjx3o rLuYWGu4aZLkvjTqebYonl0rUVP3FVQMpbX8Oq3xPgq5BKSYM+VRXpfgmkXayc6mCmTC smGg== X-Gm-Message-State: ACgBeo2y+KYWdQpHZj6SD2dM6hrZtKfWOpdthTZb8xn06PHms4cF2Fcq DRcpsFy3fw7g3wqbdQHpbNUPbl01xav4fek4JkY= X-Received: by 2002:a81:1d09:0:b0:31d:a40:8332 with SMTP id d9-20020a811d09000000b0031d0a408332mr24629133ywd.138.1659533884058; Wed, 03 Aug 2022 06:38:04 -0700 (PDT) MIME-Version: 1.0 References: <20220801214718.16943-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220801214718.16943-3-prabhakar.mahadev-lad.rj@bp.renesas.com> <4ff10b73-d04b-cda8-6603-f6f342f5ce9a@linaro.org> In-Reply-To: <4ff10b73-d04b-cda8-6603-f6f342f5ce9a@linaro.org> From: "Lad, Prabhakar" Date: Wed, 3 Aug 2022 14:37:37 +0100 Message-ID: Subject: Re: [PATCH 2/4] media: dt-bindings: media: Document RZ/G2L CRU To: Krzysztof Kozlowski Cc: Lad Prabhakar , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Philipp Zabel , Laurent Pinchart , Jacopo Mondi , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Sakari Ailus , Hans Verkuil , Geert Uytterhoeven , linux-media , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-Renesas , LKML , Biju Das Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Hi Krzysztof, Thank you for the review. On Tue, Aug 2, 2022 at 8:37 AM Krzysztof Kozlowski wrote: > > On 01/08/2022 23:47, Lad Prabhakar wrote: > > Document the CRU block found on Renesas RZ/G2L SoC's. > > > > Signed-off-by: Lad Prabhakar > > --- > > RFC v2 -> v1 > > * Dropped endpoint stuff from port1 as suggested by Rob > > * Updated description for endpoint > > > > RFC v1 -> RFC v2 > > * Dropped CSI > > --- > > .../bindings/media/renesas,rzg2l-cru.yaml | 142 ++++++++++++++++++ > > 1 file changed, 142 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/media/renesas,rzg2l-cru.yaml > > > > diff --git a/Documentation/devicetree/bindings/media/renesas,rzg2l-cru.yaml b/Documentation/devicetree/bindings/media/renesas,rzg2l-cru.yaml > > new file mode 100644 > > index 000000000000..d7389693dae9 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/media/renesas,rzg2l-cru.yaml > > @@ -0,0 +1,142 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +# Copyright (C) 2022 Renesas Electronics Corp. > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/media/renesas,rzg2l-cru.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Renesas RZ/G2L (and alike SoC's) Camera Data Receiving Unit (CRU) Image processing > > + > > +maintainers: > > + - Lad Prabhakar > > + > > +description: > > + The CRU image processing module is a data conversion module equipped with pixel > > + color space conversion, LUT, pixel format conversion, etc. An MIPI CSI-2 input and > > + parallel (including ITU-R BT.656) input are provided as the image sensor interface. > > + > > +properties: > > + compatible: > > + oneOf: > > No need for oneOf, unless you already have a patch adding second case to > oneOf. > Agreed, I will drop that. > > + - items: > > + - enum: > > + - renesas,r9a07g044-cru # RZ/G2{L,LC} > > + - renesas,r9a07g054-cru # RZ/V2L > > + - const: renesas,rzg2l-cru > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + maxItems: 3 > > + > > + interrupt-names: > > + items: > > + - const: image_conv > > + - const: image_conv_err > > + - const: axi_mst_err > > + > > + clocks: > > + items: > > + - description: CRU Main clock > > + - description: CPU Register access clock > > + - description: CRU image transfer clock > > + > > + clock-names: > > + items: > > + - const: vclk > > + - const: pclk > > + - const: aclk > > + > > + power-domains: > > + maxItems: 1 > > + > > + resets: > > + items: > > + - description: CRU_PRESETN reset terminal > > + - description: CRU_ARESETN reset terminal > > + > > + reset-names: > > + items: > > + - const: presetn > > + - const: aresetn > > + > > + ports: > > + $ref: /schemas/graph.yaml#/properties/ports > > + > > + properties: > > + port@0: > > + $ref: /schemas/graph.yaml#/$defs/port-base > > + unevaluatedProperties: false > > + description: > > + Input port node, single endpoint describing a parallel input source. > > + > > + properties: > > + endpoint: > > + $ref: video-interfaces.yaml# > > + unevaluatedProperties: false > > + > > + properties: > > + hsync-active: true > > + vsync-active: true > > + bus-width: true > > + data-shift: true > > + > > + port@1: > > + $ref: /schemas/graph.yaml#/properties/port > > + description: > > + Input port node, describing the Image Processing module connected to the > > + CSI-2 receiver. > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + - interrupt-names > > + - clocks > > + - clock-names > > + - resets > > + - reset-names > > + - power-domains > > + > > +additionalProperties: false > > + > > +examples: > > + # Device node example with CSI-2 > > + - | > > + #include > > + #include > > + > > + cru: video@10830000 { > > + compatible = "renesas,r9a07g044-cru", "renesas,rzg2l-cru"; > > Also 4-space for DTS example, please. > Agreed. Cheers, Prabhakar