Skip to content

Support INT3406 Display thermal device

Aaron Lu linux-acpi linux-fbdev linux-pm 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 9 repliesApplied
  2. v23 patches 2 repliesSuperseded

Changes in v3 from the cover letter

Split patch 3/3 in v2 into 2 patches: one makes changes to acpi_video and one adds the int3406 driver as suggested by Rafael. There should be no functionality change compared to v2.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4video / backlight: add two APIs for drivers to usedrivers/video/backlight/backlight.c include/linux/backlight.h+31 -140 replies
2/4video / backlight: remove the backlight_device_registered APIdrivers/acpi/video_detect.c drivers/video/backlight/backlight.c include/linux/backlight.h+1 -80 replies
3/4ACPI/video: export acpi_video_get_levelsdrivers/acpi/acpi_video.c include/acpi/video.h+65 -380 replies
4/4Thermal: add INT3406 thermal driverdrivers/thermal/Kconfig drivers/thermal/int340x_thermal/Kconfig drivers/thermal/int340x_thermal/Makefile +1 more+282 -251 reply
4/4Thermal: add INT3406 thermal driverdrivers/thermal/Kconfig drivers/thermal/int340x_thermal/Kconfig drivers/thermal/int340x_thermal/Makefile +1 more+282 -252 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJingoo HanRafael J. WysockiZhang Rui
SeriesA-b
1/4A-b
2/4A-b
3/4
4/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/4] Support INT3406 Display thermal device

v3:
Split patch 3/3 in v2 into 2 patches: one makes changes to acpi_video and one adds the int3406 driver as suggested by Rafael. There should be no functionality change compared to v2.

v2:
The display thermal device represents the LED/LCD display panel that may or may not include touch support. The main function of the display thermal device is to allow control of the display brightness in order to address a thermal condition or to reduce power consumed by display device.

Due to the way this thermal device changes brightness level is said to be deprecated so we are using the raw interface to do the actual backlight change. This requires the backlight core support so two new APIs are added and exported in patch 1/3. With this, the previous API backlight_device_registered can be removed and this is done in patch 2/3. Patch 3/3 adds the new int3406 thermal driver.

The 1st version is here:
http://thread.gmane.org/gmane.linux.acpi.devel/72619

This whole series should go through the thermal tree if applied.

Aaron Lu (3):
video / backlight: add two APIs for drivers to use video / backlight: remove the backlight_device_registered API
Thermal: add INT3406 thermal driver

 drivers/acpi/acpi_video.c                         |  83 ++++----
 drivers/acpi/video_detect.c                       |   2 +-
 drivers/thermal/Kconfig                           |  28 +--
 drivers/thermal/int340x_thermal/Kconfig           |  42 ++++
 drivers/thermal/int340x_thermal/Makefile          |   1 +
 drivers/thermal/int340x_thermal/int3406_thermal.c | 236 ++++++++++++++++++++++
 drivers/video/backlight/backlight.c               |  39 ++--
 include/acpi/video.h                              |  20 ++
 include/linux/backlight.h                         |   3 +-
 9 files changed, 374 insertions(+), 80 deletions(-)
 create mode 100644 drivers/thermal/int340x_thermal/Kconfig
 create mode 100644 drivers/thermal/int340x_thermal/int3406_thermal.c
Signature · 1 line
2.5.5