From: Aaron Lu <aaron.lu@intel.com>
To: Lee Jones <lee.jones@linaro.org>, Zhang Rui <rui.zhang@intel.com>
Cc: Olof Johansson <olof@lixom.net>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-next <linux-next@vger.kernel.org>,
Linux-pm mailing list <linux-pm@vger.kernel.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
jg1.han@samsung.com
Subject: Re: [PATCH v6] Thermal: introduce INT3406 thermal driver
Date: Mon, 29 Dec 2014 14:03:07 +0800 [thread overview]
Message-ID: <54A0EE9B.9040803@intel.com> (raw)
In-Reply-To: <5498C4D9.8050509@intel.com>
On 12/23/2014 09:26 AM, Aaron Lu wrote:
> On 12/22/2014 05:53 PM, Lee Jones wrote:
>> On Mon, 22 Dec 2014, Zhang Rui wrote:
>>
>>> On Thu, 2014-12-11 at 16:38 +0800, Aaron Lu wrote:
>>>> INT3406 ACPI device object resembles an ACPI video output device, but its
>>>> _BCM is said to be deprecated and should not be used. So we will make
>>>> use of the raw interface to do the actual cooling. Due to this, the
>>>> backlight core has some modifications. Also, to re-use some of the ACPI
>>>> video module's code, one function has been exported.
>>>>
>>>> Signed-off-by: Aaron Lu <aaron.lu@intel.com>
>>>
>>> Jingoo and Lee,
>>>
>>> are you okay with the changes in drivers/video/backlight/backlight.c and
>>> include/linux/backlight.h?
>>
>> NB: Jingoo still needs to review the crux of the patch.
>>
>>>> ---
>>>> v6: Fix an issue that wrongly set error path return value as reported
>>>> by Olof Johansson.
>>>>
>>>> drivers/acpi/video.c | 77 ++++----
>>>> drivers/thermal/Kconfig | 26 +--
>>>> drivers/thermal/int340x_thermal/Kconfig | 41 ++++
>>>> drivers/thermal/int340x_thermal/Makefile | 1 +
>>>> drivers/thermal/int340x_thermal/int3406_thermal.c | 229 ++++++++++++++++++++++
>>>> drivers/video/backlight/backlight.c | 44 +++--
>>>> include/acpi/video.h | 20 ++
>>>> include/linux/backlight.h | 2 +
>>>> 8 files changed, 366 insertions(+), 74 deletions(-)
>>>> create mode 100644 drivers/thermal/int340x_thermal/Kconfig
>>>> create mode 100644 drivers/thermal/int340x_thermal/int3406_thermal.c
>>
>> I gather by the message at the top that you're looking for an Ack so
>> this can be routed through another subsystem. Not going to happen.
>>
>> So you're on v6 already and a) no one has mentioned that introducing a
>> new driver AND making core framework changes (in a different subsystem
>> to boot) in one patch is bad and b) this is the first time you've
>> Cc'ed the maintainers of the aforementioned subsystem?
>>
>> Moving forward you should split this patch into component parts and
>> resend -- only this time ensure you Cc all maintainers in the first
>> instance, rather than as as afterthought.
>
> OK, thanks for the suggestion.
>
>>
>>>> -config INT340X_THERMAL
>>>> - tristate "ACPI INT340X thermal drivers"
>>>> - depends on X86 && ACPI
>>>> - select THERMAL_GOV_USER_SPACE
>>>> - select ACPI_THERMAL_REL
>>>> - select ACPI_FAN
>>
>> This patch also relies on backlight as well, no?
>
> Yes it does, will add it in next revision.
My fault. INT340X_THERMAL does not rely on backlight, INT3406 does.
Since I have marked INT3406 depends on ACPI_VIDEO, which depends on
BACKLIGHT, so we are good here.
Thanks,
Aaron
prev parent reply other threads:[~2014-12-29 6:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 5:47 [PATCH v5] Thermal: introduce INT3406 thermal driver Aaron Lu
2014-12-10 19:53 ` Olof Johansson
2014-12-11 1:02 ` Aaron Lu
2014-12-11 2:15 ` Olof Johansson
2014-12-11 2:17 ` Aaron Lu
2014-12-11 2:22 ` Olof Johansson
2014-12-11 2:37 ` Zhang Rui
2014-12-11 6:08 ` Aaron Lu
2014-12-11 6:10 ` Aaron Lu
2014-12-11 8:33 ` Zhang Rui
2014-12-11 8:38 ` [PATCH v6] " Aaron Lu
2014-12-12 18:18 ` Olof Johansson
2014-12-16 1:59 ` Aaron Lu
2014-12-22 3:09 ` Zhang Rui
2014-12-22 9:53 ` Lee Jones
2014-12-23 1:26 ` Aaron Lu
2014-12-29 6:03 ` Aaron Lu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54A0EE9B.9040803@intel.com \
--to=aaron.lu@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=geert@linux-m68k.org \
--cc=jg1.han@samsung.com \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=olof@lixom.net \
--cc=rui.zhang@intel.com \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.