Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE3E9C61DA4 for ; Thu, 9 Mar 2023 04:40:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229780AbjCIEky (ORCPT ); Wed, 8 Mar 2023 23:40:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbjCIEkq (ORCPT ); Wed, 8 Mar 2023 23:40:46 -0500 Received: from mail-vs1-xe29.google.com (mail-vs1-xe29.google.com [IPv6:2607:f8b0:4864:20::e29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D4B2BF3B0 for ; Wed, 8 Mar 2023 20:40:45 -0800 (PST) Received: by mail-vs1-xe29.google.com with SMTP id d20so536256vsf.11 for ; Wed, 08 Mar 2023 20:40:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1678336844; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1HfEhdsNHcbX3MgYanmt5oONyvC5m572GacJct3ywv8=; b=OY4ZWjxAKzzEe17t+/omd8pzCo16GDs+lISGaBNc7ARvCqvIDcXrBWaMz3KPUKAFAx MKYjJMlijA0oiag/o9ltWgAulpb5GN7ubgXmPwvO0JcS+CHLTYBkBOAm+jnAVTiSj+dP C9gs1nBW8msTqbWyP83xeXc2dm8SJOQ5ZteXs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678336844; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1HfEhdsNHcbX3MgYanmt5oONyvC5m572GacJct3ywv8=; b=oDm/3ViW5HP5oe9rNemHZ2zbuwaGsaAPvHrTbI3T2xececm0aGBoI6Cz5sLgQWIBG/ EQi2csEC7K1DdyLDfc0I3o0hAhx4YGzHuNrvKKIzqbz0nIQ6OU2EhxQYrHEVODdliiNM Gj6l/VpQULLudHhlZBER8/7gcg15FO2nujscYZtH0RA0S9PDgbB6irNxHeWvHPfMTuQI cMLwWPBEzegzcpUus0+c69K7a4tBHzNWVik3YPzjhttU2C2ryfHeg4It6/e4wyK2sldt 2MqJSi2aixIANJEko+vQe87b080huwMGpKXj8h2ETXpmzFb4j8o3FMGr7YsqkdQf3Xwc jDfw== X-Gm-Message-State: AO0yUKVJQIP7aT/iBACNc0vC1h6EUyvjvFp3SMtihOZYTGzOgLmlmMPo iHbHr2ZM81ORp/g7Dr/VOZiLOgznxqdbNuCQXmAM4g== X-Google-Smtp-Source: AK7set/qz7AXP379kXCwXSGP7qW4SxN2fHK9WOBBCqjE7wujg+HjwD4MbiqD6RrlzvCfV93hp0pdiEJhzThyfyxm1e0= X-Received: by 2002:a05:6102:21ae:b0:412:364c:68be with SMTP id i14-20020a05610221ae00b00412364c68bemr13182027vsb.7.1678336844113; Wed, 08 Mar 2023 20:40:44 -0800 (PST) MIME-Version: 1.0 References: <20230307154524.118541-1-bchihi@baylibre.com> <20230307154524.118541-2-bchihi@baylibre.com> In-Reply-To: <20230307154524.118541-2-bchihi@baylibre.com> From: Chen-Yu Tsai Date: Thu, 9 Mar 2023 12:40:33 +0800 Message-ID: Subject: Re: [PATCH 1/4] dt-bindings: thermal: mediatek: Add AP domain to LVTS thermal controllers for mt8195 To: bchihi@baylibre.com Cc: daniel.lezcano@linaro.org, angelogioacchino.delregno@collabora.com, rafael@kernel.org, amitk@kernel.org, rui.zhang@intel.com, matthias.bgg@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, rdunlap@infradead.org, ye.xingchen@zte.com.cn, p.zabel@pengutronix.de, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com, james.lo@mediatek.com, rex-bc.chen@mediatek.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 8, 2023 at 12:46=E2=80=AFAM wrote: > > From: Balsam CHIHI > > Add AP Domain to LVTS thermal controllers dt-binding definition for mt819= 5. > > Signed-off-by: Balsam CHIHI > --- > include/dt-bindings/thermal/mediatek,lvts-thermal.h | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/include/dt-bindings/thermal/mediatek,lvts-thermal.h b/includ= e/dt-bindings/thermal/mediatek,lvts-thermal.h > index c09398920468..8fa5a46675c4 100644 > --- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h > +++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h > @@ -16,4 +16,14 @@ > #define MT8195_MCU_LITTLE_CPU2 6 > #define MT8195_MCU_LITTLE_CPU3 7 > > +#define MT8195_AP_VPU0 8 Can't this start from 0? This is a different hardware block. The index namespace is separate. Same question for MT8192. ChenYu > +#define MT8195_AP_VPU1 9 > +#define MT8195_AP_GPU0 10 > +#define MT8195_AP_GPU1 11 > +#define MT8195_AP_VDEC 12 > +#define MT8195_AP_IMG 13 > +#define MT8195_AP_INFRA 14 > +#define MT8195_AP_CAM0 15 > +#define MT8195_AP_CAM1 16 > + > #endif /* __MEDIATEK_LVTS_DT_H */ > -- > 2.34.1 > >