Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6072734rwb; Tue, 22 Nov 2022 08:25:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf4JL8X4HnqIKOfTMA575yGaGIFRrqDvpmn4TS8e4iS0DUFDj5BlTONcUC6YLzCqd8rVUmEQ X-Received: by 2002:a17:902:d34d:b0:188:d3ea:17aa with SMTP id l13-20020a170902d34d00b00188d3ea17aamr4724618plk.32.1669134342358; Tue, 22 Nov 2022 08:25:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669134342; cv=none; d=google.com; s=arc-20160816; b=BeL6e0EmZTiTK9XHlg9DPkSlPGb8FnSDV0nUt6tYaUVtSFzjkR1pTbkUTuhfWTRTb4 zlNEkeEkjdSI3jzrTdRmRsJmQ6avT3N0QEbw5qzeqax4DEkxXZHSAEgPHWBJF1cztBgw wARi72pkUiuAkJtmV3NDKBxxy5ht16n0pLMjLVxKUDmZ1YwRQBTVo2YD2fDs5Gc4ZsCn 89Wv5nDOYIMBGdq1QVsWTzP2Ma5e7VlN1/JV8M0GKwR6uCrZNKsN8NjBPOSl71BMSn3/ vz/waSchn1mMv5PJfj8Fz0tFXXCoUwX7F7AfYSNmX5nbWSCuvvYiww0u3PxPUoERJ94J 5kQA== 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=iejRpG5xmG3AVT59k2korzV+i4h+JxFeIQ6F9nhVYVE=; b=BEG9IB0MYYTBDitTn8/JnkmZ9Sy/Wrq7s7uZN9ImX5x9oomuiwbDCkd0U0OP3Jt3vC szu0Ko4r118G3GlbdZd4vVyJzmg6gMUUcfB5W0GjVorjj8Leob8VtIj35knUL4gqQV86 /hEwJUsjE9rGW+b/i3FmYSwCBGMu72V/aUzHUardm8i16qXAhGUU6SfOrf9g+b468ehG th2QmjZi41NI70Wb514vWnxHu3+EakVPHPmciv5sYVu+Yxhp2j7sNd1FLQNHQxr8zNcd nIagjCTGJIcTWAAmxBe4Vms/pZ6VYhVRXnt8CAqaOTAuCY63FRHfGwEX02b0g5kvtTC/ RUSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ERJaFk4R; 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 c24-20020a6566d8000000b00477b3ef3849si699267pgw.91.2022.11.22.08.25.30; Tue, 22 Nov 2022 08:25:42 -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=ERJaFk4R; 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 S232909AbiKVPsz (ORCPT + 90 others); Tue, 22 Nov 2022 10:48:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiKVPsx (ORCPT ); Tue, 22 Nov 2022 10:48:53 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F5C82E689; Tue, 22 Nov 2022 07:48:52 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id e11so12439049wru.8; Tue, 22 Nov 2022 07:48:52 -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=iejRpG5xmG3AVT59k2korzV+i4h+JxFeIQ6F9nhVYVE=; b=ERJaFk4RY2JkFY1qv6TQODE0AZ/ynMZlyKjqpHHZeLeGVUineTumgeSDCVdaBTDoCE k3JFmtpqgr2rwK2uCB+hzbXD4Lu+hEHgql6SJVCdw7yOg3rP2YZgXzJaDpEvv9VMzxEO envg5y6jmXVxTExN5qMcUhLl8tIAoNNfOCRXBoBRGS/MqWlfpz9kH9EYVqDHKh/deueG J9CNjTwJ5Bt6sLbAhD3sUZWhQF/yFlSocEihRmiNKnnbgdfeB+fWGAMd6rFZkji9ZWfB FDhyCf+fte3sj9Ss2mq8SnVDVPA45GnYCwfS2Gj/tGOYAEEbE2XxgXL9OmhNnlXIzQf1 FVwg== 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=iejRpG5xmG3AVT59k2korzV+i4h+JxFeIQ6F9nhVYVE=; b=eMkOCrInL8w9ItYtxPjPaKGW4ZKVM2CQPnHnkEZT/Frk3h4TeIhMEm/C7Y92HhkK6j kwNcarzxPbA8sry7JUV1VKFLEWs3I4vfN/Qd9E6D4fnb0uWQCqCs8UzAMjTkORCWJ53o Nx+DZIoI8DN2AE0Q3U8ggbzvzRw+7mvgHgcnDuJRjfqRglCfseHCNTOZmEuJcREaaarl xuViKjKmhsu4iVAeIISAHhiA8ZUzDbemE/lJ7lymCqe+QByC5qDEosxM9DH06l60shzQ I9BmPvnD4oj0zKuYsa8LLKsV5dEkKpwONRYur1HQVNLDHVVRWngR2AXqdxSpuqTq4z6i Mtjw== X-Gm-Message-State: ANoB5pnAfxnj0p9WpdbbIyEAXH0TBUzOSV+3+WGjNgH/N7W2Lulzg5zD NwvFdUUzRLqCidqVnG9oSnknCKKIty8= X-Received: by 2002:adf:e84f:0:b0:22e:37c1:b225 with SMTP id d15-20020adfe84f000000b0022e37c1b225mr13795647wrn.428.1669132130446; Tue, 22 Nov 2022 07:48:50 -0800 (PST) Received: from [192.168.0.25] ([37.222.251.204]) by smtp.gmail.com with ESMTPSA id f28-20020a5d58fc000000b0022e36c1113fsm14161625wrd.13.2022.11.22.07.48.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Nov 2022 07:48:48 -0800 (PST) Message-ID: Date: Tue, 22 Nov 2022 16:48:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v28 01/11] dt-bindings: arm: mediatek: mmsys: add vdosys1 compatible for MT8195 Content-Language: en-US To: =?UTF-8?B?TmFuY3kgTGluICjmnpfmrKPonqIp?= , "robh+dt@kernel.org" , =?UTF-8?B?SmFzb24tSkggTGluICjmnpfnnb/npaUp?= , "chunkuang.hu@kernel.org" , "linux@roeck-us.net" , "p.zabel@pengutronix.de" , "wim@linux-watchdog.org" , "angelogioacchino.delregno@collabora.com" , "nfraprado@collabora.com" Cc: "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , =?UTF-8?B?U2luZ28gQ2hhbmcgKOW8teiIiOWciyk=?= , "nathan@kernel.org" , =?UTF-8?B?WW9uZ3FpYW5nIE5pdSAo54mb5rC45by6KQ==?= , "devicetree@vger.kernel.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 22/11/2022 11:51, Nancy Lin (林欣螢) wrote: > Dear Matthias, > > Thanks for the review. > > On Thu, 2022-11-10 at 14:10 +0100, Matthias Brugger wrote: >> >> 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.y >> > > aml >> > > b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.y >> > > aml >> > > index eb451bec23d3d..8e9c4f4d7c389 100644 >> > > --- >> > > a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.y >> > > aml >> > > +++ >> > > b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.y >> > > aml >> > > @@ -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://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/patch/20220927152704.12018-2-jason-jh.lin@mediatek.com/__;!!CTRNKA9wMg0ARbw!zRdbIyyAsfqob2kapMAcKYATAguhEV0x0qE5cTOAcWUNhzeAbMHzZoos_2QzUCxS$ >> > >> > 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 >> > > I will fix it and add the following vdosys1 binding base on [1]. > > - description: vdosys0 and vdosys1 are 2 display HW pipelines, > so mt8195 binding should be deprecated. > deprecated: true > items: > - const: mediatek,mt8195-mmsys > - const: syscon > - items: > - const: mediatek,mt7623-mmsys > - const: mediatek,mt2701-mmsys > - const: syscon > - items: > - const: mediatek,mt8195-vdosys0 > - const: mediatek,mt8195-mmsys > - const: syscon > + - items: > + - const: mediatek,mt8195-vdosys1 > + - const: syscon > Looks good, thanks Matthias > [1] > https://kernel.googlesource.com/pub/scm/linux/kernel/git/matthias.bgg/linux/+/b237efd47df7d25b78c306e90b97c5aa0ff4c4fc/Documentation/devicetree/bindings/arm/mediatek/mediatek%2Cmmsys.yaml > > Regards, > Nancy > > >> > 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! >> >> > > ************* 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!