summaryrefslogtreecommitdiffstats
path: root/drivers/staging/android/ion/Kconfig
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2016-08-30 17:04:28 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-12 12:18:55 +0200
commit13439479c7de873f2ad5399b9224249c928decd8 (patch)
tree80824613418046decd9675385af53270e3e1b336 /drivers/staging/android/ion/Kconfig
parent76a96d86c8348c61b4abcb492a4892575833c3f9 (diff)
staging: ion: Add files for parsing the devicetree
Devicetree is the preferred mechanism for platform definition these days. Add a set of files for supporting Ion with devicetree. This includes a set of bindings for heaps common across all devices and parsing methods. Clients may use the standard bindings or they can call the parsing functions along with their own parsing for platform specific heaps. Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/ion/Kconfig')
-rw-r--r--drivers/staging/android/ion/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/staging/android/ion/Kconfig b/drivers/staging/android/ion/Kconfig
index 19c1572f1525..8a54ddc6d513 100644
--- a/drivers/staging/android/ion/Kconfig
+++ b/drivers/staging/android/ion/Kconfig
@@ -40,3 +40,14 @@ config ION_HISI
Choose this option if you wish to use ion on Hisilicon Platform.
source "drivers/staging/android/ion/hisilicon/Kconfig"
+
+config ION_OF
+ bool "Devicetree support for Ion"
+ depends on ION && OF
+ help
+ Provides base support for defining Ion heaps in devicetree
+ and setting them up. Also includes functions for platforms
+ to parse the devicetree and expand for their own custom
+ extensions
+
+ If using Ion and devicetree, you should say Y here