summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
Commit message (Collapse)AuthorAgeFilesLines
* mfd: rn5t568: add complete register map to header and use itBastian Krause2024-01-021-23/+1
| | | | | | | | | | This allows lowlevel board code to use these symbols to perform power sequencing with the PBL PMIC helper functions. Signed-off-by: Bastian Krause <bst@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20231220104341.4184187-1-bst@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: pca9450: Add init callbackSascha Hauer2023-11-131-0/+21
| | | | | | | | We currently do not have regulator support for the pca945x chips, so provide a init callback for board code to do the basic setup. Link: https://lore.barebox.org/20231110130312.2234966-2-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: pca9450: Add support for pca9451aSascha Hauer2023-11-131-0/+1
| | | | | | | | | Add support for the pca9451a chip variant. This is not compatible with the other variants, but as we currently only provide a regmap this is fine. Link: https://lore.barebox.org/20231110130312.2234966-1-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: syscon: don't register clocked syscon if geting clock failsAhmad Fatoum2023-11-101-2/+2
| | | | | | | | | | | | | When of_syscon_register is called with check_clk=true, it will attempt to attach the clock. If that fails, the newly allocated syscon is freed, but a dangling pointer remained in the syscon_list. Fix this by only registering the syscon in the successful case. Fixes: b36b7b727192 ("mfd: syscon: clock peripheral if specified in device tree") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20231109115522.1370884-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/regmap'Sascha Hauer2023-10-2711-8/+12
|\
| * treewide: switch regmap.h include to linux/regmap.hAhmad Fatoum2023-10-267-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that there are no longer any users of regmap.h in headers, let's switch all users in the source files to linux/regmap.h. That way, the only users of regmap.h whether directly or indirectly will be out-of-tree code, which will fail with an error if they are dependent on the old semantics of regmap_bulk_read and regmap_bulk_write. After a transitory period, we can then drop regmap.h. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20231020071853.2826528-12-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mfd: stm32-timers: remove dependency of mfd/stm32-timers.h on regmap.hAhmad Fatoum2023-10-261-0/+1
| | | | | | | | | | | | | | | | | | | | Drivers for the STM32 timer MFD and the PWM within it used regmap API without directly including the regmap.h header. Fix that and replace the regmap.h inclusion in mfd/stm32-timers.h with a forward declaration. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20231020071853.2826528-11-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mfd: atmel-smc: include needed headers directlyAhmad Fatoum2023-10-261-0/+2
| | | | | | | | | | | | | | | | | | The file uses regmap accessors as well as GENMASK without including the respective headers directly. Fix that. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20231020071853.2826528-10-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mfd: syscon: do not include regmap.h from mfd/syscon.hAhmad Fatoum2023-10-231-0/+1
| | | | | | | | | | | | | | | | | | | | mfd/syscon.h include regmap.h when a struct regmap forward declaration would've sufficed. Let's forward declare and fix users of the header to directly include linux/regmap.h where needed. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20231020071853.2826528-6-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * regmap: align regmap_bulk_read/write API with LinuxAhmad Fatoum2023-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since its inception in 2016, barebox regmap_bulk_read and regmap_bulk_write expected the last argument to be the total length of data to access in bytes. Its namesake Linux version has the same prototype, but interprets the last argument as number of elements to write, i.e. bytes / regmap_get_val_bytes(map). This went unnoticed so far, because barebox users are either using 1-byte regmaps, the code was written specifically for barebox or the code is yet unused such as the KSZ switch 64-bit accessors. Avoid nasty future surprises by switching implementation and users to the Linux interpretation of the last argument. As courtesy for out-of-tree board code, we poison the symbol when regmap.h is included, so out of tree code doesn't silently run into the inverse issue. Files with regmap.h replaced by linux/regmap.h added and no other changes are already compatible with the new definitions. All other files are adapted to the new definition through division by the value size in bytes. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20231020071853.2826528-5-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mfd: regulator: initial support for pca9450Holger Assmann2023-10-043-0/+113
|/ | | | | | | | | | The PCA9450 PMIC by NXP can be communicated with via I2C; this driver uses that do determine the reset source that caused the PMIC to perform its latest power cycle. Signed-off-by: Holger Assmann <h.assmann@pengutronix.de> Link: https://lore.barebox.org/20230929085726.1897008-1-h.assmann@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: rk808: Add missing RK809 chip ID to poweroff handlerAlexander Shiyan2023-08-041-0/+1
| | | | | | Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20230803133935.90026-1-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide: add MODULE_DEVICE_TABLE markersAhmad Fatoum2023-06-1312-0/+12
| | | | | | | | | | | | | | | | Syncing device trees with Linux upstream can lead to breakage, when the device trees are switched to newer bindings, which are not yet supported in barebox. To make it easier to spot such issues, we want to start applying some heuristics to flag possibly problematic DT changes. One step towards being able to do that is to know what nodes barebox actually consumes. Most of the nodes have a compatible entry, which is matched by an array of of_device_id, so let's have MODULE_DEVICE_TABLE point at it for future extraction. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230612125908.1087340-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: syscon: Remove unused helper syscon_base_lookup_by_pdevnameAlexander Shiyan2023-05-091-15/+0
| | | | | | | | | Nobody uses the exported helper syscon_base_lookup_by_pdevname, to lookup a syscon by device name. Let us remove it. Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20230505061245.463528-1-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: add regmap driver for rohm-bd718x7Ahmad Fatoum2023-01-313-0/+154
| | | | | | | | | | | | Rohm BD71837 is a PMIC for i.MX8MM, which is used on most boards supported by barebox. So far, we didn't need to change PMIC configuration after the initial setup in PBL, but to support future debugging and development, let's port the Linux MFD driver sans the regulators, so we get a regmap for interacting with the device. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230130071622.34094-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc-struct-rename'Sascha Hauer2023-01-201-0/+4
|\
| * drivers: base: regmap: introduce REGMAP_I2CAhmad Fatoum2023-01-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regmap_init_i2c is quite limited right now and only supports 8-bit registers and values. In future, we may want to expand this further, but that would require us to format the regmap_config appropriately, pulling in more code that's not required in the general case, where reg_read and reg_write can be used directly. Add a new Kconfig symbol and select it where appropriate to allow us to split formatted regmap handling from the more basic handling we currently have. We intentionally don't provide a stub function, so out-of-tree users without the select fail to link and can be fixed. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230111132956.1153359-8-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mfd: add atmel-smc driverAhmad Fatoum2023-01-173-0/+357
|/ | | | | | | | | Port over the Linux Atmel Static Memory Controller driver for use by the incoming update to the Atmel NAND controller driver Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230111174023.1719129-12-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Rename struct driver_d to driverSascha Hauer2023-01-1018-19/+19
| | | | | | | | | | | The '_d' suffix was originally meant to distinguish barebox struct names from Linux struct names. struct driver doesn't exist in Linux, so we can rename it and remove the meaningless suffix. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.barebox.org/20221214123512.189688-4-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Rename struct device_d to deviceSascha Hauer2023-01-1021-39/+41
| | | | | | | | | | | | | The '_d' suffix was originally introduced in case we want to import Linux struct device as a separate struct into barebox. Over time it became clear that this won't happen, instead barebox struct device_d is basically the same as Linux struct device. Rename the struct name accordingly to make porting Linux code easier. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.barebox.org/20221214123512.189688-3-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Rename device_d::device_node to device_d::of_nodeSascha Hauer2023-01-1011-18/+18
| | | | | | | | | | | | | | | | | | | | Linux struct device has the member of_node for the device_node pointer. Rename this in barebox accordingly to minimize the necessary changes when porting Linux code. This was done with the semantic patch: @@ struct device_d E; @@ - E.device_node + E.of_node @@ struct device_d *E; @@ - E->device_node + E->of_node Plus some manual adjustments. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.barebox.org/20221214123512.189688-2-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: axp20x: support AXP313A PMICJohannes Zink2022-12-022-1/+21
| | | | | | | | | | This adds the register definitions for the AXP313A PMIC to the AXP20X mfd driver. Signed-off-by: Wei Chen <wei.chen@streamunlimited.com> Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Link: https://lore.barebox.org/20221201153749.4041301-1-j.zink@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2022-11-141-2/+0
|\
| * mfd: axp20x: drop info message on successful probeAhmad Fatoum2022-10-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | Successful probe is expected and doesn't warrant a message. The driver will already print that what variant in that case. In the error case, we will get an error message anyway, so this log message serves no purpose. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20221017070517.1456378-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | restart: do restart-priority OF parsing in restart_handler_registerAhmad Fatoum2022-10-273-3/+3
|/ | | | | | | | | | | | The restart-priority OF property is parsed for a number of MFDs, but there is no reason really not to parse it for every restart handler that has a device tree node like we already do for watchdogs. Add a new struct restart_handler::of_node field and look into it if populated. With this of_get_restart_priority, is no longer used, so drop it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20221017071000.1458292-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: axp20x: export axp20x-regulator child for AXP152Ahmad Fatoum2022-10-041-0/+5
| | | | | | | | | | | | | | | While the upstream Linux driver doesn't support regulator configuration for the AXP152, we may need this in barebox for initial regulator setup. Thus have the MFD driver register the appropriate child device as done for the other drivers. While at it, pass along the axp20x driver data object. This is needed, so the regulator driver can query the variant; so far it was only possible to retrieve the parent regmap and redo the revision readout. Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220928085052.2599436-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: axp20x: add mfd axp20x driverAhmad Fatoum2022-08-314-0/+440
| | | | | | | | | | This commit ports the axp20x driver from linux kernel code. Structures not applicable for barebox are being dropped. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Link: https://lore.barebox.org/20220830080911.440884-1-j.zink@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* regulator: add Rockchip rk808 supportAhmad Fatoum2022-08-113-0/+405
| | | | | | | | | | | | | | This driver provides control of following power management ICs by Rockchip: RK805, RK809, RK817, RK808 and RK818 as well as a power-off handler in the MFD driver. The other MFD cells are exported as well, but no drivers are added for them here. The code is based on an older version of the Linux driver, with less abstractions that are not yet synced to barebox. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220724190006.2160802-6-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: implement mfd_add_devicesAhmad Fatoum2022-08-082-0/+27
| | | | | | | | | | | This makes it easier to port Linux drivers like PMICs, where a device tree probed MFD node exists and the driver matching against it then registers a number of MFD cell devices, which don't have their own DT compatibles. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220724190006.2160802-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/stm32'Sascha Hauer2022-02-181-1/+1
|\
| * ARM: stm32mp: allow driver reuse for STM32 MCUsAhmad Fatoum2022-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | Most peripheral driver are usable for both STM32 MPUs and MCUs, but so far we they were only used for STM32MP1. In preparation for adding MCU support, introduce a new ARCH_STM32 selected by ARCH_STM32MP and migrate common drivers to it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-12-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Add the base Ricoh RN5T568 PMIC driverJuergen Borleis2022-01-203-0/+172
|/ | | | | Link: https://lore.barebox.org/20220118082122.73204-1-jbe@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers: migrate "GPL-2.0+" license identifiers to SPDX 2.0Roland Hieber2021-11-221-1/+1
| | | | | | | | | "GPL-2.0-or-later" was introduced in SPDX 2.0, and the old identifier "GPL-2.0+" is now deprecated; see <https://spdx.org/licenses>. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20211117113851.2022669-3-rhi@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers: migrate "GPL-2.0" license identifiers to SPDX 2.0Roland Hieber2021-11-2210-10/+10
| | | | | | | | | | "GPL-2.0-only" was introduced in SPDX 2.0, and the old identifier "GPL-2.0" is now considered deprecated; see <https://spdx.org/licenses>. Fixes: 28f4a6a4df76f0f1581d (2021-10-30, "drivers: add missing SPDX-License-Identifier") Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20211117113851.2022669-2-rhi@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers: add missing SPDX-License-IdentifierAhmad Fatoum2021-11-0114-107/+14
| | | | | | | | | | | | | | | | | | | | This adds the suitable SPDX-License-Identifier to all files in drivers/ that previously lacked one. To aid manual inspection, following heuristics can be used: * No changes outside of comments/whitespace: git show -U0 HEAD | rg -v '^(@@|diff|index)|[-+]([-+]|//|#|[\s/]\*)' * -or-later come in pairs: git show --inter-hunk-context=19 HEAD | \ perl -0777 -F'/^@/gm' -ne 'for (@F) { @m = /later/g; print if @m & 1 }' Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211030175632.2276077-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: stpmic1: simplify using regmap_init_i2cAhmad Fatoum2021-06-021-44/+3
| | | | | | | | | With the new regmap_init_i2c, we can drop opencoding the regmap accessors for the i2c registers. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210531072406.5630-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* printk: port over Linux print_hex_dump_bytes/print_hex_dump_debugAhmad Fatoum2021-02-041-6/+4
| | | | | | | | | print_hex_dump in barebox always prints a hex dump. Most users use it for debugging though, so import Linux helpers to do so to cut down on the #ifdef DEBUG. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: mc34704: fix register readingUwe Kleine-König2020-10-211-2/+2
| | | | | | | | | | | According to the data sheet (MC34704 Rev. 8.0, 12/2014) must always have the MSB set in the "Sub-address" byte for reads. This fixes reading out registers on a MC34704AEP chip. Fixes: 514387711f2d ("i2c: add driver for the MC34704 PMIC") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/percent_pe' into masterSascha Hauer2020-10-141-2/+1
|\
| * vsprintf: retire strerrorp in favor of %peAhmad Fatoum2020-09-291-2/+1
| | | | | | | | | | | | | | | | | | strerrorp() is only used along with printf. We now have a format specifier for printing error pointers directly, so use that and remove strerrorp. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/driver-macro' into masterSascha Hauer2020-10-142-27/+10
|\ \
| * | treewide: Use driver macroSascha Hauer2020-09-292-27/+10
| |/ | | | | | | | | | | | | We have several macros for a oneline driver registration. Add some missing and use them consistently where possible througout the tree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / driver: migrate some from dev_get_drvdata to device_get_match_dataAhmad Fatoum2020-10-091-3/+1
|/ | | | | | | | The dev_get_drvdata instances here all store a valid pointer in the match data and can be readily converted. Do so. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: add Atmel Flexcom supportAhmad Fatoum2020-08-033-0/+84
| | | | | | | | | | | | | | This is a wrapper which embeds a SPI controller, a I2C controller and a USART. Only one function can be used at a time. The choice is done at boot time by the probe function of this MFD driver according to a device tree property. These IP cores are available in the sama5d2 and sam9x60. We already have support for all three configurations, only thing we need is the MFD selecting one of them. Add this. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: superio: depend on X86 || COMPILE_TESTAhmad Fatoum2020-07-141-0/+2
| | | | | | | | Super I/O chips are usually found x86 PCs. Make them depend on it, so users of other arches aren't prompted for it, when they oldconfig. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: superio: smsc: fix C99ism initial declaration in for loopAhmad Fatoum2020-07-141-1/+2
| | | | | | | | | | | Codebase is meant to be gnu89, but was only enforced starting with bc4840e98b94 ("kbuild: add -Wmissing-prototypes and -std=gnu89 to KBUILD_HOSTCFLAGS"). Since then, this driver no longer compiles. Fix this. Fixes: eaf020f1bb52 ("mfd: superio: add base SMSC MFD driver") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide: make use of PTR_ERR_OR_ZEROUwe Kleine-König2020-06-261-4/+1
| | | | | | | | | | | PTR_ERR_OR_ZERO is designed to replace boiler plate like: if (IS_ERR(x)) return PTR_ERR(x); return 0; Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/stm32'Sascha Hauer2020-05-141-1/+1
|\
| * mfd: stpmic1: move to coredevice levelLucas Stach2020-05-121-1/+1
| | | | | | | | | | | | | | | | The PMIC provides regulators, which are needed before other devices can probe. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | drivers: mark first batch of compilable drivers for COMPILE_TESTAhmad Fatoum2020-05-081-1/+1
|/ | | | | | | | | All of these drivers have a runtime dependency on SoC peripherals, but can nevertheless be compile-tested. Add COMPILE_TEST as an alternate dependency. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>