Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp620874rwb; Thu, 10 Nov 2022 05:30:33 -0800 (PST) X-Google-Smtp-Source: AMsMyM6mg7oPDcg2SEUsov7jCe3abysFt+rSFvdI+ztNXL5u9TyBSro3bhU+D2eUSX7bzXr/S+7N X-Received: by 2002:a17:903:1c6:b0:185:47ce:f4f0 with SMTP id e6-20020a17090301c600b0018547cef4f0mr66682280plh.132.1668087033181; Thu, 10 Nov 2022 05:30:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668087033; cv=none; d=google.com; s=arc-20160816; b=V220fhEOvwv5+414SKj5uwtsxM9ftYIPRCGxPk+FyHESj2/Gu+x81Io+gEuv6jU7gr 8wHW2Prk6+Q4RvFwyfXgTrzuIvFSdSxn2ZJBQ0DglYqgPRnFd7KFsMpOKreB3o31LAeZ nd/KF8ukqfyZmvCXF4ZYc43O+EdVyEVJwPmwVgfvw21FD8DzLnZMzs2Rr3Zr2wWF9Ux/ DSc3owa24izogPb8b4zCDNa+124CLJNh2eG93Kb1gTqvddgYfhyLTwIg0lqjIxef0CPf nk1eb22jEw4A50X+oZ+X2xzTUAZAgMNmJ5dU/V/3FNGVovPRQjuhntytFnZ+vUMHSXzy K3XQ== 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=yL0cVte9a939MoGJNQP240RI8HAcw+DjA5CbWcF3nS8=; b=R+5bXVbAQ0XNXK2HAhTD38TOOwlgzspsghW0KrrM3Vyh7csxPQrKzggVrPto8Ia3by Y/Dc7h6CmyoY8PZZorIxROHxGGewmSNQ+NJ0L5ZGmaOHtmsVM64mj1tW1IpxcpM2/7/Z TTZEDMG/GpUWLlKo982zM++HVmndeKPTeeyr0FC8tGH11dGYsbD+MbvcDKYlz7JGD9jT 9AcqU77PAsF/gdG8XhxXyiNzgGAgTImVrnD9Ob1vuNlikfA6gJxY+aFgbEykJPfPR2aE 9CScM2vtIHqpcufMlnkvkcp8Oz6DhRn4kNz7hWmLD+VEPsvdUpKU9y+x+fr37jJOdjaw jagQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kpAM4pLT; 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 a21-20020a63e855000000b004705618bd69si19017080pgk.343.2022.11.10.05.30.18; Thu, 10 Nov 2022 05:30:33 -0800 (PST) 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=kpAM4pLT; 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 S230510AbiKJNLR (ORCPT + 92 others); Thu, 10 Nov 2022 08:11:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230502AbiKJNLB (ORCPT ); Thu, 10 Nov 2022 08:11:01 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D53C7377D; Thu, 10 Nov 2022 05:10:35 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id t25-20020a1c7719000000b003cfa34ea516so4028918wmi.1; Thu, 10 Nov 2022 05:10:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=yL0cVte9a939MoGJNQP240RI8HAcw+DjA5CbWcF3nS8=; b=kpAM4pLTdK+DDmTEcqYBEUujLnIVhP1g1eiHVMXQDqrYLsplAgE7ndh/HXd8ICRR/0 7tLu7r9tovvtWxpkdIh+QCgxviJZUNgRf7ewNk6bTk+lc8Pm+efI4ZcepphVTd0yuPKZ Igt0Sl1RK3X57dWmllmDDePFjby9hnxHiuhODPFCWoct6i7TQz5Dv6RohFKL6SufUrBu QGjuCQ0TOyTCVqKtPLDY0OeefQ37a8uWTAvfNXLIQ5BjF+wpbyIEOKhk2sQ1Xuhv9rfo cJea/2l1QIGuiXHOetWojjSIB/PvgJ7owrxTQD98qWAMgoYxcisXxFZlOADaCcpAznIL 4VlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=yL0cVte9a939MoGJNQP240RI8HAcw+DjA5CbWcF3nS8=; b=rhzP9AA9O45BlkVJIWC+ZLStG2sQWB5voqbbbRsyhfOfbfJ411dCqonMh4xYuBHwRw EYV+cEREE3sUl6G/vYILvH+mRplQQFrsEFQzNYsReutaHCYrjejsaO6et+F2xy5GuFXO wLIY/gcWDda1Od8xW2OWSufZUOM1Nxp28cUqwYyoqmr0NSL0zxXLwYuYy3iUVVyBnBJ4 85m6Y8zMb+AVBzSgnC9VA3hcKFSMPxVs2mBXh/Ti1sb0vTn2SvbcnzZaEi9Ko8XVWCVt N0quyLI4htqDAJ45paQ4B5wkQ5p8s/MAphAqad4x7PQ6OslGiCp4TI2vNSiDFeOKhB1O przg== X-Gm-Message-State: ACrzQf1VXBWfdA0E7Gbts62wTXsdcFsduuvmJS9v+StQL8Ua/JlFUEFR SxdxiImdL7eUinECMZeRp1Q= X-Received: by 2002:a05:600c:4ed0:b0:3cf:7fb1:e1ec with SMTP id g16-20020a05600c4ed000b003cf7fb1e1ecmr33337961wmq.181.1668085833736; Thu, 10 Nov 2022 05:10:33 -0800 (PST) Received: from [192.168.1.131] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id r8-20020a05600c2f0800b003c701c12a17sm4928259wmn.12.2022.11.10.05.10.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Nov 2022 05:10:32 -0800 (PST) Message-ID: Date: Thu, 10 Nov 2022 14:10:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v28 01/11] dt-bindings: arm: mediatek: mmsys: add vdosys1 compatible for MT8195 Content-Language: en-US To: =?UTF-8?B?SmFzb24tSkggTGluICjmnpfnnb/npaUp?= , "robh+dt@kernel.org" , "chunkuang.hu@kernel.org" , "linux@roeck-us.net" , =?UTF-8?B?TmFuY3kgTGluICjmnpfmrKPonqIp?= , "p.zabel@pengutronix.de" , "wim@linux-watchdog.org" , "angelogioacchino.delregno@collabora.com" , "nfraprado@collabora.com" Cc: "linux-kernel@vger.kernel.org" , =?UTF-8?B?WW9uZ3FpYW5nIE5pdSAo54mb5rC45by6KQ==?= , =?UTF-8?B?U2luZ28gQ2hhbmcgKOW8teiIiOWciyk=?= , "nathan@kernel.org" , "devicetree@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "daniel@ffwll.ch" , "dri-devel@lists.freedesktop.org" , Project_Global_Chrome_Upstream_Group , "linux-arm-kernel@lists.infradead.org" , "airlied@linux.ie" , "llvm@lists.linux.dev" , "ndesaulniers@google.com" References: <20221107072243.15748-1-nancy.lin@mediatek.com> <20221107072243.15748-2-nancy.lin@mediatek.com> From: Matthias Brugger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 On 09/11/2022 06:10, Jason-JH Lin (林睿祥) wrote: > On Tue, 2022-11-08 at 18:46 +0100, Matthias Brugger wrote: >> >> On 07/11/2022 08:22, Nancy.Lin wrote: >> > Add vdosys1 mmsys compatible for MT8195 platform. >> > >> > For MT8195, VDOSYS0 and VDOSYS1 are 2 display HW pipelines binding >> > to >> > 2 different power domains, different clock drivers and different >> > mediatek-drm drivers. >> > >> > Signed-off-by: Nancy.Lin >> > Reviewed-by: Nícolas F. R. A. Prado >> > --- >> > .../devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml | 4 >> > +++- >> > 1 file changed, 3 insertions(+), 1 deletion(-) >> > >> > diff --git >> > a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yam >> > l >> > b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yam >> > l >> > index 0711f1834fbd..aaabe2196185 100644 >> > --- >> > a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yam >> > l >> > +++ >> > b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yam >> > l >> > @@ -48,7 +48,9 @@ properties: >> > - const: syscon >> > >> > - items: >> > - - const: mediatek,mt8195-vdosys0 >> > + - enum: >> > + - mediatek,mt8195-vdosys0 >> > + - mediatek,mt8195-vdosys1 >> > - const: mediatek,mt8195-mmsys >> > - const: syscon >> > >> >> I think we had that several times already: >> > https://lore.kernel.org/all/6bbe9527-ae48-30e0-fb45-519223a744d7@linaro.org/ >> >> We will something like this, but please check that this does not give >> any >> errors/warnings: >> >> diff --git >> a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml >> b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml >> index eb451bec23d3d..8e9c4f4d7c389 100644 >> --- >> a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml >> +++ >> b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml >> @@ -32,13 +32,22 @@ properties: >> - mediatek,mt8183-mmsys >> - mediatek,mt8186-mmsys >> - mediatek,mt8192-mmsys >> - - mediatek,mt8195-mmsys >> - mediatek,mt8365-mmsys >> - const: syscon >> - items: >> - const: mediatek,mt7623-mmsys >> - const: mediatek,mt2701-mmsys >> - const: syscon >> + - items: >> + - const: mediatek,mt8195-vdosys0 >> + - const: syscon >> + - items: >> + - const: mediatek,mt8195-vdosys1 >> + - const: syscon >> + - items: >> + - const: mediatek,mt8195-mmsys >> + - const: syscon >> + deprecated: true >> >> reg: >> maxItems: 1 > > Hi Matthias, > > As the vdosys0 previous reviewed patch: > > https://patchwork.kernel.org/project/linux-mediatek/patch/20220927152704.12018-2-jason-jh.lin@mediatek.com/ > Should I modify the vdosys0 items format like your example? > > Or should vdosys1 add items format like vdosys0's previous patch? > - items: > - const: mediatek,mt8195-vdosys1 > - const: mediatek,mt8195-mmsys > - const: syscon > No, vdosys1 must not have mediatek,mt8195-mmsys fallback. Regards, Matthias > Regards, > Jason-JH.Lin > > > > ************* MEDIATEK Confidentiality Notice > ******************** > The information contained in this e-mail message (including any > attachments) may be confidential, proprietary, privileged, or otherwise > exempt from disclosure under applicable laws. It is intended to be > conveyed only to the designated recipient(s). Any use, dissemination, > distribution, printing, retaining or copying of this e-mail (including its > attachments) by unintended recipient(s) is strictly prohibited and may > be unlawful. If you are not an intended recipient of this e-mail, or believe > > that you have received this e-mail in error, please notify the sender > immediately (by replying to this e-mail), delete any and all copies of > this e-mail (including any attachments) from your system, and do not > disclose the content of this e-mail to any other person. Thank you!