xref: /rk3399_rockchip-uboot/include/generic-phy.h (revision 0725058a7ddefa9a5d1771691bb8fd5a61ae8568)
172e5016fSJean-Jacques Hiblot /*
272e5016fSJean-Jacques Hiblot  * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
372e5016fSJean-Jacques Hiblot  * Written by Jean-Jacques Hiblot  <jjhiblot@ti.com>
472e5016fSJean-Jacques Hiblot  *
572e5016fSJean-Jacques Hiblot  * SPDX-License-Identifier:	GPL-2.0+
672e5016fSJean-Jacques Hiblot  */
772e5016fSJean-Jacques Hiblot 
872e5016fSJean-Jacques Hiblot #ifndef __GENERIC_PHY_H
972e5016fSJean-Jacques Hiblot #define __GENERIC_PHY_H
1072e5016fSJean-Jacques Hiblot 
11*0725058aSWyon Bi #include <generic-phy-mipi-dphy.h>
12*0725058aSWyon Bi 
134ef09685SWyon Bi enum phy_mode {
144ef09685SWyon Bi 	PHY_MODE_INVALID,
154ef09685SWyon Bi };
164ef09685SWyon Bi 
174ef09685SWyon Bi /**
184ef09685SWyon Bi  * union phy_configure_opts - Opaque generic phy configuration
19*0725058aSWyon Bi  *
20*0725058aSWyon Bi  * @mipi_dphy: Configuration set applicable for phys supporting
21*0725058aSWyon Bi  *	       the MIPI_DPHY phy mode.
224ef09685SWyon Bi  */
234ef09685SWyon Bi union phy_configure_opts {
24*0725058aSWyon Bi 	struct phy_configure_opts_mipi_dphy     mipi_dphy;
254ef09685SWyon Bi };
2672e5016fSJean-Jacques Hiblot 
2772e5016fSJean-Jacques Hiblot /**
2872e5016fSJean-Jacques Hiblot  * struct phy - A handle to (allowing control of) a single phy port.
2972e5016fSJean-Jacques Hiblot  *
3072e5016fSJean-Jacques Hiblot  * Clients provide storage for phy handles. The content of the structure is
3172e5016fSJean-Jacques Hiblot  * managed solely by the PHY API and PHY drivers. A phy struct is
3272e5016fSJean-Jacques Hiblot  * initialized by "get"ing the phy struct. The phy struct is passed to all
3372e5016fSJean-Jacques Hiblot  * other phy APIs to identify which PHY port to operate upon.
3472e5016fSJean-Jacques Hiblot  *
3572e5016fSJean-Jacques Hiblot  * @dev: The device which implements the PHY port.
3672e5016fSJean-Jacques Hiblot  * @id: The PHY ID within the provider.
3772e5016fSJean-Jacques Hiblot  *
3872e5016fSJean-Jacques Hiblot  */
3972e5016fSJean-Jacques Hiblot struct phy {
4072e5016fSJean-Jacques Hiblot 	struct udevice *dev;
4172e5016fSJean-Jacques Hiblot 	unsigned long id;
4272e5016fSJean-Jacques Hiblot };
4372e5016fSJean-Jacques Hiblot 
4472e5016fSJean-Jacques Hiblot /*
4572e5016fSJean-Jacques Hiblot  * struct udevice_ops - set of function pointers for phy operations
4672e5016fSJean-Jacques Hiblot  * @init: operation to be performed for initializing phy (optional)
4772e5016fSJean-Jacques Hiblot  * @exit: operation to be performed while exiting (optional)
4872e5016fSJean-Jacques Hiblot  * @reset: reset the phy (optional).
4972e5016fSJean-Jacques Hiblot  * @power_on: powering on the phy (optional)
5072e5016fSJean-Jacques Hiblot  * @power_off: powering off the phy (optional)
5172e5016fSJean-Jacques Hiblot  */
5272e5016fSJean-Jacques Hiblot struct phy_ops {
5372e5016fSJean-Jacques Hiblot 	/**
5472e5016fSJean-Jacques Hiblot 	 * of_xlate - Translate a client's device-tree (OF) phy specifier.
5572e5016fSJean-Jacques Hiblot 	 *
5672e5016fSJean-Jacques Hiblot 	 * The PHY core calls this function as the first step in implementing
5772e5016fSJean-Jacques Hiblot 	 * a client's generic_phy_get_by_*() call.
5872e5016fSJean-Jacques Hiblot 	 *
5972e5016fSJean-Jacques Hiblot 	 * If this function pointer is set to NULL, the PHY core will use a
6072e5016fSJean-Jacques Hiblot 	 * default implementation, which assumes #phy-cells = <0> or
6172e5016fSJean-Jacques Hiblot 	 * #phy-cells = <1>, and in the later case that the DT cell
6272e5016fSJean-Jacques Hiblot 	 * contains a simple integer PHY port ID.
6372e5016fSJean-Jacques Hiblot 	 *
6472e5016fSJean-Jacques Hiblot 	 * @phy:	The phy struct to hold the translation result.
6572e5016fSJean-Jacques Hiblot 	 * @args:	The phy specifier values from device tree.
6672e5016fSJean-Jacques Hiblot 	 * @return 0 if OK, or a negative error code.
6772e5016fSJean-Jacques Hiblot 	 */
6823558bb6SSimon Glass 	int	(*of_xlate)(struct phy *phy, struct ofnode_phandle_args *args);
6972e5016fSJean-Jacques Hiblot 
7072e5016fSJean-Jacques Hiblot 	/**
7172e5016fSJean-Jacques Hiblot 	 * init - initialize the hardware.
7272e5016fSJean-Jacques Hiblot 	 *
7372e5016fSJean-Jacques Hiblot 	 * Hardware intialization should not be done in during probe() but
7472e5016fSJean-Jacques Hiblot 	 * should be implemented in this init() function. It could be starting
7572e5016fSJean-Jacques Hiblot 	 * PLL, taking a controller out of reset, routing, etc. This function
7672e5016fSJean-Jacques Hiblot 	 * is typically called only once per PHY port.
7772e5016fSJean-Jacques Hiblot 	 * If power_on() is not implemented, it must power up the phy.
7872e5016fSJean-Jacques Hiblot 	 *
7972e5016fSJean-Jacques Hiblot 	 * @phy:	the PHY port to initialize
8072e5016fSJean-Jacques Hiblot 	 * @return 0 if OK, or a negative error code.
8172e5016fSJean-Jacques Hiblot 	 */
8272e5016fSJean-Jacques Hiblot 	int	(*init)(struct phy *phy);
8372e5016fSJean-Jacques Hiblot 
8472e5016fSJean-Jacques Hiblot 	/**
8572e5016fSJean-Jacques Hiblot 	* exit - de-initialize the PHY device
8672e5016fSJean-Jacques Hiblot 	*
8772e5016fSJean-Jacques Hiblot 	* Hardware de-intialization should be done here. Every step done in
8872e5016fSJean-Jacques Hiblot 	* init() should be undone here.
8972e5016fSJean-Jacques Hiblot 	* This could be used to suspend the phy to reduce power consumption or
9072e5016fSJean-Jacques Hiblot 	* to put the phy in a known condition before booting the OS (though it
9172e5016fSJean-Jacques Hiblot 	* is NOT called automatically before booting the OS)
9272e5016fSJean-Jacques Hiblot 	* If power_off() is not implemented, it must power down the phy.
9372e5016fSJean-Jacques Hiblot 	*
9472e5016fSJean-Jacques Hiblot 	* @phy:	PHY port to be de-initialized
9572e5016fSJean-Jacques Hiblot 	* @return 0 if OK, or a negative error code
9672e5016fSJean-Jacques Hiblot 	*/
9772e5016fSJean-Jacques Hiblot 	int	(*exit)(struct phy *phy);
9872e5016fSJean-Jacques Hiblot 
9972e5016fSJean-Jacques Hiblot 	/**
10072e5016fSJean-Jacques Hiblot 	* reset - resets a PHY device without shutting down
10172e5016fSJean-Jacques Hiblot 	*
10272e5016fSJean-Jacques Hiblot 	* @phy:	PHY port to be reset
10372e5016fSJean-Jacques Hiblot 	*
10472e5016fSJean-Jacques Hiblot 	* During runtime, the PHY may need to be reset in order to
10572e5016fSJean-Jacques Hiblot 	* re-establish connection etc without being shut down or exit.
10672e5016fSJean-Jacques Hiblot 	*
10772e5016fSJean-Jacques Hiblot 	* @return 0 if OK, or a negative error code
10872e5016fSJean-Jacques Hiblot 	*/
10972e5016fSJean-Jacques Hiblot 	int	(*reset)(struct phy *phy);
11072e5016fSJean-Jacques Hiblot 
11172e5016fSJean-Jacques Hiblot 	/**
1124ef09685SWyon Bi 	 * @configure:
1134ef09685SWyon Bi 	 *
1144ef09685SWyon Bi 	 * Optional.
1154ef09685SWyon Bi 	 *
1164ef09685SWyon Bi 	 * Used to change the PHY parameters. phy_init() must have
1174ef09685SWyon Bi 	 * been called on the phy.
1184ef09685SWyon Bi 	 *
1194ef09685SWyon Bi 	 * Returns: 0 if successful, an negative error code otherwise
1204ef09685SWyon Bi 	 */
1214ef09685SWyon Bi 	int	(*configure)(struct phy *phy, union phy_configure_opts *opts);
1224ef09685SWyon Bi 
1234ef09685SWyon Bi 	/**
1244ef09685SWyon Bi 	 * @validate:
1254ef09685SWyon Bi 	 *
1264ef09685SWyon Bi 	 * Optional.
1274ef09685SWyon Bi 	 *
1284ef09685SWyon Bi 	 * Used to check that the current set of parameters can be
1294ef09685SWyon Bi 	 * handled by the phy. Implementations are free to tune the
1304ef09685SWyon Bi 	 * parameters passed as arguments if needed by some
1314ef09685SWyon Bi 	 * implementation detail or constraints. It must not change
1324ef09685SWyon Bi 	 * any actual configuration of the PHY, so calling it as many
1334ef09685SWyon Bi 	 * times as deemed fit by the consumer must have no side
1344ef09685SWyon Bi 	 * effect.
1354ef09685SWyon Bi 	 *
1364ef09685SWyon Bi 	 * Returns: 0 if the configuration can be applied, an negative
1374ef09685SWyon Bi 	 * error code otherwise
1384ef09685SWyon Bi 	 */
1394ef09685SWyon Bi 	int	(*validate)(struct phy *phy, enum phy_mode mode, int submode,
1404ef09685SWyon Bi 			    union phy_configure_opts *opts);
1414ef09685SWyon Bi 
1424ef09685SWyon Bi 	/**
14372e5016fSJean-Jacques Hiblot 	* power_on - power on a PHY device
14472e5016fSJean-Jacques Hiblot 	*
14572e5016fSJean-Jacques Hiblot 	* @phy:	PHY port to be powered on
14672e5016fSJean-Jacques Hiblot 	*
14772e5016fSJean-Jacques Hiblot 	* During runtime, the PHY may need to be powered on or off several
14872e5016fSJean-Jacques Hiblot 	* times. This function is used to power on the PHY. It relies on the
14972e5016fSJean-Jacques Hiblot 	* setup done in init(). If init() is not implemented, it must take care
15072e5016fSJean-Jacques Hiblot 	* of setting up the context (PLLs, ...)
15172e5016fSJean-Jacques Hiblot 	*
15272e5016fSJean-Jacques Hiblot 	* @return 0 if OK, or a negative error code
15372e5016fSJean-Jacques Hiblot 	*/
15472e5016fSJean-Jacques Hiblot 	int	(*power_on)(struct phy *phy);
15572e5016fSJean-Jacques Hiblot 
15672e5016fSJean-Jacques Hiblot 	/**
15772e5016fSJean-Jacques Hiblot 	* power_off - power off a PHY device
15872e5016fSJean-Jacques Hiblot 	*
15972e5016fSJean-Jacques Hiblot 	* @phy:	PHY port to be powered off
16072e5016fSJean-Jacques Hiblot 	*
16172e5016fSJean-Jacques Hiblot 	* During runtime, the PHY may need to be powered on or off several
16272e5016fSJean-Jacques Hiblot 	* times. This function is used to power off the PHY. Except if
16372e5016fSJean-Jacques Hiblot 	* init()/deinit() are not implemented, it must not de-initialize
16472e5016fSJean-Jacques Hiblot 	* everything.
16572e5016fSJean-Jacques Hiblot 	*
16672e5016fSJean-Jacques Hiblot 	* @return 0 if OK, or a negative error code
16772e5016fSJean-Jacques Hiblot 	*/
16872e5016fSJean-Jacques Hiblot 	int	(*power_off)(struct phy *phy);
16972e5016fSJean-Jacques Hiblot };
17072e5016fSJean-Jacques Hiblot 
171d9fb7becSPatrice Chotard #ifdef CONFIG_PHY
17272e5016fSJean-Jacques Hiblot 
17372e5016fSJean-Jacques Hiblot /**
17472e5016fSJean-Jacques Hiblot  * generic_phy_init() - initialize the PHY port
17572e5016fSJean-Jacques Hiblot  *
17672e5016fSJean-Jacques Hiblot  * @phy:	the PHY port to initialize
17772e5016fSJean-Jacques Hiblot  * @return 0 if OK, or a negative error code
17872e5016fSJean-Jacques Hiblot  */
17972e5016fSJean-Jacques Hiblot int generic_phy_init(struct phy *phy);
18072e5016fSJean-Jacques Hiblot 
18172e5016fSJean-Jacques Hiblot /**
18272e5016fSJean-Jacques Hiblot  * generic_phy_init() - de-initialize the PHY device
18372e5016fSJean-Jacques Hiblot  *
18472e5016fSJean-Jacques Hiblot  * @phy:	PHY port to be de-initialized
18572e5016fSJean-Jacques Hiblot  * @return 0 if OK, or a negative error code
18672e5016fSJean-Jacques Hiblot  */
18772e5016fSJean-Jacques Hiblot int generic_phy_exit(struct phy *phy);
18872e5016fSJean-Jacques Hiblot 
18972e5016fSJean-Jacques Hiblot /**
19072e5016fSJean-Jacques Hiblot  * generic_phy_reset() - resets a PHY device without shutting down
19172e5016fSJean-Jacques Hiblot  *
19272e5016fSJean-Jacques Hiblot  * @phy:	PHY port to be reset
19372e5016fSJean-Jacques Hiblot  *@return 0 if OK, or a negative error code
19472e5016fSJean-Jacques Hiblot  */
19572e5016fSJean-Jacques Hiblot int generic_phy_reset(struct phy *phy);
19672e5016fSJean-Jacques Hiblot 
19772e5016fSJean-Jacques Hiblot /**
1984ef09685SWyon Bi  * generic_phy_configure() - change the PHY parameters
1994ef09685SWyon Bi  *
2004ef09685SWyon Bi  * @phy:        PHY port to be configure
2014ef09685SWyon Bi  * @return 0 if OK, or a negative error code
2024ef09685SWyon Bi  */
2034ef09685SWyon Bi int generic_phy_configure(struct phy *phy, union phy_configure_opts *opts);
2044ef09685SWyon Bi 
2054ef09685SWyon Bi /**
2064ef09685SWyon Bi  * generic_phy_validate() - validate the PHY parameters
2074ef09685SWyon Bi  *
2084ef09685SWyon Bi  * @phy:        PHY port to be validate
2094ef09685SWyon Bi  * @return 0 if OK, or a negative error code
2104ef09685SWyon Bi  */
2114ef09685SWyon Bi int generic_phy_validate(struct phy *phy, enum phy_mode mode, int submode,
2124ef09685SWyon Bi 			 union phy_configure_opts *opts);
2134ef09685SWyon Bi 
2144ef09685SWyon Bi /**
21572e5016fSJean-Jacques Hiblot  * generic_phy_power_on() - power on a PHY device
21672e5016fSJean-Jacques Hiblot  *
21772e5016fSJean-Jacques Hiblot  * @phy:	PHY port to be powered on
21872e5016fSJean-Jacques Hiblot  * @return 0 if OK, or a negative error code
21972e5016fSJean-Jacques Hiblot  */
22072e5016fSJean-Jacques Hiblot int generic_phy_power_on(struct phy *phy);
22172e5016fSJean-Jacques Hiblot 
22272e5016fSJean-Jacques Hiblot /**
22372e5016fSJean-Jacques Hiblot  * generic_phy_power_off() - power off a PHY device
22472e5016fSJean-Jacques Hiblot  *
22572e5016fSJean-Jacques Hiblot  * @phy:	PHY port to be powered off
22672e5016fSJean-Jacques Hiblot  * @return 0 if OK, or a negative error code
22772e5016fSJean-Jacques Hiblot  */
22872e5016fSJean-Jacques Hiblot int generic_phy_power_off(struct phy *phy);
22972e5016fSJean-Jacques Hiblot 
23072e5016fSJean-Jacques Hiblot 
23172e5016fSJean-Jacques Hiblot /**
23272e5016fSJean-Jacques Hiblot  * generic_phy_get_by_index() - Get a PHY device by integer index.
23372e5016fSJean-Jacques Hiblot  *
23472e5016fSJean-Jacques Hiblot  * @user:	the client device
23572e5016fSJean-Jacques Hiblot  * @index:	The index in the list of available PHYs
23672e5016fSJean-Jacques Hiblot  * @phy:	A pointer to the PHY port
23772e5016fSJean-Jacques Hiblot  *
23872e5016fSJean-Jacques Hiblot  * This looks up a PHY device for a client device based on its position in the
23972e5016fSJean-Jacques Hiblot  * list of the possible PHYs.
24072e5016fSJean-Jacques Hiblot  *
24172e5016fSJean-Jacques Hiblot  * example:
24272e5016fSJean-Jacques Hiblot  * usb1: usb_otg_ss@xxx {
24372e5016fSJean-Jacques Hiblot  *       compatible = "xxx";
24472e5016fSJean-Jacques Hiblot  *       reg = <xxx>;
24572e5016fSJean-Jacques Hiblot  *   .
24672e5016fSJean-Jacques Hiblot  *   .
24772e5016fSJean-Jacques Hiblot  *   phys = <&usb2_phy>, <&usb3_phy>;
24872e5016fSJean-Jacques Hiblot  *   .
24972e5016fSJean-Jacques Hiblot  *   .
25072e5016fSJean-Jacques Hiblot  * };
25172e5016fSJean-Jacques Hiblot  * the USB2 phy can be accessed by passing index '0' and the USB3 phy can
25272e5016fSJean-Jacques Hiblot  * be accessed by passing index '1'
25372e5016fSJean-Jacques Hiblot  *
25472e5016fSJean-Jacques Hiblot  * @return 0 if OK, or a negative error code
25572e5016fSJean-Jacques Hiblot  */
25672e5016fSJean-Jacques Hiblot int generic_phy_get_by_index(struct udevice *user, int index,
25772e5016fSJean-Jacques Hiblot 			     struct phy *phy);
25872e5016fSJean-Jacques Hiblot 
25972e5016fSJean-Jacques Hiblot /**
26072e5016fSJean-Jacques Hiblot  * generic_phy_get_by_name() - Get a PHY device by its name.
26172e5016fSJean-Jacques Hiblot  *
26272e5016fSJean-Jacques Hiblot  * @user:	the client device
26372e5016fSJean-Jacques Hiblot  * @phy_name:	The name of the PHY in the list of possible PHYs
26472e5016fSJean-Jacques Hiblot  * @phy:	A pointer to the PHY port
26572e5016fSJean-Jacques Hiblot  *
26672e5016fSJean-Jacques Hiblot  * This looks up a PHY device for a client device in the
26772e5016fSJean-Jacques Hiblot  * list of the possible PHYs based on its name.
26872e5016fSJean-Jacques Hiblot  *
26972e5016fSJean-Jacques Hiblot  * example:
27072e5016fSJean-Jacques Hiblot  * usb1: usb_otg_ss@xxx {
27172e5016fSJean-Jacques Hiblot  *       compatible = "xxx";
27272e5016fSJean-Jacques Hiblot  *       reg = <xxx>;
27372e5016fSJean-Jacques Hiblot  *   .
27472e5016fSJean-Jacques Hiblot  *   .
27572e5016fSJean-Jacques Hiblot  *   phys = <&usb2_phy>, <&usb3_phy>;
27672e5016fSJean-Jacques Hiblot  *   phy-names = "usb2phy", "usb3phy";
27772e5016fSJean-Jacques Hiblot  *   .
27872e5016fSJean-Jacques Hiblot  *   .
27972e5016fSJean-Jacques Hiblot  * };
28072e5016fSJean-Jacques Hiblot  * the USB3 phy can be accessed using "usb3phy", and USB2 by using "usb2phy"
28172e5016fSJean-Jacques Hiblot  *
28272e5016fSJean-Jacques Hiblot  * @return 0 if OK, or a negative error code
28372e5016fSJean-Jacques Hiblot  */
28472e5016fSJean-Jacques Hiblot int generic_phy_get_by_name(struct udevice *user, const char *phy_name,
28572e5016fSJean-Jacques Hiblot 			    struct phy *phy);
28672e5016fSJean-Jacques Hiblot 
287d9fb7becSPatrice Chotard #else /* CONFIG_PHY */
288d9fb7becSPatrice Chotard 
289d9fb7becSPatrice Chotard static inline int generic_phy_init(struct phy *phy)
290d9fb7becSPatrice Chotard {
291d9fb7becSPatrice Chotard 	return 0;
292d9fb7becSPatrice Chotard }
293d9fb7becSPatrice Chotard 
294d9fb7becSPatrice Chotard static inline int generic_phy_exit(struct phy *phy)
295d9fb7becSPatrice Chotard {
296d9fb7becSPatrice Chotard 	return 0;
297d9fb7becSPatrice Chotard }
298d9fb7becSPatrice Chotard 
299d9fb7becSPatrice Chotard static inline int generic_phy_reset(struct phy *phy)
300d9fb7becSPatrice Chotard {
301d9fb7becSPatrice Chotard 	return 0;
302d9fb7becSPatrice Chotard }
303d9fb7becSPatrice Chotard 
3044ef09685SWyon Bi static inline int generic_phy_configure(struct phy *phy,
3054ef09685SWyon Bi 					union phy_configure_opts *opts)
3064ef09685SWyon Bi {
3074ef09685SWyon Bi 	return 0;
3084ef09685SWyon Bi }
3094ef09685SWyon Bi 
3104ef09685SWyon Bi static inline int generic_phy_validate(struct phy *phy, enum phy_mode mode,
3114ef09685SWyon Bi 				       int submode,
3124ef09685SWyon Bi 				       union phy_configure_opts *opts)
3134ef09685SWyon Bi {
3144ef09685SWyon Bi 	return 0;
3154ef09685SWyon Bi }
3164ef09685SWyon Bi 
317d9fb7becSPatrice Chotard static inline int generic_phy_power_on(struct phy *phy)
318d9fb7becSPatrice Chotard {
319d9fb7becSPatrice Chotard 	return 0;
320d9fb7becSPatrice Chotard }
321d9fb7becSPatrice Chotard 
322d9fb7becSPatrice Chotard static inline int generic_phy_power_off(struct phy *phy)
323d9fb7becSPatrice Chotard {
324d9fb7becSPatrice Chotard 	return 0;
325d9fb7becSPatrice Chotard }
326d9fb7becSPatrice Chotard 
327d9fb7becSPatrice Chotard static inline int generic_phy_get_by_index(struct udevice *user, int index,
328d9fb7becSPatrice Chotard 			     struct phy *phy)
329d9fb7becSPatrice Chotard {
330d9fb7becSPatrice Chotard 	return 0;
331d9fb7becSPatrice Chotard }
332d9fb7becSPatrice Chotard 
333d9fb7becSPatrice Chotard static inline int generic_phy_get_by_name(struct udevice *user, const char *phy_name,
334d9fb7becSPatrice Chotard 			    struct phy *phy)
335d9fb7becSPatrice Chotard {
336d9fb7becSPatrice Chotard 	return 0;
337d9fb7becSPatrice Chotard }
338d9fb7becSPatrice Chotard 
339d9fb7becSPatrice Chotard #endif /* CONFIG_PHY */
340d9fb7becSPatrice Chotard 
341b94888b4SPatrice Chotard /**
342b94888b4SPatrice Chotard  * generic_phy_valid() - check if PHY port is valid
343b94888b4SPatrice Chotard  *
344b94888b4SPatrice Chotard  * @phy:	the PHY port to check
345b94888b4SPatrice Chotard  * @return TRUE if valid, or FALSE
346b94888b4SPatrice Chotard  */
347b94888b4SPatrice Chotard static inline bool generic_phy_valid(struct phy *phy)
348b94888b4SPatrice Chotard {
3491bac1f39SJean-Jacques Hiblot 	return phy && phy->dev;
350b94888b4SPatrice Chotard }
351b94888b4SPatrice Chotard 
35272e5016fSJean-Jacques Hiblot #endif /*__GENERIC_PHY_H */
353