Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1284237

Re: [PATCH (v2) 1/2] reset: Add brcm,bcm6345-reset device tree binding

From "Simon Arlott" <simon@fire.lp0.eu>
Newsgroups linux.kernel
Subject Re: [PATCH (v2) 1/2] reset: Add brcm,bcm6345-reset device tree binding
Date 2015-12-04 22:20 +0100
Message-ID <qC5VL-81F-5@gated-at.bofh.it> (permalink)
References <qBmP1-47N-23@gated-at.bofh.it> <qBxAL-2vK-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH (v2) 1/2] reset: Add brcm,bcm6345-reset device tree binding Simon Arlott <simon@fire.lp0.eu> - 2015-12-02 22:10 +0100
  Re: [PATCH (v2) 1/2] reset: Add brcm,bcm6345-reset device tree  binding Philipp Zabel <p.zabel@pengutronix.de> - 2015-12-03 09:40 +0100
    Re: [PATCH (v2) 1/2] reset: Add brcm,bcm6345-reset device tree  binding "Simon Arlott" <simon@fire.lp0.eu> - 2015-12-04 22:20 +0100
  Re: [PATCH (v2) 1/2] reset: Add brcm,bcm6345-reset device tree  binding Rob Herring <robh@kernel.org> - 2015-12-04 16:00 +0100

csiph-web