diff options
author | Grzegorz Jaszczyk <jaz@semihalf.com> | 2019-07-31 14:21:18 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-08-27 11:37:09 +0530 |
commit | 652488760ea613af0c1207169aeafc9c91203c38 (patch) | |
tree | 4fcdaeb28f62757032a8430943792ac2bd0dec6b /drivers/ptp/ptp_ixp46x.c | |
parent | 1eb9157ab3ef64e845e10fe40d49638fb408119e (diff) | |
download | linux-652488760ea613af0c1207169aeafc9c91203c38.tar.bz2 |
phy: mvebu-cp110-comphy: Add PCIe support
Add PCIe support by filling the COMPHY modes table.
Also add a new macro to generate the right value for the firmware
depending on the width (PCI x1, x2, x4, etc). The width will be passed
by the core as the "submode" argument of the ->set_mode() callback. If
this argument is zero, default to x1 mode.
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
[miquel.raynal@bootlin.com: adapt the content to the mainline driver]
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/ptp/ptp_ixp46x.c')
0 files changed, 0 insertions, 0 deletions