linux/drivers/i2c/busses
Jean Delvare cbf3fb5b29 i2c: designware: Fix the functionality flags of the slave-only interface
When an I2C adapter acts only as a slave, it should not claim to
support I2C master capabilities.

Fixes: 5b6d721b26 ("i2c: designware: enable SLAVE in platform module")
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Luis Oliveira <lolivei@synopsys.com>
Cc: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Jan Dabros <jsd@semihalf.com>
Cc: Andi Shyti <andi.shyti@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2024-06-12 17:07:34 +01:00
..
i2c-acorn.c
i2c-ali15x3.c i2c: ali15x3: remove printout on handled timeouts 2024-05-06 00:56:49 +02:00
i2c-ali1535.c i2c: ali1535: remove printout on handled timeouts 2024-05-06 00:56:48 +02:00
i2c-ali1563.c i2c: ali1563: remove printout on handled timeouts 2024-05-06 00:56:48 +02:00
i2c-altera.c i2c: Convert to platform remove callback returning void 2023-06-05 09:47:37 +02:00
i2c-amd756-s4882.c
i2c-amd756.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-amd8111.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-amd-mp2-pci.c i2c: amd-mp2: use msix/msi if the hardware supports 2022-11-01 13:41:22 +01:00
i2c-amd-mp2-plat.c i2c: amd-mp2-plat: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:49 +02:00
i2c-amd-mp2.h i2c: amd-mp2: use msix/msi if the hardware supports 2022-11-01 13:41:22 +01:00
i2c-aspeed.c i2c: aspeed: Fix the dummy irq expected print 2024-03-08 10:10:27 +01:00
i2c-at91-core.c i2c: at91-core: Use devm_clk_get_enabled() 2023-10-21 20:45:29 +02:00
i2c-at91-master.c i2c: at91-master: remove printout on handled timeouts 2024-05-06 00:56:31 +02:00
i2c-at91-slave.c i2c: at91: Fix the functionality flags of the slave-only interface 2024-06-12 17:07:33 +01:00
i2c-at91.h
i2c-au1550.c i2c: au1550: Remove #ifdef guards for PM related functions 2023-08-08 15:36:48 +02:00
i2c-axxia.c i2c: axxia: eliminate kernel-doc warnings 2023-10-28 14:34:53 +02:00
i2c-bcm2835.c i2c: bcm2835: remove printout on handled timeouts 2024-05-06 00:56:32 +02:00
i2c-bcm-iproc.c i2c: bcm-iproc: remove printout on handled timeouts 2024-05-06 00:56:32 +02:00
i2c-bcm-kona.c i2c: Convert to platform remove callback returning void 2023-06-05 09:47:37 +02:00
i2c-brcmstb.c i2c: brcmstb: Add support for atomic transfers 2023-10-11 18:35:26 +02:00
i2c-cadence.c Code cleanup: 2024-05-13 15:56:14 +02:00
i2c-cbus-gpio.c i2c: Convert to platform remove callback returning void 2023-06-05 09:47:37 +02:00
i2c-ccgx-ucsi.c i2c: Introduce common module to instantiate CCGx UCSI 2022-02-15 10:04:53 +01:00
i2c-ccgx-ucsi.h i2c: Introduce common module to instantiate CCGx UCSI 2022-02-15 10:04:53 +01:00
i2c-cht-wc.c i2c: Convert to platform remove callback returning void 2023-06-05 09:47:37 +02:00
i2c-cp2615.c i2c: cp2615: Fix 'assignment to __be16' warning 2023-11-08 10:27:17 +01:00
i2c-cpm.c i2c: cpm: Remove linux,i2c-index conversion from be32 2024-01-18 21:10:42 +01:00
i2c-cros-ec-tunnel.c i2c: Convert to platform remove callback returning void 2023-06-05 09:47:37 +02:00
i2c-davinci.c i2c: davinci: remove printout on handled timeouts 2024-05-06 00:56:33 +02:00
i2c-designware-amdpsp.c i2c: designware: Add doorbell support for Mendocino 2023-04-20 18:20:05 +08:00
i2c-designware-baytrail.c i2c: designware: Add AMD PSP I2C bus support 2022-02-11 15:38:23 +01:00
i2c-designware-common.c i2c: designware: Use accessors to DW_IC_INTR_MASK register 2024-02-27 01:51:33 +01:00
i2c-designware-core.h i2c: designware: Implement generic polling mode code for Wangxun 10Gb NIC 2024-02-27 01:51:35 +01:00
i2c-designware-master.c i2c: designware: Implement generic polling mode code for Wangxun 10Gb NIC 2024-02-27 01:51:35 +01:00
i2c-designware-pcidrv.c i2c: designware: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE() 2024-05-06 00:56:55 +02:00
i2c-designware-platdrv.c i2c: designware: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE() 2024-05-06 00:56:55 +02:00
i2c-designware-slave.c i2c: designware: Fix the functionality flags of the slave-only interface 2024-06-12 17:07:34 +01:00
i2c-digicolor.c i2c: digicolor: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:49 +02:00
i2c-diolan-u2c.c
i2c-dln2.c i2c: dln2: Use dev_err_probe in probe function 2023-08-10 10:13:40 +02:00
i2c-eg20t.c i2c: move drivers from strlcpy to strscpy 2022-08-11 23:02:51 +02:00
i2c-elektor.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-emev2.c I2C: Explicitly include correct DT includes 2023-08-14 17:47:21 +02:00
i2c-exynos5.c i2c: exynos5: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:50 +02:00
i2c-fsi.c
i2c-gpio.c i2c: gpio: move to per-adapter debugfs directory 2024-01-18 21:10:41 +01:00
i2c-gxp.c I2C: Explicitly include correct DT includes 2023-08-14 17:47:21 +02:00
i2c-highlander.c i2c: Convert to platform remove callback returning void 2023-06-05 09:47:37 +02:00
i2c-hisi.c i2c: hisi: Add clearing tx aempty interrupt operation 2024-02-08 09:34:19 +01:00
i2c-hix5hd2.c i2c: hix5hd2: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:50 +02:00
i2c-hydra.c
i2c-i801.c i2c: i801: remove printout on handled timeouts 2024-05-06 00:56:47 +02:00
i2c-ibm_iic.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-ibm_iic.h
i2c-icy.c i2c: move drivers from strlcpy to strscpy 2022-08-11 23:02:51 +02:00
i2c-img-scb.c i2c: img-scb: remove printout on handled timeouts 2024-05-06 00:56:33 +02:00
i2c-imx-lpi2c.c i2c: imx-lpi2c: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:51 +02:00
i2c-imx.c Minor changes to the I2C core. Most changes are in the drivers section 2024-03-15 12:09:49 -07:00
i2c-iop3xx.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-iop3xx.h
i2c-isch.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-ismt.c i2c: ismt: remove printout on handled timeouts 2024-05-06 00:56:34 +02:00
i2c-jz4780.c i2c: jz4780: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:53 +02:00
i2c-kempld.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-ljca.c i2c: Add support for Intel LJCA USB I2C driver 2023-10-11 11:33:37 +02:00
i2c-lpc2k.c I2C: Explicitly include correct DT includes 2023-08-14 17:47:21 +02:00
i2c-ls2x.c i2c: ls2x: Add driver for Loongson-2K/LS7A I2C controller 2023-02-02 22:23:59 +01:00
i2c-mchp-pci1xxxx.c i2c: mchp-pci1xxxx: Avoid cast to incompatible function type 2023-06-05 10:43:45 +02:00
i2c-meson.c I2C: Explicitly include correct DT includes 2023-08-14 17:47:21 +02:00
i2c-microchip-corei2c.c i2c: remove redundant dev_err_probe() 2023-08-08 15:36:55 +02:00
i2c-mlxbf.c i2c: mlxbf: Use devm_platform_get_and_ioremap_resource() 2023-08-14 18:09:44 +02:00
i2c-mlxcpld.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-mpc.c i2c: mpc: Removal of of_node_put with __free for auto cleanup 2024-05-06 00:56:12 +02:00
i2c-mt65xx.c i2c: mt65xx: allow optional pmic clock 2023-09-19 22:00:22 +02:00
i2c-mt7621.c I2C: Explicitly include correct DT includes 2023-08-14 17:47:21 +02:00
i2c-mv64xxx.c i2c: Use device_get_match_data() 2023-10-10 21:41:14 +02:00
i2c-mxs.c I2C: Explicitly include correct DT includes 2023-08-14 17:47:21 +02:00
i2c-nforce2-s4985.c
i2c-nforce2.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-nomadik.c I2C core removes an argument from the i2c_mux_add_adapter() call to 2024-05-20 08:55:18 -07:00
i2c-npcm7xx.c i2c: Remove redundant comparison in npcm_i2c_reg_slave 2024-02-14 22:51:54 +01:00
i2c-nvidia-gpu.c usb: typec: ucsi: Mark dGPUs as DEVICE scope 2023-06-14 10:47:11 +02:00
i2c-ocores.c i2c: ocores: convert to ioport_map() for IORESOURCE_IO 2024-05-06 00:55:26 +02:00
i2c-octeon-core.c i2c: octeon: Handle watchdog timeout 2024-05-06 00:56:40 +02:00
i2c-octeon-core.h i2c: octeon: Handle watchdog timeout 2024-05-06 00:56:40 +02:00
i2c-octeon-platdrv.c i2c: Convert to platform remove callback returning void 2023-06-05 09:47:37 +02:00
i2c-omap.c i2c: omap: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:51 +02:00
i2c-opal.c i2c: Convert to platform remove callback returning void 2023-06-05 09:47:37 +02:00
i2c-owl.c I2C: Explicitly include correct DT includes 2023-08-14 17:47:21 +02:00
i2c-parport.c i2c: move drivers from strlcpy to strscpy 2022-08-11 23:02:51 +02:00
i2c-pasemi-core.c i2c: pasemi: split driver into two separate modules 2024-02-14 22:15:07 +01:00
i2c-pasemi-core.h i2c: /pasemi: PASemi I2C controller IRQ enablement 2022-11-12 21:30:16 +01:00
i2c-pasemi-pci.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-pasemi-platform.c i2c: pasemi-platform: Use devm_clk_get_enabled() 2023-06-23 11:56:34 +02:00
i2c-pca-isa.c isa: Make the remove callback for isa drivers return void 2021-01-26 07:42:27 +01:00
i2c-pca-platform.c I2C: Explicitly include correct DT includes 2023-08-14 17:47:21 +02:00
i2c-piix4.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-pnx.c i2c: pnx: Use devm_platform_get_and_ioremap_resource() 2023-08-14 18:10:14 +02:00
i2c-powermac.c i2c: powermac: replace deprecated strncpy 2023-09-22 12:12:07 +02:00
i2c-pxa-pci.c I2C: Explicitly include correct DT includes 2023-08-14 17:47:21 +02:00
i2c-pxa.c i2c: pxa: use 'time_left' variable with wait_event_timeout() 2024-05-06 00:56:55 +02:00
i2c-qcom-cci.c i2c: qcom-cci: Fix error checking in cci_probe() 2023-08-25 22:07:10 +02:00
i2c-qcom-geni.c i2c: qcom-geni: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:54 +02:00
i2c-qup.c i2c: qup: remove printout on handled timeouts 2024-05-06 00:56:35 +02:00
i2c-rcar.c i2c: rcar: add FastMode+ support for Gen4 2024-01-18 21:10:42 +01:00
i2c-riic.c i2c: riic: Add support for R9A09G057 SoC 2024-05-06 00:35:39 +02:00
i2c-rk3x.c i2c: rk3x: use 'time_left' variable with wait_event_timeout() 2024-05-06 00:56:54 +02:00
i2c-robotfuzz-osif.c i2c: robotfuzz-osif: fix control-request directions 2021-06-24 22:08:00 +02:00
i2c-rzv2m.c i2c: rzv2m: Disable the operation of unit in case of error 2023-06-05 12:03:35 +02:00
i2c-s3c2410.c i2c: s3c2410: use 'time_left' variable with wait_event_timeout() 2024-05-06 00:56:54 +02:00
i2c-scmi.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-sh7760.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-sh_mobile.c i2c: sh_mobile: remove printout on handled timeouts 2024-05-06 00:56:36 +02:00
i2c-sibyte.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-simtec.c i2c: Convert to platform remove callback returning void 2023-06-05 09:47:37 +02:00
i2c-sis96x.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-sis630.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-sis5595.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-sprd.c i2c: sprd: Convert to platform remove callback returning void 2024-03-08 08:02:47 +01:00
i2c-st.c i2c: st: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:52 +02:00
i2c-stm32.c
i2c-stm32.h
i2c-stm32f4.c i2c: stm32f4: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:52 +02:00
i2c-stm32f7.c i2c: stm32f7: use 'time_left' variable with wait_for_completion_timeout() 2024-05-06 00:56:52 +02:00
i2c-sun6i-p2wi.c i2c: sun6i-p2wi: Prevent potential division by zero 2023-10-29 20:30:07 +01:00
i2c-synquacer.c i2c: synquacer: Remove a clk reference from struct synquacer_i2c 2024-05-23 13:38:15 +02:00
i2c-taos-evm.c i2c: move drivers from strlcpy to strscpy 2022-08-11 23:02:51 +02:00
i2c-tegra-bpmp.c I2C: Explicitly include correct DT includes 2023-08-14 17:47:21 +02:00
i2c-tegra.c i2c: tegra: remove printout on handled timeouts 2024-05-06 00:56:37 +02:00
i2c-thunderx-pcidrv.c i2c: thunderx: Adding ioclk support 2024-05-06 00:56:41 +02:00
i2c-tiny-usb.c i2c: tiny-usb: check usb base class before assuming the interface on device is for this driver 2023-08-14 15:14:42 +02:00
i2c-uniphier-f.c i2c: uniphier-f: remove printout on handled timeouts 2024-05-06 00:56:37 +02:00
i2c-uniphier.c i2c: uniphier: remove printout on handled timeouts 2024-05-06 00:56:37 +02:00
i2c-versatile.c i2c: versatile: Use devm_platform_get_and_ioremap_resource() 2023-06-14 10:40:09 +02:00
i2c-via.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-viai2c-common.c i2c: add zhaoxin i2c controller driver 2024-05-06 00:56:46 +02:00
i2c-viai2c-common.h i2c: add zhaoxin i2c controller driver 2024-05-06 00:56:46 +02:00
i2c-viai2c-wmt.c i2c: wmt: add platform type VIAI2C_PLAT_WMT 2024-05-06 00:56:45 +02:00
i2c-viai2c-zhaoxin.c i2c: add zhaoxin i2c controller driver 2024-05-06 00:56:46 +02:00
i2c-viapro.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00
i2c-viperboard.c i2c: viperboard: drop driver owner assignment 2024-05-06 00:35:39 +02:00
i2c-virtio.c i2c: virtio: Remove #ifdef guards for PM related functions 2023-08-08 15:36:53 +02:00
i2c-xgene-slimpro.c i2c: xgene-slimpro: Migrate to use generic PCC shmem related macros 2023-09-29 11:55:21 +01:00
i2c-xiic.c i2c: xiic: Correct return value check for xiic_reinit() 2023-09-22 12:04:39 +02:00
i2c-xlp9xx.c i2c: xlp9xx: Use dev_err_probe in probe function 2023-08-10 10:12:55 +02:00
Kconfig i2c: add zhaoxin i2c controller driver 2024-05-06 00:56:46 +02:00
Makefile i2c: add zhaoxin i2c controller driver 2024-05-06 00:56:46 +02:00
scx200_acb.c i2c: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON 2024-01-18 21:10:41 +01:00