Re: [PATCH] PCI: qcom: add missing supplies required for msm8996

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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.






[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux