Hi Tomasz,<br><br>On Thursday, 14 February 2013, Tomasz Figa <<a href="mailto:tomasz.figa@gmail.com">tomasz.figa@gmail.com</a>> wrote:<br>> Hi Sachin,<br>><br>> On Wednesday 06 of February 2013 17:21:17 Sachin Kamat wrote:<br>
>> Added documentaion about G2D bindings.<br>>><br>>> Signed-off-by: Sachin Kamat <<a href="mailto:sachin.kamat@linaro.org">sachin.kamat@linaro.org</a>><br>>> ---<br>>>  .../devicetree/bindings/gpu/samsung-g2d.txt        |   30<br>
>> ++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-)<br>>>  create mode 100644<br>>> Documentation/devicetree/bindings/gpu/samsung-g2d.txt<br>>><br>>> diff --git a/Documentation/devicetree/bindings/gpu/samsung-g2d.txt<br>
>> b/Documentation/devicetree/bindings/gpu/samsung-g2d.txt new file mode<br>>> 100644<br>>> index 0000000..838b26b<br>>> --- /dev/null<br>>> +++ b/Documentation/devicetree/bindings/gpu/samsung-g2d.txt<br>
>> @@ -0,0 +1,30 @@<br>>> +* Samsung 2D Graphics Accelerator<br>>> +<br>>> +Samsung FIMG2D is a 2D graphics accelerator which supports Bit Block<br>>> Transfer. +We set the drawing-context registers for configuring the<br>
>> rendering parameters +and then start rendering.<br>>> +The G2D has V4L2 as well as DRM framework based driver support.<br>>> +<br>>> +Required properties:<br>>> +  - compatible : value should be one among the following<br>
>> +     (a) "samsung,s5pv210-g2d" for G2D IP present in S5PV210 & Exynos4210<br>>> SoC + (b) "samsung,exynos4212-g2d" for G2D IP present in Exynos4x12<br>>> SoCs +        (b) "samsung,exynos5250-g2d" for G2D IP present in Exynos5250<br>
>> SoC +<br>>> +  - reg : Physical base address of the IP registers and length of<br>>> memory +        mapped region.<br>>> +<br>>> +  - interrupts : G2D interrupt number to the CPU.<br>>> +<br>
>> +Optional properties:<br>>> +  - samsung,power-domain : power-domain property defined with a phandle<br>>> +                        to respective power domain.<br>><br>> I'm not sure if samsung,power-domain should be mentioned in this<br>
> documentation file. The driver itself does not use this property.<br><br>Oh ok. I will check this again and remove if unnecessary.<br><br>><br>> Otherwise looks fine.<br>><br>> Best regards,<br>> Tomasz<br>
><br>>> +<br>>> +Example:<br>>> +     g2d@12800000 {<br>>> +             compatible = "samsung,s5pv210-g2d";<br>>> +             reg = <0x12800000 0x1000>;<br>>> +             interrupts = <0 89 0>;<br>
>> +             samsung,power-domain = <&pd_lcd0>;<br>>> +             status = "disabled";<br>>> +     };<br>> --<br>> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in<br>
> the body of a message to <a href="mailto:majordomo@vger.kernel.org">majordomo@vger.kernel.org</a><br>> More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html">http://vger.kernel.org/majordomo-info.html</a><br>
><br><br>-- <br><div>With warm regards,</div>
<div>Sachin</div><br>