Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2139902rdd; Thu, 11 Jan 2024 23:49:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4JObglmqDEGAFL7PapHGS31SGUGyNmmPjMTbagzbCTeo677KFRxn0sUugfZALvnWgcQ/K X-Received: by 2002:a17:903:22c8:b0:1d4:cbe:b354 with SMTP id y8-20020a17090322c800b001d40cbeb354mr519068plg.105.1705045791544; Thu, 11 Jan 2024 23:49:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705045791; cv=none; d=google.com; s=arc-20160816; b=b4E8ZkoDyqH062yO+6RRK7vAzPfWVCQ1Y6cLvHc5aht+mazXB+w5BhiiWopj2TrLDY 0G7LdlnbPorjBzBRQhKXvwt260xX5OcfUdE2tSBvdFcgqgA+UJb16PoP9i/FOr+WRXUr oSokPAvvoYaOgWn1Jlhqbk2Sy6Bb9UnqNREV1ZGEjMHcTp5LbXJcOgF6fconY4T1VvcU g/sn8/UJFJTKGd66pBO9Lm7mhBcoPbYggrNECAHKCR/Kmg+jiajXSl5oYerBqjx9iZQw XPsT0RgqPgLgk88eBIqPC2oz/6o9xlGruWjwkeqwN9n6hsGU5nx6xf1r+YWfF8srYn82 LHuQ== 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=ho7SlJoHvT+wKcAbJ0KHph2ARaFaURvHzXGzLEWuXYo=; fh=WFo/iXVNSnfzIjgKzFktwPaARyJhzxj5M2mcFwOnMX0=; b=gs3jhxqVSSGDuyqY1k3OhaWYbu3xlxHgOO02mzTx6OTlo8HP7trsyU9YQG71cOBzkO jydRIDrax1bLQdPNAp68LJ7KQuE1HXjhkHyy59fERb8bdF/7Ja7U+S+z6gY6D4/5uTje 1TMQ9yXe6+5BBKi+rNCLTAFeaJNsTFj2Y8mJXa1n5YF2FmtgNeSSW9QqhwSb8qR0oSZu CT9cnL6BUZZ4Vi51j2KGgLoC6oIyoZjb8Ih7ffVAGX5pGaIVoESuz5kN/EJfL9Oq5OPu sNf/bS+FEzyA1iCcm3/nn18pNh4lr7HTZWFgBbW7nX3AeUryTIde2ZUN+62nxAftdMQO NI4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ie3A3n5Y; spf=pass (google.com: domain of linux-kernel+bounces-24398-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24398-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ki12-20020a170903068c00b001d0b24ebfc2si2596512plb.586.2024.01.11.23.49.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 23:49:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24398-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ie3A3n5Y; spf=pass (google.com: domain of linux-kernel+bounces-24398-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24398-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 364AB2827C1 for ; Fri, 12 Jan 2024 07:49:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 897FC5D72F; Fri, 12 Jan 2024 07:49:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ie3A3n5Y" Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) (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 33EF65D726 for ; Fri, 12 Jan 2024 07:49:39 +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-pg1-f181.google.com with SMTP id 41be03b00d2f7-5ce0efd60ddso3526789a12.0 for ; Thu, 11 Jan 2024 23:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705045778; x=1705650578; 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=ho7SlJoHvT+wKcAbJ0KHph2ARaFaURvHzXGzLEWuXYo=; b=ie3A3n5YUqqyyK0MT8CgyskoPeCk2RPPtl6sv9bhKYxBMNfbflBYuzwIfYtY7yhcmh NldONS9bAZonsw1jsLO4BNxkedYKFxZ+ClRgTXJcEWkI+Y7i+b1UEmkSINJIPIduuNH7 fzTZc+Fylpnb4HQ9WS54bJvgr0hGr4/PSS5fQkr5cpQzhKUiTnF/0yLuqmpUB94f3r3o 86edvgHyMf2Ng1Op15divioX9cwUWWN0G4Jf2qQpzLdK3GxshLn38bJ//EHkeQWepVdL WbIh8msDK2kvrEkTdL5XXYzVVfMZJoTMHisD0Xu12CorlP7rb3jtzcEaPuy2kj0BQxD0 QmHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705045778; x=1705650578; 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=ho7SlJoHvT+wKcAbJ0KHph2ARaFaURvHzXGzLEWuXYo=; b=bj3ar+L6plTRgSJYFwI+LmIlZBLd2UAH7hh8BUxksaG5hVHyQh6B5ZL3s+TYreCRRV 5HeKQ00B2OqNByRATskULS2XT3iYtipAhNzeF/qDYDWb81wvljuBriISKPyXD424Fh3w BYZh2DGE34FeIoT+VwFnSZMbMsTM2qJEYqM0qE3IucJiJqzZ47kRhOD5jbwk4PnaZT/4 9QFIGuSFnjM1QLPXVWxwOZk3yP6oWq8/Uk6pQnXeJjZ+2Mfn0OHgC1Wx3pt74j9qvpmd 9KI5BRcFsKkB+yrqxA5e/AayIN+UHUsYuaoix0T3CLjRMn1qbcr05HwGFB62wImrDiFA 7KOA== X-Gm-Message-State: AOJu0YzMcC/I2gAIr1X8KIG37588iO+RqCmzozbJLpbQw01+F7HmKXM7 zMzJAvMeCiNZ5MDKNtpVqpOXayuvqmyXWA== X-Received: by 2002:a05:6a20:72a8:b0:19a:81ff:d24a with SMTP id o40-20020a056a2072a800b0019a81ffd24amr409703pzk.60.1705045778088; Thu, 11 Jan 2024 23:49:38 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id x1-20020a17090a388100b0028c95804922sm5882465pjb.51.2024.01.11.23.49.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jan 2024 23:49:37 -0800 (PST) Message-ID: <2792ce50-c95c-41b8-b564-7d1f98361e78@linaro.org> Date: Fri, 12 Jan 2024 08:49:27 +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: Laurent Pinchart Cc: Julien Stephan , Phi-bang Nguyen , Andy Hsieh , AngeloGioacchino Del Regno , Conor Dooley , devicetree@vger.kernel.org, Florian Sylvestre , Krzysztof Kozlowski , 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> <20240112074141.GA21256@pendragon.ideasonboard.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/BIfXXfC68nMp9BZoy3So4ZsbOlB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MZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240112074141.GA21256@pendragon.ideasonboard.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/01/2024 08:41, Laurent Pinchart wrote: > On Fri, Jan 12, 2024 at 08:34:45AM +0100, Krzysztof Kozlowski wrote: >> 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 > > They're not generic DMA engines. The CAMSV is a video capture device > that includes a DMA engine, much like pretty much all the other video > capture devices. OK, some more explanation would be useful in description. > >>> + >>> +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? > > The description seems wrong, it should state > > description: Connection to the SENINF output > > or something similar. I am still not sure whether DMA engine should be connected via graphs. Best regards, Krzysztof