Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4077304rwe; Tue, 30 Aug 2022 04:21:33 -0700 (PDT) X-Google-Smtp-Source: AA6agR6aZHXL9PUYyapvpWidBqwdhylNVWtqNBbyh7/+1sqcucROsHs1QLiKG44ofRFs2u7oC484 X-Received: by 2002:a17:907:28d6:b0:741:84d7:f187 with SMTP id en22-20020a17090728d600b0074184d7f187mr7139805ejc.621.1661858493596; Tue, 30 Aug 2022 04:21:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661858493; cv=none; d=google.com; s=arc-20160816; b=IbPlDHyhMLZEQ1t+eRtOvgzM/ByvUJBzcBN+zTIxjq5+VyfGkIzDXvGrGTiriJHkuf QTSqiAt0LG48watPCMmgthoq/UapET3QtqN0rnAgHzKV+9daFXcvqwUOJQTerXp4uxr9 gz1S51kcMcGDfDW8BWtVXlTKKLrgvvt9FTwuadmUdOHYs91SSmPzPIKMzzEAqnoe4/UC h02kaQg3s86A55Acj1HyC/4hUFtJIPtkJtemIU28nJYcWh034yG+pChtmVWdxgUVxvD/ t1d7r8P4yk6J+ALIatN2XQI9GXhDQv4EzzQaagiGT2vHo8u8ec8MiE+PKjUBr3RWsiAo bPjA== 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=Bwh3DGnbZqNlQ7US14g5KeAbB+d9U52bRYCLzAnaFkU=; b=zDU4UBuwkIcchu11fmVto5Zfr7YxUJ0HY6cgNZ5FLbwTnSPnAHxKfnl+ShM6lcvrOj M4gOkha1PuPMSmO/RZlCfMJNB0AaSDm4ONk6OH+ojYJGP2POuMRF23iBBEuVJfGZ/VX5 Kh1Fy4bHlk10L1Dd8IbO62bARW6583NvtB/Hqr7YQUnYpCroPLf/eABRZbd+wUol1NZj yG788vAiDlT3LjgWAQFjuDQgzfmmH3smjjDFOwC02yptuYTiTb31UUivVOcSPcmI8uwO EdaKcrAD9vUlA+70gFtcdqY18fRZKXyRqb0AuitOtJVbhUVCeCcA3pm8+JPvfEMRQRM1 8syA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=b9WJ9Yv1; 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 hq30-20020a1709073f1e00b007308bd40223si8313316ejc.669.2022.08.30.04.21.08; Tue, 30 Aug 2022 04:21:33 -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=b9WJ9Yv1; 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 S230218AbiH3LON (ORCPT + 99 others); Tue, 30 Aug 2022 07:14:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230142AbiH3LNv (ORCPT ); Tue, 30 Aug 2022 07:13:51 -0400 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23C0DD9EA1; Tue, 30 Aug 2022 04:13:50 -0700 (PDT) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-324ec5a9e97so263987617b3.7; Tue, 30 Aug 2022 04:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=Bwh3DGnbZqNlQ7US14g5KeAbB+d9U52bRYCLzAnaFkU=; b=b9WJ9Yv196Ex+J2/AQAww1MFcJ4K2KhvoOZ4zFMU27W/aJhVjoOLLnu+avud4kueZ/ mjB5RkDZH6qXi6yI4trjZBzwnCkgUpYfK+LSWUy1LrljzfTP2eJRLO5i5cjmENB75MTB o/UngNQsrk2muDJg85UPa+0/TZ/c5utNKbNmpYTv3m2XB4GtCPDuiq2KBIk7UdGrMOvW 2bj/BHGbRtra2ypjHZqLoNXvDSb2XyO+UlHhLb3B8dj7st80n1HGqjnU9v+KJsYzS1M3 2zdxxJnzD9b9tFwJbdOF4NNj1UTOL8tu1Pqw8+EVKlkJKwbXH/xjVguoxOHRVb7/4ubJ hopQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=Bwh3DGnbZqNlQ7US14g5KeAbB+d9U52bRYCLzAnaFkU=; b=dU5MUTX3aA1t+rQI6ts+vk/wB+ZdM+gMr2VuA0NgZ/oZKmZhGxQ6tuMuRVF33HGgnr iiq81PudKytlpt8rWUQNpeczQDZuhKn/vIGhYJ2DKFo2YvcsX5T5vMK6vnX/Y9BFx9/j 5aanElZgSEmGkZUcvB9BFHw2+oqujY1VxxXpcZEoy2kAJFE6npIWO/SiLoCn75Z7nPca V/+e8MRZTpJk0RWvsSj0lQBDYzVVswAjwdUYhseNjxYBem1KOhoghN676Sk4SxzfyFFZ 0aJD0zAt15swLZO8BgY8yDmzyJzAOGiziQXY8ACHuf3k/Ov/hifWXZ67zS6IiIySRHPQ sQGA== X-Gm-Message-State: ACgBeo0LPAWTsrFYzkcAJgAIBqZWZ5kwTvuwDrhSzq4gbL3MZOTPM/jv qbaroWteUErhPt++IwipUI5O7R25fixLfyyVgGo= X-Received: by 2002:a25:8b8c:0:b0:67b:5c18:870 with SMTP id j12-20020a258b8c000000b0067b5c180870mr11198176ybl.244.1661858029391; Tue, 30 Aug 2022 04:13:49 -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> In-Reply-To: From: "Lad, Prabhakar" Date: Tue, 30 Aug 2022 12:13:21 +0100 Message-ID: Subject: Re: [PATCH 2/4] media: dt-bindings: media: Document RZ/G2L CRU To: Laurent Pinchart Cc: Lad Prabhakar , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Philipp Zabel , 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,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 Hi Laurent, Thank you for the review. On Tue, Aug 30, 2022 at 12:42 AM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patch. > > On Mon, Aug 01, 2022 at 10:47:16PM +0100, 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 oneOf here either. > Agreed, I will drop it. > > + - 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. > > Both ports should be mandatory as they exist at the hardware level. > Connections (through endpoints) are optional. > Agreed, I will make the ports as required. Cheers, Prabhakar