Paul Cercueil
03bf96cf8e
mfd: ucb1x00: Remove #ifdef guards for PM related functions
...
Use the new DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros
to handle the .suspend/.resume callbacks.
These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.
This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Signed-off-by: Lee Jones <lee@kernel.org >
2022-12-07 13:28:11 +00:00
Paul Cercueil
e4b9a17c99
mfd: stpmic1: Remove #ifdef guards for PM related functions
...
Use the new DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros
to handle the .suspend/.resume callbacks.
These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.
This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Signed-off-by: Lee Jones <lee@kernel.org >
2022-12-07 13:28:11 +00:00
Paul Cercueil
2662b90fd5
mfd: rc5t583-irq: Remove #ifdef guards for PM related functions
...
Use the new pm_sleep_ptr() macro to handle the .irq_set_wake() callback.
This macro allows the mt6397_irq_set_wake() function to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.
This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Signed-off-by: Lee Jones <lee@kernel.org >
2022-12-07 13:28:11 +00:00
Paul Cercueil
245cb473e5
mfd: pcf50633: Remove #ifdef guards for PM related functions
...
Use the new EXPORT_GPL_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros
to handle the .suspend/.resume callbacks.
These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.
This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Signed-off-by: Lee Jones <lee@kernel.org >
2022-12-07 13:28:11 +00:00
Paul Cercueil
e1243e0d72
mfd: mt6397-irq: Remove #ifdef guards for PM related functions
...
Use the new pm_sleep_ptr() macro to handle the .irq_set_wake() callback.
This macro allows the mt6397_irq_set_wake() function to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.
This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Signed-off-by: Lee Jones <lee@kernel.org >
2022-12-07 13:28:10 +00:00
Paul Cercueil
52c9d7193b
mfd: max8925-i2c: Remove #ifdef guards for PM related functions
...
Use the new DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros
to handle the .suspend/.resume callbacks.
These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.
This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Signed-off-by: Lee Jones <lee@kernel.org >
2022-12-07 13:28:10 +00:00
Paul Cercueil
5745a90a93
mfd: adp5520: Remove #ifdef guards for PM related functions
...
Use the new DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros
to handle the .suspend/.resume callbacks.
These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.
This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Acked-by: Michael Hennerich <michael.hennerich@analog.com >
Signed-off-by: Lee Jones <lee@kernel.org >
2022-12-07 13:28:10 +00:00
Paul Cercueil
dce97f81fe
mfd: aat2870: Remove #ifdef guards for PM related functions
...
Use the new DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros
to handle the .suspend/.resume callbacks.
These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.
This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Signed-off-by: Lee Jones <lee@kernel.org >
2022-12-07 13:28:10 +00:00
Paul Cercueil
19755a0acb
mfd: 88pm80x: Remove #ifdef guards for PM related functions
...
Use the new EXPORT_GPL_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros
to handle the .suspend/.resume callbacks.
These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.
This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Signed-off-by: Lee Jones <lee@kernel.org >
2022-12-07 13:28:10 +00:00
Samuel Holland
3f37d4f695
mfd: axp20x: Do not sleep in the power off handler
...
Since commit 856c288b00 ("ARM: Use do_kernel_power_off()"), the
function axp20x_power_off() now runs inside a RCU read-side critical
section, so it is not allowed to call msleep(). Use mdelay() instead.
Fixes: 856c288b00 ("ARM: Use do_kernel_power_off()")
Signed-off-by: Samuel Holland <samuel@sholland.org >
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221105212909.6526-1-samuel@sholland.org
2022-12-07 13:28:10 +00:00
Jonathan Neuschäfer
ef1709238a
dt-bindings: mfd: syscon: Add nuvoton,wpcm450-shm
...
The Shared Memory interface (SHM) is a piece of hardware in Nuvoton BMCs
that allows a host processor (connected via LPC) to access flash and RAM
that belong to the BMC. The SHM includes a register block accessible from
the BMC side.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221105185911.1547847-5-j.neuschaefer@gmx.net
2022-12-07 13:28:10 +00:00
Jonathan Neuschäfer
0a5219f34f
mfd: mc13xxx-spi: Fix typo ("transfert")
...
That spelling is only correct in French :-)
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221101165045.1017822-1-j.neuschaefer@gmx.net
2022-12-07 13:28:10 +00:00
Randy Dunlap
b5a8668dab
mfd: intel_soc_pmic: Allow COMPILE_TEST or I2C_DESIGNWARE_PLATFORM
...
Linus expressed a desire to have intel_soc_pmic_crc.o (INTEL_SOC_PMIC,
for Crystal Cove) be built on an "allmodconfig" build, when
I2C_DESIGNWARE_PLATFORM=m, to enhance build test coverage.
The PMIC driver won't work in this case since it requires
I2C_DESIGNWARE_PLATFORM=y to operate properly, but adding
"|| COMPILE_TEST" does improve the build test coverage.
Link: https://lore.kernel.org/all/CAHk-=wg=hh8xkPjiySnjAyR66AG64eyZ1Y9gHw+MCs8uuSZReA@mail.gmail.com/
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org >
Signed-off-by: Randy Dunlap <rdunlap@infradead.org >
Reviewed-by: Hans de Goede <hdegoede@redhat.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221101055433.16891-1-rdunlap@infradead.org
2022-12-07 13:28:10 +00:00
AngeloGioacchino Del Regno
411ffc82f9
dt-bindings: mfd: qcom,tcsr: Add compatible for MSM8976
...
Document the qcom,msm8976-tcsr compatible.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221104172122.252761-7-angelogioacchino.delregno@collabora.com
2022-12-07 13:28:09 +00:00
Neil Armstrong
3633daacea
mfd: rk808: Permit having multiple PMIC instances
...
This set each cells id to PLATFORM_DEVID_NONE to allow multiple
instances of each cell in case multiple PMICs handled by the rk808
driver are probed.
This fixes probing a RK818 and a RK817 on the Odroid Go Ultra
devices.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221025-rk808-multi-v2-0-d292d51ada81@linaro.org
2022-12-07 13:28:09 +00:00
Colin Foster
b092874ace
dt-bindings: mfd: ocelot: Remove unnecessary driver wording
...
Initially there was unnecessary verbage around "this driver" in the
documentation. It was unnecessary. Remove self references about it being a
"driver" documentation and replace it with a more detailed description
about external interfaces that are supported.
Signed-off-by: Colin Foster <colin.foster@in-advantage.com >
Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221025050355.3979380-3-colin.foster@in-advantage.com
2022-12-07 13:28:09 +00:00
Colin Foster
4c7ee9a38d
dt-bindings: mfd: ocelot: Remove spi-max-frequency from required properties
...
The property spi-max-frequency was initially documented as a required
property. It is not actually required, and will break bindings validation
if other control mediums (e.g. PCIe) are used.
Remove this property from the required arguments.
Signed-off-by: Colin Foster <colin.foster@in-advantage.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221025050355.3979380-2-colin.foster@in-advantage.com
2022-12-07 13:28:09 +00:00
Quan Nguyen
9f0345e335
dt-bindings: mfd: Add bindings for Ampere Altra SMPro MFD driver
...
Adds device tree bindings for SMPro MFD driver found on the Mt.Jade
hardware reference platform with Ampere's Altra Processor family.
The SMpro co-processor on Ampere Altra processor family is to monitor
and report various data included hwmon-related info, RAS errors, and
other miscellaneous information.
Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221031024442.2490881-2-quan@os.amperecomputing.com
2022-12-07 13:28:09 +00:00
Rafał Miłecki
e112f2de15
dt-bindings: timer: Add Broadcom's BCMBCA timers
...
BCA is a big set / family of Broadcom devices sharing multiple hardware
blocks. One of them is timer that actually exists in two versions. It's
a part of TWD MFD block.
Add binding for it so SoCs can be properly described. Linux (and
probably any other OS) doesn't really seem to need a driver for it. it
may be needed for bootloaders (e.g. U-Boot) though. Especially for SoCs
with CPUs other than Cortex-A9 (which contains arch timers).
Signed-off-by: Rafał Miłecki <rafal@milecki.pl >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221028115353.13881-1-zajec5@gmail.com
2022-12-07 13:28:09 +00:00
Neil Armstrong
727b67e349
mfd: qcom-pm8xxx: Drop unused PM8018 compatible
...
The PM8018 compatible is always used with PM8921 fallback, so PM8018
compatible can be safely removed from device ID table
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220928-mdm9615-dt-schema-fixes-v4-8-dac2dfaac703@linaro.org
2022-12-07 13:28:09 +00:00
Neil Armstrong
6af338b001
dt-bindings: mfd: qcom-pm8xxx: Document qcom,pm8921 as fallback of qcom,pm8018
...
The PM8018 is used as compatible with PM8921 on the MDM9615, document this situation,
and an example section to validate this change.
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220928-mdm9615-dt-schema-fixes-v4-5-dac2dfaac703@linaro.org
2022-12-07 13:28:09 +00:00
Matt Ranostay
9f8fa5e9b2
dt-bindings: mfd: ti,j721e-system-controller: Add compatible strings for other platforms
...
There are multiple J7 based platforms, and the j721e-system-controller
shouldn't be define in non-j721e devices device trees.
This is mainly for clarity; but also useful in case there are future
erratas that need to be fixed for a specific platform.
Signed-off-by: Matt Ranostay <mranostay@ti.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221024035405.366208-2-mranostay@ti.com
2022-12-07 13:28:09 +00:00
Guillaume La Roque
d4b15e447c
mfd: palmas: Add support of module build for Ti palmas chip
...
Modified Kconfig to enable module build support
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com >
Signed-off-by: Nicolas Frayer <nfrayer@baylibre.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221026140911.204776-1-nfrayer@baylibre.com
2022-12-07 13:28:08 +00:00
Matt Ranostay
5ed6cf8c0d
dt-bindings: mfd: ti,am3359-tscadc: Add missing power-domains property
...
Add optional power-domains property to avoid the following dt-schema
failures:
tscadc@40200000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Matt Ranostay <mranostay@ti.com >
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221025080014.403457-1-mranostay@ti.com
2022-12-07 13:28:08 +00:00
Arnd Bergmann
707857d997
mfd: Remove htc-i2cpld driver
...
The HTC Herald machine was removed, so this driver is no
longer used anywhere.
Cc: Cory Maccarrone <darkstar6262@gmail.com >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221019150410.3851944-17-arnd@kernel.org
2022-12-07 13:28:08 +00:00
Arnd Bergmann
67470bb7b3
mfd: Remove davinci voicecodec driver
...
The ASoC davinci voicecodec support is no longer used after
the removal of the dm3xx SoC platform, so the MFD driver is never
selected.
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221019152947.3857217-11-arnd@kernel.org
2022-12-07 13:28:08 +00:00
Arnd Bergmann
fc45720334
mfd: Remove dm355evm_msp driver
...
The DaVinci DM355EVM platform is gone after the removal of all
unused board files, so the MTD device along with its sub-devices
can be removed as well.
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221019152947.3857217-7-arnd@kernel.org
2022-12-07 13:28:08 +00:00
Fabien Parent
118ee241c4
dt-bindings: mfd: mt6397: Add binding for MT6357
...
Add binding documentation for the MT6357 PMIC.
Signed-off-by: Fabien Parent <fparent@baylibre.com >
Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221005-mt6357-support-v3-1-7e0bd7c315b2@baylibre.com
2022-12-07 13:28:08 +00:00
ChiYuan Huang
5f4f94e9f2
mfd: mt6360: Add bounds checking in Regmap read/write call-backs
...
Fix the potential risk of OOB read if bank index is over the maximum.
Refer to the discussion list for the experiment result on mt6370.
https://lore.kernel.org/all/20220914013345.GA5802@cyhuang-hp-elitebook-840-g3.rt/
If not to check the bound, there is the same issue on mt6360.
Cc: stable@vger.kernel.org
Fixes: 3b0850440a (mfd: mt6360: Merge different sub-devices I2C read/write)
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/1664416817-31590-1-git-send-email-u0084500@gmail.com
2022-12-07 13:28:08 +00:00
Krzysztof Kozlowski
4bef4d519b
dt-bindings: mfd: qcom,spmi-pmic: Use generic node name "gpio"
...
GPIO controller nodes are named by convention just "gpio", not "gpios".
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220908080938.29199-3-krzysztof.kozlowski@linaro.org
2022-12-07 13:28:08 +00:00
Johan Hovold
03317a86df
dt-bindings: mfd: qcom,tcsr: Add sc8280xp binding
...
Add a binding for the SC8280XP TCSR.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221007121110.5432-1-johan+linaro@kernel.org
2022-12-07 13:28:08 +00:00
Quan Nguyen
f19fd81ba1
mfd: Add Ampere's Altra SMpro MFD driver
...
Adds Multi-function devices driver for SMpro co-processor found on the
Mt.Jade hardware reference platform with Ampere's Altra processor family.
Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220929094321.770125-9-quan@os.amperecomputing.com
2022-12-07 13:28:07 +00:00
Bryan O'Donoghue
763ab98687
dt-bindings: mfd: qcom,spmi-pmic: Drop PWM reg dependency
...
The PWM node is not a separate device and is expected to be part of parent
SPMI PMIC node, thus it obtains the address space from the parent. One IO
address in "reg" is also not correct description because LPG block maps to
several regions.
Fixes: 3f5117be95 ("dt-bindings: mfd: convert to yaml Qualcomm SPMI PMIC")
Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220928000517.228382-2-bryan.odonoghue@linaro.org
2022-12-07 13:28:07 +00:00
Dmitry Torokhov
1f7caaa174
mfd: twl6040: Drop twl6040_platform_data and associated definitions
...
As of df04b6242a ("mfd: twl6040: Remove support for legacy (pdata)
mode") the driver no longer references the platform data, so we can drop
its definition, as well as definitions of related structures.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220926054421.1546436-5-dmitry.torokhov@gmail.com
2022-12-07 13:28:07 +00:00
Dmitry Torokhov
3c92699a16
mfd: twl6040: Switch to using gpiod API
...
This patch switches the dirver from legacy gpio API to a newer gpiod
API so that we can eventually drop the former.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220926054421.1546436-4-dmitry.torokhov@gmail.com
2022-12-07 13:28:07 +00:00
Dmitry Torokhov
7ca91a3377
mfd: palmas: Stop including of_gpio.h
...
It does not appear that any of palmas sub-drivers are using OF-based
gpio APIs, so let's stop including this header.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220926054421.1546436-3-dmitry.torokhov@gmail.com
2022-12-07 13:28:07 +00:00
Dmitry Torokhov
de5567ca32
mfd: madera: Include correct gpio API
...
The driver is using gpiod API and therefore should include
linux/gpio/consumer.h, not linux/gpio.h. Also, the driver does not use
any of the APIs from of_gpio.h, so we should not be including it.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220926054421.1546436-2-dmitry.torokhov@gmail.com
2022-12-07 13:28:07 +00:00
Dmitry Torokhov
2e992b22cc
mfd: mc13xxx: Stop including of_gpio.h
...
Neither SPI nor I2C variant uses any APIs from of_gpio.h so let's stop
including it.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220926054421.1546436-1-dmitry.torokhov@gmail.com
2022-12-07 13:28:07 +00:00
Uwe Kleine-König
54f872baf6
mfd: wm8994-core: Convert to i2c's .probe_new()
...
.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-482-uwe@kleine-koenig.org
2022-12-07 13:27:27 +00:00
Uwe Kleine-König
521fcf401f
mfd: wm8400-core: Convert to i2c's .probe_new()
...
The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-481-uwe@kleine-koenig.org
2022-12-07 13:27:27 +00:00
Uwe Kleine-König
8b20feff09
mfd: wm8350-i2c: Convert to i2c's .probe_new()
...
The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-480-uwe@kleine-koenig.org
2022-12-07 13:27:26 +00:00
Uwe Kleine-König
5fb66be1bf
mfd: wm831x-i2c: Convert to i2c's .probe_new()
...
.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-479-uwe@kleine-koenig.org
2022-12-07 13:27:26 +00:00
Uwe Kleine-König
490e11b7c3
mfd: wl1273-core: Convert to i2c's .probe_new()
...
The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-478-uwe@kleine-koenig.org
2022-12-07 13:27:26 +00:00
Uwe Kleine-König
d85213be33
mfd: twl6040: Convert to i2c's .probe_new()
...
The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-477-uwe@kleine-koenig.org
2022-12-07 13:27:26 +00:00
Uwe Kleine-König
c291d0e347
mfd: twl-core: Convert to i2c's .probe_new()
...
.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-476-uwe@kleine-koenig.org
2022-12-07 13:27:26 +00:00
Uwe Kleine-König
328fc6f86f
mfd: tps65912-i2c: Convert to i2c's .probe_new()
...
The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-475-uwe@kleine-koenig.org
2022-12-07 13:27:26 +00:00
Uwe Kleine-König
74e52d31cf
mfd: tps65910: Convert to i2c's .probe_new()
...
.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-474-uwe@kleine-koenig.org
2022-12-07 13:27:26 +00:00
Uwe Kleine-König
ba801bd52f
mfd: tps6586x: Convert to i2c's .probe_new()
...
The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-473-uwe@kleine-koenig.org
2022-12-07 13:27:26 +00:00
Uwe Kleine-König
3d984091e1
mfd: tps65218: Convert to i2c's .probe_new()
...
The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-472-uwe@kleine-koenig.org
2022-12-07 13:27:26 +00:00
Uwe Kleine-König
b63250984c
mfd: tps65090: Convert to i2c's .probe_new()
...
The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20221118224540.619276-471-uwe@kleine-koenig.org
2022-12-07 13:27:25 +00:00