Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Srinivas Kandagatla | eace75c | 2015-07-27 12:13:19 +0100 | [diff] [blame] | 2 | # |
| 3 | # Makefile for nvmem drivers. |
| 4 | # |
| 5 | |
| 6 | obj-$(CONFIG_NVMEM) += nvmem_core.o |
| 7 | nvmem_core-y := core.o |
Srinivas Kandagatla | 4ab1199 | 2015-07-27 12:15:00 +0100 | [diff] [blame] | 8 | |
Srinivas Kandagatla | ae0c2d7 | 2019-04-16 10:59:24 +0100 | [diff] [blame] | 9 | obj-$(CONFIG_NVMEM_SYSFS) += nvmem_sysfs.o |
| 10 | nvmem_sysfs-y := nvmem-sysfs.o |
| 11 | |
Srinivas Kandagatla | 4ab1199 | 2015-07-27 12:15:00 +0100 | [diff] [blame] | 12 | # Devices |
Jonathan Richardson | 9d59c6e | 2016-10-31 14:45:19 +0000 | [diff] [blame] | 13 | obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o |
| 14 | nvmem-bcm-ocotp-y := bcm-ocotp.o |
Michael Grzeschik | c066c1c | 2017-03-31 13:44:50 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_NVMEM_IMX_IIM) += nvmem-imx-iim.o |
| 16 | nvmem-imx-iim-y := imx-iim.o |
Philipp Zabel | 3edba6b4 | 2015-09-30 13:55:47 +0100 | [diff] [blame] | 17 | obj-$(CONFIG_NVMEM_IMX_OCOTP) += nvmem-imx-ocotp.o |
| 18 | nvmem-imx-ocotp-y := imx-ocotp.o |
Peng Fan | 67ff708 | 2019-06-14 15:32:19 +0100 | [diff] [blame] | 19 | obj-$(CONFIG_NVMEM_IMX_OCOTP_SCU) += nvmem-imx-ocotp-scu.o |
| 20 | nvmem-imx-ocotp-scu-y := imx-ocotp-scu.o |
Ariel D'Alessandro | f02f8ae | 2015-12-07 10:57:39 +0000 | [diff] [blame] | 21 | obj-$(CONFIG_NVMEM_LPC18XX_EEPROM) += nvmem_lpc18xx_eeprom.o |
| 22 | nvmem_lpc18xx_eeprom-y := lpc18xx_eeprom.o |
Joachim Eastwood | 88806daf | 2016-10-31 14:45:16 +0000 | [diff] [blame] | 23 | obj-$(CONFIG_NVMEM_LPC18XX_OTP) += nvmem_lpc18xx_otp.o |
| 24 | nvmem_lpc18xx_otp-y := lpc18xx_otp.o |
Stefan Wahren | c01e9a1 | 2015-09-30 13:56:27 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_NVMEM_MXS_OCOTP) += nvmem-mxs-ocotp.o |
| 26 | nvmem-mxs-ocotp-y := mxs-ocotp.o |
Andrew-CT Chen | 4c7e4fe | 2015-12-07 10:58:11 +0000 | [diff] [blame] | 27 | obj-$(CONFIG_MTK_EFUSE) += nvmem_mtk-efuse.o |
| 28 | nvmem_mtk-efuse-y := mtk-efuse.o |
Srinivas Kandagatla | 4ab1199 | 2015-07-27 12:15:00 +0100 | [diff] [blame] | 29 | obj-$(CONFIG_QCOM_QFPROM) += nvmem_qfprom.o |
| 30 | nvmem_qfprom-y := qfprom.o |
Anirudh Ghayal | 40ce979 | 2020-01-16 16:11:00 +0000 | [diff] [blame] | 31 | obj-$(CONFIG_NVMEM_SPMI_SDAM) += nvmem_qcom-spmi-sdam.o |
| 32 | nvmem_qcom-spmi-sdam-y += qcom-spmi-sdam.o |
ZhengShunQian | 03a6956 | 2015-09-30 13:56:44 +0100 | [diff] [blame] | 33 | obj-$(CONFIG_ROCKCHIP_EFUSE) += nvmem_rockchip_efuse.o |
| 34 | nvmem_rockchip_efuse-y := rockchip-efuse.o |
Finley Xiao | 755864f | 2019-10-29 11:42:40 +0000 | [diff] [blame] | 35 | obj-$(CONFIG_ROCKCHIP_OTP) += nvmem-rockchip-otp.o |
| 36 | nvmem-rockchip-otp-y := rockchip-otp.o |
Maxime Ripard | 3d0b16a | 2015-07-27 12:17:09 +0100 | [diff] [blame] | 37 | obj-$(CONFIG_NVMEM_SUNXI_SID) += nvmem_sunxi_sid.o |
Fabrice Gasnier | ded1b7f | 2019-04-13 11:32:55 +0100 | [diff] [blame] | 38 | nvmem_stm32_romem-y := stm32-romem.o |
| 39 | obj-$(CONFIG_NVMEM_STM32_ROMEM) += nvmem_stm32_romem.o |
Maxime Ripard | 3d0b16a | 2015-07-27 12:17:09 +0100 | [diff] [blame] | 40 | nvmem_sunxi_sid-y := sunxi_sid.o |
Keiji Hayashibara | 71c5dd5 | 2017-10-24 10:54:26 +0100 | [diff] [blame] | 41 | obj-$(CONFIG_UNIPHIER_EFUSE) += nvmem-uniphier-efuse.o |
| 42 | nvmem-uniphier-efuse-y := uniphier-efuse.o |
Sanchayan Maity | 22dbdb7 | 2015-09-30 13:54:59 +0100 | [diff] [blame] | 43 | obj-$(CONFIG_NVMEM_VF610_OCOTP) += nvmem-vf610-ocotp.o |
| 44 | nvmem-vf610-ocotp-y := vf610-ocotp.o |
Carlo Caione | ad855ea | 2016-08-27 15:43:46 +0200 | [diff] [blame] | 45 | obj-$(CONFIG_MESON_EFUSE) += nvmem_meson_efuse.o |
| 46 | nvmem_meson_efuse-y := meson-efuse.o |
Martin Blumenstingl | 8caef1f | 2017-10-09 15:26:41 +0200 | [diff] [blame] | 47 | obj-$(CONFIG_MESON_MX_EFUSE) += nvmem_meson_mx_efuse.o |
| 48 | nvmem_meson_mx_efuse-y := meson-mx-efuse.o |
Oleksij Rempel | 988437a | 2017-09-17 12:33:43 +0200 | [diff] [blame] | 49 | obj-$(CONFIG_NVMEM_SNVS_LPGPR) += nvmem_snvs_lpgpr.o |
| 50 | nvmem_snvs_lpgpr-y := snvs_lpgpr.o |
Andrey Smirnov | 3b51f47 | 2018-05-11 12:06:58 +0100 | [diff] [blame] | 51 | obj-$(CONFIG_RAVE_SP_EEPROM) += nvmem-rave-sp-eeprom.o |
| 52 | nvmem-rave-sp-eeprom-y := rave-sp-eeprom.o |
Freeman Liu | 19c5446 | 2018-07-11 11:20:41 +0100 | [diff] [blame] | 53 | obj-$(CONFIG_SC27XX_EFUSE) += nvmem-sc27xx-efuse.o |
| 54 | nvmem-sc27xx-efuse-y := sc27xx-efuse.o |
Nava kishore Manne | 4640fa1 | 2019-02-06 16:37:21 +0530 | [diff] [blame] | 55 | obj-$(CONFIG_NVMEM_ZYNQMP) += nvmem_zynqmp_nvmem.o |
| 56 | nvmem_zynqmp_nvmem-y := zynqmp_nvmem.o |
Freeman Liu | 096030e | 2019-10-29 11:42:37 +0000 | [diff] [blame] | 57 | obj-$(CONFIG_SPRD_EFUSE) += nvmem_sprd_efuse.o |
| 58 | nvmem_sprd_efuse-y := sprd-efuse.o |