summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/Kconfig
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2018-04-06 15:21:14 +1000
committerDan Williams <dan.j.williams@intel.com>2018-04-07 07:53:23 -0700
commit7171976089528cb3d057a6fb288e7f8f89ab7f68 (patch)
treeffd002598790b71dfa9cf3cbfb0005803c95f7f7 /drivers/nvdimm/Kconfig
parent1ff19f487a7e55bf3cebc96ea2a9a38d66fb7db7 (diff)
libnvdimm: Add device-tree based driver
This patch adds peliminary device-tree bindings for persistent memory regions. The driver registers a libnvdimm bus for each pmem-region node and each address range under the node is converted to a region within that bus. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/Kconfig')
-rw-r--r--drivers/nvdimm/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/nvdimm/Kconfig b/drivers/nvdimm/Kconfig
index a65f2e1d9f53..2d6862bf7436 100644
--- a/drivers/nvdimm/Kconfig
+++ b/drivers/nvdimm/Kconfig
@@ -102,4 +102,14 @@ config NVDIMM_DAX
Select Y if unsure
+config OF_PMEM
+ tristate "Device-tree support for persistent memory regions"
+ depends on OF
+ default LIBNVDIMM
+ help
+ Allows regions of persistent memory to be described in the
+ device-tree.
+
+ Select Y if unsure.
+
endif