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


Groups > linux.kernel > #1564271

RE: [PATCH v7 3/5] phy: Add set_vbus callback

From Peter Chen <peter.chen@nxp.com>
Newsgroups linux.kernel
Subject RE: [PATCH v7 3/5] phy: Add set_vbus callback
Date 2017-01-22 02:40 +0100
Message-ID <t2fip-2He-1@gated-at.bofh.it> (permalink)
References <t1MzL-2qZ-3@gated-at.bofh.it> <t1MzL-2qZ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


 
>  * @set_mode: set the mode of the phy
>+ * @set_vbus: enable/disable vbus in the phy (USB)
>  * @reset: resetting the phy
>  * @owner: the module owner containing the ops
>  */
>@@ -45,6 +46,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	(*set_vbus)(struct phy *phy, int on);

How about using the name notify_vbus? The main purpose of this API is notify
PHY vbus status.

Peter

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


Thread

[PATCH v7 0/5] Support qcom's HSIC USB and rewrite USB2 HS support Stephen Boyd <stephen.boyd@linaro.org> - 2017-01-20 20:00 +0100
  [PATCH v7 1/5] phy: Add support for Qualcomm's USB HSIC phy Stephen Boyd <stephen.boyd@linaro.org> - 2017-01-20 20:00 +0100
  [PATCH v7 3/5] phy: Add set_vbus callback Stephen Boyd <stephen.boyd@linaro.org> - 2017-01-20 20:00 +0100
    RE: [PATCH v7 3/5] phy: Add set_vbus callback Peter Chen <peter.chen@nxp.com> - 2017-01-22 02:40 +0100
    Re: [PATCH v7 3/5] phy: Add set_vbus callback Kishon Vijay Abraham I <kishon@ti.com> - 2017-01-22 09:50 +0100
      Re: [PATCH v7 3/5] phy: Add set_vbus callback Stephen Boyd <stephen.boyd@linaro.org> - 2017-01-23 21:00 +0100
        Re: [PATCH v7 3/5] phy: Add set_vbus callback Kishon Vijay Abraham I <kishon@ti.com> - 2017-01-24 10:30 +0100
  [PATCH v7 2/5] usb: chipidea: msm: Configure phy for appropriate mode Stephen Boyd <stephen.boyd@linaro.org> - 2017-01-20 20:00 +0100
    Re: [PATCH v7 2/5] usb: chipidea: msm: Configure phy for appropriate  mode Peter Chen <hzpeterchen@gmail.com> - 2017-01-22 03:20 +0100
  [PATCH v7 5/5] phy: Add support for Qualcomm's USB HS phy Stephen Boyd <stephen.boyd@linaro.org> - 2017-01-20 20:00 +0100

csiph-web