From: Kieran Bingham <kieran@ksquared.org.uk>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
linux-renesas-soc@vger.kernel.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Linux Media Mailing List <linux-media@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH 3/4] dt-bindings: Document Renesas R-Car FCP power-domains usage
Date: Mon, 30 May 2016 11:09:12 +0100 [thread overview]
Message-ID: <574C1148.5070708@bingham.xyz> (raw)
In-Reply-To: <CAMuHMdUvRN2ysYJ9g0daOD8sD7O5XcrZkKbWr0X_L7mG25Ocww@mail.gmail.com>
Hi Geert,
On 28/05/16 20:03, Geert Uytterhoeven wrote:
> Hi Kieran,
>
> On Fri, May 27, 2016 at 7:19 PM, Kieran Bingham <kieran@ksquared.org.uk> wrote:
>> The example misses the power-domains usage, and documentation that the
>> property is used by the node.
>>
>> Signed-off-by: Kieran Bingham <kieran@bingham.xyz>
>
> Thanks for your patch!
>
>> ---
>> Documentation/devicetree/bindings/media/renesas,fcp.txt | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/media/renesas,fcp.txt b/Documentation/devicetree/bindings/media/renesas,fcp.txt
>> index 1c0718b501ef..464bb7ae4b92 100644
>> --- a/Documentation/devicetree/bindings/media/renesas,fcp.txt
>> +++ b/Documentation/devicetree/bindings/media/renesas,fcp.txt
>> @@ -21,6 +21,8 @@ are paired with. These DT bindings currently support the FCPV and FCPF.
>>
>> - reg: the register base and size for the device registers
>> - clocks: Reference to the functional clock
>> + - power-domains : power-domain property defined with a phandle
>> + to respective power domain.
>
> I'd write "power domain specifier" instead of "phandle". While SYSC on R-Car
> Gen3 uses #power-domain-cells = 0, the FCP module may show up on another
> SoC that uses a different value, needing more than just a phandle.
>
> In fact I'm inclined to leave out the power-domains property completely:
> it's not a feature of the FCP, but of the SoC the FCP is part of.
> power-domains properties may appear in any device node where needed.
I'm happy to just drop this part. It was mainly the addition to the
example I was after, as I had followed the example, and thus missed the
power-domain setting.
>> Device node example
>> @@ -30,4 +32,5 @@ Device node example
>> compatible = "renesas,r8a7795-fcpv", "renesas,fcpv";
>> reg = <0 0xfea2f000 0 0x200>;
>> clocks = <&cpg CPG_MOD 602>;
>> + power-domains = <&sysc R8A7795_PD_A3VP>;
>
> Adding it to the example doesn't hurt, though.
Ok, I'll adjust and just keep the example in v2.
--
Regards
Kieran Bingham
next prev parent reply other threads:[~2016-05-30 10:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 17:19 [PATCH 0/4] RCar r8a7795 FCPF support Kieran Bingham
2016-05-27 17:19 ` [PATCH 1/4] fcp: Extend FCP compatible list to support the FDP Kieran Bingham
2016-05-27 17:21 ` Kieran Bingham
2016-05-27 17:19 ` [PATCH 2/4] dt-bindings: Update Renesas R-Car FCP DT binding Kieran Bingham
[not found] ` <1464369565-12259-4-git-send-email-kieran-SI8QzZ7I9JUn3X9lZQuFcg@public.gmane.org>
2016-05-28 19:06 ` Geert Uytterhoeven
2016-05-30 10:04 ` Kieran Bingham
2016-05-27 17:19 ` [PATCH 3/4] dt-bindings: Document Renesas R-Car FCP power-domains usage Kieran Bingham
[not found] ` <1464369565-12259-5-git-send-email-kieran-SI8QzZ7I9JUn3X9lZQuFcg@public.gmane.org>
2016-05-28 19:03 ` Geert Uytterhoeven
2016-05-30 10:09 ` Kieran Bingham [this message]
2016-05-27 17:19 ` [PATCH 4/4] arm64: dts: r8a7795: add FCPF device nodes Kieran Bingham
[not found] ` <1464369565-12259-1-git-send-email-kieran-SI8QzZ7I9JUn3X9lZQuFcg@public.gmane.org>
2016-05-27 17:19 ` [PATCH 1/4] v4l: Extend FCP compatible list to support the FDP Kieran Bingham
2016-05-31 9:10 ` [PATCH 0/4] RCar r8a7795 FCPF support Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=574C1148.5070708@bingham.xyz \
--to=kieran@ksquared.org.uk \
--cc=devicetree@vger.kernel.org \
--cc=geert@linux-m68k.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).