Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1234739 > unrolled thread

[GIT PULL] phy: for 4.3 -rc

Started byKishon Vijay Abraham I <kishon@ti.com>
First post2015-09-29 08:40 +0200
Last post2015-10-03 13:50 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [GIT PULL] phy: for 4.3 -rc Kishon Vijay Abraham I <kishon@ti.com> - 2015-09-29 08:40 +0200
    [PATCH 3/3] phy: berlin-sata: Fix module autoload for OF platform driver Kishon Vijay Abraham I <kishon@ti.com> - 2015-09-29 08:40 +0200
    [PATCH 2/3] phy: rockchip-usb: power down phy when rockchip phy probe Kishon Vijay Abraham I <kishon@ti.com> - 2015-09-29 08:40 +0200
    Re: [GIT PULL] phy: for 4.3 -rc Greg KH <gregkh@linuxfoundation.org> - 2015-10-03 13:50 +0200

#1234739 — [GIT PULL] phy: for 4.3 -rc

FromKishon Vijay Abraham I <kishon@ti.com>
Date2015-09-29 08:40 +0200
Subject[GIT PULL] phy: for 4.3 -rc
Message-ID<qdWJY-6XG-3@gated-at.bofh.it>
Hi Greg,

Please find the pull request for 4.3 -rc cycle below. This includes
misc fixes in three of the PHY drivers. Please see the tag message for
the details.

Let me know if I have to change something.

Cheers
Kishon

The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git tags/phy-for-4.3-rc

for you to fetch changes up to f9fef6181a9590261c296be9e2a19b6aa3c13ba7:

  phy: berlin-sata: Fix module autoload for OF platform driver (2015-09-25 17:01:14 +0530)

----------------------------------------------------------------
phy: for 4.3-rc

*) Fix compiler error in qcom-ufs when it is built as module
*) Power down rockchip-usb PHY during probe to save power consumption
*) Fix module autoload for berlin-sata PHY driver

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

----------------------------------------------------------------
Luis de Bethencourt (1):
      phy: berlin-sata: Fix module autoload for OF platform driver

Yaniv Gardi (1):
      phy: qcom-ufs: fix build error when the component is built as a module

huang lin (1):
      phy: rockchip-usb: power down phy when rockchip phy probe

 drivers/phy/phy-berlin-sata.c  |    1 +
 drivers/phy/phy-qcom-ufs.c     |   11 +++++++++++
 drivers/phy/phy-rockchip-usb.c |    6 ++++++
 3 files changed, 18 insertions(+)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1234740 — [PATCH 3/3] phy: berlin-sata: Fix module autoload for OF platform driver

FromKishon Vijay Abraham I <kishon@ti.com>
Date2015-09-29 08:40 +0200
Subject[PATCH 3/3] phy: berlin-sata: Fix module autoload for OF platform driver
Message-ID<qdWJY-6XG-9@gated-at.bofh.it>
In reply to#1234739
From: Luis de Bethencourt <luis@debethencourt.com>

This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 drivers/phy/phy-berlin-sata.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/phy-berlin-sata.c b/drivers/phy/phy-berlin-sata.c
index 0062027..77a2e05 100644
--- a/drivers/phy/phy-berlin-sata.c
+++ b/drivers/phy/phy-berlin-sata.c
@@ -276,6 +276,7 @@ static const struct of_device_id phy_berlin_sata_of_match[] = {
 	{ .compatible = "marvell,berlin2q-sata-phy" },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, phy_berlin_sata_of_match);
 
 static struct platform_driver phy_berlin_sata_driver = {
 	.probe	= phy_berlin_sata_probe,
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1234742 — [PATCH 2/3] phy: rockchip-usb: power down phy when rockchip phy probe

FromKishon Vijay Abraham I <kishon@ti.com>
Date2015-09-29 08:40 +0200
Subject[PATCH 2/3] phy: rockchip-usb: power down phy when rockchip phy probe
Message-ID<qdWJY-6XG-13@gated-at.bofh.it>
In reply to#1234739
From: huang lin <hl@rock-chips.com>

rockchip phy are enable when soc reset, to save power consumption,
we disable it when probe, and enable each phy when it use

Signed-off-by: huang lin <hl@rock-chips.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 drivers/phy/phy-rockchip-usb.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/phy/phy-rockchip-usb.c b/drivers/phy/phy-rockchip-usb.c
index 5a5c073..91d6f34 100644
--- a/drivers/phy/phy-rockchip-usb.c
+++ b/drivers/phy/phy-rockchip-usb.c
@@ -98,6 +98,7 @@ static int rockchip_usb_phy_probe(struct platform_device *pdev)
 	struct device_node *child;
 	struct regmap *grf;
 	unsigned int reg_offset;
+	int err;
 
 	grf = syscon_regmap_lookup_by_phandle(dev->of_node, "rockchip,grf");
 	if (IS_ERR(grf)) {
@@ -129,6 +130,11 @@ static int rockchip_usb_phy_probe(struct platform_device *pdev)
 			return PTR_ERR(rk_phy->phy);
 		}
 		phy_set_drvdata(rk_phy->phy, rk_phy);
+
+		/* only power up usb phy when it use, so disable it when init*/
+		err = rockchip_usb_phy_power(rk_phy, 1);
+		if (err)
+			return err;
 	}
 
 	phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1238825

FromGreg KH <gregkh@linuxfoundation.org>
Date2015-10-03 13:50 +0200
Message-ID<qftu9-K6-11@gated-at.bofh.it>
In reply to#1234739
On Tue, Sep 29, 2015 at 12:05:21PM +0530, Kishon Vijay Abraham I wrote:
> Hi Greg,
> 
> Please find the pull request for 4.3 -rc cycle below. This includes
> misc fixes in three of the PHY drivers. Please see the tag message for
> the details.
> 
> Let me know if I have to change something.
> 
> Cheers
> Kishon
> 
> The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:
> 
>   Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git tags/phy-for-4.3-rc

Pulled into my tree now, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web