1. 27 10月, 2020 4 次提交
  2. 24 9月, 2020 2 次提交
  3. 16 7月, 2020 1 次提交
  4. 10 7月, 2020 1 次提交
    • H
      platform/x86: Add new intel_atomisp2_led driver · 4b2d688f
      Hans de Goede 提交于
      Many Bay Trail and Cherry Trail devices come with a camera attached to
      Intel's Image Signal Processor. Linux currently does not have a driver for
      these, so they do not work as a camera.
      
      Some of these camera's have a status LED which is controlled through a GPIO
      in some cases, e.g. on the Asus T100TA and Asus T200TA, there is a firmware
      issue where the LED gets turned on at boot.
      
      This commit adds a Linux LED driver for the camera LED on these devices.
      This driver will turn the LED off at boot and also allows controlling the
      LED (so the user can repurpose it) through the sysfs LED interface.
      
      Which GPIO is attached to the LED is usually not described in the ACPI
      tables, so this driver contains per-system info about the GPIO inside the
      driver. This means that this driver only works on systems the driver knows
      about.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      4b2d688f
  5. 14 6月, 2020 1 次提交
    • M
      treewide: replace '---help---' in Kconfig files with 'help' · a7f7f624
      Masahiro Yamada 提交于
      Since commit 84af7a61 ("checkpatch: kconfig: prefer 'help' over
      '---help---'"), the number of '---help---' has been gradually
      decreasing, but there are still more than 2400 instances.
      
      This commit finishes the conversion. While I touched the lines,
      I also fixed the indentation.
      
      There are a variety of indentation styles found.
      
        a) 4 spaces + '---help---'
        b) 7 spaces + '---help---'
        c) 8 spaces + '---help---'
        d) 1 space + 1 tab + '---help---'
        e) 1 tab + '---help---'    (correct indentation)
        f) 1 tab + 1 space + '---help---'
        g) 1 tab + 2 spaces + '---help---'
      
      In order to convert all of them to 1 tab + 'help', I ran the
      following commend:
      
        $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      a7f7f624
  6. 20 5月, 2020 1 次提交
  7. 06 5月, 2020 2 次提交
  8. 24 4月, 2020 4 次提交
  9. 29 3月, 2020 1 次提交
  10. 26 3月, 2020 1 次提交
  11. 20 3月, 2020 1 次提交
  12. 28 2月, 2020 1 次提交
  13. 10 2月, 2020 1 次提交
  14. 23 1月, 2020 1 次提交
  15. 14 1月, 2020 1 次提交
    • S
      platform/x86: Add support for Uncore frequency control · 49a474c7
      Srinivas Pandruvada 提交于
      Some server users set limits on the uncore frequency using MSR 620H, while
      running latency sensitive workloads. Here uncore frequency controls
      RING/LLC(last-level cache) clocks.
      
      But MSR control is not always possible from the user space, so this driver
      provides a sysfs interface to set max and min frequency limits. This MSR
      620H is a die scoped in multi-die system or package scoped in non multi-die
      systems.
      
      When this driver is loaded, a new directory is created under
       /sys/devices/system/cpu.
      
      For example on a two package Skylake server:
      $cd /sys/devices/system/cpu/intel_uncore_frequency
      
      $ls
      package_00_die_00 package_01_die_00
      
      $ls package_00_die_00
      max_freq_khz  min_freq_khz  initial_max_freq_khz
      initial_min_freq_khz
      
      $grep . *
          max_freq_khz:2400000
          min_freq_khz:1200000
          initial_max_freq_khz:2400000
          initial_min_freq_khz:1200000
      
      Here, initial_max_freq_khz and initial_min_freq_khz are read only
      attributes to show power up or initial values of max and min frequencies
      respectively. Other attributes are read-write, so that users can modify.
      Signed-off-by: NSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      49a474c7
  16. 10 1月, 2020 1 次提交
  17. 16 10月, 2019 1 次提交
  18. 15 10月, 2019 8 次提交
  19. 15 9月, 2019 1 次提交
  20. 15 7月, 2019 3 次提交
  21. 12 7月, 2019 1 次提交
    • Y
      platform/x86: Fix PCENGINES_APU2 Kconfig warning · 7d67c8ac
      YueHaibing 提交于
      Fix Kconfig warning for PCENGINES_APU2 symbol:
      
      WARNING: unmet direct dependencies detected for GPIO_AMD_FCH
        Depends on [n]: GPIOLIB [=n] && HAS_IOMEM [=y]
        Selected by [y]:
        - PCENGINES_APU2 [=y] && X86 [=y] && X86_PLATFORM_DEVICES [=y] && INPUT [=y] && INPUT_KEYBOARD [=y] && LEDS_CLASS [=y]
      
      WARNING: unmet direct dependencies detected for KEYBOARD_GPIO_POLLED
        Depends on [n]: !UML && INPUT [=y] && INPUT_KEYBOARD [=y] && GPIOLIB [=n]
        Selected by [y]:
        - PCENGINES_APU2 [=y] && X86 [=y] && X86_PLATFORM_DEVICES [=y] && INPUT [=y] && INPUT_KEYBOARD [=y] && LEDS_CLASS [=y]
      
      Add GPIOLIB dependency to fix it.
      Reported-by: NHulk Robot <hulkci@huawei.com>
      Fixes: f8eb0235 ("x86: pcengines apuv2 gpio/leds/keys platform driver")
      Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      7d67c8ac
  22. 04 7月, 2019 1 次提交
  23. 02 7月, 2019 1 次提交
    • S
      platform/x86: ISST: Add common API to register and handle ioctls · 35f2c14d
      Srinivas Pandruvada 提交于
      Encapsulate common functions which all Intel Speed Select Technology
      interface drivers can use. This creates API to register misc device for
      user kernel communication and handle all common IOCTLs. As part of the
      registry it allows a callback which is to handle domain specific ioctl
      processing.
      
      There can be multiple drivers register for services, which can be built
      as modules. So this driver handle contention during registry and as well
      as during removal. Once user space opened the misc device, the registered
      driver will be prevented from removal. Also once misc device is opened by
      the user space new client driver can't register, till the misc device is
      closed.
      
      There are two types of client drivers, one to handle mail box interface
      and the other is to allow direct read/write to some specific MMIO space.
      
      This common driver implements IOCTL ISST_IF_GET_PLATFORM_INFO.
      Signed-off-by: NSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      35f2c14d