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


Groups > linux.kernel > #1411790

Re: [PATCH 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

From Frank Wang <frank.wang@rock-chips.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY
Date 2016-06-02 05:00 +0200
Message-ID <rFr1w-bC-9@gated-at.bofh.it> (permalink)
References <rELEZ-7mw-3@gated-at.bofh.it> <rENQt-Jk-3@gated-at.bofh.it> <rF9xE-5Xn-17@gated-at.bofh.it> <rFmEx-63v-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Heiko,

On 06/02/2016 06:17 AM, Heiko Stübner wrote:
> Hi Frank,
>
> Am Mittwoch, 1. Juni 2016, 16:09:41 schrieb Frank Wang:
>>> You might want to add the bvalid and id interrupts for the otg phys as
>>> well
>>> already - would make handling legacy devicetree files easier. [= if they
>>> get specified later, the driver would always need to also handle
>>> devicetrees where they aren't specified].
>>
>> Hmmm! you mean that I can specify these properties into documentation,
>> even if the driver have not handled (implemented) them in current?
>
> The devicetree bindings are supposed to be a generic hardware-description.
> And a driver then simply implements that binding. So if the interrupt is part
> of the hardware it can be part of the binding, independent of the driver.
>
> I guess it really comes down to, will you need those interrupts later in the
> driver, then they should definitly be specified now, as later on you cannot
> require them anymore and always need to also support devicetrees not having
> them.
>

Got it, I have already added them in the new patches which I will hand 
out later.

BR.
Frank

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


Thread

Re: [PATCH 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY Heiko Stübner <heiko@sntech.de> - 2016-05-31 11:10 +0200
  Re: [PATCH 1/2] Documentation: bindings: add DT documentation for  Rockchip USB2PHY Frank Wang <frank.wang@rock-chips.com> - 2016-06-01 10:20 +0200
    Re: [PATCH 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY Heiko Stübner <heiko@sntech.de> - 2016-06-02 00:20 +0200
      Re: [PATCH 1/2] Documentation: bindings: add DT documentation for  Rockchip USB2PHY Frank Wang <frank.wang@rock-chips.com> - 2016-06-02 05:00 +0200

csiph-web