lkml.org 
[lkml]   [2015]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH (v2) 1/2] reset: Add brcm,bcm6345-reset device tree binding
From
On Thu, December 3, 2015 08:39, Philipp Zabel wrote:
> Am Mittwoch, den 02.12.2015, 21:03 +0000 schrieb Simon Arlott:
>> +periph_soft_rst: reset-controller {
>> + compatible = "brcm,bcm63168-reset", "brcm,bcm6345-reset";
>> + regmap = <&periph_cntl>;
>> + offset = <0x10>;
>> +
>> + #reset-cells = <1>;
>> +};
>
> I would have written it something like this:
>
> periph_cntl: ... {
> compatible = "syscon", "simple-mfd";
> #address-cells = <1>;
> #size-cells = <1>;
>
> periph_soft_rst: reset-controller {
> compatible = "brcm,bcm6345-reset";
> reg = <0x10 0x4>;
> #reset-cells = <1>;
> };
> };
>
> for a device that is only controlled through a syscon.

Rob, do you want me to change this or is my version ok?

> The driver itself looks good to me.
>
> best regards
> Philipp
>
>

--
Simon Arlott


\
 
 \ /
  Last update: 2015-12-04 22:21    [W:0.051 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site