Skip to content
Snippets Groups Projects
  1. Feb 19, 2025
  2. Feb 18, 2025
  3. Feb 07, 2025
    • Vicki Pfau's avatar
      HID: hid-steam: Don't use cancel_delayed_work_sync in IRQ context · b051ffa2
      Vicki Pfau authored
      
      Lockdep reported that, as steam_do_deck_input_event is called from
      steam_raw_event inside of an IRQ context, it can lead to issues if that IRQ
      occurs while the work to be cancelled is running. By using cancel_delayed_work,
      this issue can be avoided. The exact ordering of the work and the event
      processing is not super important, so this is safe.
      
      Fixes: cd438e57 ("HID: hid-steam: Add gamepad-only mode switched to by holding options")
      Signed-off-by: default avatarVicki Pfau <vi@endrift.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
      b051ffa2
    • Vicki Pfau's avatar
      HID: hid-steam: Move hidraw input (un)registering to work · 79504249
      Vicki Pfau authored
      
      Due to an interplay between locking in the input and hid transport subsystems,
      attempting to register or deregister the relevant input devices during the
      hidraw open/close events can lead to a lock ordering issue. Though this
      shouldn't cause a deadlock, this commit moves the input device manipulation to
      deferred work to sidestep the issue.
      
      Fixes: 385a4886 ("HID: steam: remove input device when a hid client is running.")
      Signed-off-by: default avatarVicki Pfau <vi@endrift.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
      79504249
    • Tulio Fernandes's avatar
      HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints() · 0b43d98f
      Tulio Fernandes authored
      Syzbot[1] has detected a stack-out-of-bounds read of the ep_addr array from
      hid-thrustmaster driver. This array is passed to usb_check_int_endpoints
      function from usb.c core driver, which executes a for loop that iterates
      over the elements of the passed array. Not finding a null element at the end of
      the array, it tries to read the next, non-existent element, crashing the kernel.
      
      To fix this, a 0 element was added at the end of the array to break the for
      loop.
      
      [1] https://syzkaller.appspot.com/bug?extid=9c9179ac46169c56c1ad
      
      
      
      Reported-by: default avatar <syzbot+9c9179ac46169c56c1ad@syzkaller.appspotmail.com>
      Fixes: 50420d7c ("HID: hid-thrustmaster: Fix warning in thrustmaster_probe by adding endpoint check")
      Signed-off-by: default avatarTúlio Fernandes <tuliomf09@gmail.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
      0b43d98f
    • Alex Henrie's avatar
      HID: apple: fix up the F6 key on the Omoton KB066 keyboard · 819083cb
      Alex Henrie authored
      
      The Omoton KB066 is an Apple A1255 keyboard clone (HID product code
      05ac:022c). On both keyboards, the F6 key becomes Num Lock when the Fn
      key is held. But unlike its Apple exemplar, when the Omoton's F6 key is
      pressed without Fn, it sends the usage code 0xC0301 from the reserved
      section of the consumer page instead of the standard F6 usage code
      0x7003F from the keyboard page. The nonstandard code is translated to
      KEY_UNKNOWN and becomes useless on Linux. The Omoton KB066 is a pretty
      popular keyboard, judging from its 29,058 reviews on Amazon at time of
      writing, so let's account for its quirk to make it more usable.
      
      By the way, it would be nice if we could automatically set fnmode to 0
      for Omoton keyboards because they handle the Fn key internally and the
      kernel's Fn key handling creates undesirable side effects such as making
      F1 and F2 always Brightness Up and Brightness Down in fnmode=1 (the
      default) or always F1 and F2 in fnmode=2. Unfortunately I don't think
      there's a way to identify Bluetooth keyboards more specifically than the
      HID product code which is obviously inaccurate. Users of Omoton
      keyboards will just have to set fnmode to 0 manually to get full Fn key
      functionality.
      
      Signed-off-by: default avatarAlex Henrie <alexhenrie24@gmail.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
      819083cb
    • Ievgen Vovk's avatar
      HID: hid-apple: Apple Magic Keyboard a3203 USB-C support · 2813e00d
      Ievgen Vovk authored
      
      Add Apple Magic Keyboard 2024 model (with USB-C port) device ID (0320)
      to those recognized by the hid-apple driver. Keyboard is otherwise
      compatible with the existing implementation for its earlier 2021 model.
      
      Signed-off-by: default avatarIevgen Vovk <YevgenVovk@ukr.net>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
      2813e00d
  4. Feb 04, 2025
  5. Feb 03, 2025
  6. Jan 22, 2025
    • Linus Torvalds's avatar
      Merge tag 'hid-for-linus-2025012001' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · 27c02784
      Linus Torvalds authored
      Pull HID updates from Jiri Kosina:
      
       - newly added support for Intel Touch Host Controller (Even Xu, Xinpeng
         Sun)
      
       - hid-core fix for long-standing syzbot-reported cornercase of
         Resolution Multiplier not being present in any of the Logical
         Collections in the device HID report descriptor (Alan Stern)
      
       - improvement of behavior for non-standard LED brightness values for
         Wacom driver (Jason Gerecke)
      
       - PCI Wacom device support (depends on Intel THC support) (Even Xu)
      
       - SteelSeries Arctis 9 support (Christian Mayer)
      
       - constification of 'struct bin_attribute' in various HID driver
         (Thomas Weißschuh)
      
       - other assorted code cleanups / fixes and device ID additions
      
      * tag 'hid-for-linus-2025012001' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (63 commits)
        HID: hid-asus: Disable OOBE mode on the ProArt P16
        HID: steelseries: remove unnecessary return
        HID: steelseries: export model and manufacturer
        HID: steelseries: export charging state for the SteelSeries Arctis 9 headset
        HID: steelseries: add SteelSeries Arctis 9 support
        HID: steelseries: preparation for adding SteelSeries Arctis 9 support
        HID: intel-thc-hid: fix build errors in um mode
        HID: intel-thc-hid: intel-quicki2c: fix potential memory corruption
        HID: intel-thc-hid: intel-thc: Fix error code in thc_i2c_subip_init()
        HID: lenovo: Fix undefined platform_profile_cycle in ThinkPad X12 keyboard patch
        HID: uclogic: make const read-only array touch_ring_model_params_buf static
        HID: hid-steam: Make sure rumble work is canceled on removal
        HID: Wacom: Add PCI Wacom device support
        HID: intel-thc-hid: intel-quicki2c: Add PM implementation
        HID: intel-thc-hid: intel-quicki2c: Complete THC QuickI2C driver
        HID: intel-thc-hid: intel-quicki2c: Add HIDI2C protocol implementation
        HID: intel-thc-hid: intel-quicki2c: Add THC QuickI2C ACPI interfaces
        HID: intel-thc-hid: intel-quicki2c: Add THC QuickI2C driver hid layer
        HID: intel-thc-hid: intel-quicki2c: Add THC QuickI2C driver skeleton
        HID: intel-thc-hid: intel-quickspi: Add PM implementation
        ...
      27c02784
    • Linus Torvalds's avatar
      Merge tag 'thermal-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · d78794d4
      Linus Torvalds authored
      Pull thermal control updates from Rafael Wysocki:
       "These add support for Intel Panther Lake processors in multiple
        places, modify Intel thermal drivers to stop selecting the user space
        thermal governor which is not necessary for them to work any more and
        clean up the thermal core somewhat:
      
         - Add support for Panther Lake processors in multiple places (Zhang
           Rui, Srinivas Pandruvada)
      
         - Remove explicit user_space governor selection from Intel thermal
           drivers (Srinivas Pandruvada)
      
         - Rename a few things and relocate a comment in the thermal subsystem
           (Rafael Wysocki)"
      
      * tag 'thermal-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        thermal: core: Rename function argument related to trip crossing
        thermal: gov_bang_bang: Relocate regulation logic description
        thermal: core: Rename callback functions in two governors
        thermal: intel: Fix compile issue when CONFIG_NET is not defined
        thermal: intel: int340x: Panther Lake power floor and workload hint support
        thermal: intel: int340x: Panther Lake DLVR support
        thermal: intel: Remove explicit user_space governor selection
        ACPI: DPTF: Support Panther Lake
        thermal: intel: int340x: processor: Enable MMIO RAPL for Panther Lake
        powercap: intel_rapl: Add support for Panther Lake platform
      d78794d4
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 603f162a
      Linus Torvalds authored
      Pull ACPI updates from Rafael Wysocki:
       "The most significant change here is replacing msleep() in
        acpi_os_sleep() with usleep_range() to reduce spurious sleep time due
        to timer inaccuracy which may spectacularly reduce the duration of
        system suspend and resume transitions on some systems.
      
        All of the other changes fall into the fixes and cleanups category
        this time.
      
        Specifics:
      
         - Use usleep_range() instead of msleep() in acpi_os_sleep() to reduce
           excessive delays due to timer inaccuracy, mostly affecting system
           suspend and resume (Rafael Wysocki)
      
         - Use str_enabled_disabled() string helpers in the ACPI tables
           parsing code to make it easier to follow (Sunil V L)
      
         - Update device properties parsing on systems using ACPI so that data
           firmware nodes resulting from _DSD evaluation are treated as
           available in firmware nodes walks (Sakari Ailus)
      
         - Fix missing guid_t declaration in linux/prmt.h (Robert Richter)
      
         - Update the GHES handling code to follow the global panic= policy
           instead of overriding it by force-rebooting the system after a
           fatal HW error has been reported (Borislav Petkov)
      
         - Update messages printed by the ACPI battery driver to always refer
           to driver extensions as "hooks" to avoid confusion with similar
           functionality in the power supply subsystem in the future (Thomas
           Weißschuh)
      
         - Fix .probe() error path cleanup in the ACPI fan driver to avoid
           memory leaks (Joe Hattori)
      
         - Constify 'struct bin_attribute' in some places in the ACPI
           subsystem and mark it as __ro_after_init in one place to prevent
           binary blob attributes from being updated (Thomas Weißschuh)
      
         - Add empty stubs for several ACPI-related symbols so that they can
           be used when CONFIG_ACPI is unset and use them for removing
           unnecessary conditional compilation from the ipu-bridge driver
           (Ricardo Ribalda)"
      
      * tag 'acpi-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        APEI: GHES: Have GHES honor the panic= setting
        ACPI: PRM: Fix missing guid_t declaration in linux/prmt.h
        ACPI: tables: Use string choice helpers
        ACPI: property: Consider data nodes as being available
        media: ipu-bridge: Remove unneeded conditional compilations
        ACPI: bus: implement acpi_device_hid when !ACPI
        ACPI: bus: implement for_each_acpi_consumer_dev when !ACPI
        ACPI: header: implement acpi_device_handle when !ACPI
        ACPI: bus: implement acpi_get_physical_device_location when !ACPI
        ACPI: bus: implement for_each_acpi_dev_match when !ACPI
        ACPI: bus: change the prototype for acpi_get_physical_device_location
        ACPI: fan: cleanup resources in the error path of .probe()
        ACPI: battery: Rename extensions to hook in messages
        ACPI: OSL: Use usleep_range() in acpi_os_sleep()
        ACPI: sysfs: Constify 'struct bin_attribute'
        ACPI: BGRT: Constify 'struct bin_attribute'
        ACPI: BGRT: Mark bin_attribute as __ro_after_init
      603f162a
    • Linus Torvalds's avatar
      Merge tag 'pm-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · f4b9d3bf
      Linus Torvalds authored
      Pull power management updates from Rafael Wysocki:
       "The majority of changes here are cpufreq updates which are dominated
        by amd-pstate driver changes, like in the previous cycle. Moreover,
        changes related to amd-pstate are also the majority of cpupower
        utility updates.
      
        Included are some pieces of new hardware support, like the addition of
        Clearwater Forest processors support to intel_idle, new cpufreq driver
        for Airoha SoCs, and Apple cpufreq driver extensions to support more
        SoCs. The intel_pstate driver is also extended to be able to support
        new platforms by using ACPI CPPC to compute scaling factors between
        HWP performance states and frequency.
      
        The rest is mostly fixes and cleanups in assorted pieces of power
        management code.
      
        Specifics:
      
         - Use str_enable_disable()-like helpers in cpufreq (Krzysztof
           Kozlowski)
      
         - Extend the Apple cpufreq driver to support more SoCs (Hector
           Martin, Nick Chan)
      
         - Add new cpufreq driver for Airoha SoCs (Christian Marangi)
      
         - Fix using cpufreq-dt as module (Andreas Kemnade)
      
         - Minor fixes for Sparc, SCMI, and Qcom cpufreq drivers (Ethan Carter
           Edwards, Sibi Sankar, Manivannan Sadhasivam)
      
         - Fix the maximum supported frequency computation in the ACPI cpufreq
           driver to avoid relying on unfounded assumptions (Gautham Shenoy)
      
         - Fix an amd-pstate driver regression with preferred core rankings
           not being used (Mario Limonciello)
      
         - Fix a precision issue with frequency calculation in the amd-pstate
           driver (Naresh Solanki)
      
         - Add ftrace event to the amd-pstate driver for active mode (Mario
           Limonciello)
      
         - Set default EPP policy on Ryzen processors in amd-pstate (Mario
           Limonciello)
      
         - Clean up the amd-pstate cpufreq driver and optimize it to increase
           code reuse (Mario Limonciello, Dhananjay Ugwekar)
      
         - Use CPPC to get scaling factors between HWP performance levels and
           frequency in the intel_pstate driver and make it stop using a
           built-in scaling factor for Arrow Lake processors (Rafael Wysocki)
      
         - Make intel_pstate initialize epp_policy to CPUFREQ_POLICY_UNKNOWN
           for consistency with CPU offline (Christian Loehle)
      
         - Fix superfluous updates caused by need_freq_update in the schedutil
           cpufreq governor (Sultan Alsawaf)
      
         - Allow configuring the system suspend-resume (DPM) watchdog to warn
           earlier than panic (Douglas Anderson)
      
         - Implement devm_device_init_wakeup() helper and introduce a device-
           managed variant of dev_pm_set_wake_irq() (Joe Hattori, Peng Fan)
      
         - Remove direct inclusions of 'pm_wakeup.h' which should be only
           included via 'device.h' (Wolfram Sang)
      
         - Clean up two comments in the core system-wide PM code (Rafael
           Wysocki, Randy Dunlap)
      
         - Add Clearwater Forest processor support to the intel_idle cpuidle
           driver (Artem Bityutskiy)
      
         - Clean up the Exynos devfreq driver and devfreq core (Markus
           Elfring, Jeongjun Park)
      
         - Minor cleanups and fixes for OPP (Dan Carpenter, Neil Armstrong,
           Joe Hattori)
      
         - Implement dev_pm_opp_get_bw() (Neil Armstrong)
      
         - Expose OPP reference counting helpers for Rust (Viresh Kumar)
      
         - Fix TSC MHz calculation in cpupower (He Rongguang)
      
         - Add install and uninstall options to bindings Makefile and add
           header changes for cpufreq.h to SWIG bindings in cpupower (John B.
           Wyatt IV)
      
         - Add missing residency header changes in cpuidle.h to SWIG bindings
           in cpupower (John B. Wyatt IV)
      
         - Add output files to .gitignore and clean them up in "make clean" in
           selftests/cpufreq (Li Zhijian)
      
         - Fix cross-compilation in cpupower Makefile (Peng Fan)
      
         - Revise the is_valid flag handling for idle_monitor in the cpupower
           utility (wangfushuai)
      
         - Extend and clean up AMD processors support in cpupower (Mario
           Limonciello)"
      
      * tag 'pm-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (67 commits)
        PM / OPP: Add reference counting helpers for Rust implementation
        PM: sleep: wakeirq: Introduce device-managed variant of dev_pm_set_wake_irq()
        cpufreq: Use str_enable_disable()-like helpers
        cpufreq: airoha: Add EN7581 CPUFreq SMCCC driver
        PM: sleep: Allow configuring the DPM watchdog to warn earlier than panic
        PM: sleep: convert comment from kernel-doc to plain comment
        cpufreq: ACPI: Fix max-frequency computation
        pm: cpupower: Add missing residency header changes in cpuidle.h to SWIG
        PM / devfreq: exynos: remove unused function parameter
        OPP: OF: Fix an OF node leak in _opp_add_static_v2()
        cpufreq/amd-pstate: Refactor max frequency calculation
        cpufreq/amd-pstate: Fix prefcore rankings
        pm: cpupower: Add header changes for cpufreq.h to SWIG bindings
        cpufreq: sparc: change kzalloc to kcalloc
        cpufreq: qcom: Implement clk_ops::determine_rate() for qcom_cpufreq* clocks
        cpufreq: qcom: Fix qcom_cpufreq_hw_recalc_rate() to query LUT if LMh IRQ is not available
        cpufreq: apple-soc: Add Apple A7-A8X SoC cpufreq support
        cpufreq: apple-soc: Set fallback transition latency to APPLE_DVFS_TRANSITION_TIMEOUT
        cpufreq: apple-soc: Increase cluster switch timeout to 400us
        cpufreq: apple-soc: Use 32-bit read for status register
        ...
      f4b9d3bf
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.14-1' of https://github.com/cminyard/linux-ipmi · df60eac9
      Linus Torvalds authored
      Pull ipmi updates from Corey Minyard:
      
       - I'm switching to a new email address, so update that
      
       - Minor fixes for formats and return values and missing ifdefs
      
       - A fix for some error handling that causes a loss of messages
      
      * tag 'for-linus-6.14-1' of https://github.com/cminyard/linux-ipmi:
        MAINTAINERS: ipmi: update my email address
        ipmi: ssif_bmc: Fix new request loss when bmc ready for a response
        ipmi: make ipmi_destroy_user() return void
        char:ipmi: Fix a not-used variable on a non-ACPI system
        char:ipmi: Fix the wrong format specifier
        ipmi: ipmb: Add check devm_kasprintf() returned value
      df60eac9
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 641b0c64
      Linus Torvalds authored
      Pull clk updates from Stephen Boyd:
       "A pretty quiet cycle this time around. We have a bunch of new Qualcomm
        clk drivers, per usual, and then a handful of drivers for other SoCs.
        Then the usual pile of cleanups is fairly small data fixes or
        converting DT bindings to YAML so they can be validated.
      
        No changes to the core framework besides an OF node refcount bump that
        never got decremented.
      
        New Drivers:
      
         - 5L35023 variant of Versa 3 clock generator
      
         - Various Qualcomm clk controllers: IPQ CMN PLL, SM6115 LPASS, SM750
           global, tcsr, rpmh, and display. X Plus GPU and global. QCS615 rpmh
           and MSM8937 and MSM8940 RPM.
      
         - Qualcomm Pongo and Taycan Alpha PLLs
      
         - Qualcomm IPQ5424 NoC-related interconnect clks
      
         - Renesas RZ/G3E (R9A09G047) SoC clk driver
      
         - SAMA7D65 SoC clk driver
      
         - Samsung Exynos990 SoC clk driver"
      
      * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (159 commits)
        clk: analogbits: Fix incorrect calculation of vco rate delta
        clk: bcm: rpi: Add disp clock
        clk: bcm: rpi: Create helper to retrieve private data
        clk: bcm: rpi: Enable minimize for all firmware clocks
        clk: bcm: rpi: Allow cpufreq driver to also adjust gpu clocks
        clk: bcm: rpi: Add ISP to exported clocks
        clk: stm32f4: support spread spectrum clock generation
        clk: stm32f4: use FIELD helpers to access the PLLCFGR fields
        dt-bindings: clock: st,stm32-rcc: support spread spectrum clocking
        dt-bindings: clock: convert stm32 rcc bindings to json-schema
        clk: Use str_enable_disable-like helpers
        clk: clk-loongson2: Fix the number count of clk provider
        clk: clk-loongson2: Switch to use devm_clk_hw_register_fixed_rate_parent_data()
        clk: starfive: Make _clk_get become a common helper function
        clk: en7523: Add clock for eMMC for EN7581
        dt-bindings: clock: add ID for eMMC for EN7581
        dt-bindings: clock: drop NUM_CLOCKS define for EN7581
        clk: en7523: Rework clock handling for different clock numbers
        clk: thead: Fix cpu2vp_clk for TH1520 AP_SUBSYS clocks
        clk: thead: Add CLK_IGNORE_UNUSED to fix TH1520 boot
        ...
      641b0c64
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · abdebb28
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
       "Core:
      
         - list-based mechanisms for handling auto-detected and userspace
           created clients are replaced with a flag-based approach. The
           resulting code is much simpler as well as the locking.
      
         - i2c clients now get a default debugfs dir managed by the I2C core.
           Drivers don't have to maintain their own directory anymore.
      
        Driver updates:
      
         - xiic: atomic_transfer support
      
         - imx-lpi2c: DMA and target mode support
      
         - riic cleanups
      
         - npcm: better timeout handling and more precise frequency setups
      
         - davinci: remove unused platform_data
      
         - at24: add new compatibles for variants from Giantec and Puya
           Semiconductor (together with a new vendor prefix)"
      
      * tag 'i2c-for-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (52 commits)
        i2c: add kdoc for the new debugfs entry of clients
        i2c: designware: Actually make use of the I2C_DW_COMMON and I2C_DW symbol namespaces
        i2c: add core-managed per-client directory in debugfs
        i2c: Force ELAN06FA touchpad I2C bus freq to 100KHz
        i2c: riic: Add `riic_bus_barrier()` to check bus availability
        i2c: riic: Use predefined macro and simplify clock tick calculation
        i2c: riic: Mark riic_irqs array as const
        i2c: riic: Make use of devres helper to request deasserted reset line
        i2c: riic: Use GENMASK() macro for bitmask definitions
        i2c: riic: Use BIT macro consistently
        i2c: riic: Use local `dev` pointer in `dev_err_probe()`
        i2c: riic: Use dev_err_probe in probe and riic_init_hw functions
        i2c: riic: Introduce a separate variable for IRQ
        i2c: amd756: Remove superfluous TODO
        Revert "i2c: amd756: Fix endianness handling for word data"
        i2c: i801: Add lis3lv02d for Dell Precision M6800
        i2c: i801: Remove unnecessary PCI function call
        i2c: core: Allocate temp client on the stack in i2c_detect
        i2c: slave-eeprom: Constify 'struct bin_attribute'
        i2c: imx-lpi2c: make controller available until the system enters suspend_noirq() and from resume_noirq().
        ...
      abdebb28
    • Linus Torvalds's avatar
      Merge tag 'pwm/for-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux · d12f68b5
      Linus Torvalds authored
      Pull pwm updates from Uwe Kleine-König:
       "This time there are very little changes for pwm. There is nothing new,
        just a few maintenance cleanups.
      
        The contributors this time around were Krzysztof Kozlowski, Mingwei
        Zheng, Philipp Stanner, and Stanislav Jakubek. Thanks!"
      
      * tag 'pwm/for-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux:
        pwm: stm32: Add check for clk_enable()
        dt-bindings: pwm: Correct indentation and style in DTS example
        pwm: stm32-lp: Add check for clk_enable()
        dt-bindings: pwm: marvell,berlin-pwm: Convert from txt to yaml
        dt-bindings: pwm: sprd,ums512-pwm: convert to YAML
        pwm: Replace deprecated PCI functions
      d12f68b5
    • Linus Torvalds's avatar
      Merge tag 'mmc-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 2bf717b0
      Linus Torvalds authored
      Pull MMC updates from Ulf Hansson:
       "MMC core:
         - Share a helper to convert from crypto_profile to mmc_host
         - Respect quirk_max_rate for non-UHS SDIO card too
      
        MMC host:
         - Add DT bindings for the mmc-slot
         - Clarify DT bindings for the mmc-controller
         - bcm2835: Add support for system-wide suspend/resume PM
         - dw_mmc-exynos: Add support for the exynos8895 variant
         - meson-mx-sdio: Convert DT bindings to dtschema
         - mtk-sd: Fixup use of two register ranges
         - mtk-sd: Add support for ignoring cmd response CRC
         - sdhci-esdhc-imx: enable 'SDHCI_QUIRK_NO_LED' quirk for S32G
         - sdhci-msm: Correctly set the load for the regulator
         - sdhci-msm: Convert to use custom crypto profile
         - sdhci-of-at91: Add support for the microchip sama7d65 variant"
      
      * tag 'mmc-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (25 commits)
        mmc: sdhci-msm: Correctly set the load for the regulator
        mmc: hi3798mv200: Use syscon_regmap_lookup_by_phandle_args
        mmc: Use of_property_present() for non-boolean properties
        dt-bindings: mmc: samsung,exynos-dw-mshc: add specific compatible for exynos8895
        mmc: sdhci-msm: convert to use custom crypto profile
        mmc: crypto: add mmc_from_crypto_profile()
        mmc: mtk-sd: Limit getting top_base to SoCs that require it
        dt-bindings: mmc: mtk-sd: Document compatibles that need two register ranges
        mmc: sdhci-acpi: Use devm_platform_ioremap_resource()
        mmc: sdhci-acpi: Remove not so useful error message
        dt-bindings: mmc: convert amlogic,meson-mx-sdio.txt to dtschema
        dt-bindings: mmc: document mmc-slot
        dt-bindings: mmc: controller: remove '|' when not needed
        dt-bindings: mmc: controller: move properties common with slot out to mmc-controller-common
        dt-bindings: mmc: controller: clarify the address-cells description
        mmc: bcm2835: add suspend/resume pm support
        dt-bindings: Drop Bhupesh Sharma from maintainers
        mmc: core: don't include 'pm_wakeup.h' directly
        mmc: mtk-sd: Add support for ignoring cmd response CRC
        mmc: core: Introduce the MMC_RSP_R1B_NO_CRC response
        ...
      2bf717b0
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v6.14-rc1' of... · a4910ed2
      Linus Torvalds authored
      Merge tag 'hwmon-for-v6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon updates from Guenter Roeck:
       "New drivers:
      
         - PMBus client driver for Intel CRPS185 power supply
      
         - PMBus client driver for Texas Instruments TPS25990
      
        Chip support added to existing drivers:
      
         - pmbus/max15301: Add support for MAX15303
      
         - pmbus/adm1275: Add adm1273 support
      
         - lm75: Add NXP P3T1755 support; with it, add I3C support to the
           driver
      
         - asus-ec-sensors: Add TUF GAMING X670E PLUS
      
        Other notable changes:
      
         - nct6683: Add customer IDs for several MSI and ASRock boards
      
         - tmp108: Add regulator support
      
         - Improve write protect support in PMBus core
      
         - pmbus/dps920ab: Add ability to instantiate through i2c
      
         - The hwmon core now accepts NULL as device name parameter to
           [devm_]hwmon_device_register_with_info ans uses the parent device
           name as fallback in that case
      
         - The PMBus core now provides the PMBUs revision in a debugfs file
      
         - asus-ec-sensors: Support for optional CPU fan on AMD 600
           motherboards
      
         - raspberrypi: Add PM suspend/resume support
      
         - dell-smm: Enable manual fan control support on Dell XPS 9370
      
         - pwm-fan: Default to maximum cooling level if provided
      
        And various other minor fixes and improvements"
      
      * tag 'hwmon-for-v6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (44 commits)
        hwmon: pmbus: dps920ab: Add ability to instantiate through i2c
        hwmon: (pwm-fan) Default to the Maximum cooling level if provided
        hwmon: (asus_atk0110) Use str_enabled_disabled() and str_enable_disable() helpers
        hwmon: Fix help text for aspeed-g6-pwm-tach
        hwmon: (dell-smm) Add Dell XPS 9370 to fan control whitelist
        hwmon: (acpi_power_meter) Fix update the power trip points on failure
        hwmon: (acpi_power_meter) Fix uninitialized variables
        hwmon: (core) Use device name as a fallback in devm_hwmon_device_register_with_info
        hwmon: (pmbus/max15301) Add support for MAX15303
        hwmon: (pmbus/adm1275) add adm1273 support
        dt-bindings: hwmon: adm1275: add adm1273
        hwmon: (nct6683) Add another customer ID for MSI
        hwmon: (pwm-fan): Make use of device properties everywhere
        hwmon: (lm75) add I3C support for P3T1755
        hwmon: (lm75) separate probe into common and I2C parts
        hwmon: (lm75) Remove superfluous 'client' member from private struct
        hwmon: (lm75) simplify regulator handling
        hwmon: (lm75) simplify lm75_write_config()
        hwmon: (lm75) Hide register size differences in regmap access functions
        hwmon: (pmbus/crps) Add Intel CRPS185 power supply
        ...
      a4910ed2
    • Linus Torvalds's avatar
      Merge tag 'leds-next-6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds · 11a7b033
      Linus Torvalds authored
      Pull LED updates from Lee Jones:
      
       - Allow struct bin_attribute instances to be placed in read-only memory
         for enhanced protection
      
       - Fix a memory leak in the cht-wcove driver by using
         devm_led_classdev_register()
      
       - Fix an OF node reference leak in the netxbig driver
      
       - Ensure PWM is disabled properly in pwm-multicolor suspend
      
       - Add support for Texas Instruments LP8864, LP8864S, LP8866
         LED-backlight drivers
      
       - Add support for STMicroelectronics's LED1202 12-channel LED driver
      
       - Convert LP8860 bindings to YAML format
      
       - Add bindings for the TI LP8864/LP8866 LED drivers
      
       - Add LED1202 LED controller bindings
      
       - Fix path to color definitions in leds-class-multicolor.yaml
      
       - Add pm660l compatible to qcom,spmi-flash-led bindings
      
       - Extend cznic,turris-omnia-leds binding with interrupts property
      
       - Add documentation for the STMicroelectronics LED1202 driver
      
       - Add entry for AAEON UP board FPGA drivers in MAINTAINERS
      
       - Fix a wrong format specifier in the ledtrig-activity driver
      
       - Fix a bug in the lp8860 driver where only half of the EEPROM was
         written
      
      * tag 'leds-next-6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds: (28 commits)
        leds: triggers: Constify 'struct bin_attribute'
        leds: cht-wcove: Use devm_led_classdev_register() to avoid memory leak
        leds: lp8864: Add support for Texas Instruments LP8864, LP8864S, LP8866 LED-backlights
        dt-bindings: leds: Convert LP8860 into YAML format
        leds: Add LED1202 I2C driver
        dt-bindings: leds: Add LED1202 LED Controller
        Documentation:leds: Add leds-st1202.rst
        leds: pwm-multicolor: Disable PWM when going to suspend
        leds: netxbig: Fix an OF node reference leak in netxbig_leds_get_of_pdata()
        turris-omnia-mcu-interface.h: Move macro definitions outside of enums
        MAINTAINERS: Add entry for AAEON UP board FPGA drivers
        leds: Add AAEON UP board LED driver
        leds: trigger: netdev: Check offload ability on interface up
        leds: turris-omnia: Use uppercase first letter in all comments
        leds: turris-omnia: Use dev_err_probe() where appropriate
        leds: turris-omnia: Inform about missing LED gamma correction feature in the MCU driver
        platform: cznic: turris-omnia-mcu: Inform about missing LED panel brightness change interrupt feature
        leds: turris-omnia: Notify sysfs on MCU global LEDs brightness change
        leds: turris-omnia: Document driver private structures
        dt-bindings: leds: cznic,turris-omnia-leds: Allow interrupts property
        ...
      11a7b033
    • Linus Torvalds's avatar
      Merge tag 'mfd-next-6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd · 909fd2b8
      Linus Torvalds authored
      Pull mfd updates from Lee Jones:
      
       - Fix race in device_node_get_regmap() using more extensive locking
      
       - Remove unused platform driver support for syscon
      
       - Allow syscon nodes to be registered without a "syscon" compatible
         string
      
       - Make `platform_data` pointer const in struct mfd_cell
      
       - Revert support for multiple AXP PMICs to avoid regressions
      
       - Increase SoundWire attach timeout and use gpiod_set_raw() for GPIO
         operation
      
       - Store the result from fault_log() for use by other sub-components
      
       - Fix an invalid regmap-config max_register value
      
       - Add another Gemini Lake ISA bridge PCI device ID
      
       - Use devm_register_power_off_handler() to simplify code
      
       - Add support for QNAP microcontroller units, including LEDs, input,
         and hwmon
      
       - Use MFD_CELL macros and remove unused code
      
       - Add support for AAEON UP board FPGA
      
       - Remove unused includes
      
       - Fix various typos and compatibility issues in multiple bindings
      
       - Add new bindings for rk3562 QoS, LED1202, and qcom,tcsr-ipq5424
      
       - Convert several bindings to YAML schema
      
       - Update sprd,sc2731 bindings to reference sprd,sc2731-efuse bindings
         directly
      
       - Fix rohm,bd71815 bindings by correcting resistor values and typos
      
       - Documentation improvements:
          - Add documentation for LED1202 and qnap-mcu-hwmon
          - Adjust the file entry for the qnap-mcu header in MAINTAINERS
      
      * tag 'mfd-next-6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (35 commits)
        MAINTAINERS: Adjust the file entry for the qnap-mcu header
        dt-bindings: mfd: syscon: Fix ti,j784s4-acspcie-proxy-ctrl compatible
        dt-bindings: mfd: syscon: Fix al,alpine-sysfabric-service compatible
        Revert "mfd: axp20x: Allow multiple regulators"
        dt-bindings: mfd: syscon: Add rk3562 QoS register compatible
        mfd: syscon: Allow syscon nodes without a "syscon" compatible
        mfd: syscon: Remove the platform driver support
        mfd: syscon: Fix race in device_node_get_regmap()
        dt-bindings: mfd: atmel: Convert to YAML schema
        dt-bindings: mfd: atmel,at91sam9260: Convert to YAML schema
        dt-bindings: mfd: sprd,sc2731: Reference sprd,sc2731-efuse bindings
        mfd: tps65219: Remove unused macros & add regmap.h
        mfd: tps65219: Use MFD_CELL macros
        leds: Add LED1202 I2C driver
        dt-bindings: leds: Add LED1202 LED Controller
        Documentation:leds: Add leds-st1202.rst
        mfd: Add support for AAEON UP board FPGA
        mfd: da9052: Store result from fault_log
        mfd: intel_soc_pmic_chtdc_ti: Fix invalid regmap-config max_register value
        mfd: cs42l43: Use devres for remove as well
        ...
      909fd2b8
    • Linus Torvalds's avatar
      Merge tag 'spi-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 38f5265e
      Linus Torvalds authored
      Pull spi updates from Mark Brown:
       "This is a fairly quiet release for the most part, though we do have
        one really nice improvement in the spi-mem framework which will
        improve performance for flash devices especially when built on by
        changes in the MTD subsystem which are also due to be sent this merge
        window.
      
        There's also been some substantial work on some of the drivers,
        highlights include:
      
         - Support for per-operation bus frequency in the spi-mem framework,
           meaning speeds are no longer limited by the slowest operation
      
         - ACPI support and improved power management for Rockchip SFC
           controllers
      
         - Support for Atmel SAM7G5 QuadSPI and KEBA SPI controllers"
      
      * tag 'spi-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (49 commits)
        spi: pxa2xx: Introduce __lpss_ssp_update_priv() helper
        spi: ti-qspi: Use syscon_regmap_lookup_by_phandle_args
        spi: amd: Fix -Wuninitialized in amd_spi_exec_mem_op()
        spi: spi-mem: Estimate the time taken by operations
        spi: spi-mem: Create macros for DTR operation
        spi: spi-mem: Reorder spi-mem macro assignments
        spi: zynqmp-gqspi: Support per spi-mem operation frequency switches
        spi: zynq-qspi: Support per spi-mem operation frequency switches
        spi: spi-ti-qspi: Support per spi-mem operation frequency switches
        spi: spi-sn-f-ospi: Support per spi-mem operation frequency switches
        spi: rockchip-sfc: Support per spi-mem operation frequency switches
        spi: nxp-fspi: Support per spi-mem operation frequency switches
        spi: mxic: Support per spi-mem operation frequency switches
        spi: mt65xx: Support per spi-mem operation frequency switches
        spi: microchip-core-qspi: Support per spi-mem operation frequency switches
        spi: fsl-qspi: Support per spi-mem operation frequency switches
        spi: dw: Support per spi-mem operation frequency switches
        spi: cadence-qspi: Support per spi-mem operation frequency switches
        spi: amlogic-spifc-a1: Support per spi-mem operation frequency switches
        spi: amd: Drop redundant check
        ...
      38f5265e
    • Linus Torvalds's avatar
      Merge tag 'regulator-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · 7b081a74
      Linus Torvalds authored
      Pull regulator updates from Mark Brown:
       "This was a very quiet release, aside from some smaller improvements we
        have:
      
         - Support for power budgeting on regulators, initially targeted at
           some still in review support for PSE controllers but generally
           useful
      
         - Support for error interrupts from ROHM BD96801 devices
      
         - Support for NXP PCA9452"
      
      * tag 'regulator-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: dt-bindings: Add regulator-power-budget-milliwatt property
        regulator: Add support for power budget
        regulator: core: Resolve supply using of_node from regulator_config
        regulator: of: Implement the unwind path of of_regulator_match()
        regulator: tps65219: Remove debugging helper function
        regulator: tps65219: Remove MODULE_ALIAS
        regulator: tps65219: Update driver name
        regulator: tps65219: Use dev_err_probe() instead of dev_err()
        regulator: dt-bindings: mt6315: Drop regulator-compatible property
        regulator: pca9450: Add PMIC pca9452 support
        regulator: dt-bindings: pca9450: Add pca9452 support
        regulator: pca9450: Use dev_err_probe() to simplify code
        regulator: pca9450: add enable_value for all bucks
        regulator: bd96801: Add ERRB IRQ
      7b081a74
    • Linus Torvalds's avatar
      Merge tag 'regmap-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap · 6f10810c
      Linus Torvalds authored
      Pull regmap updates from Mark Brown:
       "There's one big bit of work this time around, the addition of support
        for a greater range of MBQ access sizes to SoundWire devices together
        with support for deferred read/write.
      
        The MBQ register maps generally have variable register sizes, the
        variable regiseter size support allows them to be handled much more
        naturally within regmap with less open coding in drivers.
      
        The deferred read/write support avoids spurious errors when devices
        make use of a bus feature allowing them to indicate they're busy.
        These changes pull in a supporting SoundWire change, and there's an
        ASoC change building off the new code.
      
        The remainder of the changes are code cleanups"
      
      * tag 'regmap-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
        regmap: sdw-mbq: Add support for SDCA deferred controls
        regmap: sdw-mbq: Add support for further MBQ register sizes
        ASoC: SDCA: Update list of entity_0 controls
        soundwire: SDCA: Add additional SDCA address macros
        regmap: regmap_multi_reg_read(): make register list const
        regmap: cache: rbtree: use krealloc_array() to replace krealloc()
        regmap: cache: mapple: use kmalloc_array() to replace kmalloc()
        regmap: place foo / 8 and foo % 8 closer to each other
        regmap: Use BITS_TO_BYTES()
        regmap: cache: Use BITS_TO_BYTES()
      6f10810c
    • Linus Torvalds's avatar
      Merge tag 'pwrseq-updates-for-v6.14-rc1' of... · 0c934315
      Linus Torvalds authored
      Merge tag 'pwrseq-updates-for-v6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
      
      Pull power sequencing updates from Bartosz Golaszewski:
       "We added support for another Qualcomm WCN model and a FIXME comment
        that explains why we still need to keep a GPIO workaround for now
        despite having merged a set of changes to the PCI code that seemingly
        fixed the underlying problem:
      
         - support a new model in the qcom-wcn pwrseq driver
      
         - explain the need to keep the WLAN_EN GPIO workaround for now with a
           FIXME comment"
      
      * tag 'pwrseq-updates-for-v6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        power: sequencing: qcom-wcn: explain why we need the WLAN_EN GPIO hack
        power: sequencing: qcom-wcn: add support for the WCN6750 PMU
      0c934315
Loading