Skip to contentSkip to conversation

PHY: Fixes for 3.17 -rc cycle

GIT PULL New Kishon Vijay Abraham I 2 participants 7 messages Sep 12, 2014 – Sep 22, 2014 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

Hi Greg,

here's one more PULL REQUEST for this -rc cycle. It consists of only three fixes one in miphy365 PHY driver and the other two in Kconfig.

Please consider merging this in ths -rc cycle. Let me know if I have to change something.

Cheers
Kishon

The following changes since commit fbb1a770039d3900f5130bab949b757f6f7fb373:

phy: miphy365x: Select GENERIC_PHY instead of depending on it (2014-08-28 11:17:43 +0530)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git tags/for_3.17-rc

for you to fetch changes up to 7652d35f98b5049be370835182a98ba5689f8361:

phy: spear1340-miphy: fix driver dependencies (2014-09-12 11:35:31 +0530)

----------------------------------------------------------------
misc fixes in PHY drivers

----------------------------------------------------------------
Bartlomiej Zolnierkiewicz (2):
phy: spear1310-miphy: fix driver dependencies
phy: spear1340-miphy: fix driver dependencies

Lee Jones (1):
phy: miphy365x: Fix off-by-one error

 drivers/phy/Kconfig         |    2 ++
 drivers/phy/phy-miphy365x.c |    1 +
 2 files changed, 3 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/3 phy: miphy365x: Fix off-by-one error

From: Lee Jones <[email protected]>

We index the RX/TX speed select values in the following way:

  rx_tx_spd[miphy_phy->sata_gen];

However rx_tx_spd[] starts at index zero and the SATA_GENx's start at one. In this patch we pad out the first element in rx_tx_spd[] in an attempt to realign the values.

---
 drivers/phy/phy-miphy365x.c |    1 +
 1 file changed, 1 insertion(+)
drivers/phy/phy-miphy365x.c +1 -0
index e111baf..e0fb7a1 100644
@@ -163,6 +163,7 @@ enum miphy_sata_gen {
 };
 
 static u8 rx_tx_spd[] = {
+	0, /* GEN0 doesn't exist. */
 	TX_SPDSEL_GEN1_VAL | RX_SPDSEL_GEN1_VAL,
 	TX_SPDSEL_GEN2_VAL | RX_SPDSEL_GEN2_VAL,
 	TX_SPDSEL_GEN3_VAL | RX_SPDSEL_GEN3_VAL
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/3 phy: spear1310-miphy: fix driver dependencies

In reply to Kishon Vijay Abraham I

From: Bartlomiej Zolnierkiewicz <[email protected]>

ST SPEAR1310-MIPHY support should be available only on ST SPEAr1310 machine.

---
 drivers/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/phy/Kconfig +1 -0
index 4ff8cbb..0972c2b 100644
@@ -214,6 +214,7 @@ config PHY_QCOM_IPQ806X_SATA
 config PHY_ST_SPEAR1310_MIPHY
 	tristate "ST SPEAR1310-MIPHY driver"
 	select GENERIC_PHY
+	depends on MACH_SPEAR1310 || COMPILE_TEST
 	help
 	  Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
 
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 3/3 phy: spear1340-miphy: fix driver dependencies

In reply to Kishon Vijay Abraham I

From: Bartlomiej Zolnierkiewicz <[email protected]>

ST SPEAR1340-MIPHY support should be available only on ST SPEAr1340 machine.

---
 drivers/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/phy/Kconfig +1 -0
index 0972c2b..f833aa2 100644
@@ -221,6 +221,7 @@ config PHY_ST_SPEAR1310_MIPHY
 config PHY_ST_SPEAR1340_MIPHY
 	tristate "ST SPEAR1340-MIPHY driver"
 	select GENERIC_PHY
+	depends on MACH_SPEAR1340 || COMPILE_TEST
 	help
 	  Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
 
Signature · 1 line
1.7.9.5
#4 lore raw
In reply to Kishon Vijay Abraham I

Hi Greg,

Quoted 7 lines · Kishon Vijay Abraham I

Hi Greg,

here's one more PULL REQUEST for this -rc cycle. It consists of only three fixes one in miphy365 PHY driver and the other two in Kconfig.

Please consider merging this in ths -rc cycle. Let me know if I have to change something.

ping on this..

-Kishon

Quoted 31 lines

Cheers
Kishon

The following changes since commit fbb1a770039d3900f5130bab949b757f6f7fb373:

phy: miphy365x: Select GENERIC_PHY instead of depending on it (2014-08-28 11:17:43 +0530)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git tags/for_3.17-rc

for you to fetch changes up to 7652d35f98b5049be370835182a98ba5689f8361:

phy: spear1340-miphy: fix driver dependencies (2014-09-12 11:35:31 +0530)

----------------------------------------------------------------
misc fixes in PHY drivers

----------------------------------------------------------------
Bartlomiej Zolnierkiewicz (2):
phy: spear1310-miphy: fix driver dependencies
phy: spear1340-miphy: fix driver dependencies

Lee Jones (1):
phy: miphy365x: Fix off-by-one error

 drivers/phy/Kconfig         |    2 ++
 drivers/phy/phy-miphy365x.c |    1 +
 2 files changed, 3 insertions(+)
#5 lore raw
Quoted 5 lines · Kishon Vijay Abraham I

Hi Greg,

Quoted 2 lines · Kishon Vijay Abraham I

Hi Greg,

Quoted 7 lines
Quoted 5 lines

here's one more PULL REQUEST for this -rc cycle. It consists of only three fixes one in miphy365 PHY driver and the other two in Kconfig.

Please consider merging this in ths -rc cycle. Let me know if I have to change something.

ping on this..

Now pulled and pushed out, thanks.

greg k-h

#6 lore raw
Quoted 9 lines · Greg KH
Quoted 8 lines · Kishon Vijay Abraham I

Hi Greg,

Quoted 5 lines · Kishon Vijay Abraham I

Hi Greg,

here's one more PULL REQUEST for this -rc cycle. It consists of only three fixes one in miphy365 PHY driver and the other two in Kconfig.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Please consider merging this in ths -rc cycle. Let me know if I have to change something.

ping on this..

Now pulled and pushed out, thanks.

Thanks Greg.

-Kishon

Quoted 3 lines

greg k-h