public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle
@ 2014-09-12 14:06 Kishon Vijay Abraham I
  2014-09-12 14:06 ` [PATCH 1/3] phy: miphy365x: Fix off-by-one error Kishon Vijay Abraham I
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2014-09-12 14:06 UTC (permalink / raw)
  To: gregkh; +Cc: kishon, linux-kernel

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(+)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] phy: miphy365x: Fix off-by-one error
  2014-09-12 14:06 [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
@ 2014-09-12 14:06 ` Kishon Vijay Abraham I
  2014-09-12 14:06 ` [PATCH 2/3] phy: spear1310-miphy: fix driver dependencies Kishon Vijay Abraham I
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2014-09-12 14:06 UTC (permalink / raw)
  To: gregkh; +Cc: kishon, linux-kernel

From: Lee Jones <lee.jones@linaro.org>

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.

Cc: Alexandre Torgue <alexandre.torgue@st.com>
Reported-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 drivers/phy/phy-miphy365x.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/phy-miphy365x.c b/drivers/phy/phy-miphy365x.c
index e111baf..e0fb7a1 100644
--- a/drivers/phy/phy-miphy365x.c
+++ b/drivers/phy/phy-miphy365x.c
@@ -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
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] phy: spear1310-miphy: fix driver dependencies
  2014-09-12 14:06 [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
  2014-09-12 14:06 ` [PATCH 1/3] phy: miphy365x: Fix off-by-one error Kishon Vijay Abraham I
@ 2014-09-12 14:06 ` Kishon Vijay Abraham I
  2014-09-12 14:06 ` [PATCH 3/3] phy: spear1340-miphy: " Kishon Vijay Abraham I
  2014-09-17 15:49 ` [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
  3 siblings, 0 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2014-09-12 14:06 UTC (permalink / raw)
  To: gregkh; +Cc: kishon, linux-kernel

From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

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

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Pratyush Anand <pratyush.anand@st.com>
Cc: Mohit Kumar <mohit.kumar@st.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 drivers/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 4ff8cbb..0972c2b 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -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.
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] phy: spear1340-miphy: fix driver dependencies
  2014-09-12 14:06 [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
  2014-09-12 14:06 ` [PATCH 1/3] phy: miphy365x: Fix off-by-one error Kishon Vijay Abraham I
  2014-09-12 14:06 ` [PATCH 2/3] phy: spear1310-miphy: fix driver dependencies Kishon Vijay Abraham I
@ 2014-09-12 14:06 ` Kishon Vijay Abraham I
  2014-09-17 15:49 ` [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
  3 siblings, 0 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2014-09-12 14:06 UTC (permalink / raw)
  To: gregkh; +Cc: kishon, linux-kernel

From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

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

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Pratyush Anand <pratyush.anand@st.com>
Cc: Mohit Kumar <mohit.kumar@st.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 drivers/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 0972c2b..f833aa2 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -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.
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle
  2014-09-12 14:06 [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
                   ` (2 preceding siblings ...)
  2014-09-12 14:06 ` [PATCH 3/3] phy: spear1340-miphy: " Kishon Vijay Abraham I
@ 2014-09-17 15:49 ` Kishon Vijay Abraham I
  2014-09-19 21:58   ` Greg KH
  3 siblings, 1 reply; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2014-09-17 15:49 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel

Hi Greg,

On Friday 12 September 2014 07:36 PM, Kishon Vijay Abraham I wrote:
> 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
> 
> 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(+)
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle
  2014-09-17 15:49 ` [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
@ 2014-09-19 21:58   ` Greg KH
  2014-09-22 11:33     ` Kishon Vijay Abraham I
  0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2014-09-19 21:58 UTC (permalink / raw)
  To: Kishon Vijay Abraham I; +Cc: linux-kernel

On Wed, Sep 17, 2014 at 09:19:47PM +0530, Kishon Vijay Abraham I wrote:
> Hi Greg,
> 
> On Friday 12 September 2014 07:36 PM, Kishon Vijay Abraham I wrote:
> > 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..

Now pulled and pushed out, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle
  2014-09-19 21:58   ` Greg KH
@ 2014-09-22 11:33     ` Kishon Vijay Abraham I
  0 siblings, 0 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2014-09-22 11:33 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel



On Saturday 20 September 2014 03:28 AM, Greg KH wrote:
> On Wed, Sep 17, 2014 at 09:19:47PM +0530, Kishon Vijay Abraham I wrote:
>> Hi Greg,
>>
>> On Friday 12 September 2014 07:36 PM, Kishon Vijay Abraham I wrote:
>>> 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..
> 
> Now pulled and pushed out, thanks.

Thanks Greg.

-Kishon
> 
> greg k-h
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-22 11:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-12 14:06 [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
2014-09-12 14:06 ` [PATCH 1/3] phy: miphy365x: Fix off-by-one error Kishon Vijay Abraham I
2014-09-12 14:06 ` [PATCH 2/3] phy: spear1310-miphy: fix driver dependencies Kishon Vijay Abraham I
2014-09-12 14:06 ` [PATCH 3/3] phy: spear1340-miphy: " Kishon Vijay Abraham I
2014-09-17 15:49 ` [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle Kishon Vijay Abraham I
2014-09-19 21:58   ` Greg KH
2014-09-22 11:33     ` Kishon Vijay Abraham I

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox