Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2588535ybt; Mon, 22 Jun 2020 02:09:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDtbRRQsT328HBC88mRtorN+GZsYIuwv6wlN6d8sbNoc3Nb8DvBAB7yp28GecvMZyLowv2 X-Received: by 2002:a50:f087:: with SMTP id v7mr15599844edl.225.1592816945783; Mon, 22 Jun 2020 02:09:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592816945; cv=none; d=google.com; s=arc-20160816; b=SWwh9xf5QpTKr/KJ2gx2MOVTDBxuzIhZ/CIdJovW1fYSzc3/1Q5bVDeKIiupymrEyB VMLZ+E/j6FiFwYdfkaP9cho4KXiMjC+7FFQgBMgLiJeXzXnlTDz8PHddL3pFS2tQfRQr ZmOUWQ9GD0LHhuB9qJB1j9rwdEM1LUw+fIX1sLYOcLt8V7JYKEjvlKDyE4HcibB6d6sR OAFwt8toiy8kA3njM0iLUJ6fM9POPNll2tkA5/y3O1J74PxXX4FBt7K2AmB8f+X2Z/TU UYB2YYouYttMYyFgEatLUkqssgu5yIvuv5bIWVZ0Csfyn2MiFEiN8hkwu1bSpO4wNC8/ cKvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=hwidXab7KcGUBateRVXW8zpxh0rBFCmS1LBPPNCnOFs=; b=cLGE32nZLrFEeVe+XzyOMAM9SSN+oTgaItdQalwUkuvfvmtAT15um1tT9/UbjbTRBw zaQoys/aUnd5t6FznShCTnTTJ/w1UsmnkV8twzcVfutWO8BreyOeyAczehla8YQx8VUs D3DKdGnJbwaJXKUcP1EVEsUb1BY308rhZQ6rbt0dkP2rvxBaQpqk7FVE8BBCO3RhajZA JpO1PZ0BgYC2jSiJ7WbX40rKJNXkpbbj3aCCora4iNkHI4RAu5BIAoPoXH8/F79iwT8V fmPfGzIu15mypBGNA7TmO+cPx0YTX68GMbiA5WhS/XbeXzRan+aCxQW1KvONqYoS/C1g MZsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=yMwSFW9z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u7si8539583edx.125.2020.06.22.02.08.43; Mon, 22 Jun 2020 02:09:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=yMwSFW9z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726651AbgFVJEo (ORCPT + 99 others); Mon, 22 Jun 2020 05:04:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725991AbgFVJEo (ORCPT ); Mon, 22 Jun 2020 05:04:44 -0400 Received: from mail-vk1-xa41.google.com (mail-vk1-xa41.google.com [IPv6:2607:f8b0:4864:20::a41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B77C061795 for ; Mon, 22 Jun 2020 02:04:43 -0700 (PDT) Received: by mail-vk1-xa41.google.com with SMTP id d64so1074953vke.4 for ; Mon, 22 Jun 2020 02:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=hwidXab7KcGUBateRVXW8zpxh0rBFCmS1LBPPNCnOFs=; b=yMwSFW9zn/x4voNySBTlnA26fMQCe4mTWRT02T7FplbayAJ04otvMsASKWc9/mo6jF NCbgO3o4LZvSVnMWo9ZAGeT9aIS+j2p5q35tzoV5hI3hUXT3n8foHNu96J0NmK7XFhXY RJfsg3taQ+egVgLEXi1g5+mL2IkbqBXh/nZZJjhIpgb4GvqfNp6PJ4I/fzS4uzN0512k dg2OvIB1wckClNQPR8wJEj8enOKvi5Q4CyvYEB4mhiJN1sqhfaCzn67EX5enZ4fWse1B xLZQVxhTmpkbhDcoqyGRAbHCvd/kj555Mht2nywkotfdw/kw5emLe8bAM/VNLUxmX0pk aFPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=hwidXab7KcGUBateRVXW8zpxh0rBFCmS1LBPPNCnOFs=; b=Sr3Guj4Eg7MtuG6Al5x7FQlUhSFT2PKeungFs5n+bMTB3lVgJai6qHyassclzcWxP/ XvXI8xkZXh29AMozsFhro3ZRkYGw0qb4ZCKfM1YM2JX1YVa/CG17UgWfIIn5RCzh9p0c uMMpUjqZjLIJyop4Ta/n0ifJPYFMZTJGMAvzL7OFtqceEh3tpFym1VAMJ0gb4yoMNesb s2yP42iWP94Zu8cJDTGJmj/Ix/LCbCZtFWTQ9UXSnNWPlqPadU3mmv8JqxgBV0MxV4RC H370YMsmeX0xhN+8TcSAdqMaOaqtAlTwquSNpNgaNdVOqT+hucn7gn1XRu/+JAgZC4Mo v5Eg== X-Gm-Message-State: AOAM531pEGiBrEpm+FKdSZMSvos0rTiEDL9CS0K80lZ3KtngR+R+yghS saSVDEy3GBUCRQfwbg3JAbBPKQMQVQ1X4Hq93zNbWw== X-Received: by 2002:a1f:b202:: with SMTP id b2mr15315183vkf.86.1592816682850; Mon, 22 Jun 2020 02:04:42 -0700 (PDT) MIME-Version: 1.0 References: <20200618133818.15857-1-narmstrong@baylibre.com> <20200618133818.15857-2-narmstrong@baylibre.com> <20200618162849.GH954398@dell> In-Reply-To: <20200618162849.GH954398@dell> From: Amit Kucheria Date: Mon, 22 Jun 2020 14:34:31 +0530 Message-ID: Subject: Re: [PATCH v4 1/2] thermal: add support for the MCU controlled FAN on Khadas boards To: Lee Jones Cc: Neil Armstrong , Kevin Hilman , linux-amlogic@lists.infradead.org, Linux PM list , lakml , LKML , Zhang Rui , Daniel Lezcano Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 18, 2020 at 9:58 PM Lee Jones wrote: > > On Thu, 18 Jun 2020, Neil Armstrong wrote: > > > The new Khadas VIM2 and VIM3 boards controls the cooling fan via the > > on-board microcontroller. > > > > This implements the FAN control as thermal devices and as cell of the K= hadas > > MCU MFD driver. > > > > Signed-off-by: Neil Armstrong > > Reviewed-by: Amit Kucheria > > Is this an Ack? Acked-by: Amit Kucheria > If so, do you require a pull-request? I'll let Daniel comment about the PR but AFAICT, this can get merged through the MFD tree. > > --- > > Hi Lee, > > > > Could you apply this patch via the MFD tree since it depends on > > the linux/mfd/khadas-mcu.h header ? > > > > This patch is unchanged from the v3 serie. > > > > Thanks, > > Neil > > > > drivers/thermal/Kconfig | 11 ++ > > drivers/thermal/Makefile | 1 + > > drivers/thermal/khadas_mcu_fan.c | 174 +++++++++++++++++++++++++++++++ > > 3 files changed, 186 insertions(+) > > create mode 100644 drivers/thermal/khadas_mcu_fan.c > > -- > Lee Jones [=E6=9D=8E=E7=90=BC=E6=96=AF] > Senior Technical Lead - Developer Services > Linaro.org =E2=94=82 Open source software for Arm SoCs > Follow Linaro: Facebook | Twitter | Blog