devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Suman Anna <s-anna@ti.com>
To: Vignesh R <vigneshr@ti.com>, Keerthy <j-keerthy@ti.com>,
	Franklin S Cooper Jr <fcooper@ti.com>,
	ssantosh@kernel.org, robh+dt@kernel.org
Cc: devicetree@vger.kernel.org, linus.walleij@linaro.org,
	nsekhar@ti.com, t-kristo@ti.com, linux-gpio@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 1/2] gpio: davinci: Add keystone-k2g compatible
Date: Tue, 1 Aug 2017 09:30:33 -0500	[thread overview]
Message-ID: <20799238-a72b-c6e7-5898-3de23f91a9ed@ti.com> (raw)
In-Reply-To: <65ab0098-ef1b-3bec-1d2a-768e478fa413@ti.com>

On 08/01/2017 01:12 AM, Vignesh R wrote:
> 
> 
> On Monday 31 July 2017 07:14 PM, Keerthy wrote:
>>
>>
>> On Wednesday 26 July 2017 07:50 PM, Suman Anna wrote:
>>> On 07/26/2017 08:36 AM, Keerthy wrote:
>>>>
>>>> On Wednesday 26 July 2017 06:57 PM, Franklin S Cooper Jr wrote:
>>>>>
>>>>>
>>>>> On 07/26/2017 08:00 AM, Suman Anna wrote:
>>>>>> Hi Keerthy,
>>>>>>
>>>>>> On 07/26/2017 01:45 AM, Keerthy wrote:
>>>>>>> The patch adds keystone-k2g compatible, specific properties and
>>>>>>> an example.
>>>>>
> [...]
>>>>>>
>>>>>
>>>>> What about power-domain property?
>>>
>>> The correct name is "power-domains".
>>>
>>>> Driver has no pm_runtime implemented yet.
>>>
>>> True, not yet, but this is in general a required property on K2G SoCs to
>>> automatically enable clocks through runtime_pm. Clock properties on K2G
>>> nodes should only be truly required if a driver is using clk API
>>> (ideally to control optional clocks or for adjusting clock frequencies).
>>> When the gpio-davinci driver gets updated to use pm_runtime, the clock
>>> properties will be rendered obsolete for K2G.
>>>
>>> Rob,
>>> Any suggestions on how we need to handle this? Should we be adding the
>>> property now or later when we adapt the driver for runtime_pm? This
>>> would be a common theme for K2G nodes that are reusing Davinci drivers.
>>>
>>> My take on this would be to add the property now, and mark the clock
>>> properties obsolete when the driver gets converted.
>>
> 
> I don't think SoC wide properties are put into device specific binding
> documentation, for example pinctrl bindings are not put into device
> documentation.

I wouldn't compare this to pinctrl bindings exactly but more similar to
clocks or the ti,hwmods on OMAP/AM platforms. I see lot of other
bindings documenting the power-domains property just as well.

regards
Suman

> 
>> Rob,
>>
>> Any comments on this?
>>
> 
> [...]
> 


  reply	other threads:[~2017-08-01 14:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-26  6:45 [PATCH v3 1/2] gpio: davinci: Add keystone-k2g compatible Keerthy
     [not found] ` <1501051524-5990-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2017-07-26  6:45   ` [PATCH v3 2/2] ARM: dts: keystone-k2g-evm: Add gpio nodes Keerthy
2017-07-26 13:03     ` Suman Anna
2017-07-26 13:29       ` Keerthy
     [not found]         ` <ecb45045-057a-98c1-9c22-bc6c0df6f5bd-l0cyMroinI0@public.gmane.org>
2017-07-26 13:33           ` Russell King - ARM Linux
2017-07-26 13:43             ` Keerthy
2017-07-26 13:00   ` [PATCH v3 1/2] gpio: davinci: Add keystone-k2g compatible Suman Anna
     [not found]     ` <5aa0d273-8e05-a5ff-7931-b9a94acade36-l0cyMroinI0@public.gmane.org>
2017-07-26 13:27       ` Franklin S Cooper Jr
2017-07-26 13:35         ` Suman Anna
2017-07-26 13:36         ` Keerthy
2017-07-26 14:20           ` Suman Anna
     [not found]             ` <da92fe60-d70b-6a37-6b88-2ac95dd67b6a-l0cyMroinI0@public.gmane.org>
2017-07-26 18:37               ` Franklin S Cooper Jr
2017-07-31 13:44             ` Keerthy
     [not found]               ` <90337754-8670-6df7-5421-7100e31755b1-l0cyMroinI0@public.gmane.org>
2017-08-01  6:12                 ` Vignesh R
2017-08-01 14:30                   ` Suman Anna [this message]
2017-08-01 15:49                     ` Franklin S Cooper Jr
2017-07-26 13:33       ` Keerthy
2017-08-02  9:29 ` Linus Walleij
2017-08-03 16:17 ` Rob Herring
2017-08-04  4:16   ` Keerthy

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=20799238-a72b-c6e7-5898-3de23f91a9ed@ti.com \
    --to=s-anna@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fcooper@ti.com \
    --cc=j-keerthy@ti.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=nsekhar@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=ssantosh@kernel.org \
    --cc=t-kristo@ti.com \
    --cc=vigneshr@ti.com \
    /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).