Rob Herring
ae4ccaed3a
dt-bindings: mfd: stm32-timers: Move fixed string node names under 'properties'
...
Fixed string node names should be under 'properties' rather than
'patternProperties'. Additionally, without beginning and end of line
anchors, any prefix or suffix is allowed on the specified node name.
Move the stm32 timers 'counter' and 'timer' nodes to the 'properties'
section.
Signed-off-by: Rob Herring <robh@kernel.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220706211934.567432-1-robh@kernel.org
2022-07-22 07:41:03 +01:00
Rob Herring
596f2d311c
dt-bindings: mfd: st,stm32-timers: Correct 'resets' property name
...
The correct property name for the reset binding is 'resets', not 'reset'.
Fix the name.
Signed-off-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220719215125.1877138-1-robh@kernel.org
2022-07-20 08:48:23 +01:00
Lee Jones
0a2de5bb02
dt-bindings: mfd: syscon: Update Lee Jones' email address
...
Going forward, I'll be using my kernel.org for upstream work.
Cc: Arnd Bergmann <arnd@arndb.de >
Cc: Rob Herring <robh+dt@kernel.org >
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org >
Cc: devicetree@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220714112533.539910-8-lee@kernel.org
2022-07-19 10:55:46 +01:00
Lee Jones
47996d3dd3
MAINTAINERS: Use Lee Jones' kernel.org address for Syscon submissions
...
Going forward, I'll be using my kernel.org for upstream work.
Cc: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220714112533.539910-3-lee@kernel.org
2022-07-19 10:55:16 +01:00
Lee Jones
9e821c4368
MAINTAINERS: Use Lee Jones' kernel.org address for MFD submissions
...
Going forward, I'll be using my kernel.org for upstream work.
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220714112533.539910-2-lee@kernel.org
2022-07-19 10:54:54 +01:00
Samuel Holland
f33bae37c9
mfd: sun6i-prcm: Update Kconfig description
...
This driver is used by a specific range of SoCs between when the PRCM
hardware was introduced (A31) and when the PRCM CCU driver was added
(A83T). It is unlikely to be extended to additional hardware. Update
the description to include the full list of applicable SoCs.
Signed-off-by: Samuel Holland <samuel@sholland.org >
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220702184044.51144-1-samuel@sholland.org
2022-07-19 10:54:42 +01:00
Andy Shevchenko
0ff590a336
mfd: intel_soc_pmic_bxtwc: Fix spelling in the comment
...
There are a few of spelling issues in the comment, fix them.
While at it, fix indentation in the MODULE_AUTHOR() parameter
and update copyright years.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-11-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:42 +01:00
Andy Shevchenko
7c06d47850
mfd: intel_soc_pmic_bxtwc: Drop unneeded casting
...
The casting from size_t to ssize_t is not needed in addr_store(),
drop it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-10-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:42 +01:00
Andy Shevchenko
86da8be35c
mfd: intel_soc_pmic_bxtwc: Use sysfs_emit() instead of sprintf()
...
sysfs_emit() is preferred over sprintf() when formatting the value to be
returned to user space in show() functions, because it knows about sysfs
buffer specifics and has sanity checks.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-9-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:42 +01:00
Andy Shevchenko
f801556a84
mfd: intel_soc_pmic_bxtwc: Use bits.h macros for all masks
...
Currently we are using BIT(), but GENMASK(). Make use of the latter one
as well (far less error-prone, far more concise).
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-8-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:42 +01:00
Andy Shevchenko
cd58c84034
mfd: intel_soc_pmic_bxtwc: Drop redundant ACPI_PTR()
...
The driver depends on ACPI (via MFD_INTEL_PMC_BXT), ACPI_PTR() resolution
is always the same. Otherwise a compiler may produce a warning.
That said, the rule of thumb either ugly ifdeffery with ACPI_PTR or
none should be used in a driver.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-7-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:42 +01:00
Andy Shevchenko
05879b125a
mfd: intel_soc_pmic_bxtwc: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc
...
Letting the compiler remove these functions when the kernel is built
without CONFIG_PM_SLEEP support is simpler and less error prone than the
use of #ifdef based kernel configuration guards.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-6-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:42 +01:00
Andy Shevchenko
ba3ea04a25
mfd: intel_soc_pmic_bxtwc: Extend use of temporary variable for struct device
...
Extend use of temporary variable for struct device to make code neater.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-5-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:42 +01:00
Andy Shevchenko
d30e2c30a4
mfd: intel_soc_pmic_bxtwc: Use dev_err_probe()
...
Simplify the mux error path a bit by using dev_err_probe().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-4-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:42 +01:00
Andy Shevchenko
2790a70c88
mfd: intel_soc_pmic_bxtwc: Convert to use platform_get/set_drvdata()
...
We have the specific helpers for platform device to set and get
its driver data. Convert driver to use them instead of open coded
variants.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-3-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:41 +01:00
Andy Shevchenko
929a4d289d
mfd: intel_soc_pmic_bxtwc: Create sysfs attributes using core driver's facility
...
Driver core takes care of sysfs attributes. Use this facility instead of
doing it explicitly in ->probe() and ->remove().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-2-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:41 +01:00
Andy Shevchenko
5189952238
mfd: intel_soc_pmic_bxtwc: Don't shadow error codes in show()/store()
...
kstrtox() along with regmap API can return different error codes based on
circumstances.
Don't shadow them when returning to the caller.
While at it, remove rather confusing message from addr_store().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628221747.33956-1-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:41 +01:00
Andy Shevchenko
37e8ba74d1
mfd: intel-lpss: Add Intel Meteor Lake-P PCI IDs
...
Add Intel Meteor Lake-P LPSS PCI IDs.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220628223047.34301-1-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:41 +01:00
AngeloGioacchino Del Regno
d9cd0bc604
mfd: mt6397: Add basic support for MT6331+MT6332 PMIC
...
Add support for the MT6331 PMIC with MT6332 Companion PMIC, found
in MT6795 Helio X10 smartphone platforms.
This combo has support for multiple devices but, for a start,
only the following have been implemented:
- Regulators (two instances, one in MT6331, one in MT6332)
- RTC (MT6331)
- Keys (MT6331)
- Interrupts (MT6331 also dispatches MT6332's interrupts)
There's more to be implemented, especially for MT6332, which
will come at a later stage.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220627123954.64299-1-angelogioacchino.delregno@collabora.com
2022-07-19 10:54:41 +01:00
Samuel Holland
371a9fcac4
mfd: axp20x: Add AXP221/AXP223/AXP809 GPIO cells
...
These PMICs all contain a compatible GPIO controller.
Signed-off-by: Samuel Holland <samuel@sholland.org >
Reviewed-by: Chen-Yu Tsai <wens@csie.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220616060915.48325-3-samuel@sholland.org
2022-07-19 10:54:41 +01:00
Zhang Jiaming
79f821b5a3
mfd: ipaq-micro: Fix spelling mistake of "receive{d}"
...
Change 'receieved' to 'received' and 'recieve' to 'receive'.
Signed-off-by: Zhang Jiaming <jiaming@nfschina.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220623073333.5675-1-jiaming@nfschina.com
2022-07-19 10:54:41 +01:00
Jiang Jian
15ff0bbc3d
mfd: db8500-prcmu: Drop duplicated word "the" in the comments
...
There is an unexpected word "the" in the comments that needs to be dropped.
Line 801: * This function sets the the operating point of the ARM.
-------
Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220621103839.96847-1-jiangjian@cdjrlc.com
2022-07-19 10:54:41 +01:00
Liu Ying
9b2c55b540
dt-bindings: mfd: Add i.MX8qm/qxp Control and Status Registers module binding
...
This patch adds bindings for i.MX8qm/qxp Control and Status Registers module.
Signed-off-by: Liu Ying <victor.liu@nxp.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220611141421.718743-14-victor.liu@nxp.com
2022-07-19 10:54:41 +01:00
Andy Shevchenko
1074c4252f
mfd: intel_soc_pmic_chtwc: Switch from __maybe_unused to pm_sleep_ptr() etc
...
Letting the compiler remove these functions when the kernel is built
without CONFIG_PM_SLEEP support is simpler and less heavier for builds
than the use of __maybe_unused attributes.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Reviewed-by: Hans de Goede <hdegoede@redhat.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220616171009.43524-2-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:40 +01:00
Andy Shevchenko
352de78076
mfd: intel_soc_pmic_chtwc: Use dev_err_probe()
...
Simplify the mux error path a bit by using dev_err_probe().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Reviewed-by: Hans de Goede <hdegoede@redhat.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220616171009.43524-1-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:40 +01:00
Uwe Kleine-König
c55333064d
mfd: tc6393xb: Make disable callback return void
...
All implementations return 0, so simplify accordingly.
This is a preparation for making platform remove callbacks return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Reported-by: kernel test robot <lkp@intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220619082655.53728-1-u.kleine-koenig@pengutronix.de
2022-07-19 10:54:40 +01:00
Andy Shevchenko
99a7ec2f36
mfd: dln2: Automatically detect and fill endpoint pointers
...
The usb_find_common_endpoints() finds and fills the endpoints
in accordance with their types. Use it to automatically detect
and fill endpoint pointers.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220617182338.32402-1-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:40 +01:00
AngeloGioacchino Del Regno
7e47943c33
dt-bindings: mfd: mt6397: Add compatibles for MT6331 RTC and keys
...
The MT6331 PMIC provides many sub modules: regulators, audio
codec, LED controller, keys, RTC and some GPIOs.
It is always paired with a MT6332 Companion PMIC, which provides
thermistors, WLEDs (display LED backlight), secondary AP cluster
regulators, modem clocks, battery charger and fuel gauge.
Add the necessary compatibles to start implementing the basics.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220617110728.90132-2-angelogioacchino.delregno@collabora.com
2022-07-19 10:54:40 +01:00
Satya Priya
76659e203f
dt-bindings: mfd: qcom-pm8xxx: Update the maintainers section
...
Update the maintainers section with latest mail ID.
Signed-off-by: Satya Priya <quic_c_skakit@quicinc.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/1655874639-11273-2-git-send-email-quic_c_skakit@quicinc.com
2022-07-19 10:54:40 +01:00
Lee Jones
915696927c
mfd: pm8008: Remove driver data structure pm8008_data
...
Maintaining a local driver data structure that is never shared
outside of the core device is an unnecessary complexity. Half of the
attributes were not used outside of a single function, one of which
was not used at all. The remaining 2 are generic and can be passed
around as required.
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2022-07-19 10:54:40 +01:00
Uwe Kleine-König
4a346a03a6
mfd: twl: Remove platform data support
...
There is no in-tree machine that provides a struct twl4030_platform_data
since commit e92fc4f04a ("ARM: OMAP2+: Drop legacy board file for
LDP"). So assume dev_get_platdata() returns NULL in twl_probe() and
simplify accordingly.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220614152148.252820-1-u.kleine-koenig@pengutronix.de
2022-07-19 10:54:40 +01:00
Saravanan Sekar
4907f6991e
dt-bindings: mfd: Add mp2733 compatible
...
Add new compatible for mp2733 mfd driver.
Signed-off-by: Saravanan Sekar <sravanhome@gmail.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220615145357.2370044-3-sravanhome@gmail.com
2022-07-19 10:54:40 +01:00
Krzysztof Kozlowski
7eeed20360
dt-bindings: mfd: qcom,tcsr: Add qcom,tcsr-mdm9615
...
Document the (already used) TCSR on MDM9615.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220607133443.182468-2-krzysztof.kozlowski@linaro.org
2022-07-19 10:54:40 +01:00
Krzysztof Kozlowski
7677ed11e9
dt-bindings: mfd: qcom,tcsr: Convert to dtschema
...
Convert the Qualcomm Top Control and Status Register to DT Schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220607133443.182468-1-krzysztof.kozlowski@linaro.org
2022-07-19 10:54:39 +01:00
Tinghan Shen
66ee379d74
mfd: cros_ec: Add SCP Core-1 as a new CrOS EC MCU
...
MT8195 System Companion Processors(SCP) is a dual-core RISC-V MCU.
Add a new CrOS feature ID to represent the SCP's 2nd core.
The 1st core is referred to as 'core 0', and the 2nd core is referred
to as 'core 1'.
Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220601112201.15510-16-tinghan.shen@mediatek.com
2022-07-19 10:54:39 +01:00
Fabien Parent
738654be3c
mfd: mt6358-irq: Add MT6357 PMIC support
...
Add MT6357 PMIC IRQ support.
Signed-off-by: Fabien Parent <fparent@baylibre.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220531124959.202787-6-fparent@baylibre.com
2022-07-19 10:54:39 +01:00
Fabien Parent
de58cee8c6
mfd: mt6397-core: Add MT6357 PMIC support
...
Adds support for PMIC keys, Regulator, and RTC for the MT6357 PMIC.
Signed-off-by: Fabien Parent <fparent@baylibre.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220531124959.202787-5-fparent@baylibre.com
2022-07-19 10:54:39 +01:00
AngeloGioacchino Del Regno
52298ec34c
dt-bindings: mfd: Add compatible for MT6331 PMIC
...
Add a compatible for the MT6331 PMIC MFD device.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220520124039.228314-5-angelogioacchino.delregno@collabora.com
2022-07-19 10:54:39 +01:00
Uwe Kleine-König
9875ab53c8
dt-bindings: mfd: stm32-timers: Document how to specify interrupts
...
The timer units in the stm32mp1 CPUs have interrupts, depending on the
timer flavour either one "global" or four dedicated ones. Document how
to formalize these in a device tree.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220519162838.695404-1-u.kleine-koenig@pengutronix.de
2022-07-19 10:54:39 +01:00
Miaoqian Lin
1520669c82
mfd: max77620: Fix refcount leak in max77620_initialise_fps
...
of_get_child_by_name() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.
Fixes: 327156c593 ("mfd: max77620: Add core driver for MAX77620/MAX20024")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220601043222.64441-1-linmq006@gmail.com
2022-07-19 10:54:39 +01:00
Lukas Bulwahn
34b1a65ec1
MAINTAINERS: Fix file entry for MAX77693 DT
...
Commit b38213c611 ("dt-bindings: mfd: maxim,max77693: Convert to
dtschema") converts max77693.txt to maxim,max77693.yaml and adjusts the
file entry in MAINTAINERS accordingly.
Unfortunately, the merge commit afb67df31a ("Merge branches [...] into
ibs-for-mfd-merged") resolves some conflict in MAINTAINERS in such a way
that the file entry for the converted text file max77693.txt, removed in
the commit above, is added back into MAINTAINERS.
Remove the file entry to this converted text file in MAXIM PMIC AND MUIC
DRIVERS FOR EXYNOS BASED BOARDS.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220601073511.15721-1-lukas.bulwahn@gmail.com
2022-07-19 10:54:39 +01:00
Andy Shevchenko
7ff7d5ffb7
syscon: Use %pa to format the variable of resource_size_t type
...
Instead of explicit casting, use %pa specifier to format
the variable of resource_size_t type.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Acked-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220531202404.70282-1-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:39 +01:00
Uwe Kleine-König
6e1f1b1c93
mfd: tc6387xb: Drop disable callback that is never called
...
The driver never calls the disable callback, so drop the member from
the platform struct and all callbacks from the actual platform datas.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220530192430.2108217-4-u.kleine-koenig@pengutronix.de
2022-07-19 10:54:38 +01:00
Uwe Kleine-König
128ac294e1
mfd: t7l66xb: Drop platform disable callback
...
None of the in-tree instantiations of struct t7l66xb_platform_data
provides a disable callback. So better don't dereference this function
pointer unconditionally. As there is no user, drop it completely instead
of calling it conditional.
This is a preparation for making platform remove callbacks return void.
Fixes: 1f192015ca ("mfd: driver for the T7L66XB TMIO SoC")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220530192430.2108217-3-u.kleine-koenig@pengutronix.de
2022-07-19 10:54:38 +01:00
Uwe Kleine-König
2598f6ec54
mfd: asic3: Make asic3_gpio_remove() return void
...
Up to now asic3_gpio_remove() returns zero unconditionally. This makes it
easier to see in the caller that there is no error to handle.
This is a preparation for making platform remove callbacks return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220530192430.2108217-2-u.kleine-koenig@pengutronix.de
2022-07-19 10:54:38 +01:00
Andy Shevchenko
2cc285008a
MAINTAINERS: Update Intel PMIC (MFD part) to Supported
...
The actual status of the code is Supported.
Reported-by: Dave Hansen <dave.hansen@linux.intel.com >
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220530120015.70543-1-andriy.shevchenko@linux.intel.com
2022-07-19 10:54:38 +01:00
Rahul T R
3e26292d11
dt-bindings: mfd: ti,j721e-system-controller: Add clock property
...
Add a pattern property for clock-controller, also update the example
with a clock-controller node
Signed-off-by: Rahul T R <r-ravikumar@ti.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220530101031.11357-2-r-ravikumar@ti.com
2022-07-19 10:54:38 +01:00
Conor Dooley
361104b056
dt-bindings: mfd: Convert da9063 to yaml
...
Convert the dt binding for the da9063/da9063l to yaml.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220606201343.514391-4-mail@conchuod.ie
2022-07-19 10:54:38 +01:00
Luca Ceresoli
62fa5c9800
mfd: max77714: Update Luca Ceresoli's e-mail address
...
My Bootlin address is preferred from now on.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net >
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Link: https://lore.kernel.org/r/20220603155727.1232061-4-luca@lucaceresoli.net
2022-07-19 10:54:38 +01:00
Lee Jones
c1cd6c305e
Merge branches 'ib-mfd-acpi-for-rafael-5.20', 'ib-mfd-edac-i2c-leds-pinctrl-platform-watchdog-5.20' and 'ib-mfd-soc-bcm-5.20' into ibs-for-mfd-merged
2022-07-19 10:53:48 +01:00