History

Merge tag 'i2c-for-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux

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(). ...

Linus Torvalds committed 1 year ago

Commit abdebb22 parents d12f68b 27c3f0e27 files · +1714 −507Browse files

Showing the changes to include/linux/platform_data (1 of 27 files). Show all

Unified · Split

include/linux/platform_data/i2c-davinci.h+0−26
@@ -1,26 +0,0 @@
1−/*
2− * DaVinci I2C controller platform_device info
3− *
4− * Author: Vladimir Barinov, MontaVista Software, Inc. <source@mvista.com>
5− *
6− * 2007 (c) MontaVista Software, Inc. This file is licensed under
7− * the terms of the GNU General Public License version 2. This program
8− * is licensed "as is" without any warranty of any kind, whether express
9− * or implied.
10−*/
11−
12−#ifndef __ASM_ARCH_I2C_H
13−#define __ASM_ARCH_I2C_H
14−
15−/* All frequencies are expressed in kHz */
16−struct davinci_i2c_platform_data {
17− unsigned int bus_freq; /* standard bus frequency (kHz) */
18− unsigned int bus_delay; /* post-transaction delay (usec) */
19− bool gpio_recovery; /* Use GPIO recovery method */
20− bool has_pfunc; /* Chip has a ICPFUNC register */
21−};
22−
23−/* for board setup code */
24−void davinci_init_i2c(struct davinci_i2c_platform_data *);
25−
26−#endif /* __ASM_ARCH_I2C_H */