Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3985269rwb; Tue, 8 Nov 2022 10:32:55 -0800 (PST) X-Google-Smtp-Source: AMsMyM7iOP3CMrGYOE4oZfRpDNCgA9koj/uULyl3Ux8YFeWq8seSOyYBJrv2jaLiQwBZ0jTomjuo X-Received: by 2002:a17:902:c745:b0:186:b287:7d02 with SMTP id q5-20020a170902c74500b00186b2877d02mr58279182plq.87.1667932375199; Tue, 08 Nov 2022 10:32:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667932375; cv=none; d=google.com; s=arc-20160816; b=A6mAa8wzp7J89CMWlNqxZBL9vGOzHZM8A0Y0dMVhtRkI2KoeNYHLH6pf7vtKxpxTL4 QLc9Wl+nC9xtndl9erdjXnrhUs8BTj+gBZa/IBlm9fxhRuJoy78rADq6kAmrv6Q5MlCI +pg4uDsvoBaHyd9yQWU3mH34DooSamvAqMw1igqvuFsYQhYM6PfddHATaB3vXyU9gGIv 3sCxKlFyyG1Qy2JLmDewlIOxIQZgJ35ZahDh/thVS3bJZarldp5QSUGTk2jHcz/u8sWh p0H03dsow3OD4qSyVYn+l2bsiNXZWku3b0V9UdhJqdrwY7pnzMQgNyLeX1AMm61QCr2q ougg== 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:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=4S8EZJDZbtM3oCAAcuZ31iTmiTXYW1L+lPMVCWl/GDk=; b=Cn+k4iVeGWnYBKs4XuvxGJy7a8IafqicfXQfF1HBXJBiwKlWHuGdwsakN1VcF2DSg7 V4hZrBlnkZ6RuIpsp8Prj3Ek+AdU3bTY5s1IKzIVySBjhROBqMkzXyT2tViRj8+FhPX0 YyNGv4gS4gM+BaEv40L+dhsGlONYiF7qU4sNc4IEJiT6b/OQrxCq0VN3sFiB7jhZGF8V Yi7dLFe3XGGSc2sI2gz1ygjNoKU2d55X7prxNDjcKut6wgLnDmTbl5K+BmGH0aws3cBb IDlyE12eaFy6xRErIoEdGrp9Uq8Q4HWtUrdyiIpTDvuIbfh2B5LidijI4P0UvsP/w6Z7 SyiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dhZDqwf1; 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 n18-20020a170902f61200b00178276c2e35si15475273plg.38.2022.11.08.10.32.43; Tue, 08 Nov 2022 10:32:55 -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=dhZDqwf1; 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 S234627AbiKHRrR (ORCPT + 91 others); Tue, 8 Nov 2022 12:47:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234640AbiKHRrC (ORCPT ); Tue, 8 Nov 2022 12:47:02 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2845554D7; Tue, 8 Nov 2022 09:47:01 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id bs21so22168624wrb.4; Tue, 08 Nov 2022 09:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=4S8EZJDZbtM3oCAAcuZ31iTmiTXYW1L+lPMVCWl/GDk=; b=dhZDqwf14fe2j9UdiqdGAWf/ff1Enkmy8X7284TTYgt4vFS5oxwGlWCk44cjNOIWeh C7X1k7EWwaNcYfTW7s6c2Asy79xj6KnQhtDGuXcw6iRSMJnLb8BfC1BPXc+f1CpfS3xD lGHz09ZV17PRqZYjpnOERIqukj8eVPBJfhKQbBWMtYRHGTA2BqHThsVGAsJoCZH8Saxk dDc3M+rhEaszbLQntXKf7vAtyFZzlOb0phkUD/JBrSuEPQMbGR379flWMVr+i7RBWLq8 IS6zMymo8wmzuP+pZh5NlJ7HuVoFGgidpe7eW2S/X4l4ByZdmR+JdBMjOyeIJPvKh4lp jVmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4S8EZJDZbtM3oCAAcuZ31iTmiTXYW1L+lPMVCWl/GDk=; b=BhjbWvJEbMAhREmufU47EAQHfbdFMpJnuJtxWVQG181+NGwvrQQHcNLN1es7nasj68 1UsDXx1Ps4w96g5uWYt6sckCsi0hoAEuaN+sAafNH8Iw9UECbR58k0KZMS/lROW7TJQc udkbIHgHrNteuEGli7rRgWfE6xvf4NEagjTWvRIxLWHl4ergDsVfoUjJwEQI8r6wkihZ K71hfyKJtB66l9oDE0Sh8g5CBfvBMQPlmfnT9XIsWd7NrbQmUJ/PI5uuSSWjykz11ipG Gfl55EWIlT6A/n69zmjfKuGAMXKppNzUYnOgi8N+27+0/rEofUTFP5Ke2NEflNkqS05Z WEaw== X-Gm-Message-State: ACrzQf3+bPZwRCjNYsJQv0x85B3gmDIvKSoWUJ1J7+jKzxkyPJ/dBXK9 h12z6jcsd7AtCAIqES5YIk8= X-Received: by 2002:adf:f392:0:b0:236:2c41:d3f5 with SMTP id m18-20020adff392000000b002362c41d3f5mr37236832wro.596.1667929620336; Tue, 08 Nov 2022 09:47:00 -0800 (PST) Received: from [192.168.0.25] ([37.222.251.204]) by smtp.gmail.com with ESMTPSA id r17-20020a05600c35d100b003c6cd82596esm16687600wmq.43.2022.11.08.09.46.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Nov 2022 09:46:58 -0800 (PST) Message-ID: Date: Tue, 8 Nov 2022 18:46:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Content-Language: en-US To: "Nancy.Lin" , Rob Herring , Chun-Kuang Hu , Philipp Zabel , wim@linux-watchdog.org, AngeloGioacchino Del Regno , linux@roeck-us.net, nfraprado@collabora.com Cc: David Airlie , Daniel Vetter , Nathan Chancellor , Nick Desaulniers , "jason-jh . lin" , Yongqiang Niu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org, llvm@lists.linux.dev, singo.chang@mediatek.com, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20221107072243.15748-1-nancy.lin@mediatek.com> <20221107072243.15748-2-nancy.lin@mediatek.com> From: Matthias Brugger Subject: Re: [PATCH v28 01/11] dt-bindings: arm: mediatek: mmsys: add vdosys1 compatible for MT8195 In-Reply-To: <20221107072243.15748-2-nancy.lin@mediatek.com> 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 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.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml > index 0711f1834fbd..aaabe2196185 100644 > --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml > @@ -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