Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2135676rdd; Thu, 11 Jan 2024 23:35:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEwYjUAWnPYNyM3riUUtytNqv9VvZe9iTXu1P4QzlE8GtDN2qVnAOEyqubDpl+SPHLmgOY2 X-Received: by 2002:a05:620a:55ab:b0:783:3823:4d4a with SMTP id vr11-20020a05620a55ab00b0078338234d4amr1054772qkn.62.1705044917482; Thu, 11 Jan 2024 23:35:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705044917; cv=none; d=google.com; s=arc-20160816; b=bRwhYbc3ZaOIdBfsM9NZgYUEZrl9mgd+LSZlkAxtfnfrzaa4IsEe+InPa6sdKJL8RP hCBpv988vynfgkv97hWOpZcZdrtkui99KE7WAk2OpySELeyJQcGDdlo8uUlNa1Fz8J4q UkGfJEqNcbnB2xyt7iFSYM0A4wuXA6xxInvvxzVM4Y0PxfyXq9GGeCMZA4LTDbR1wnoi OFkSwIDkvXVU9kUnxFFOPi0nk4+cn7CP9dQmJvwWf8Fec/aKMnyGQ0ByPfJ65DLrx7/F Ld3QCr8YDylcWlTy09MqA3gmYh1EQQhPykBo6dq4nW7rXq3ihx2YczT3ibSXEIG5V9f+ oPBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=ddS/24HTQnHz2ibEIady1e8z8N870H2ttPliU+CLMS0=; fh=4Wi0CN4TOfrTbP+E0dD6adnvPodHedBiBre9DdpGNc4=; b=uMUHoD4EIanNvCzJpmFZDuLfMYpeBJCSvNVyy41NiGmIUu+ZgPXyyWEKlCEdk2WzKw Y/9Bdp/E74aO0kWvjSk7/9HgdETrlvI2xLj66T/il2W0WipFhI9O4UdmMBIVm38dXU+y 246Kayh9tUQ3mSUM57qqFboOu1GYj/etsYORZvBl/s38FeX6M2oobiro1Kv7pCBW0DDC RRooNZ7e1FPr4XnXXJgjiZ5XsCU/rc6ABAqnyZGiyMID8URc0dlmcM2jPncNw2p2FuYv IoB29MYJKVEjN2gDCNpfBt6QY9Jz8EcQonu8wHzWcECAJOGKPa+lsvb2g5acJAM7B8ry zqEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kXhcK+xS; spf=pass (google.com: domain of linux-kernel+bounces-24383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l22-20020a05620a0c1600b00781565bc683si2348708qki.203.2024.01.11.23.35.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 23:35:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kXhcK+xS; spf=pass (google.com: domain of linux-kernel+bounces-24383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 09B551C252DB for ; Fri, 12 Jan 2024 07:35:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5D8E5D734; Fri, 12 Jan 2024 07:34:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kXhcK+xS" Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2263B5D720 for ; Fri, 12 Jan 2024 07:34:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-50e7dd8bce8so7251815e87.1 for ; Thu, 11 Jan 2024 23:34:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705044888; x=1705649688; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ddS/24HTQnHz2ibEIady1e8z8N870H2ttPliU+CLMS0=; b=kXhcK+xSpFu/qCZ9Z3oxNFA7b7YB6Q8z2nriHbNjlk3a/2xES+WUqzPMlYliODMEZE EsjFIQTqblVmMfS95Zzp0Cv5vKB+cyQvCSrY9MPZePDGnpbaAKKcIJ/BNt3VUpk7TvON iRydtRpjz6zWe5FjIW9f02HQksrhxGXzcB4ZByXAN97zZeLj4GT8/7tYu19r4wcCZlJ/ 6yqZWjjiHEbNBcjS2Pr50aK5DQPh1jl6raO+mrkDwsZxMpskxS2J4OZsNtH4UbtXdX+b sBjcgjZGzIro0IcL9zE50SGttxfAyD/CWnwgPwlmmQfEA2ZDyIKvxRWq5hhImfMzGSJa MvXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705044888; x=1705649688; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ddS/24HTQnHz2ibEIady1e8z8N870H2ttPliU+CLMS0=; b=FC2tkG9djTQSgexGgB6qyDk2cJMUvGSBqPvXboWb867BzH3FPzmv0QEdhuU+YdaVg2 H5Xr3bB8NQMPpRjHB/9ivV3tRw1U9OVzrTUG3BNvWx8AP1+m5n5eGwQ9AbJ/cujZFiks 68Yru4685fl7Rb2cf7MvAd9ei+SkVs/eKCRb9q+5FnOImbQJCKTRBIDvat7+Z4v79XhV PLYfC+553V4ITzW8QQI6xtz8i/I+oS4KS/hA6BeEHhlb+ihg3AqgW/0pOUczhaeqzZz7 EM9UECL0sEIcxQFmh6LeHLVjRIGITObdsWH9osX+afmgZ3ObKAhZeTmjkLKlppXQ3gUn Zl0Q== X-Gm-Message-State: AOJu0Yw5ZaemjqWdAbmz5mL4VBLTxj+zdfzkQKSXFJssB+MjwKFeIOlm 6T5F/bPxTrjPDFqM1mybcWSsu8zIEngB9w== X-Received: by 2002:ac2:4d04:0:b0:50e:dbfe:df2 with SMTP id r4-20020ac24d04000000b0050edbfe0df2mr336704lfi.109.1705044888127; Thu, 11 Jan 2024 23:34:48 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id l26-20020adfb11a000000b0033762d4ad5asm3092792wra.81.2024.01.11.23.34.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jan 2024 23:34:47 -0800 (PST) Message-ID: Date: Fri, 12 Jan 2024 08:34:45 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/5] dt-bindings: media: add mediatek ISP3.0 camsv Content-Language: en-US To: Julien Stephan Cc: Phi-bang Nguyen , Andy Hsieh , AngeloGioacchino Del Regno , Conor Dooley , devicetree@vger.kernel.org, Florian Sylvestre , Krzysztof Kozlowski , Laurent Pinchart , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-media@vger.kernel.org, Louis Kuo , Matthias Brugger , Mauro Carvalho Chehab , Paul Elder , Rob Herring References: <20240110141443.364655-1-jstephan@baylibre.com> <20240110141443.364655-3-jstephan@baylibre.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzT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5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240110141443.364655-3-jstephan@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/01/2024 15:14, Julien Stephan wrote: > From: Phi-bang Nguyen > > This adds the bindings, for the ISP3.0 camsv module embedded in > some Mediatek SoC, such as the mt8365 > > Signed-off-by: Phi-bang Nguyen > Signed-off-by: Julien Stephan > Link: https://lore.kernel.org/r/20230807094940.329165-4-jstephan@baylibre.com > --- > .../bindings/media/mediatek,mt8365-camsv.yaml | 109 ++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 110 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mt8365-camsv.yaml > > diff --git a/Documentation/devicetree/bindings/media/mediatek,mt8365-camsv.yaml b/Documentation/devicetree/bindings/media/mediatek,mt8365-camsv.yaml > new file mode 100644 > index 000000000000..097b1ab6bc72 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/mediatek,mt8365-camsv.yaml > @@ -0,0 +1,109 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright (c) 2023 MediaTek, BayLibre > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/mediatek,mt8365-camsv.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MediaTek CAMSV 3.0 > + > +maintainers: > + - Laurent Pinchart > + - Julien Stephan > + - Andy Hsieh > + > +description: > + The CAMSV is a set of DMA engines connected to the SENINF CSI-2 > + receivers. The number of CAMSVs depend on the SoC model. DMA should not go to media, but to dma > + > +properties: > + compatible: > + const: mediatek,mt8365-camsv > + > + reg: > + items: > + - description: camsv base > + - description: img0 base > + - description: tg base > + > + interrupts: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + clocks: > + items: > + - description: cam clock > + - description: camtg clock > + - description: camsv clock > + > + clock-names: > + items: > + - const: cam > + - const: camtg > + - const: camsv > + > + iommus: > + maxItems: 1 > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/properties/port > + description: connection point for camsv0 This explains me nothing. What type of connection point? How does it fit the pipeline going to the display? It seems you represented DMA as some other device to make your drivers easier... That's not how it works. > + > + required: > + - port@0 > + > +required: > + - compatible > + - interrupts > + - clocks > + - clock-names > + - power-domains > + - iommus > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + #include > + #include > + > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + > + camsv1: camsv@15050000 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation Best regards, Krzysztof