1. 12 5月, 2020 2 次提交
  2. 08 5月, 2020 1 次提交
  3. 20 3月, 2020 2 次提交
  4. 01 2月, 2020 1 次提交
    • A
      platform/x86: asus-wmi: switch to use <linux/units.h> helpers · f07b9fdf
      Akinobu Mita 提交于
      The asus-wmi driver doesn't implement the thermal device functionality
      directly, so including <linux/thermal.h> just for
      DECI_KELVIN_TO_CELSIUS() is a bit odd.
      
      This switches the asus-wmi driver to use deci_kelvin_to_millicelsius()
      in <linux/units.h>.
      
      The format string is changed from %d to %ld due to function returned
      type.
      
      Link: http://lkml.kernel.org/r/1576386975-7941-4-git-send-email-akinobu.mita@gmail.comSigned-off-by: NAkinobu Mita <akinobu.mita@gmail.com>
      Acked-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
      Cc: Sujith Thomas <sujith.thomas@intel.com>
      Cc: Darren Hart <dvhart@infradead.org>
      Cc: Andy Shevchenko <andy@infradead.org>
      Cc: Zhang Rui <rui.zhang@intel.com>
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: Amit Kucheria <amit.kucheria@verdurent.com>
      Cc: Jean Delvare <jdelvare@suse.com>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: Keith Busch <kbusch@kernel.org>
      Cc: Jens Axboe <axboe@fb.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Sagi Grimberg <sagi@grimberg.me>
      Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
      Cc: Hartmut Knaack <knaack.h@gmx.de>
      Cc: Johannes Berg <johannes.berg@intel.com>
      Cc: Jonathan Cameron <jic23@kernel.org>
      Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: Lars-Peter Clausen <lars@metafoo.de>
      Cc: Luca Coelho <luciano.coelho@intel.com>
      Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
      Cc: Stanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f07b9fdf
  5. 13 1月, 2020 2 次提交
  6. 10 1月, 2020 2 次提交
  7. 10 9月, 2019 2 次提交
  8. 08 9月, 2019 1 次提交
  9. 16 8月, 2019 6 次提交
  10. 30 7月, 2019 3 次提交
    • D
      platform/x86: asus-wmi: fix CPU fan control on recent products · e3168b87
      Daniel Drake 提交于
      Previously, asus-wmi was using the AGFN interface and FAN_CTRL device
      for CPU fan control. However, this code has been found to be not fully
      working on some recent products, and having checked the spec, these
      interfaces are marked as being removed from future products currently
      in development.
      
      The replacement appears to be the CPU_FAN device, added in spec version
      8.3 (March 2014) and present on many modern Asus laptops.
      
      Add support for this device, and use it whenever it is detected.
      The older approach based on AGFN and FAN_CTRL is used as a fallback
      on products that do not have such device.
      
      Other than switching between automatic and full speed, there is
      no fan speed control through this new interface.
      Signed-off-by: NDaniel Drake <drake@endlessm.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      e3168b87
    • D
      platform/x86: asus-wmi: add a helper for device presence · f1fc0321
      Daniel Drake 提交于
      Factor out the WLAN LED and lightbar LED presence checks into a
      helper function, which will also be used by the upcoming CPU fan device
      support.
      Signed-off-by: NDaniel Drake <drake@endlessm.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      f1fc0321
    • D
      platform/x86: asus-wmi: cleanup AGFN fan handling · 2889ffcf
      Daniel Drake 提交于
      The asus-wmi driver currently uses the "AGFN" interface and
      the FAN_CTRL device for fan control. According to the spec, this
      interface is very dated and marked as pending removal from products
      currently in development.
      
      Clean up the way that the AGFN fan is detected and handled, also
      preparing the driver for the introduction of an alternate fan
      control method needed to support recent Asus products.
      
      Not anticipating further development of this interface, simplify
      the code by dropping any notion of being able to control multiple
      AGFN fans (this was already limited to just a single fan through only
      exposing a single fan in sysfs).
      
      Check for the presence of AGFN fans at probe time, simplifying the code
      flow in asus_hwmon_sysfs_is_visible().
      Signed-off-by: NDaniel Drake <drake@endlessm.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      2889ffcf
  11. 29 7月, 2019 1 次提交
  12. 18 7月, 2019 1 次提交
    • D
      platform/x86: asus: Rename "fan mode" to "fan boost mode" · 9af93db9
      Daniel Drake 提交于
      The Asus WMI spec indicates that the function being controlled here
      is called "Fan Boost Mode". The user-facing documentation also calls it
      this.
      
      The spec uses the term "fan mode" is used to refer to other things,
      including functionality expected to appear on future products.
      We missed this before as we are not dealing with the most readable of
      specs, and didn't forsee any confusion around shortening the name.
      
      Rename "fan mode" to "fan boost mode" to improve consistency with the
      spec and to avoid a future naming conflict.
      
      There is no interface breakage here since this has yet to be included
      in an official kernel release. I also updated the kernel version listed
      under ABI accordingly.
      Signed-off-by: NDaniel Drake <drake@endlessm.com>
      Acked-by: NYurii Pavlovskyi <yurii.pavlovskyi@gmail.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      9af93db9
  13. 03 7月, 2019 1 次提交
  14. 17 6月, 2019 12 次提交
  15. 12 6月, 2019 2 次提交
  16. 31 5月, 2019 1 次提交