Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5561534rwd; Wed, 24 May 2023 03:47:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ61ctLwyKFF6tRLAB8NE/ZjNT89uedix6Ngl+2nXhE0fQ1X29KHmDTGZeGsQDg94uZPlWfH X-Received: by 2002:a17:903:32cd:b0:1ac:820e:c348 with SMTP id i13-20020a17090332cd00b001ac820ec348mr21467058plr.0.1684925225775; Wed, 24 May 2023 03:47:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684925225; cv=none; d=google.com; s=arc-20160816; b=cgp0MbYTCSb9n8luPN32DCXiKHF9mgzeF4jaoKU1+3mebBof4ZLb/JJ6BJQOcoXb9+ L1IF2eZF0Ux3i/CDSD8MOcrrPQhb+/M2y0Q0lqmXOvj1FUXqhNIqmsZNvfE6eqwR+69+ gwN+tO+ZDLtz0AZoQlPt2U7C8JB/Z7NJcIy+tvSTLoYTmtTHJ+yUt7kN9LFrK9R8RxsO Goet6MVeN+XLEAcu1UytE9C7Sj43m0oGLsnVAjJugtkMn4S6owLPkZh8G0ZHev8556Kh D8exe2eTLgfgBRXrVDDV9lVhGPcSrJxO7u0HvH5A07u+AhACL/TT0Zf14GskGdOo4AFE b1uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=HB7f37LXePkyFUtjAk45Qj1wKMY3NzYnUo7vHT+8i8k=; b=IIwiwWJ9duwcQWBSyIVCCNHpGBEfLcTsEZlCyeNM86R2JYTTOFRUhZobufHvgkEMI0 ttGorXp4Q/wK8BF3teaVHTJPvSVw9K2XxdncUQpwadFOQLXTijnqmO0mbzUzuheqzhrw 4BgLZ9zOCnQ3GkTkUpEe/toCKACpiOnW74KJT/vkgD4MCF3e1rw0anluyg6Wkqfzswcx uekLozFhU0/vzW0WlI8P4XJErHsYI/tYbnFRXG0HVsLIw/5A/PEyD4KFe+HhfNZ7GDYG 4UfgR0LAic4jQZJp2U96lrCinwk+8Xo1GFoic1R8rNgJkhlqOJMxLeElQ/tvMTHhOih1 +/Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ajMypXEf; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b14-20020a170902650e00b001ae7da95d0esi781828plk.479.2023.05.24.03.46.52; Wed, 24 May 2023 03:47:05 -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=@collabora.com header.s=mail header.b=ajMypXEf; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230168AbjEXJpi (ORCPT + 99 others); Wed, 24 May 2023 05:45:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbjEXJpg (ORCPT ); Wed, 24 May 2023 05:45:36 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD58E93; Wed, 24 May 2023 02:45:34 -0700 (PDT) Received: from [IPV6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab] (unknown [IPv6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 82C6866021E6; Wed, 24 May 2023 10:45:32 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1684921533; bh=gnyIrp2NNSRQPz2LUIGtdI9gWB+xhLZRVzKNi1Mfmz0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ajMypXEfpgCDo9i3QTk3N7jns/KFaeEfe6BICsgwzlRyG0F6rAVQQNWBoitvA5mfb Nlopld6omkSMKi/deYelf6NsxLHS8C09xTk4FdUOp9brM2ggV1WNvsH9shK1Q7Sht6 A3xgFnmix9Dxa9MJPwCKG6iebdIZFOhqEWyU7nNTHEDlnPph/C9IY1ubPYMT11fpAZ yFeC5r8EFx6leNcUFFfft6DQ0ly8btochdeWAyrT28YBoSojyLjknLjB8+UaMyk3Ws kseGEU59hBJHN4jY1zYGtT+tEeZ7/0gCvgw+5uBmZLQn6wHgTE2qKu2yoPOTvvWhL3 IK/LOvX4S5YrQ== Message-ID: Date: Wed, 24 May 2023 11:45:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v3 2/3] dt-bindings: phy: add mediatek MIPI CD-PHY module v0.5 Content-Language: en-US To: Julien Stephan Cc: mkorpershoek@baylibre.com, khilman@baylibre.com, Florian Sylvestre , Andy Hsieh , Chunfeng Yun , Chun-Kuang Hu , Conor Dooley , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Kishon Vijay Abraham I , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org, Matthias Brugger , Philipp Zabel , Rob Herring , Vinod Koul References: <20230524083033.486490-1-jstephan@baylibre.com> <20230524083033.486490-3-jstephan@baylibre.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230524083033.486490-3-jstephan@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 Il 24/05/23 10:30, Julien Stephan ha scritto: > From: Florian Sylvestre > > This adds the bindings, for the MIPI CD-PHY module v0.5 embedded in > some Mediatek soc, such as the mt8365 > > Signed-off-by: Florian Sylvestre > Signed-off-by: Julien Stephan > --- > .../bindings/phy/mediatek,mt8365-csi-rx.yaml | 67 +++++++++++++++++++ > MAINTAINERS | 6 ++ > 2 files changed, 73 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/mediatek,mt8365-csi-rx.yaml > > diff --git a/Documentation/devicetree/bindings/phy/mediatek,mt8365-csi-rx.yaml b/Documentation/devicetree/bindings/phy/mediatek,mt8365-csi-rx.yaml > new file mode 100644 > index 000000000000..a1bd96a98051 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/mediatek,mt8365-csi-rx.yaml > @@ -0,0 +1,67 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright (c) 2023 MediaTek, BayLibre > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/mediatek,mt8365-csi-rx.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mediatek Sensor Interface MIPI CSI CD-PHY > + > +maintainers: > + - Julien Stephan > + - Andy Hsieh > + > +description: > + The SENINF CD-PHY is a set of CD-PHY connected to the SENINF CSI-2 > + receivers. The number of PHYs depends on the SoC model. > + Depending on the SoC model, each PHYs can be either CD-PHY or D-PHY only > + capable. > + > +properties: > + compatible: > + enum: > + - mediatek,mt8365-csi-rx > + > + reg: > + maxItems: 1 > + > + '#phy-cells': > + const: 0 > + > + mediatek,phy-type: Instead of declaring a phy-type here like this, can't we instead declare that in the phy cells, like we're doing with MTK TPHY and like other non-MediaTek PHYs are already doing? device { ... phys = <&csi0_rx PHY_TYPE_CDPHY>; ... } Regards, Angelo