From: Xu Jianqun Date: Thu, 21 Jan 2016 07:17:25 +0000 (+0800) Subject: doc: dt: add dt-bindings for rockchip ion driver X-Git-Tag: firefly_0821_release~3479 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6ac5fe994f10dfd61e784238326f1c83fcdfda0f;p=firefly-linux-kernel-4.4.55.git doc: dt: add dt-bindings for rockchip ion driver Change-Id: Ia2ec4985ead6ee986dce9bdb6ac910373ec1cd18 Signed-off-by: Xu Jianqun --- 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 { + }; + };