mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
eee47538ec
The Armada 375 SoC comes with an USB2 host and device controller and an USB3 controller. The USB cluster control register allows to manage common features of both USB controllers. This commit adds a driver integrated in the generic PHY framework to control this USB cluster feature. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [ kishon@ti.com : Made it to use the updated devm_phy_create API and soem cosmentic changes in Kconfig file.] Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Jason Cooper <jason@lakedaemon.net>
20 lines
432 B
C
20 lines
432 B
C
/*
|
|
*
|
|
* This header provides constants for the phy framework
|
|
*
|
|
* Copyright (C) 2014 STMicroelectronics
|
|
* Author: Gabriel Fernandez <gabriel.fernandez@st.com>
|
|
* License terms: GNU General Public License (GPL), version 2
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_PHY
|
|
#define _DT_BINDINGS_PHY
|
|
|
|
#define PHY_NONE 0
|
|
#define PHY_TYPE_SATA 1
|
|
#define PHY_TYPE_PCIE 2
|
|
#define PHY_TYPE_USB2 3
|
|
#define PHY_TYPE_USB3 4
|
|
|
|
#endif /* _DT_BINDINGS_PHY */
|