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


Groups > linux.kernel > #1475795

[PATCH v7 1/4] phy: Add reset callback

From Randy Li <ayaka@soulik.info>
Newsgroups linux.kernel
Subject [PATCH v7 1/4] phy: Add reset callback
Date 2016-09-04 00:00 +0200
Message-ID <sdr8J-2bm-7@gated-at.bofh.it> (permalink)
References <sdr8J-2bm-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The only use for this is for solving a hardware design problem in
usb of Rockchip RK3288.

Signed-off-by: Randy Li <ayaka@soulik.info>
---
 include/linux/phy/phy.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index f08b672..4d34607 100644
--- a/include/linux/phy/phy.h
+++ b/include/linux/phy/phy.h
@@ -36,6 +36,7 @@ enum phy_mode {
  * @power_on: powering on the phy
  * @power_off: powering off the phy
  * @set_mode: set the mode of the phy
+ * @reset: reseting the phy
  * @owner: the module owner containing the ops
  */
 struct phy_ops {
@@ -44,6 +45,7 @@ struct phy_ops {
 	int	(*power_on)(struct phy *phy);
 	int	(*power_off)(struct phy *phy);
 	int	(*set_mode)(struct phy *phy, enum phy_mode mode);
+	int	(*reset)(struct phy *phy);
 	struct module *owner;
 };
 
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v7 0/4] the fix for the USB HOST1 at rk3288 platform Randy Li <ayaka@soulik.info> - 2016-09-04 00:00 +0200
  [PATCH v7 2/4] phy: rockchip-usb: use rockchip_usb_phy_reset to reset phy during wakeup Randy Li <ayaka@soulik.info> - 2016-09-04 00:00 +0200
  [PATCH v7 1/4] phy: Add reset callback Randy Li <ayaka@soulik.info> - 2016-09-04 00:00 +0200
  [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in rk3288 platform Randy Li <ayaka@soulik.info> - 2016-09-04 00:00 +0200
    Re: [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in  rk3288 platform Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-09-04 00:40 +0200
    RE: [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in  rk3288 platform David Laight <David.Laight@ACULAB.COM> - 2016-09-05 15:50 +0200
      Re: [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in rk3288 platform Ayaka <ayaka@soulik.info> - 2016-09-06 01:40 +0200
    Re: [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in  rk3288 platform Kishon Vijay Abraham I <kishon@ti.com> - 2016-09-06 07:20 +0200
      Re: [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in  rk3288 platform John Youn <John.Youn@synopsys.com> - 2016-09-06 21:00 +0200
        Re: [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in rk3288 platform Ayaka <ayaka@soulik.info> - 2016-09-07 03:30 +0200
          Re: [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in  rk3288 platform John Youn <John.Youn@synopsys.com> - 2016-09-07 04:10 +0200

csiph-web