lkml.org 
[lkml]   [2018]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] PCI: qcom: add missing supplies required for msm8996
From
Date


On 23/01/18 09:23, Stanimir Varbanov wrote:
> Hey Srini,
>
> As there are no comments I'd propose to change the endpoint supplies to
> more generic names.
>
Sure, I will respin this with your suggestions, except the 3v3 and 1v5
suffix due to the reasons below:
>> +- vdda-1p8-supply:
>> + Usage: required for msm8996
>> + Value type: <phandle>
>> + Definition: A phandle to the 1.8v analog power supply
>> +
>
> This should be dropped, because it is part of the phy.
Yep.

>
>> - vdda_phy-supply:
>> Usage: required for ipq/apq8064
>> Value type: <phandle>
>> @@ -189,6 +194,15 @@
>> Value type: <phandle>
>> Definition: A phandle to the analog power supply for IC which generates
>> reference clock
>> +- vddpe-supply:
>> + Usage: optional
>> + Value type: <phandle>
>> + Definition: A phandle to the PCIe endpoint power supply
>
> vddpe_3v3-supply
Why do we need suffix here? AFAIU, It does not add any value, instead it
would confuse the users.

These are power supplies for endpoint which could be of any voltage. In
this case both endpoint supplies are 3v3, these could be 1.8 or 5v or
12v in some other cases.

>
>> +
>> +- vddpe1-supply:
>> + Usage: optional
>> + Value type: <phandle>
>> + Definition: A phandle to the PCIe endpoint power supply 1
>
> vddpe_1v5-supply
>
>>
>> - phys:
>> Usage: required for apq8084
>> @@ -205,6 +219,8 @@
>> Value type: <prop-encoded-array>
>> Definition: List of phandle and GPIO specifier pairs. Should contain
>> - "perst-gpios" PCIe endpoint reset signal line
>> + - "pe_en-gpios" PCIe endpoint enable signal line
>> + - "pe_en1-gpios" PCIe endpoint enable1 signal line
>
> We don't need those gpios, the regulator driver will manipulate these
> gpios when we call regulator_enable/disable.
yes, I will get rid of them.

>
>

\
 
 \ /
  Last update: 2018-01-23 10:47    [W:0.240 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site