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 C8B9BC6379F for ; Tue, 7 Feb 2023 14:12:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232181AbjBGOMW (ORCPT ); Tue, 7 Feb 2023 09:12:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231823AbjBGOMU (ORCPT ); Tue, 7 Feb 2023 09:12:20 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E75113DDD for ; Tue, 7 Feb 2023 06:12:18 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id hx15so43338466ejc.11 for ; Tue, 07 Feb 2023 06:12:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sZ5mpqE2ocgxdfOCGy+CSBqlukMgoxHcZxwHA7en+qo=; b=L5y670ucwvznmASN/AgU3Adj4DK9TRbO1/1YS+dn/0W79V62OSh3ZRPjtCulNArAWE ivzFlnK2NeAwdYtafs0lMvGfiH6K7jW+0Que/knBzosItpl7clydO5JDQfAoD+SCMNWK srqvl4iD1hYoDi36HJpgXDjxTHqXBnSjZNbu4692jQ9G5xa8usPfaPGDVtzDeMlX/rpT qaSIopQsD6R+m7ErR4b+qrfgAcSl78f3JkYiC7AhQEZgeMGDFkTTjYESoNDoxMbN0cRr odLHYw+6+82HUhV/gWdPCrf2cNxB0aO4vC70oa2SQlJflzZNMziU2XPjBThE/PSOd44z +PxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=sZ5mpqE2ocgxdfOCGy+CSBqlukMgoxHcZxwHA7en+qo=; b=lH0+/Fm5BdpfJW1nwpunhs2PKJmyOmwOYbIh5BWV9ewNp7ebaFF6QV/8XqQmvIrWM+ vyUVldmOnDeion3UFeKiV1KZDTOcMuw3s5GhopYokYk/9AMeBhVL88xUCymX9gVFvb7c vAiiS9SxLpq4eWD0afhY/BWyrDYNXfy0p/sKGSHw5p3gqssVs1hYNvvEH7IFN45yHRj5 JtZqVKcecPad4ue4AuZ5tOhSk0v94kGbN7PsF+GSWbbwhO+g2mgssj1IFw6ZuMQUZf6J ERlT4UD2f/GIr/47cQnOB6U7t5SujDCDjDq7oCQCWT61CLffZfSHpjOVHqwDsOi0I0dQ DWDw== X-Gm-Message-State: AO0yUKVWDfrxr2BHzLaBoJ6IuTsNdhIsMKi2TfEdprnZNwFLMb4Wr0Lv fBfNNsG0E2l2ciY6bn7qOc5bagdHGAcnP+Ok9HyYjQ== X-Google-Smtp-Source: AK7set/oFiHS7dnqOHD5CRTN/KUIGukzO1ouxhtBnCV18RKKz15grDjDu1XvBQC50v14OV0tRya/fbXqJ7mbQOxpli4= X-Received: by 2002:a17:906:ca04:b0:7c0:f45e:22ff with SMTP id jt4-20020a170906ca0400b007c0f45e22ffmr999899ejb.104.1675779137174; Tue, 07 Feb 2023 06:12:17 -0800 (PST) MIME-Version: 1.0 References: <20230207130958.608305-1-bchihi@baylibre.com> <20230207130958.608305-3-bchihi@baylibre.com> <046b3b31-cbf7-674d-f05c-b825d6b46bf6@linaro.org> In-Reply-To: <046b3b31-cbf7-674d-f05c-b825d6b46bf6@linaro.org> From: Balsam CHIHI Date: Tue, 7 Feb 2023 15:11:40 +0100 Message-ID: Subject: Re: [PATCH v13 2/6] dt-bindings: thermal: mediatek: Add LVTS thermal controllers To: Krzysztof Kozlowski 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" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, Thank you for the review. On Tue, Feb 7, 2023 at 2:35 PM Krzysztof Kozlowski wrote: > > On 07/02/2023 14:09, bchihi@baylibre.com wrote: > > From: Balsam CHIHI > > > > Add LVTS thermal controllers dt-binding definition for mt8192 and mt8195. > > > > > > +allOf: > > + - $ref: thermal-sensor.yaml# > > + > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - mediatek,mt8192-lvts-ap > > + - mediatek,mt8192-lvts-mcu > > + then: > > + properties: > > + nvmem-cells: > > + maxItems: 1 > > + > > + nvmem-cell-names: > > + maxItems: 1 > > + > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - mediatek,mt8195-lvts-ap > > + - mediatek,mt8195-lvts-mcu > > + then: > > + properties: > > + nvmem-cells: > > minItems: 2 > OK, I will do the change. > > + maxItems: 2 > > + > > + nvmem-cell-names: > > minItems: 2 > OK, I will do this change too. > > + maxItems: 2 > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > (...) > > > diff --git a/include/dt-bindings/thermal/mediatek,lvts-thermal.h b/include/dt-bindings/thermal/mediatek,lvts-thermal.h > > new file mode 100644 > > index 000000000000..4f2082065a31 > > --- /dev/null > > +++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h > > @@ -0,0 +1,19 @@ > > +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ > > +/* > > + * Copyright (c) 2023 MediaTek Inc. > > + * Author: Balsam CHIHI > > + */ > > + > > +#ifndef __MEDIATEK_LVTS_DT_H > > +#define __MEDIATEK_LVTS_DT_H > > + > > +#define MT8195_MCU_BIG_CPU0 0 > > +#define MT8195_MCU_BIG_CPU1 1 > > +#define MT8195_MCU_BIG_CPU2 2 > > +#define MT8195_MCU_BIG_CPU3 3 > > +#define MT8195_MCU_LITTLE_CPU0 4 > > These changed for some reason. Why? The indentation is now broken > (although not visible above quote, but visible in diff and code). I thought that I fixed the indentation. I will restore it. > > Best regards, > Krzysztof > Best regards, Balsam