mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 09:31:26 +00:00
phy: cadence-torrent: Add platform dependent initialization structure
Add platform dependent initialization data for Torrent PHY used in TI's J721E SoC. Signed-off-by: Swapnil Jakhade <sjakhade@cadence.com> Signed-off-by: Yuti Amonkar <yamonkar@cadence.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
This commit is contained in:
parent
cba472ecdb
commit
597bf3f1a6
@ -1770,11 +1770,20 @@ static const struct cdns_torrent_data cdns_map_torrent = {
|
|||||||
.reg_offset_shift = 0x2,
|
.reg_offset_shift = 0x2,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct cdns_torrent_data ti_j721e_map_torrent = {
|
||||||
|
.block_offset_shift = 0x0,
|
||||||
|
.reg_offset_shift = 0x1,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct of_device_id cdns_torrent_phy_of_match[] = {
|
static const struct of_device_id cdns_torrent_phy_of_match[] = {
|
||||||
{
|
{
|
||||||
.compatible = "cdns,torrent-phy",
|
.compatible = "cdns,torrent-phy",
|
||||||
.data = &cdns_map_torrent,
|
.data = &cdns_map_torrent,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.compatible = "ti,j721e-serdes-10g",
|
||||||
|
.data = &ti_j721e_map_torrent,
|
||||||
|
},
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, cdns_torrent_phy_of_match);
|
MODULE_DEVICE_TABLE(of, cdns_torrent_phy_of_match);
|
||||||
|
Loading…
Reference in New Issue
Block a user