From: Preetham Chandru <pchandru@nvidia.com>
To: Mikko Perttunen <cyndis@kapsi.fi>,
"thierry.reding@gmail.com" <thierry.reding@gmail.com>,
"tj@kernel.org" <tj@kernel.org>
Cc: "preetham260@gmail.com" <preetham260@gmail.com>,
"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>,
"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
Venu Byravarasu <vbyravarasu@nvidia.com>,
Pavan Kunapuli <pkunapuli@nvidia.com>
Subject: RE: [PATCH V6 1/7] dt-bindings: tegra: add binding documentation
Date: Mon, 12 Feb 2018 17:06:46 +0000 [thread overview]
Message-ID: <26e3d1fb953d4b3abcf510b842d41cbb@bgmail102.nvidia.com> (raw)
In-Reply-To: <2c02c25d-e80b-5a4f-b024-602bac94db13@kapsi.fi>
>-----Original Message-----
>From: Mikko Perttunen [mailto:cyndis@kapsi.fi]
>Sent: Tuesday, January 23, 2018 9:02 PM
>To: Preetham Chandru <pchandru@nvidia.com>; thierry.reding@gmail.com;
>tj@kernel.org
>Cc: preetham260@gmail.com; linux-tegra@vger.kernel.org; linux-
>ide@vger.kernel.org; Venu Byravarasu <vbyravarasu@nvidia.com>; Pavan
>Kunapuli <pkunapuli@nvidia.com>
>Subject: Re: [PATCH V6 1/7] dt-bindings: tegra: add binding documentation
>
>Also the commit subject needs to specify it's about ahci-tegra.
>
Okay.
>On 01/23/2018 05:30 PM, Mikko Perttunen wrote:
>> On 01/09/2018 09:17 AM, Preetham Chandru Ramchandra wrote:
>>> From: Preetham Ramchandra <pchandru@nvidia.com>
>>>
>>> This adds bindings documentation for the AHCI controller on Tegra210
>>>
>>> Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
>>> ---
>>> v4:
>>> * changed the commit message
>>> * changed 'sata-cold' reset to mandatory for t210 and t124
>>> * Removed the regulators for T210 since these regulators
>>> will be enabled in phy driver.
>>> v3:
>>> * Add AUX register.
>>> v2:
>>> * change cml1, pll_e and phy regulators as optional
>>> for T210.
>>> ---
>>> .../bindings/ata/nvidia,tegra124-ahci.txt | 38
>>> ++++++++++++++--------
>>> 1 file changed, 25 insertions(+), 13 deletions(-)
>>>
>>> diff --git
>>> a/Documentation/devicetree/bindings/ata/nvidia,tegra124-ahci.txt
>>> b/Documentation/devicetree/bindings/ata/nvidia,tegra124-ahci.txt
>>> index 66c83c3e8915..df4dc2c78ee8 100644
>>> --- a/Documentation/devicetree/bindings/ata/nvidia,tegra124-ahci.txt
>>> +++ b/Documentation/devicetree/bindings/ata/nvidia,tegra124-ahci.txt
>>> @@ -1,20 +1,19 @@
>>> -Tegra124 SoC SATA AHCI controller
>>> +Tegra SoC SATA AHCI controller
>>> Required properties :
>>> -- compatible : For Tegra124, must contain "nvidia,tegra124-ahci".
>>> Otherwise,
>>> - must contain '"nvidia,<chip>-ahci", "nvidia,tegra124-ahci"', where
>>> <chip>
>>> - is tegra132.
>>> -- reg : Should contain 2 entries:
>>> +- compatible : Must be one of:
>>> + - Tegra124 : "nvidia,tegra124-ahci"
>>> + - Tegra210 : "nvidia,tegra210-ahci"
>>> +- reg : Should contain 3 entries:
>>> - AHCI register set (SATA BAR5)
>>> - SATA register set
>>> + - Tegra210 : AUX register set
>>> - interrupts : Defines the interrupt used by SATA
>>> - clocks : Must contain an entry for each entry in clock-names.
>>> See ../clocks/clock-bindings.txt for details.
>>> - clock-names : Must include the following entries:
>>> - sata
>>> - sata-oob
>>> - - cml1
>>> - - pll_e
>>> - resets : Must contain an entry for each entry in reset-names.
>>> See ../reset/reset.txt for details.
>>> - reset-names : Must include the following entries:
>>> @@ -24,9 +23,22 @@ Required properties :
>>> - phys : Must contain an entry for each entry in phy-names.
>>> See ../phy/phy-bindings.txt for details.
>>> - phy-names : Must include the following entries:
>>> - - sata-phy : XUSB PADCTL SATA PHY
>>> -- hvdd-supply : Defines the SATA HVDD regulator
>>> -- vddio-supply : Defines the SATA VDDIO regulator
>>> -- avdd-supply : Defines the SATA AVDD regulator
>>> -- target-5v-supply : Defines the SATA 5V power regulator
>>> -- target-12v-supply : Defines the SATA 12V power regulator
>>> + - For T124:
>>> + - sata-phy : XUSB PADCTL SATA PHY
>>> + - For T210:
>>> + - sata-0
>>> +- For T124:
>>> + - hvdd-supply : Defines the SATA HVDD regulator
>>> + - vddio-supply : Defines the SATA VDDIO regulator
>>> + - avdd-supply : Defines the SATA AVDD regulator
>>> + - target-5v-supply : Defines the SATA 5V power regulator
>>> + - target-12v-supply : Defines the SATA 12V power regulator
>>> +
>>> +Optional properties:
>>> +- clock-names :
>>> + - cml1 :
>>> + cml1 clock is required by phy so it is optional to define
>>> + here as phy driver will be enabling this clock.
>>> + - pll_e :
>>> + pll_e is the parent of cml1 clock so it is optional to define
>>> + here as phy driver will be enabling this clock.
>>>
>>
>> We should drop the pll_e here since CCF should handle that
>> automatically as CML1 is a child clock of it. I also had some
>> primarily cosmetic change suggestions to this in v5. I'd still like to
>> see those go in - it's of course possible to also apply these changes
>> while applying the patch.
>>
Okay
>> Mikko
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-tegra"
>> in the body of a message to majordomo@vger.kernel.org More majordomo
>> info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2018-02-12 17:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-09 7:17 [PATCH V6 0/7] Refactor and add AHCI support for tegra210 Preetham Chandru Ramchandra
[not found] ` <1515482234-24716-1-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2018-01-09 7:17 ` [PATCH V6 1/7] dt-bindings: tegra: add binding documentation Preetham Chandru Ramchandra
[not found] ` <1515482234-24716-2-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2018-01-23 15:30 ` Mikko Perttunen
2018-01-23 15:31 ` Mikko Perttunen
2018-02-12 17:06 ` Preetham Chandru [this message]
2018-01-09 7:17 ` [PATCH V6 2/7] arm64: tegra: Enable AHCI on Jetson TX1 Preetham Chandru Ramchandra
[not found] ` <1515482234-24716-3-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2018-01-23 15:34 ` Mikko Perttunen
2018-02-12 17:06 ` Preetham Chandru
2018-01-09 7:17 ` [PATCH V6 4/7] ata: ahci_tegra: initialize regulators from soc_data Preetham Chandru Ramchandra
[not found] ` <1515482234-24716-5-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2018-01-23 15:47 ` Mikko Perttunen
[not found] ` <4e062f5b-81dc-6dee-a2df-c865047a48b7-/1wQRMveznE@public.gmane.org>
2018-02-12 17:11 ` Preetham Chandru
2018-01-09 7:17 ` [PATCH V6 3/7] ata: ahci_tegra: Update initialization sequence Preetham Chandru Ramchandra
[not found] ` <1515482234-24716-4-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2018-01-23 15:44 ` Mikko Perttunen
2018-02-12 17:10 ` Preetham Chandru
2018-01-09 7:17 ` [PATCH V6 5/7] ata: ahci_tegra: disable devslp for t124 Preetham Chandru Ramchandra
[not found] ` <1515482234-24716-6-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2018-01-23 15:51 ` Mikko Perttunen
2018-01-09 7:17 ` [PATCH V6 6/7] ata: ahci_tegra: disable DIPM Preetham Chandru Ramchandra
[not found] ` <1515482234-24716-7-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2018-01-23 15:53 ` Mikko Perttunen
2018-02-12 17:12 ` Preetham Chandru
2018-01-09 7:17 ` [PATCH V6 7/7] ata: ahci_tegra: Add AHCI support for tegra210 Preetham Chandru Ramchandra
2018-01-23 15:56 ` Mikko Perttunen
2018-02-12 17:10 ` Preetham Chandru
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=26e3d1fb953d4b3abcf510b842d41cbb@bgmail102.nvidia.com \
--to=pchandru@nvidia.com \
--cc=cyndis@kapsi.fi \
--cc=linux-ide@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=pkunapuli@nvidia.com \
--cc=preetham260@gmail.com \
--cc=thierry.reding@gmail.com \
--cc=tj@kernel.org \
--cc=vbyravarasu@nvidia.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).