Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp340943imn; Fri, 29 Jul 2022 08:27:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tut8vXH/kEUyh5rA8mRgG7CFhw6OJ1VEf/+KknMgTQCSqB/mAEgum3UNRyL2OhP1Vv4Cki X-Received: by 2002:a17:907:1c8c:b0:72b:6b8f:4add with SMTP id nb12-20020a1709071c8c00b0072b6b8f4addmr3277326ejc.556.1659108453847; Fri, 29 Jul 2022 08:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659108453; cv=none; d=google.com; s=arc-20160816; b=yZOGtBEMBaa3Zrvko4V8sysR1jRi4oCvg7Gs8d7E/gggVYVi8bgf8QTwAFqAfiYZZH dWAAsqrot/IZfGKOeH7GnVO9A+7karnxoY9FHsrB3qt1u1nwnQ3fWtnUylX6jaUzldQe abFriGDeZLy82Us/adpSbvya1YnjUfML/xPAeEMBu22CArPxnxy7YFAZ+HEyJ8k6ZE62 d+x8CvwMeNQDvZ5qNXzltPrOpYaGGjsIrqXWCpbYI16lwecRVU4y5DWZTIw1i63SPsS1 vAg/94EA+4h1Z8Afa1+UcMZSgxlV9XvE9F5Wp8jM90fXzK6L52gmqVHq1xstrsT+NrvB FuLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Ftd/Rb29GQlI+ogXgIbEomupaph/9xpI+7Ojh5eQKHs=; b=YFAJ0Jln6WkhhLleid9nru0flEm2ssWlkYMqNNx0l5MEIgHSO95ExIc/IYVWZD7ml0 s9WHtb/WIi99g3h2+BAtqxD93zdXMVLOf2RrEBVnyypbYRGIwxViJBENwEmuLnQYK9gW lgiPfHHmg4Zh7PfQM6M1PHMohyW5GbMVOLl3Yz2luYRzC6Nsuchpi3sar4QwaUJUPH9z 473DlHf4QB8USL+hnVNfOWhAOyFKpUXpFWGegvga8vHi1n2abyUD3hHndRjNwDX6xoXa wuTZ69pUSYZjVQ2/Zcf9ah0fCGivFIa9gU3hdRPTGYw3FtwjW0BO34LwBh2X8UqmeIq3 /qeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=D8EmA+zZ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p17-20020a50cd91000000b0043a71d95839si3347203edi.546.2022.07.29.08.27.08; Fri, 29 Jul 2022 08:27:33 -0700 (PDT) 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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=D8EmA+zZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237524AbiG2PWn (ORCPT + 99 others); Fri, 29 Jul 2022 11:22:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237522AbiG2PWS (ORCPT ); Fri, 29 Jul 2022 11:22:18 -0400 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F057A8723E for ; Fri, 29 Jul 2022 08:21:44 -0700 (PDT) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-31e7ca45091so54676277b3.3 for ; Fri, 29 Jul 2022 08:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ftd/Rb29GQlI+ogXgIbEomupaph/9xpI+7Ojh5eQKHs=; b=D8EmA+zZy9pWMwqNjrwN7EkBpYkgDmiACAU/RNngnePGi8cWmMrb32U5Nvr5TvYv8h BvMIWXk5GZaq9Lt8kTmdhNMNTDel1fyC+ftzQ9DK74gWjFPishoY1zk68gFsjqhPAzFl JFRITUJoIJ7otDFSPvEokmCgPcue5/EXJoTxRc6AmwG1TmJDGuBs/GzhndJkKhrZtNQ1 t0aMPbtBbkDlBKakdy40VXMF1rNygq1k1L5oqFMhd+mHHpDPomipFHHpK6cRRCgpHf3x e3JZWvPXRJcct9cgxSws3JSkOq+qGc7ptHJ6Gj5dwU4LnmW1NP8lMpPDZqp3hlCI9TKW 126A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ftd/Rb29GQlI+ogXgIbEomupaph/9xpI+7Ojh5eQKHs=; b=2sTn3y/p5jGqZq3RxE1/Gs5nDd+RADhO4OEGxmpwtRZmTgCp2pP+rMaYdMTzgUccVM eFOXUrZfPkRKLWQcr/BwqE/5Cn+uNaJ7KPe2yZXqxYrpNpay0BTFenN592eQ/f3EwKUN 5w1gRH8mqHrLrGR3egngr9LXU9HuZBV7nvSa8AXISFaTpfGlxtn0hrAQUX2QWB6MV4Gh eqed/uUCy+B5KJQU/6FITIOe/KbuRJtZe+dyeKjj6MZ4tXB1Jn2E81x4zZJf9CIrECGh MyDPauWAMwZH03aIdaaFq8ZBeGncU83HFQIHC0XccVPjXz7dw+6fVem7oo1FaAMzujH1 z9qA== X-Gm-Message-State: ACgBeo1QgF3HnswjKEdf+HDWj+U4CO5FO3WOt4Q8htxXT+fE9tIZahbv EvyC6STBWzZi6JNsh0/xfMvndk9r/IU8p/zig59EDw== X-Received: by 2002:a81:6e87:0:b0:323:828:2175 with SMTP id j129-20020a816e87000000b0032308282175mr3598423ywc.71.1659108103971; Fri, 29 Jul 2022 08:21:43 -0700 (PDT) MIME-Version: 1.0 References: <20220726135506.485108-1-bchihi@baylibre.com> <20220726135506.485108-2-bchihi@baylibre.com> <24250d03-b25f-e521-5abd-f36109885c36@linaro.org> In-Reply-To: From: Balsam CHIHI Date: Fri, 29 Jul 2022 17:21:07 +0200 Message-ID: Subject: Re: [PATCH v8 1/6] thermal: mediatek: Relocate driver to mediatek folder To: Daniel Lezcano Cc: rafael@kernel.org, rui.zhang@intel.com, amitk@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, khilman@baylibre.com, mka@chromium.org, robh+dt@kernel.org, krzk+dt@kernel.org, matthias.bgg@gmail.com, p.zabel@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, james.lo@mediatek.com, fan.chen@mediatek.com, louis.yu@mediatek.com, rex-bc.chen@mediatek.com, abailon@baylibre.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Fri, Jul 29, 2022 at 5:19 PM Balsam CHIHI wrote: > > On Thu, Jul 28, 2022 at 10:53 AM Daniel Lezcano > wrote: > > > > > > Hi Balsam, > > > > On 26/07/2022 15:55, Balsam CHIHI wrote: > > > Add Mediatek proprietary folder to upstream more thermal zone and cooler > > > drivers. Relocate the original thermal controller driver to it and rename > > > as soc_temp.c to show its purpose more clearly. > > > > I realize the Kconfig, Makefiles format are not consistent across the > > boards. Before I fix this, you can comply to the format: > > > > drivers/thermal/Kconfig: > > > > menu "Mediatek thermal drivers" > > depends on ARCH_MEDIATEK || COMPILE_TEST > > source "drivers/thermal/mediatek/Kconfig" > > endmenu > > > > drivers/thermal/Makefile: > > > > -obj-$(CONFIG_MTK_THERMAL) += mtk_thermal.o > > +obj-y += mediatek > > > > drivers/thermal/mediatek/Kconfig: > > > > config MTK_SOC_THERMAL > > tristate "Temperature sensor driver for MediaTek SoCs" > > depends on HAS_IOMEM > > depends on NVMEM > > depends on RESET_CONTROLLER > > help > > Enable this option if you want to get SoC temperature > > information for MediaTek platforms. This driver > > configures thermal controllers to collect temperature > > via AUXADC interface. > > > > drivers/thermal/mediatek/Makefile: > > > > obj-$(MTK_SOC_THERMAL) += soc_temp.o > > > > However, rename 'soc_temp' to something more SoC explicit, eg. > > mtxxx_thermal.c > > > > Thanks > > > > -- Daniel > > Hello Daniel, > > Thank you for the feedback. > Changes have been made as you suggested. > Resubmitting seen. *soon. > > Best regards. > Balsam.