From 6ac5fe994f10dfd61e784238326f1c83fcdfda0f Mon Sep 17 00:00:00 2001 From: Xu Jianqun Date: Thu, 21 Jan 2016 15:17:25 +0800 Subject: [PATCH] doc: dt: add dt-bindings for rockchip ion driver Change-Id: Ia2ec4985ead6ee986dce9bdb6ac910373ec1cd18 Signed-off-by: Xu Jianqun --- .../bindings/staging/ion/rockchip-ion.txt | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/staging/ion/rockchip-ion.txt diff --git a/Documentation/devicetree/bindings/staging/ion/rockchip-ion.txt b/Documentation/devicetree/bindings/staging/ion/rockchip-ion.txt new file mode 100644 index 000000000000..50bca0edc247 --- /dev/null +++ b/Documentation/devicetree/bindings/staging/ion/rockchip-ion.txt @@ -0,0 +1,25 @@ +* Rockchip Ion driver + +Required properties: +- compatible: Should be "rockchip,ion" + +Optional properties: +- cma-heap: Allocate continous physicall region. + Should define reg with two u32 values: + - reg0: base address of cma region + - reg1: size of cma region +- system-heap: Allocate continous virtual region + +Examples: + ion { + compatible = "rockchip,ion"; + #address-cells = <1>; + #size-cells = <0>; + + cma-heap { + reg = <0x00000000 0x02000000>; + }; + + system-heap { + }; + }; -- 2.34.1