phy: mvebu-cp110-comphy: Add SMC call support
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Wed, 31 Jul 2019 12:21:10 +0000 (14:21 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 27 Aug 2019 06:07:09 +0000 (11:37 +0530)
commiteb6a1fcb53e2036608b80269429719025f5f1370
treee3294e29432f71adc9e5b892733fd16def151e80
parentd4eda9d847ac3c32012bd28ac15ed68802c14b63
phy: mvebu-cp110-comphy: Add SMC call support

Keep the exact same list of supported configurations but first try to
use the firmware's implementation. If it fails, try the legacy method:
Linux implementation.

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>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Tested-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/marvell/Kconfig
drivers/phy/marvell/phy-mvebu-cp110-comphy.c