Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp932344rwl; Wed, 12 Apr 2023 06:14:33 -0700 (PDT) X-Google-Smtp-Source: AKy350YGDt++8X4pvACt/pdFtjWPeFYDl5RfDOK/B8crFTfnHxMu5l9nYkNyxzYMHb5UQ0lb3iNL X-Received: by 2002:aa7:953a:0:b0:636:4523:da93 with SMTP id c26-20020aa7953a000000b006364523da93mr10411174pfp.12.1681305273130; Wed, 12 Apr 2023 06:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681305273; cv=none; d=google.com; s=arc-20160816; b=yflvbtzyC7Ug1e0FSBdkT6cCDzMTLpC0C+CmTxPdcFcw6pXm5Z67vDrwZj/T5V+mkA F6D4Ed1INa4YGbO+iY/tyvn8Zk6UeRVuCrwO3Cggh6/P7H0oqcSbbiTQFlQd7jLiY6Sv 513JN8bcByWp6Ws7DyhVu2KVkyzVuF1US/F0Y5yaBEzK4ec14/wchCxZJhNyq+B+uF18 zfAWniuSujBBTSpuX1bl60z6MUpzDcasF3ASyEj5LzUpvasJGVn85hmNQvnOKusEdf7m IablKbyU/oInKAtBGO70DxX9DLJnbe4Nsks0f+tAnX1i2XY0JzlI1SqxLjUiIjuZpvqd yZqw== 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=IsrkVPeKsaynFnbWlBbnoqSaEozGzCnZBk6Qj0AOkSA=; b=RAF1rCSo2zZ7sXJydkGEU6cdijgyRsKGAp2ElBqT4r25GvBwYA7yjD6YN8jDGJNeLl 7yNCkyVrvaR96024Ue6PJuiFqgyrZgEDiA6n3AEWeShxjjlz6hWrSHpGW6aEAcuvZi/M xPSnuTYt5RTbko0JrKk6jp7kEOSVkoWFFLhZrmcXhXyXDfmd9fyrZxE0mvFtQHVUBEiU +0qBr/EtoXe3Cij9AxjRH6oRN8y9t+zHbqA/nPFN2elwbGiVfLpwX4iNRLJTNC4A7bk6 24K2Z0Rr6UI1dcxmLs+TA7/tvZpB0BDlFJRZ6yW6rHHLkX/m27ohOncizTb3Wb4ePnu8 VVXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b="ssqrDy/2"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q13-20020aa7842d000000b006399bb6f5b2si1554417pfn.25.2023.04.12.06.14.21; Wed, 12 Apr 2023 06:14: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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b="ssqrDy/2"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231233AbjDLNNn (ORCPT + 99 others); Wed, 12 Apr 2023 09:13:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231223AbjDLNNR (ORCPT ); Wed, 12 Apr 2023 09:13:17 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65BCB93E8 for ; Wed, 12 Apr 2023 06:12:52 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id eo6-20020a05600c82c600b003ee5157346cso8036039wmb.1 for ; Wed, 12 Apr 2023 06:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1681305170; x=1683897170; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IsrkVPeKsaynFnbWlBbnoqSaEozGzCnZBk6Qj0AOkSA=; b=ssqrDy/2cLPJMN/UfNNxohNjADmsWrmIPazYKu4Ca3VT51kMGJqUU1fvWcWP4RjuZo 4dF+jf6yXYovywxAeb9lSaPiNCt6S4eT3K+uf9VRCmYJmFdY8L41VcIutelklqmDsd6V qEQiJk6+v2YoizYOHRkf0dteFBK+5GWCvEXstGpl1jIPIMOXUsz7nnNubKdh5OvNHnOL aDF6VeDl9OZ8cI5sC0EVKynLDlBXTOguFMXJZ/LRchX+pbtIPKdlFgmkzwneaoW2z/GQ VQFB2AhqMthknYvrUs8GSB/XmaDK1dHZobdQvl+1Y43TnONYn2GITk4eWX+S3A94HX6O 2rYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681305170; x=1683897170; h=content-transfer-encoding:in-reply-to: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=IsrkVPeKsaynFnbWlBbnoqSaEozGzCnZBk6Qj0AOkSA=; b=wTbDLaSSOUoorJq8DkfTpWJ5G/ZXeA8yMBydIJBNQqGdkHN+hX6equODePKknw4rOO dRfrlpMYGlfSmmWxhA8LE+btrbNzPZ5C6AVJhldGu4XW7qpYk1XKwoG6tbXnu2TilouP sxRIZGrUu/TArkc4RXD+YtqCsqfUaaHTwmv4f4NEgd0FHfZqEVciGnxlc8uCr+wOosZz zOtSx5ixIf/r0ynUIeuza84xW0IYF+VzyLTXgDb6P/RCag+d9q3WaM+xI0IOgvUb+fhg rpF93AF+5oWNKk+1u7Zui//GgygiwF2sRHlSKMNCsgjq3zDNMbxYTofHKBlCkItFSyN6 24Dg== X-Gm-Message-State: AAQBX9f7xB00yEgOO/3z3tHUDxrlL5C1fcgv0vb47UjMNL2qVf/D9jsd 5q/TVhT+TsmVh1Fq/vOUReKCSA== X-Received: by 2002:a05:600c:2142:b0:3ef:62cd:1ef with SMTP id v2-20020a05600c214200b003ef62cd01efmr4545069wml.25.1681305170583; Wed, 12 Apr 2023 06:12:50 -0700 (PDT) Received: from [192.168.1.172] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.gmail.com with ESMTPSA id z12-20020a7bc7cc000000b003ee63fe5203sm2311867wmk.36.2023.04.12.06.12.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 06:12:50 -0700 (PDT) Message-ID: <7e53c0b1-3aed-da08-5c57-800ac2277bc6@baylibre.com> Date: Wed, 12 Apr 2023 15:12:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 02/27] dt-bindings: phy: mediatek,dsi-phy: Add compatible for MT6795 Helio X10 Content-Language: en-US To: AngeloGioacchino Del Regno , matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> <20230412112739.160376-3-angelogioacchino.delregno@collabora.com> <20684378-cf3e-0299-d390-287b7bafbda5@baylibre.com> From: Alexandre Mergnat In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 12/04/2023 15:03, AngeloGioacchino Del Regno wrote: > Il 12/04/23 14:59, Alexandre Mergnat ha scritto: >> On 12/04/2023 13:27, AngeloGioacchino Del Regno wrote: >>> Add a compatible string for MediaTek Helio X10 MT6795: this SoC uses >>> the same DSI PHY as MT8173. >>> >>> Signed-off-by: AngeloGioacchino Del Regno >>> >>> --- >>>   Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml | 4 ++++ >>>   1 file changed, 4 insertions(+) >>> >>> diff --git >>> a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml >>> b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml >>> index 26f2b887cfc1..a9f78344efdb 100644 >>> --- a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml >>> +++ b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml >>> @@ -24,6 +24,10 @@ properties: >>>             - enum: >>>                 - mediatek,mt7623-mipi-tx >>>             - const: mediatek,mt2701-mipi-tx >>> +      - items: >>> +          - enum: >>> +              - mediatek,mt6795-mipi-tx >>> +          - const: mediatek,mt8173-mipi-tx >> >> AFAIK, it should be: >>        - items: >>            - const: mediatek,mt6795-mipi-tx >>            - const: mediatek,mt8173-mipi-tx >> >> Since it isn't respected above for mt7623, it may be tolerated. >> Please, take this comment as a suggestion, isn't a NAK from me. >> > > First of all, Thanks! > I want to explain, though, the reason for that. > > If you check all the commits, on some I did it as you just proposed, while > on some others I did it with an enum before const: that's simply because I > *totally expect* some to grow, while others (const - const) I was either > unsure, or totally *not* expecting them to grow soon! That's what I thought. IMHO, if someone add another compat later, he will be on charge to change the const by enum front of your "mediatek,mt6795-mipi-tx". But my opinion is probably not the most popular. I will not make the same feedback for the other patches in this series. -- Regards, Alexandre