Commit Graph

1329315 Commits

Author SHA1 Message Date
Stephen Rothwell
2f19d7a812 Merge branch 'i2c/i2c-host' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git 2024-12-20 11:07:36 +11:00
Stephen Rothwell
2d144c87f2 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git 2024-12-20 11:07:35 +11:00
Stephen Rothwell
ecc935f512 Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git 2024-12-20 11:07:33 +11:00
Stephen Rothwell
23b66e8e8b Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git 2024-12-20 11:07:32 +11:00
Dimitri Fedrau
de68987480 power: supply: gpio-charger: add support for default charge current limit
With DT properties charge-current-limit-gpios and
charge-current-limit-mapping one can define charge current limits in uA
using up to 32 GPIOs. At the moment the driver defaults to smallest charge
current limitation for safety reasons. When disabling charging is
supported, which should be common, the driver defaults to non charging on
probe. By having a default, charging can be enabled on probe for such
devices.

Signed-off-by: Dimitri Fedrau <dimitri.fedrau@liebherr.com>
Link: https://lore.kernel.org/r/20241218-default-charge-current-limit-v3-2-b26118cf06b5@liebherr.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2024-12-20 00:52:31 +01:00
Dimitri Fedrau
0a219d6fd7 dt-bindings: power: supply: gpio-charger: add support for default charge current limit
With DT properties charge-current-limit-gpios and
charge-current-limit-mapping one can define charge current limits in uA
using up to 32 GPIOs. Add property charge-current-limit-default-microamp
which selects a default charge current limit that must be listed in
charge-current-limit-mapping.
This is helpful when the smallest possible charge current limit is 0uA. The
driver defaults to the smallest possible value at the moment, which
disables charging on probe. With the default its possible to setup a safe
charge current limit.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dimitri Fedrau <dimitri.fedrau@liebherr.com>
Link: https://lore.kernel.org/r/20241218-default-charge-current-limit-v3-1-b26118cf06b5@liebherr.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2024-12-20 00:52:31 +01:00
Stephen Rothwell
07ccd1271c Merge branch 'fs-next' of linux-next 2024-12-20 10:45:33 +11:00
Stephen Rothwell
3aa602263e Merge branch 'xtensa-for-next' of git://github.com/jcmvbkbc/linux-xtensa.git 2024-12-20 10:41:51 +11:00
Stephen Rothwell
a7fac4ab97 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git 2024-12-20 10:41:48 +11:00
Stephen Rothwell
ebbe020070 Merge branch 'riscv-soc-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git 2024-12-20 10:41:47 +11:00
Stephen Rothwell
0c0d0d18c7 Merge branch 'riscv-dt-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git 2024-12-20 10:41:46 +11:00
Stephen Rothwell
2c3bb86ef6 Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git 2024-12-20 10:41:45 +11:00
Stephen Rothwell
67cc80cb9c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git 2024-12-20 10:41:44 +11:00
Stephen Rothwell
57c128f584 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git 2024-12-20 10:41:41 +11:00
Stephen Rothwell
c5ac5896a4 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git 2024-12-20 10:41:40 +11:00
Stephen Rothwell
11c3a74fd1 Merge branch 'linux-next' of git://github.com/c-sky/csky-linux.git 2024-12-20 10:41:39 +11:00
Stephen Rothwell
57f11dd97a Merge branch 'renesas-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git 2024-12-20 10:41:37 +11:00
Stephen Rothwell
27cf1ac224 Merge branch 'clk-next' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git 2024-12-20 10:41:35 +11:00
Stephen Rothwell
92425d831f Merge branch 'for-next' of git://github.com/Xilinx/linux-xlnx.git 2024-12-20 10:41:34 +11:00
Stephen Rothwell
3632f579b7 Merge branch 'thead-dt-for-next' of https://github.com/pdp7/linux.git 2024-12-20 10:41:33 +11:00
Stephen Rothwell
ef328ae707 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git 2024-12-20 10:41:32 +11:00
Stephen Rothwell
8a65bf08ae Merge branch 'next' of https://git.linaro.org/people/jens.wiklander/linux-tee.git 2024-12-20 10:41:31 +11:00
Stephen Rothwell
cbd79c920a Merge branch 'sunxi/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git 2024-12-20 10:41:30 +11:00
Stephen Rothwell
5a66cf2412 Merge branch 'stm32-next' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git 2024-12-20 10:41:29 +11:00
Stephen Rothwell
7a48274702 Merge branch 'for-next' of https://github.com/spacemit-com/linux 2024-12-20 10:41:28 +11:00
Stephen Rothwell
8bb762e2a7 Merge branch 'for-linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git 2024-12-20 10:41:27 +11:00
Stephen Rothwell
e1c6109e87 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git 2024-12-20 10:41:26 +11:00
Stephen Rothwell
3c4bdec9dc Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git 2024-12-20 10:41:25 +11:00
Stephen Rothwell
4b6ea5c4c3 Merge branch 'reset/next' of https://git.pengutronix.de/git/pza/linux 2024-12-20 10:41:24 +11:00
Stephen Rothwell
aaca9cb780 Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git 2024-12-20 10:41:23 +11:00
Stephen Rothwell
1c96fc4c1d Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git 2024-12-20 10:41:22 +11:00
Stephen Rothwell
c35d387b30 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap.git 2024-12-20 10:41:21 +11:00
Stephen Rothwell
92ee066da1 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu.git 2024-12-20 10:41:20 +11:00
Stephen Rothwell
a03c7cb185 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git 2024-12-20 10:41:19 +11:00
Stephen Rothwell
54d4f3b6e6 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git 2024-12-20 10:41:18 +11:00
Stephen Rothwell
cea6cbfef3 Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl.git 2024-12-20 10:41:17 +11:00
Stephen Rothwell
5d0a136628 Merge branch 'next' of https://github.com/Broadcom/stblinux.git 2024-12-20 10:41:16 +11:00
Stephen Rothwell
c354952b89 Merge branch 'at91-next' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git 2024-12-20 10:41:15 +11:00
Stephen Rothwell
c60eaf2f23 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc.git 2024-12-20 10:41:14 +11:00
Stephen Rothwell
2086880948 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git 2024-12-20 10:41:11 +11:00
Stephen Rothwell
311e20a8a3 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git 2024-12-20 10:41:10 +11:00
Stephen Rothwell
cb272ea815 Merge branch 'for-next/perf' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git 2024-12-20 10:41:09 +11:00
Stephen Rothwell
7bdd902c16 Merge branch 'for-next/core' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux 2024-12-20 10:41:08 +11:00
Stephen Rothwell
5d90ab8e42 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rmk/linux.git 2024-12-20 10:41:07 +11:00
Stephen Rothwell
2cbe95f541 Merge branch 'perf-tools-next' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git 2024-12-20 10:39:10 +11:00
Stephen Rothwell
c4262cd734 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git 2024-12-20 10:39:09 +11:00
Hans de Goede
04d9741493 power: supply: Use power_supply_external_power_changed() in __power_supply_changed_work()
The power-supply core is designed so that power-supply driver callbacks
such as get_property() and external_power_changed() will not be called
until the power-supply's parent driver's probe() function has completed.

There is a race where power_supply_changed() can be called for a supplier
of a power-supply which is being probed after the device_add() in
__power_supply_register() but before the parent driver's probe() function
has completed. Hitting this race breaks the power-supply core's design
to not call power-supply driver callbacks before probe() completion.

This problem is caused by __power_supply_changed_work() calling
the external_power_changed() directly rather then going through
the power_supply_external_power_changed() helper which correcly checks
psy->use_cnt .

Switch to using power_supply_external_power_changed() to fix this race.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20241215172133.178460-2-hdegoede@redhat.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2024-12-20 00:36:05 +01:00
Stephen Rothwell
b86e29c311 Merge branch 'mm-everything' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm 2024-12-20 10:23:48 +11:00
Michal Wajdeczko
a8d0aa0e7f drm/xe/pf: Use correct function to check LMEM provisioning
There is a typo in function call and instead of VF LMEM we were
looking at VF GGTT provisioning. Fix that.

Fixes: 234670cea9 ("drm/xe/pf: Skip fair VFs provisioning if already provisioned")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241216223253.819-1-michal.wajdeczko@intel.com
2024-12-20 00:03:28 +01:00
Stephen Rothwell
29c9b8e299 Merge branch 'msm-fixes' of https://gitlab.freedesktop.org/drm/msm.git 2024-12-20 09:42:17 +11:00