Skip to content

Commit 9bca19a

Browse files
committed
Merge branch 'i2c/for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c updates from Wolfram Sang: - mainly feature additions to drivers (stm32f7, qup, xlp9xx, mlxcpld, ...) - conversion to use the i2c_8bit_addr_from_msg macro consistently - move includes to platform_data - core updates to allow the (still in review) I3C subsystem to connect - and the regular share of smaller driver updates * 'i2c/for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (68 commits) i2c: qup: fix building without CONFIG_ACPI i2c: tegra: Remove suspend-resume i2c: imx-lpi2c: Switch to SPDX identifier i2c: mxs: Switch to SPDX identifier i2c: busses: make use of i2c_8bit_addr_from_msg i2c: algos: make use of i2c_8bit_addr_from_msg i2c: rcar: document R8A77980 bindings i2c: qup: Add command-line parameter to override SCL frequency i2c: qup: Correct duty cycle for FM and FM+ i2c: qup: Add support for Fast Mode Plus i2c: qup: add probe path for Centriq ACPI devices i2c: robotfuzz-osif: drop pointless test i2c: robotfuzz-osif: remove pointless local variable i2c: rk3x: Don't print visible virtual mapping MMIO address i2c: opal: don't check number of messages in the driver i2c: ibm_iic: don't check number of messages in the driver i2c: imx: Switch to SPDX identifier i2c: mux: pca954x: merge calls to of_match_device and of_device_get_match_data i2c: mux: demux-pinctrl: use proper parent device for demux adapter i2c: mux: improve error message for failed symlink ...
2 parents 463f202 + 53e3962 commit 9bca19a

File tree

94 files changed

+1683
-483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1683
-483
lines changed

Documentation/devicetree/bindings/i2c/i2c-davinci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Recommended properties :
2424
- clock-frequency : desired I2C bus clock frequency in Hz.
2525
- ti,has-pfunc: boolean; if defined, it indicates that SoC supports PFUNC
2626
registers. PFUNC registers allow to switch I2C pins to function as
27-
GPIOs, so they can by toggled manually.
27+
GPIOs, so they can be toggled manually.
2828

2929
Example (enbw_cmc board):
3030
i2c@1c22000 {

Documentation/devicetree/bindings/i2c/i2c-rcar.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Required properties:
1515
"renesas,i2c-r8a7796" if the device is a part of a R8A7796 SoC.
1616
"renesas,i2c-r8a77965" if the device is a part of a R8A77965 SoC.
1717
"renesas,i2c-r8a77970" if the device is a part of a R8A77970 SoC.
18+
"renesas,i2c-r8a77980" if the device is a part of a R8A77980 SoC.
1819
"renesas,i2c-r8a77995" if the device is a part of a R8A77995 SoC.
1920
"renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device.
2021
"renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible

Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ Required properties:
88
(b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c.
99
(c) "samsung, s3c2440-hdmiphy-i2c", for s3c2440-like i2c used
1010
inside HDMIPHY block found on several samsung SoCs
11-
(d) "samsung, exynos5440-i2c", for s3c2440-like i2c used
12-
on EXYNOS5440 which does not need GPIO configuration.
13-
(e) "samsung, exynos5-sata-phy-i2c", for s3c2440-like i2c used as
11+
(d) "samsung, exynos5-sata-phy-i2c", for s3c2440-like i2c used as
1412
a host to SATA PHY controller on an internal bus.
1513
- reg: physical base address of the controller and length of memory mapped
1614
region.

Documentation/i2c/busses/i2c-mlxcpld

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ The next transaction types are supported:
2020
- Write Byte/Block.
2121

2222
Registers:
23+
CPBLTY 0x0 - capability reg.
24+
Bits [6:5] - transaction length. b01 - 72B is supported,
25+
36B in other case.
26+
Bit 7 - SMBus block read support.
2327
CTRL 0x1 - control reg.
2428
Resets all the registers.
2529
HALF_CYC 0x4 - cycle reg.

Documentation/i2c/busses/i2c-ocores

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Usage
1818
i2c-ocores uses the platform bus, so you need to provide a struct
1919
platform_device with the base address and interrupt number. The
2020
dev.platform_data of the device should also point to a struct
21-
ocores_i2c_platform_data (see linux/i2c-ocores.h) describing the
21+
ocores_i2c_platform_data (see linux/platform_data/i2c-ocores.h) describing the
2222
distance between registers and the input clock speed.
2323
There is also a possibility to attach a list of i2c_board_info which
2424
the i2c-ocores driver will add to the bus upon creation.

Documentation/i2c/muxes/i2c-mux-gpio

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ i2c-mux-gpio uses the platform bus, so you need to provide a struct
3030
platform_device with the platform_data pointing to a struct
3131
i2c_mux_gpio_platform_data with the I2C adapter number of the master
3232
bus, the number of bus segments to create and the GPIO pins used
33-
to control it. See include/linux/i2c-mux-gpio.h for details.
33+
to control it. See include/linux/platform_data/i2c-mux-gpio.h for details.
3434

3535
E.G. something like this for a MUX providing 4 bus segments
3636
controlled through 3 GPIO pins:
3737

38-
#include <linux/i2c-mux-gpio.h>
38+
#include <linux/platform_data/i2c-mux-gpio.h>
3939
#include <linux/platform_device.h>
4040

4141
static const unsigned myboard_gpiomux_gpios[] = {

MAINTAINERS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5953,14 +5953,14 @@ GENERIC GPIO I2C DRIVER
59535953
M: Haavard Skinnemoen <[email protected]>
59545954
S: Supported
59555955
F: drivers/i2c/busses/i2c-gpio.c
5956-
F: include/linux/i2c-gpio.h
5956+
F: include/linux/platform_data/i2c-gpio.h
59575957

59585958
GENERIC GPIO I2C MULTIPLEXER DRIVER
59595959
M: Peter Korsgaard <[email protected]>
59605960
59615961
S: Supported
59625962
F: drivers/i2c/muxes/i2c-mux-gpio.c
5963-
F: include/linux/i2c-mux-gpio.h
5963+
F: include/linux/platform_data/i2c-mux-gpio.h
59645964
F: Documentation/i2c/muxes/i2c-mux-gpio
59655965

59665966
GENERIC HDLC (WAN) DRIVERS
@@ -10392,7 +10392,7 @@ F: arch/arm/mach-omap1/
1039210392
F: arch/arm/plat-omap/
1039310393
F: arch/arm/configs/omap1_defconfig
1039410394
F: drivers/i2c/busses/i2c-omap.c
10395-
F: include/linux/i2c-omap.h
10395+
F: include/linux/platform_data/i2c-omap.h
1039610396

1039710397
OMAP2+ SUPPORT
1039810398
M: Tony Lindgren <[email protected]>
@@ -10424,7 +10424,7 @@ F: drivers/regulator/tps65218-regulator.c
1042410424
F: drivers/regulator/tps65910-regulator.c
1042510425
F: drivers/regulator/twl-regulator.c
1042610426
F: drivers/regulator/twl6030-regulator.c
10427-
F: include/linux/i2c-omap.h
10427+
F: include/linux/platform_data/i2c-omap.h
1042810428

1042910429
ONION OMEGA2+ BOARD
1043010430
M: Harvey Hunt <[email protected]>

arch/arm/mach-ks8695/board-acs5k.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <linux/gpio/machine.h>
2020
#include <linux/i2c.h>
2121
#include <linux/i2c-algo-bit.h>
22-
#include <linux/i2c-gpio.h>
22+
#include <linux/platform_data/i2c-gpio.h>
2323
#include <linux/platform_data/pca953x.h>
2424

2525
#include <linux/mtd/mtd.h>

arch/arm/mach-omap1/board-htcherald.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <linux/gpio.h>
3232
#include <linux/gpio_keys.h>
3333
#include <linux/i2c.h>
34-
#include <linux/i2c-gpio.h>
34+
#include <linux/platform_data/i2c-gpio.h>
3535
#include <linux/htcpld.h>
3636
#include <linux/leds.h>
3737
#include <linux/spi/spi.h>

arch/arm/mach-omap1/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define __ARCH_ARM_MACH_OMAP1_COMMON_H
2828

2929
#include <linux/mtd/mtd.h>
30-
#include <linux/i2c-omap.h>
30+
#include <linux/platform_data/i2c-omap.h>
3131
#include <linux/reboot.h>
3232

3333
#include <asm/exception.h>

0 commit comments

Comments
 (0)