aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core-base.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-27i2c: smbus: fix NULL function pointer dereferenceWolfram Sang1-6/+6
2024-03-04i2c: constify the struct device_type usageRicardo B. Marliere1-2/+2
2024-01-18i2c: make i2c_bus_type constGreg Kroah-Hartman1-1/+1
2024-01-18i2c: create debugfs entry per adapterWolfram Sang1-0/+11
2023-10-28i2c: core: fix lockdep warning for sparsely nested adapter chainDaniel Mack1-2/+4
2023-10-23i2c: fix memleak in i2c_new_client_device()Wolfram Sang1-4/+9
2023-06-09i2c: Add i2c_get_match_data()Biju Das1-0/+19
2023-03-09i2c: Convert drivers to new .probe() callbackUwe Kleine-König1-1/+1
2023-03-09i2c: Switch .probe() to not take an id parameterUwe Kleine-König1-9/+2
2023-02-24Merge tag 'i2c-for-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+4
2023-02-24Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2023-01-27driver core: make struct device_type.uevent() take a const *Greg Kroah-Hartman1-2/+2
2023-01-20i2c: Set i2c pinctrl recovery info from it's device pinctrlHanna Hawa1-1/+4
2023-01-17i2c: add fwnode APIsRussell King (Oracle)1-0/+98
2022-12-15Merge tag 'i2c-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+2
2022-12-13Merge tag 'sound-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-0/+14
2022-12-05drivers/i2c: use simple i2c probeStephen Kitt1-3/+2
2022-11-14i2c: core: Introduce i2c_client_get_device_id helper functionAngel Iglesias1-0/+14
2022-11-14i2c: Restore initial power state if probe failsRicardo Ribalda1-4/+5
2022-10-10Merge tag 'acpi-6.1-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/r...Linus Torvalds1-1/+5
2022-10-04i2c: acpi: Use ACPI wake capability bit to set wake_irqRaul E Rangel1-1/+5
2022-08-16i2c: Make remove callback return voidUwe Kleine-König1-5/+1
2022-08-11i2c: move core from strlcpy to strscpyWolfram Sang1-1/+1
2022-06-16i2c: Fix a potential use after freeXu Wang1-1/+2
2022-06-08i2c: dummy: Drop no-op remove functionUwe Kleine-König1-6/+0
2022-03-01i2c: core: Use generic_handle_irq_safe() in i2c_handle_smbus_host_notify().Sebastian Andrzej Siewior1-1/+1
2022-01-28i2c: smbus: Use device_*() functions instead of of_*()Akhil R1-1/+1
2022-01-14Merge branch 'i2c/for-mergewindow' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+2
2022-01-07Revert "i2c: core: support bus regulator controlling in adapter"Wolfram Sang1-95/+0
2021-11-29i2c: enable async suspend/resume on i2c client devicesDerek Basehore1-0/+1
2021-11-29i2c: enable async suspend/resume for i2c adaptersRajat Jain1-0/+1
2021-11-03i2c: Allow an ACPI driver to manage the device's power state during probeSakari Ailus1-3/+4
2021-07-21bus: Make remove callback return voidUwe Kleine-König1-4/+1
2021-06-24i2c: core: Disable client irq on reboot/shutdownDmitry Torokhov1-0/+3
2021-05-28i2c: core: support bus regulator controlling in adapterBibby Hsieh1-0/+95
2021-05-28i2c: core: Make debug message even more debuggishAndy Shevchenko1-3/+7
2021-04-30Merge branch 'i2c/for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-29/+85
2021-04-17i2c: core: Fix spacing error by checkpatchTian Tao1-1/+1
2021-04-10i2c: ensure timely release of driver-allocated resourcesDmitry Torokhov1-1/+20
2021-04-10i2c: core: add api to provide frequency mode stringsYicong Yang1-0/+21
2021-04-10i2c: core: add managed function for adding i2c adaptersYicong Yang1-0/+26
2021-04-10Merge branch 'i2c/software-nodes' into i2c/for-5.13Wolfram Sang1-7/+7
2021-04-10i2c: Remove support for dangling device propertiesHeikki Krogerus1-14/+1
2021-04-08i2c: Add support for software nodesHeikki Krogerus1-1/+14
2021-04-08i2c: core: simplify devm_i2c_new_dummy_device()Yicong Yang1-19/+9
2021-03-31i2c: Make i2c_recover_bus() to return -EBUSY if bus recovery unimplementedDmitry Osipenko1-1/+1
2021-03-18i2c: turn recovery error on init to debugWolfram Sang1-3/+4
2020-12-11i2c: remove check that can never be trueUwe Kleine-König1-4/+1
2020-12-11i2c: Warn when device removing failsUwe Kleine-König1-2/+7
2020-09-17i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_dev...Hans de Goede1-1/+1
2020-08-25i2c: core: Don't fail PRP0001 enumeration when no ID table existAndy Shevchenko1-1/+1
2020-08-05i2c: core: treat EPROBE_DEFER when acquiring SCL/SDA GPIOsCodrin Ciubotariu1-12/+14
2020-08-05i2c: core: add generic I2C GPIO recoveryCodrin Ciubotariu1-0/+126
2020-07-27i2c: core: do not use logical device when creating irq domainWolfram Sang1-1/+1
2020-07-24i2c: revert "i2c: core: Allow drivers to disable i2c-core irq mapping"Wolfram Sang1-3/+3
2020-06-19i2c: remove deprecated i2c_new_device APIWolfram Sang1-25/+0
2020-05-27i2c: save a variable in i2c_detect()Wolfram Sang1-2/+1
2020-05-22Revert "i2c: core: support bus regulator controlling in adapter"Wolfram Sang1-84/+0
2020-05-20Merge branch 'i2c/for-current-fixed' into i2c/for-5.8Wolfram Sang1-20/+17
2020-05-20i2c: core: support bus regulator controlling in adapterBibby Hsieh1-0/+84
2020-05-05i2c: use my kernel.org address from now onWolfram Sang1-1/+1
2020-05-05i2c: fix missing pm_runtime_put_sync in i2c_device_probeAlain Volmat1-6/+16
2020-04-15i2c: refactor parsing of timingsWolfram Sang1-39/+30
2020-04-15i2c: remove i2c_new_probed_device APIWolfram Sang1-13/+0
2020-03-24i2c: core: Allow override timing properties with 0Andy Shevchenko1-13/+17
2020-03-24i2c: core: Provide generic definitions for bus frequenciesAndy Shevchenko1-4/+4
2020-01-15i2c: i2c-core-base: convert to use i2c_new_client_device()Wolfram Sang1-7/+6
2020-01-15Merge branch 'i2c/for-current' into i2c/for-5.6Wolfram Sang1-3/+10
2020-01-09i2c: fix bus recovery stop mode timingRussell King1-3/+10
2019-12-17i2c: core: Use DEVICE_ATTR_*() helper macrosGeert Uytterhoeven1-10/+10
2019-12-10i2c: remove i2c_new_dummy() APIWolfram Sang1-23/+0
2019-11-28i2c: replace i2c_new_probed_device with an ERR_PTR variantWolfram Sang1-6/+19
2019-11-15i2c: remove helpers for ref-counting clientsWolfram Sang1-32/+0
2019-10-24i2c: add support for filters optional propertiesEugen Hristev1-0/+6
2019-09-24Merge branch 'i2c/for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/w...Linus Torvalds1-11/+9
2019-09-17Merge tag 'docs-5.4' of git://git.lwn.net/linuxLinus Torvalds1-2/+2
2019-08-29i2c: make i2c_unregister_device() ERR_PTR safeWolfram Sang1-1/+1
2019-08-14i2c: replace i2c_new_secondary_device with an ERR_PTR variantWolfram Sang1-5/+5
2019-08-06i2c: Drop unneeded check for of_nodeAndy Shevchenko1-6/+4
2019-07-31docs: i2c: convert to ReST and add to driver-api booksetMauro Carvalho Chehab1-2/+2
2019-07-15Merge branch 'i2c/for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/w...Linus Torvalds1-10/+10
2019-06-29i2c: core: Tidy up handling of init_irqCharles Keepax1-2/+3
2019-06-29i2c: core: Move ACPI gpio IRQ handling into i2c_acpi_get_irqCharles Keepax1-3/+0
2019-06-29i2c: core: Move ACPI IRQ handling to probe timeCharles Keepax1-1/+4
2019-06-29i2c: core: Allow whole core to use i2c_dev_irq_from_resourcesCharles Keepax1-2/+2
2019-06-26i2c: add newly exported functions to the header, tooWolfram Sang1-3/+2
2019-06-14i2c: core: always have a named variable in argumentsWolfram Sang1-2/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157Thomas Gleixner1-9/+1
2019-05-17i2c: core: add device-managed version of i2c_new_dummyHeiner Kallweit1-0/+44
2019-05-17i2c: core: improve return value handling of i2c_new_device and i2c_new_dummyHeiner Kallweit1-13/+61
2019-05-09Merge branch 'i2c/for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/w...Linus Torvalds1-11/+12
2019-05-03Merge branch 'i2c/for-current-fixed' of ssh://gitolite.kernel.org/pub/scm/lin...Linus Torvalds1-0/+4
2019-05-03i2c: core: apply 'is_suspended' check for SMBus, tooWolfram Sang1-5/+4
2019-05-03i2c: core: ratelimit 'transfer when suspended' errorsWolfram Sang1-1/+4
2019-05-02i2c: Prevent runtime suspend of adapter when Host Notify is requiredJarkko Nikula1-0/+4
2019-05-01gcc-9: don't warn about uninitialized variableLinus Torvalds1-1/+1
2019-04-16i2c: core: introduce callbacks for atomic transfersWolfram Sang1-1/+5
2019-04-16i2c: core: use I2C locking behaviour also for SMBUSWolfram Sang1-8/+3
2019-04-16i2c: core: remove use of in_atomic()Wolfram Sang1-1/+1
2019-03-13i2c: add extra check to safe DMA buffer helperWolfram Sang1-2/+7
2019-02-24i2c: Allow recovery of the initial IRQ by an I2C client device.Jim Broadus1-4/+5
2019-01-08i2c: add suspended flag and accessors for i2c adaptersWolfram Sang1-0/+3
2018-10-31i2c: Clear client->irq in i2c_device_removeCharles Keepax1-0/+2
2018-10-31i2c: Remove unnecessary call to irq_find_mappingCharles Keepax1-4/+1
2018-10-29Merge branch 'i2c/for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-27/+16
2018-10-11i2c: Fix kerneldoc for renamed i2c dma put functionStephen Boyd1-1/+1
2018-10-05i2c: core: remove level of indentation in i2c_transferWolfram Sang1-17/+16
2018-10-05i2c: core: remove outdated DEBUG outputWolfram Sang1-10/+0
2018-08-30i2c: refactor function to release a DMA safe bufferWolfram Sang1-5/+6
2018-08-24i2c: remove deprecated attach_adapter callbackWolfram Sang1-10/+1
2018-08-21Merge branch 'i2c/for-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-32/+53
2018-08-08i2c: core: Parse SDA hold time from firmwareAndy Shevchenko1-0/+2
2018-08-04i2c: quirks: add zero length checksWolfram Sang1-0/+6
2018-07-25i2c/mux, locking/core: Annotate the nested rt_mutex usagePeter Rosin1-1/+1
2018-07-21i2c: recovery: make pin init look like STOPWolfram Sang1-9/+10
2018-07-17i2c: recovery: rename variable for easier understandingWolfram Sang1-7/+7
2018-07-17i2c: recovery: add get_bus_free callbackWolfram Sang1-4/+23
2018-07-17i2c: recovery: refactor recovery functionWolfram Sang1-18/+6
2018-07-17i2c: recovery: require either get_sda or set_sdaWolfram Sang1-1/+6
2018-07-12i2c: recovery: if possible send STOP with recovery pulsesWolfram Sang1-1/+10
2018-06-14Merge branch 'i2c/for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-6/+4
2018-05-22i2c: Retain info->of_node in i2c_new_device()Boris Brezillon1-2/+4
2018-05-15i2c: Get rid of i2c_board_info->archdataBoris Brezillon1-4/+0
2018-05-14i2c: Respect all error codes from dev_pm_domain_attach()Ulf Hansson1-1/+1
2018-04-11i2c: add param sanity check to i2c_transfer()Ard Biesheuvel1-0/+3
2018-04-03i2c: Update i2c_trace_msg static key to modern apiDavidlohr Bueso1-6/+7
2018-04-03i2c: fix parameter of trace_i2c_resultAhbong Chang1-1/+1
2018-03-24i2c: make i2c_check_addr_validity() staticWolfram Sang1-1/+1
2018-03-17Merge branch 'i2c-mux/for-next' of https://github.com/peda-r/i2c-mux into i2c...Wolfram Sang1-0/+33
2018-03-06i2c: add i2c_get_device_id() to get the standard i2c device idPeter Rosin1-0/+33
2018-03-05i2c: core: report OF style module alias for devices registered via OFJavier Martinez Canillas1-0/+8
2018-02-04Merge branch 'i2c/for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-116/+96
2018-01-17i2c: core: decrease reference count of device node in i2c_unregister_deviceLixin Wang1-1/+5
2018-01-16i2c: send STOP after successful bus recoveryWolfram Sang1-0/+12
2018-01-16i2c: ensure SDA is released in recovery if SDA is controllableWolfram Sang1-0/+2
2018-01-16i2c: add 'set_sda' to bus_recovery_infoWolfram Sang1-1/+10
2017-12-03i2c: refactor i2c_master_{send_recv}Wolfram Sang1-46/+18
2017-12-03i2c: add helpers to ease DMA handlingWolfram Sang1-0/+46
2017-11-28i2c: core: fix compile issue related to incorrect gpio headerPhil Reid1-1/+1
2017-11-27i2c: remove legacy integer scl/sda gpio for recoveryPhil Reid1-76/+2
2017-11-27i2c: Switch to using gpiod interface for gpio bus recoveryPhil Reid1-4/+17
2017-11-02i2c: Make i2c_unregister_device() NULL-awareAndy Shevchenko1-2/+3
2017-11-01Merge branch 'i2c/sbs-manager' into i2c/for-4.15Wolfram Sang1-0/+9
2017-10-28i2c: core: call of_i2c_setup_smbus_alert in i2c_register_adapterPhil Reid1-0/+9
2017-10-28i2c: generic recovery: check SCL before SDAClaudio Foellmi1-3/+7
2017-10-27i2c: Allow overriding dev_name through board_infoHans de Goede1-2/+8
2017-08-14i2c: core: Make comment about I2C table requirement to reflect the codeJavier Martinez Canillas1-2/+2
2017-07-31i2c: core: Allow empty id_table in ACPI case as wellAndy Shevchenko1-0/+1
2017-05-31i2c: reformat core-base file headerWolfram Sang1-21/+22
2017-05-31i2c: remove unneeded includes from coreWolfram Sang1-2/+0
2017-05-31i2c: break out ACPI support into separate fileWolfram Sang1-648/+0
2017-05-31i2c: break out OF support into separate fileWolfram Sang1-264/+1
2017-05-31i2c: break out smbus support into separate fileWolfram Sang1-574/+0
2017-05-31i2c: break out slave support into separate fileWolfram Sang1-101/+1
2017-05-31i2c: rename core source file to allow refactorizationWolfram Sang1-0/+3831