-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'spear/pcie-support-v10' of git://git.kernel.org/pub/scm…
…/linux/kernel/git/vireshk/linux into next/drivers Merge "ARM: SPEAr13xx PCIe updates for v3.17" from Viresh Kumar: This is another attempt to merge SPEAr PCIe updates after olof pointed out *enough* issues with initial PULL request: https://lkml.org/lkml/2014/7/9/641 Last version was sent here: http://patchwork.ozlabs.org/patch/368479/ and all the nits pointed out by Kishon & Bjorn are fixed in this pull request. Apart from ARM specific changes, this updates drivers/{pci|phy}. Bjorn advised to get complete series via arm-soc tree earlier: http://www.spinics.net/lists/linux-pci/msg30271.html * 'spear/pcie-support-v10' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux: ARM: SPEAr13xx: Update defconfigs ARM: SPEAr13xx: Add pcie and miphy DT nodes ARM: SPEAr13xx: Add bindings and dt node for misc block ARM: SPEAr13xx: Fix static mapping table phy: Add drivers for PCIe and SATA phy on SPEAr13xx PCI: spear: Add PCIe driver for ST Microelectronics SPEAr13xx Signed-off-by: Olof Johansson <olof@lixom.net>
- Loading branch information
Showing
21 changed files
with
1,211 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
SPEAr Misc configuration | ||
=========================== | ||
SPEAr SOCs have some miscellaneous registers which are used to configure | ||
few properties of different peripheral controllers. | ||
|
||
misc node required properties: | ||
|
||
- compatible Should be "st,spear1340-misc", "syscon". | ||
- reg: Address range of misc space upto 8K |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
SPEAr13XX PCIe DT detail: | ||
================================ | ||
|
||
SPEAr13XX uses synopsis designware PCIe controller and ST MiPHY as phy | ||
controller. | ||
|
||
Required properties: | ||
- compatible : should be "st,spear1340-pcie", "snps,dw-pcie". | ||
- phys : phandle to phy node associated with pcie controller | ||
- phy-names : must be "pcie-phy" | ||
- All other definitions as per generic PCI bindings | ||
|
||
Optional properties: | ||
- st,pcie-is-gen1 indicates that forced gen1 initialization is needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
ST SPEAr miphy DT details | ||
========================= | ||
|
||
ST Microelectronics SPEAr miphy is a phy controller supporting PCIe and SATA. | ||
|
||
Required properties: | ||
- compatible : should be "st,spear1310-miphy" or "st,spear1340-miphy" | ||
- reg : offset and length of the PHY register set. | ||
- misc: phandle for the syscon node to access misc registers | ||
- #phy-cells : from the generic PHY bindings, must be 1. | ||
- cell[1]: 0 if phy used for SATA, 1 for PCIe. | ||
|
||
Optional properties: | ||
- phy-id: Instance id of the phy. Only required when there are multiple phys | ||
present on a implementation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,10 @@ | |
status = "okay"; | ||
}; | ||
|
||
miphy@eb800000 { | ||
status = "okay"; | ||
}; | ||
|
||
cf@b2800000 { | ||
status = "okay"; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,6 +122,10 @@ | |
status = "okay"; | ||
}; | ||
|
||
miphy@eb800000 { | ||
status = "okay"; | ||
}; | ||
|
||
dma@ea800000 { | ||
status = "okay"; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.