]> www.infradead.org Git - users/hch/misc.git/log
users/hch/misc.git
2 months agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git
Stephen Rothwell [Tue, 13 May 2025 02:33:41 +0000 (12:33 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git

2 months agoMerge branch 'cpupower' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git
Stephen Rothwell [Tue, 13 May 2025 02:02:43 +0000 (12:02 +1000)]
Merge branch 'cpupower' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git

2 months agoMerge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/kernel...
Stephen Rothwell [Tue, 13 May 2025 02:02:42 +0000 (12:02 +1000)]
Merge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git

# Conflicts:
# rust/bindings/bindings_helper.h
# rust/kernel/lib.rs

2 months agoMerge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
Stephen Rothwell [Tue, 13 May 2025 01:53:55 +0000 (11:53 +1000)]
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git

2 months agoMerge branch 'next' of git://linuxtv.org/media-ci/media-pending.git
Stephen Rothwell [Tue, 13 May 2025 01:27:00 +0000 (11:27 +1000)]
Merge branch 'next' of git://linuxtv.org/media-ci/media-pending.git

# Conflicts:
# drivers/media/i2c/ds90ub960.c

2 months agoMerge branch 'docs-next' of git://git.lwn.net/linux.git
Stephen Rothwell [Tue, 13 May 2025 01:26:57 +0000 (11:26 +1000)]
Merge branch 'docs-next' of git://git.lwn.net/linux.git

2 months agoMerge branch 'hwmon-next' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck...
Stephen Rothwell [Tue, 13 May 2025 01:26:56 +0000 (11:26 +1000)]
Merge branch 'hwmon-next' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git

2 months agoMerge branch 'i2c/i2c-host' of git://git.kernel.org/pub/scm/linux/kernel/git/andi...
Stephen Rothwell [Tue, 13 May 2025 01:26:54 +0000 (11:26 +1000)]
Merge branch 'i2c/i2c-host' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git

2 months agoMerge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
Stephen Rothwell [Tue, 13 May 2025 01:26:52 +0000 (11:26 +1000)]
Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git
Stephen Rothwell [Tue, 13 May 2025 01:26:51 +0000 (11:26 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git

2 months agoMerge branch 'for-next/pstore' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
Stephen Rothwell [Tue, 13 May 2025 01:26:48 +0000 (11:26 +1000)]
Merge branch 'for-next/pstore' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git

2 months agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git
Stephen Rothwell [Tue, 13 May 2025 01:26:46 +0000 (11:26 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git
Stephen Rothwell [Tue, 13 May 2025 01:26:44 +0000 (11:26 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git

2 months agohwmon: Add KEBA fan controller support
Gerhard Engleder [Fri, 25 Apr 2025 19:48:23 +0000 (21:48 +0200)]
hwmon: Add KEBA fan controller support

The KEBA fan controller is found in the system FPGA of KEBA PLC devices.
It detects if the fan is removed or blocked. For fans with tacho signal
the monitoring of the speed of the fan is supported. It also supports to
regulate the speed of fans with PWM input.

The auxiliary device for this driver is instantiated by the cp500 misc
driver.

Signed-off-by: Gerhard Engleder <eg@keba.com>
Link: https://lore.kernel.org/r/20250425194823.54664-1-gerhard@engleder-embedded.com
[groeck: Added various missing "break;" statements]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2 months agoMerge branch 'fs-next' of linux-next
Stephen Rothwell [Tue, 13 May 2025 00:59:50 +0000 (10:59 +1000)]
Merge branch 'fs-next' of linux-next

# Conflicts:
# fs/fuse/file.c

2 months agoMerge branch 'xtensa-for-next' of git://github.com/jcmvbkbc/linux-xtensa.git
Stephen Rothwell [Tue, 13 May 2025 00:33:36 +0000 (10:33 +1000)]
Merge branch 'xtensa-for-next' of git://github.com/jcmvbkbc/linux-xtensa.git

2 months agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:33:31 +0000 (10:33 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:33:30 +0000 (10:33 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git

2 months agoMerge branch 'riscv-soc-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Tue, 13 May 2025 00:33:29 +0000 (10:33 +1000)]
Merge branch 'riscv-soc-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:33:27 +0000 (10:33 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git

2 months agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:33:25 +0000 (10:33 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/paris...
Stephen Rothwell [Tue, 13 May 2025 00:33:23 +0000 (10:33 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git

2 months agoMerge branch 'for-next' of git://github.com/openrisc/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:33:22 +0000 (10:33 +1000)]
Merge branch 'for-next' of git://github.com/openrisc/linux.git

2 months agoMerge branch 'mips-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:33:21 +0000 (10:33 +1000)]
Merge branch 'mips-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git

2 months agoMerge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze.git
Stephen Rothwell [Tue, 13 May 2025 00:33:20 +0000 (10:33 +1000)]
Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knom...
Stephen Rothwell [Tue, 13 May 2025 00:33:15 +0000 (10:33 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux...
Stephen Rothwell [Tue, 13 May 2025 00:33:14 +0000 (10:33 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git

2 months agoMerge branch 'loongarch-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhu...
Stephen Rothwell [Tue, 13 May 2025 00:33:13 +0000 (10:33 +1000)]
Merge branch 'loongarch-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git

2 months agoMerge branch 'linux-next' of git://github.com/c-sky/csky-linux.git
Stephen Rothwell [Tue, 13 May 2025 00:33:12 +0000 (10:33 +1000)]
Merge branch 'linux-next' of git://github.com/c-sky/csky-linux.git

2 months agoMerge branch 'thead-clk-for-next' of https://github.com/pdp7/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:33:06 +0000 (10:33 +1000)]
Merge branch 'thead-clk-for-next' of https://github.com/pdp7/linux.git

2 months agoMerge branch 'renesas-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/geert...
Stephen Rothwell [Tue, 13 May 2025 00:33:04 +0000 (10:33 +1000)]
Merge branch 'renesas-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/abelvesa...
Stephen Rothwell [Tue, 13 May 2025 00:33:03 +0000 (10:33 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux.git

2 months agoMerge branch 'clk-next' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:33:02 +0000 (10:33 +1000)]
Merge branch 'clk-next' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git

2 months agoMerge branch 'ti-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:33:00 +0000 (10:33 +1000)]
Merge branch 'ti-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git

2 months agoMerge branch 'thead-dt-for-next' of https://github.com/pdp7/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:32:59 +0000 (10:32 +1000)]
Merge branch 'thead-dt-for-next' of https://github.com/pdp7/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:32:58 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git

2 months agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux...
Stephen Rothwell [Tue, 13 May 2025 00:32:57 +0000 (10:32 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git

2 months agoMerge branch 'sunxi/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi...
Stephen Rothwell [Tue, 13 May 2025 00:32:57 +0000 (10:32 +1000)]
Merge branch 'sunxi/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git

2 months agoMerge branch 'stm32-next' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue...
Stephen Rothwell [Tue, 13 May 2025 00:32:55 +0000 (10:32 +1000)]
Merge branch 'stm32-next' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git

2 months agoMerge branch 'for-next' of https://github.com/spacemit-com/linux
Stephen Rothwell [Tue, 13 May 2025 00:32:54 +0000 (10:32 +1000)]
Merge branch 'for-next' of https://github.com/spacemit-com/linux

2 months agoMerge branch 'soc-for-next' of https://github.com/sophgo/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:32:53 +0000 (10:32 +1000)]
Merge branch 'soc-for-next' of https://github.com/sophgo/linux.git

2 months agoMerge branch 'for-next' of https://github.com/sophgo/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:32:51 +0000 (10:32 +1000)]
Merge branch 'for-next' of https://github.com/sophgo/linux.git

2 months agoMerge branch 'for-linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep...
Stephen Rothwell [Tue, 13 May 2025 00:32:50 +0000 (10:32 +1000)]
Merge branch 'for-linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:32:49 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux...
Stephen Rothwell [Tue, 13 May 2025 00:32:48 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git

2 months agoMerge branch 'reset/next' of https://git.pengutronix.de/git/pza/linux
Stephen Rothwell [Tue, 13 May 2025 00:32:47 +0000 (10:32 +1000)]
Merge branch 'reset/next' of https://git.pengutronix.de/git/pza/linux

2 months agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas...
Stephen Rothwell [Tue, 13 May 2025 00:32:45 +0000 (10:32 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:32:44 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman...
Stephen Rothwell [Tue, 13 May 2025 00:32:43 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement...
Stephen Rothwell [Tue, 13 May 2025 00:32:42 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mediatek...
Stephen Rothwell [Tue, 13 May 2025 00:32:41 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Stephen Rothwell [Tue, 13 May 2025 00:32:40 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git

2 months agoMerge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux...
Stephen Rothwell [Tue, 13 May 2025 00:32:39 +0000 (10:32 +1000)]
Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl.git

2 months agoMerge branch 'davinci/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Tue, 13 May 2025 00:32:37 +0000 (10:32 +1000)]
Merge branch 'davinci/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git

2 months agoMerge branch 'next' of https://github.com/Broadcom/stblinux.git
Stephen Rothwell [Tue, 13 May 2025 00:32:36 +0000 (10:32 +1000)]
Merge branch 'next' of https://github.com/Broadcom/stblinux.git

2 months agoMerge branch 'at91-next' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:32:35 +0000 (10:32 +1000)]
Merge branch 'at91-next' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc.git
Stephen Rothwell [Tue, 13 May 2025 00:32:34 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc.git

2 months agoMerge branch 'asahi-soc/for-next' of https://github.com/AsahiLinux/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:32:33 +0000 (10:32 +1000)]
Merge branch 'asahi-soc/for-next' of https://github.com/AsahiLinux/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic...
Stephen Rothwell [Tue, 13 May 2025 00:32:32 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
Stephen Rothwell [Tue, 13 May 2025 00:32:31 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git

2 months agoMerge branch 'for-next/core' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64...
Stephen Rothwell [Tue, 13 May 2025 00:32:29 +0000 (10:32 +1000)]
Merge branch 'for-next/core' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rmk/linux.git
Stephen Rothwell [Tue, 13 May 2025 00:32:28 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rmk/linux.git

2 months agoMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-gener...
Stephen Rothwell [Tue, 13 May 2025 00:08:29 +0000 (10:08 +1000)]
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git

2 months agoMerge branch 'dma-mapping-for-next' of git://git.kernel.org/pub/scm/linux/kernel...
Stephen Rothwell [Tue, 13 May 2025 00:08:28 +0000 (10:08 +1000)]
Merge branch 'dma-mapping-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux.git

2 months agoMerge branch 'perf-tools-next' of git://git.kernel.org/pub/scm/linux/kernel/git/perf...
Stephen Rothwell [Tue, 13 May 2025 00:08:27 +0000 (10:08 +1000)]
Merge branch 'perf-tools-next' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git

2 months agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy...
Stephen Rothwell [Tue, 13 May 2025 00:08:26 +0000 (10:08 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git

2 months agoMerge branch 'mm-nonmm-unstable' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Mon, 12 May 2025 23:41:18 +0000 (09:41 +1000)]
Merge branch 'mm-nonmm-unstable' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

2 months agoMerge branch 'mm-unstable' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Stephen Rothwell [Mon, 12 May 2025 23:41:16 +0000 (09:41 +1000)]
Merge branch 'mm-unstable' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

# Conflicts:
# fs/btrfs/extent_io.c

2 months agoi2c: designware: Invoke runtime suspend on quick slave re-registration
Tan En De [Sat, 12 Apr 2025 02:33:03 +0000 (10:33 +0800)]
i2c: designware: Invoke runtime suspend on quick slave re-registration

Replaced pm_runtime_put() with pm_runtime_put_sync_suspend() to ensure
the runtime suspend is invoked immediately when unregistering a slave.
This prevents a race condition where suspend was skipped when
unregistering and registering slave in quick succession.

For example, consider the rapid sequence of
`delete_device -> new_device -> delete_device -> new_device`.
In this sequence, it is observed that the dw_i2c_plat_runtime_suspend()
might not be invoked after `delete_device` operation.

This is because after `delete_device` operation, when the
pm_runtime_put() is about to trigger suspend, the following `new_device`
operation might race and cancel the suspend.

If that happens, during the `new_device` operation,
dw_i2c_plat_runtime_resume() is skipped (since there was no suspend), which
means `i_dev->init()`, i.e. i2c_dw_init_slave(), is skipped.
Since i2c_dw_init_slave() is skipped, i2c_dw_configure_fifo_slave() is
skipped too, which leaves `DW_IC_INTR_MASK` unconfigured. If we inspect
the interrupt mask register using devmem, it will show as zero.

Example shell script to reproduce the issue:
```
  #!/bin/sh

  SLAVE_LADDR=0x1010
  SLAVE_BUS=13
  NEW_DEVICE=/sys/bus/i2c/devices/i2c-$SLAVE_BUS/new_device
  DELETE_DEVICE=/sys/bus/i2c/devices/i2c-$SLAVE_BUS/delete_device

  # Create initial device
  echo slave-24c02 $SLAVE_LADDR > $NEW_DEVICE
  sleep 2

  # Rapid sequence of
  # delete_device -> new_device -> delete_device -> new_device
  echo $SLAVE_LADDR > $DELETE_DEVICE
  echo slave-24c02 $SLAVE_LADDR > $NEW_DEVICE
  echo $SLAVE_LADDR > $DELETE_DEVICE
  echo slave-24c02 $SLAVE_LADDR > $NEW_DEVICE

  # Using devmem to inspect IC_INTR_MASK will show as zero
```

Signed-off-by: Tan En De <ende.tan@starfivetech.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Link: https://lore.kernel.org/r/20250412023303.378600-1-ende.tan@starfivetech.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2 months agoi2c-mlxbf: Improve I2C bus timing configuration
Chris Babroski [Tue, 6 May 2025 19:30:59 +0000 (19:30 +0000)]
i2c-mlxbf: Improve I2C bus timing configuration

Update the I2C bus timing configuration on BlueField to match the
configuration recommended and verified by the HW team.

I2C block read failures were found on BlueField 3 during communication
with a device that requires the use of repeated start conditions.
Testing showed that these failures were caused by the I2C transaction
getting aborted early due to a short bus "timeout" configuration value.
This value determines how long the clock can be held low before the I2C
transaction is aborted.

Upon further inspection, it was also found that other I2C bus timing
configuration values used by the kernel driver do not match the
configuration that is recommended by the HW team and used in the
BlueField BSP I2C drivers.

Signed-off-by: Chris Babroski <cbabroski@nvidia.com>
Reviewed-by: Asmaa Mnebhi <asmaa@nvidia.com>
Reviewed-by: Khalil Blaiech <kblaiech@nvidia.com>
Link: https://lore.kernel.org/r/20250506193059.321345-2-cbabroski@nvidia.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2 months agoi2c-mlxbf: Add repeated start condition support
Chris Babroski [Tue, 6 May 2025 19:30:58 +0000 (19:30 +0000)]
i2c-mlxbf: Add repeated start condition support

Add support for SMBus repeated start conditions to the Mellanox I2C
driver. This support is specifically enabled for the
I2C_FUNC_SMBUS_WRITE_I2C_BLOCK implementation which is required for
communication with a specific I2C device on BlueField 3.

Signed-off-by: Chris Babroski <cbabroski@nvidia.com>
Reviewed-by: Asmaa Mnebhi <asmaa@nvidia.com>
Reviewed-by: Khalil Blaiech <kblaiech@nvidia.com>
Link: https://lore.kernel.org/r/20250506193059.321345-1-cbabroski@nvidia.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2 months agoi2c: xgene-slimpro: Replace dev_err() with dev_err_probe() in probe function
Enrico Zanda [Sun, 11 May 2025 20:39:21 +0000 (22:39 +0200)]
i2c: xgene-slimpro: Replace dev_err() with dev_err_probe() in probe function

This simplifies the code while improving log.

Signed-off-by: Enrico Zanda <e.zanda1@gmail.com>
Link: https://lore.kernel.org/r/20250511203920.325704-2-e.zanda1@gmail.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2 months agoi2c: lpi2c: implement master_xfer_atomic callback
Emanuele Ghidoli [Fri, 9 May 2025 14:09:49 +0000 (16:09 +0200)]
i2c: lpi2c: implement master_xfer_atomic callback

Rework the read and write code paths in the driver to support operation
in atomic contexts. To achieve this, the driver must not rely on IRQs
or perform any scheduling, e.g., via a sleep or schedule routine. Even
jiffies do not advance in atomic contexts, so timeouts based on them
are substituted with delays.

Implement atomic, sleep-free, and IRQ-less operation. This increases
complexity but is necessary for atomic I2C transfers required by some
hardware configurations, e.g., to trigger reboots on an external PMIC chip.

Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Carlos Song <carlos.song@nxp.com>
Link: https://lore.kernel.org/r/20250509140949.56324-1-francesco@dolcini.it
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2 months agodt-bindings: i2c: i2c-wmt: Convert to YAML
Alexey Charkov [Tue, 6 May 2025 10:38:15 +0000 (14:38 +0400)]
dt-bindings: i2c: i2c-wmt: Convert to YAML

Rewrite the textual description for the WonderMedia I2C controller
as YAML schema, and switch the filename to follow the compatible
string.

The controller only supports two bus speeds (100kHz and 400kHz)
so restrict clock-frequency values accordingly.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Alexey Charkov <alchark@gmail.com>
Link: https://lore.kernel.org/r/20250506-vt8500-i2c-binding-v3-1-401c3e090a88@gmail.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2 months agoi2c: microchip-corei2c: add smbus support
prashanth kumar burujukindi [Wed, 30 Apr 2025 11:23:39 +0000 (12:23 +0100)]
i2c: microchip-corei2c: add smbus support

Add hardware support for the SMBUS commands smbus_quick, smbus_byte,
smbus_byte_data, smbus_word_data and smbus_block_data, replacing the
fallback to software emulation

Signed-off-by: prashanth kumar burujukindi <prashanthkumar.burujukindi@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250430-preview-dormitory-85191523283d@spud
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2 months agoMerge branch 'for-linux-next-fixes' of https://gitlab.freedesktop.org/drm/misc/kernel.git
Stephen Rothwell [Mon, 12 May 2025 23:14:01 +0000 (09:14 +1000)]
Merge branch 'for-linux-next-fixes' of https://gitlab.freedesktop.org/drm/misc/kernel.git

2 months agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/devsec/tsm.git
Stephen Rothwell [Mon, 12 May 2025 23:14:00 +0000 (09:14 +1000)]
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/devsec/tsm.git

2 months agoMerge branch 'tip/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
Stephen Rothwell [Mon, 12 May 2025 23:13:58 +0000 (09:13 +1000)]
Merge branch 'tip/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

2 months agoMerge branch 'clk-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
Stephen Rothwell [Mon, 12 May 2025 23:13:57 +0000 (09:13 +1000)]
Merge branch 'clk-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git

2 months agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux...
Stephen Rothwell [Mon, 12 May 2025 23:13:55 +0000 (09:13 +1000)]
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git

2 months agoMerge branch 'gpio/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Mon, 12 May 2025 23:13:53 +0000 (09:13 +1000)]
Merge branch 'gpio/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git

2 months agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git
Stephen Rothwell [Mon, 12 May 2025 23:13:51 +0000 (09:13 +1000)]
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git

2 months agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform...
Stephen Rothwell [Mon, 12 May 2025 23:13:50 +0000 (09:13 +1000)]
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git

2 months agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git
Stephen Rothwell [Mon, 12 May 2025 23:13:47 +0000 (09:13 +1000)]
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git

2 months agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunder...
Stephen Rothwell [Mon, 12 May 2025 23:13:46 +0000 (09:13 +1000)]
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git

2 months agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire.git
Stephen Rothwell [Mon, 12 May 2025 23:13:45 +0000 (09:13 +1000)]
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire.git

2 months agoMerge branch 'counter-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wbg...
Stephen Rothwell [Mon, 12 May 2025 23:13:44 +0000 (09:13 +1000)]
Merge branch 'counter-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter.git

2 months agoMerge branch 'fixes-togreg' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23...
Stephen Rothwell [Mon, 12 May 2025 23:13:43 +0000 (09:13 +1000)]
Merge branch 'fixes-togreg' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git

2 months agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git
Stephen Rothwell [Mon, 12 May 2025 23:13:42 +0000 (09:13 +1000)]
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git

2 months agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git
Stephen Rothwell [Mon, 12 May 2025 23:13:41 +0000 (09:13 +1000)]
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git

# Conflicts:
# MAINTAINERS

2 months agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
Stephen Rothwell [Mon, 12 May 2025 23:13:39 +0000 (09:13 +1000)]
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git

2 months agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
Stephen Rothwell [Mon, 12 May 2025 23:13:38 +0000 (09:13 +1000)]
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git

2 months agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
Stephen Rothwell [Mon, 12 May 2025 23:13:37 +0000 (09:13 +1000)]
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

2 months agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
Stephen Rothwell [Mon, 12 May 2025 23:13:37 +0000 (09:13 +1000)]
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git

2 months agoMerge branch 'for-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
Stephen Rothwell [Mon, 12 May 2025 23:13:36 +0000 (09:13 +1000)]
Merge branch 'for-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git

2 months agoMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git
Stephen Rothwell [Mon, 12 May 2025 23:13:34 +0000 (09:13 +1000)]
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git

2 months agoMerge branch 'main' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
Stephen Rothwell [Mon, 12 May 2025 23:13:33 +0000 (09:13 +1000)]
Merge branch 'main' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git

2 months agoMerge branch 'arm/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
Stephen Rothwell [Mon, 12 May 2025 23:13:32 +0000 (09:13 +1000)]
Merge branch 'arm/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git

2 months agoMerge branch 'for-curr' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git
Stephen Rothwell [Mon, 12 May 2025 23:13:30 +0000 (09:13 +1000)]
Merge branch 'for-curr' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git

2 months agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux...
Stephen Rothwell [Mon, 12 May 2025 23:13:29 +0000 (09:13 +1000)]
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git