- 18 2月, 2023 1 次提交
-
-
由 Nick Hawkins 提交于
The GXP SoC supports 10 I2C engines. Each I2C engine is completely independent and can function both as an I2C master and I2C slave. The I2C master can operate in a multi master environment. The engines support a scalable speed from 8kHZ to 1.5 Mhz. Signed-off-by: NNick Hawkins <nick.hawkins@hpe.com> Reviewed-by: NJoel Stanley <joel@jms.id.au> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 03 2月, 2023 1 次提交
-
-
由 Binbin Zhou 提交于
This I2C module is integrated into the Loongson-2K SoCs and Loongson LS7A bridge chip. Signed-off-by: NBinbin Zhou <zhoubinbin@loongson.cn> Reviewed-by: NAndy Shevchenko <andy@kernel.org> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 03 11月, 2022 1 次提交
-
-
由 Weilong Chen 提交于
The HiSilicon I2C controller can be used on embedded platform, which boot from devicetree. Signed-off-by: NWeilong Chen <chenweilong@huawei.com> Acked-by: NYicong Yang <yangyicong@hisilicon.com> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 21 10月, 2022 1 次提交
-
-
由 Adam Borowski 提交于
This fixes maybe_unused warnings/errors. According to a comment during device tree removal, only ACPI is supported, thus let's actually require it. Fixes: be18c5ed ("i2c: mlxbf: remove device tree support") Signed-off-by: NAdam Borowski <kilobyte@angband.pl> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 29 9月, 2022 1 次提交
-
-
由 Tharun Kumar P 提交于
i2c: microchip: pci1xxxx: Add driver for I2C host controller in multifunction endpoint of pci1xxxx switch Microchip pci1xxxx is an unmanaged PCIe3.1a Switch for Consumer, Industrial and Automotive applications. This switch has multiple downstream ports. In one of the Switch's Downstream port, there is a multifunction endpoint for peripherals which includes an I2C host controller. The I2C function in the endpoint operates at 100KHz, 400KHz and 1 MHz and has buffer depth of 128 bytes. This patch provides the I2C controller driver for the I2C function of the switch. Signed-off-by: NTharun Kumar P <tharunkumar.pasumarthi@microchip.com> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 16 8月, 2022 1 次提交
-
-
由 William Zhang 提交于
With Broadcom Broadband arch ARCH_BCMBCA supported in the kernel, this patch series migrate the ARCH_BCM4908 symbol to ARCH_BCMBCA. Hence replace ARCH_BCM4908 with ARCH_BCMBCA in subsystem Kconfig files. Signed-off-by: NWilliam Zhang <william.zhang@broadcom.com> Acked-by: Guenter Roeck <linux@roeck-us.net> (for watchdog) Acked-by: Bjorn Helgaas <bhelgaas@google.com> (for drivers/pci) Acked-by: Wolfram Sang <wsa@kernel.org> (for i2c) Acked-by: Philipp Zabel <p.zabel@pengutronix.de> (for reset) Link: https://lore.kernel.org/r/20220803175455.47638-7-william.zhang@broadcom.comSigned-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
-
- 23 7月, 2022 1 次提交
-
-
由 Phil Edworthy 提交于
Yet another i2c controller from Renesas that is found on the RZ/V2M (r9a09g011) SoC. It can support only 100kHz and 400KHz operation. Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Reviewed-by: NBiju Das <biju.das.jz@bp.renesas.com> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: NPhilipp Zabel <p.zabel@pengutronix.de> [wsa: removed superfluous class type and renamed a function] Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 14 7月, 2022 1 次提交
-
-
由 Andy Shevchenko 提交于
Since we have a common P2SB accessor in tree we may use it instead of open coded variants. Replace custom code by p2sb_bar() call. Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: NHenning Schild <henning.schild@siemens.com> Acked-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Reviewed-by: NJean Delvare <jdelvare@suse.de> Acked-by: NWolfram Sang <wsa@kernel.org> Signed-off-by: NLee Jones <lee@kernel.org>
-
- 09 7月, 2022 1 次提交
-
-
由 William Zhang 提交于
Prepare for the BCM63138 ARCH_BCM_63XX migration to ARCH_BCMBCA. Make I2C_BRCMSTB depending on ARCH_BCMBCA. Signed-off-by: NWilliam Zhang <william.zhang@broadcom.com> Acked-by: NWolfram Sang <wsa@kernel.org> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
-
- 08 7月, 2022 1 次提交
-
-
由 Conor Dooley 提交于
Add Microchip CoreI2C i2c controller support. This driver supports the "hard" i2c controller on the Microchip PolarFire SoC & the basic feature set for "soft" i2c controller implemtations in the FPGA fabric. Co-developed-by: NDaire McNamara <daire.mcnamara@microchip.com> Signed-off-by: NDaire McNamara <daire.mcnamara@microchip.com> Signed-off-by: NConor Dooley <conor.dooley@microchip.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 06 7月, 2022 1 次提交
-
-
由 Jarkko Nikula 提交于
Add SMBus PCI ID on Intel Meteor Lake-P. Signed-off-by: NJarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 09 6月, 2022 1 次提交
-
-
由 Tyrone Ting 提交于
Add NPCM8XX I2C support. The NPCM8XX uses a similar i2c module as NPCM7XX. The internal HW FIFO is larger in NPCM8XX. Signed-off-by: NTyrone Ting <kfting@nuvoton.com> Acked-by: NTomer Maimon <tmaimon77@gmail.com> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 15 2月, 2022 7 次提交
-
-
由 Wolfram Sang 提交于
Driver builds fine with COMPILE_TEST. Enable it for wider test coverage and easier maintenance. Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
由 Wolfram Sang 提交于
Driver builds fine with COMPILE_TEST. Enable it for wider test coverage and easier maintenance. Signed-off-by: NWolfram Sang <wsa@kernel.org> Acked-by: NOleksij Rempel <o.rempel@pengutronix.de>
-
由 Wolfram Sang 提交于
Driver builds fine with COMPILE_TEST. Enable it for wider test coverage and easier maintenance. Signed-off-by: NWolfram Sang <wsa@kernel.org> Acked-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Andy Shevchenko 提交于
Instead of open coded variant switch to use i2c_new_ccgx_ucsi(). Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: NJarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
由 Andy Shevchenko 提交于
Instead of open coded variant switch to use i2c_new_ccgx_ucsi(). Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
由 Andy Shevchenko 提交于
Introduce a common module to provide an API to instantiate UCSI device for Cypress CCGx Type-C controller. Individual bus drivers need to select this one on demand. Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
由 Jarkko Nikula 提交于
Add SMBus PCI ID on Intel Raptor Lake PCH-S. Signed-off-by: NJarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 12 2月, 2022 1 次提交
-
-
由 Rafał Miłecki 提交于
BCM4908 SoCs use the same I2C hardware block as STB and BCM63xx devices. Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 11 2月, 2022 1 次提交
-
-
由 Jan Dabros 提交于
Implement an I2C controller sharing mechanism between the host (kernel) and PSP co-processor on some platforms equipped with AMD Cezanne SoC. On these platforms we need to implement "software" i2c arbitration. Default arbitration owner is PSP and kernel asks for acquire as well as inform about release of the i2c bus via mailbox mechanism. +---------+ <- ACQUIRE | | +---------| CPU |\ | | | \ +----------+ SDA | +---------+ \ | |------- MAILBOX +--> | I2C-DW | SCL | +---------+ | |------- | | | +----------+ +---------| PSP | <- ACK | | +---------+ +---------+ <- RELEASE | | +---------| CPU | | | | +----------+ SDA | +---------+ | |------- MAILBOX +--> | I2C-DW | SCL | +---------+ / | |------- | | | / +----------+ +---------| PSP |/ <- ACK | | +---------+ The solution is similar to i2c-designware-baytrail.c implementation, where we are using a generic i2c-designware-* driver with a small "wrapper". In contrary to baytrail semaphore implementation, beside internal acquire_lock() and release_lock() methods we are also applying quirks to lock_bus() and unlock_bus() global adapter methods. With this in place all i2c clients drivers may lock i2c bus for a desired number of i2c transactions (e.g. write-wait-read) without being aware of that such bus is shared with another entity. Modify i2c_dw_probe_lock_support() to select correct semaphore implementation at runtime, since now we have more than one available. Configure new matching ACPI ID "AMDI0019" and register ARBITRATION_SEMAPHORE flag in order to distinguish setup with PSP arbitration. Add myself as a reviewer for I2C DesignWare in order to help with reviewing and testing possible changes touching new i2c-designware-amdpsp.c module. Signed-off-by: NJan Dabros <jsd@semihalf.com> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: NJarkko Nikula <jarkko.nikula@linux.intel.com> Tested-by: NJarkko Nikula <jarkko.nikula@linux.intel.com> [wsa: removed unneeded blank line and curly braces] Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 09 12月, 2021 1 次提交
-
-
由 Sam Protsenko 提交于
I2C controller chosen by I2C_EXYNOS5 config option is also suitable for Exynos850 and ExynosAutoV9 SoCs. State that specifically in I2C_EXYNOS5 symbol help section. Signed-off-by: NSam Protsenko <semen.protsenko@linaro.org> Reviewed-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: NChanho Park <chanho61.park@samsung.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 23 11月, 2021 2 次提交
-
-
由 Rob Herring 提交于
Commits 95b8a5e0 ("MIPS: Remove NETLOGIC support") and edd4488a ("ARM: remove tango platform") removed Netlogic XLR and Sigma Designs Tango platforms which means there are no platforms using the XLR I2C driver and it can be removed. Signed-off-by: NRob Herring <robh@kernel.org> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
由 Rob Herring 提交于
Netlogic XLP was removed in commit 95b8a5e0 ("MIPS: Remove NETLOGIC support"). With those gone, the single platform left to support is Cavium ThunderX2. Remove the Netlogic variant and DT support. For simplicity, the existing kconfig name is retained. Signed-off-by: NRob Herring <robh@kernel.org> Acked-by George Cherian <gcherian@marvell.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 22 11月, 2021 1 次提交
-
-
由 Sam Protsenko 提交于
A separate Kconfig option HAVE_S3C2410_I2C for Samsung SoCs is not really needed and the i2c-s3c24xx driver can depend on Samsung ARM architectures instead. This also enables i2c-s3c2410 for arm64 Exynos SoCs, which is required for example by Exynos850. This is basically continuation of work made in following commits: - commit d96890fc ("rtc: s3c: remove HAVE_S3C_RTC in favor of direct dependencies") - commit 7dd3cae9 ("ARM: samsung: remove HAVE_S3C2410_WATCHDOG and use direct dependencies") Signed-off-by: NSam Protsenko <semen.protsenko@linaro.org> Link: https://lore.kernel.org/r/20211121150558.21801-2-semen.protsenko@linaro.orgSigned-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
-
- 11 10月, 2021 1 次提交
-
-
由 Sven Peter 提交于
With all the previous preparations we can now finally add the platform driver to support the PASemi-based controllers in Apple SoCs. This does not work on the M1 yet but should work on the early iPhones already. Reviewed-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NSven Peter <sven@svenpeter.dev> Acked-by: NOlof Johansson <olof@lixom.net> Tested-by: NChristian Zigotzky <chzigotzky@xenosoft.de> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 02 10月, 2021 1 次提交
-
-
由 Krzysztof Kozlowski 提交于
Describe better which driver applies to which SoC, to make configuring kernel for Samsung SoC easier. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 20 8月, 2021 1 次提交
-
-
由 Jie Deng 提交于
Add an I2C bus driver for virtio para-virtualization. The controller can be emulated by the backend driver in any device model software by following the virtio protocol. The device specification can be found on https://lists.oasis-open.org/archives/virtio-comment/202101/msg00008.html. By following the specification, people may implement different backend drivers to emulate different controllers according to their needs. Co-developed-by: NConghui Chen <conghui.chen@intel.com> Signed-off-by: NConghui Chen <conghui.chen@intel.com> Signed-off-by: NJie Deng <jie.deng@intel.com> Reviewed-by: NViresh Kumar <viresh.kumar@linaro.org> Tested-by: NViresh Kumar <viresh.kumar@linaro.org> Acked-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 18 8月, 2021 1 次提交
-
-
由 Lukas Bulwahn 提交于
Commit 1b00767f ("MIPS: Remove PMC MSP71xx platform") removes the config PMC_MSP in ./arch/mips/Kconfig. Hence, since then, the corresponding PMC MSP TWI/SMBus/I2C driver is dead code. Remove this dead driver. Signed-off-by: NLukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 26 5月, 2021 1 次提交
-
-
由 Geert Uytterhoeven 提交于
The HiSilicon Kunpeng I2C controller driver relies on ACPI to probe for its presence. Hence add a dependency on ACPI, to prevent asking the user about this driver when configuring a kernel without ACPI firmware support. Fixes: d62fbdb9 ("i2c: add support for HiSilicon I2C controller") Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Acked-by: NYicong Yang <yangyicong@hisilicon.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 11 4月, 2021 1 次提交
-
-
由 Yicong Yang 提交于
Add HiSilicon I2C controller driver for the Kunpeng SoC. It provides the access to the i2c busses, which connects to the eeprom, rtc, etc. The driver works with IRQ mode, and supports basic I2C features and 10bit address. The DMA is not supported. Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: NDmitry Osipenko <digetx@gmail.com> Signed-off-by: NYicong Yang <yangyicong@hisilicon.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 06 4月, 2021 1 次提交
-
-
由 Bence Csókás 提交于
Create an i2c_adapter for CP2615's I2C master interface Signed-off-by: NBence Csókás <bence98@sch.bme.hu> [wsa: switched to '__packed', added some 'static' and an include] Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 29 3月, 2021 1 次提交
-
-
由 Christophe Leroy 提交于
Commit 92c8c16f ("powerpc/embedded6xx: Remove C2K board support") moved the last selector of CONFIG_MV64X60. As it is not a user selectable config, it can be removed. Signed-off-by: NChristophe Leroy <christophe.leroy@csgroup.eu> Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/19e57d16692dcd1ca67ba880d7273a57fab416aa.1616085654.git.christophe.leroy@csgroup.eu
-
- 24 3月, 2021 1 次提交
-
-
由 Krzysztof Kozlowski 提交于
ARCH_SOCFPGA is being renamed to ARCH_INTEL_SOCFPGA so adjust the 32-bit ARM drivers to rely on new symbol. The side effect is that the I2C_ALTERA will now be available for both 32-bit and 64-bit Intel SoCFPGA, even though it is used only for 32-bit. Acked-by: NWolfram Sang <wsa@kernel.org> Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: NDinh Nguyen <dinguyen@kernel.org>
-
- 28 1月, 2021 1 次提交
-
-
由 Arnd Bergmann 提交于
The zte zx platform is getting removed, so this driver is no longer needed. Signed-off-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 22 1月, 2021 3 次提交
-
-
由 Krzysztof Kozlowski 提交于
The I2C_SPRD uses Common Clock Framework thus it cannot be built on platforms without it (e.g. compile test on MIPS with LANTIQ): /usr/bin/mips-linux-gnu-ld: drivers/i2c/busses/i2c-sprd.o: in function `sprd_i2c_probe': i2c-sprd.c:(.text.sprd_i2c_probe+0x254): undefined reference to `clk_set_parent' Fixes: 4a2d5f66 ("i2c: Enable compile testing for more drivers") Reported-by: Nkernel test robot <lkp@intel.com> Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org> Reviewed-by: NBaolin Wang <baolin.wang7@gmail.com> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
由 Arnd Bergmann 提交于
The ST-Ericsson U300 platform is getting removed, so this driver is no longer needed. Signed-off-by: NArnd Bergmann <arnd@arndb.de> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
由 Arnd Bergmann 提交于
The CSR SiRF prima2/atlas platforms are getting removed, so this driver is no longer needed. Signed-off-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NBarry Song <baohua@kernel.org> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-
- 20 1月, 2021 1 次提交
-
-
由 Arnd Bergmann 提交于
The smp8758 (tango4) SoC was the last generation of set-top-box chips to come out of Sigma Designs, and support was added by Marc Gonzalez and Måns Rullgård between 2015 and 2017, before the company went out of business and the products were abandoned. The chip is used in some set-top-boxes such as the Popcorn Hour A-500, which could have seen some adoption by hobbyists. This has not happened in the past four years, and support for the more widely used MIPS based SoCs was never merged at all. Thanks to Marc and Måns for maintaining for the past years even after the death of the platform. Cc: Marc Gonzalez <marc.w.gonzalez@free.fr> Cc: Mans Rullgard <mans@mansr.com> Link: https://lore.kernel.org/lkml/2d643ebc-09af-a809-eb3f-2aec8ecee501@free.fr/Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 17 1月, 2021 1 次提交
-
-
由 Uwe Kleine-König 提交于
Support for this machine was just removed, so drop the now unused i2c bus driver, too. Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: NWolfram Sang <wsa@kernel.org>
-