phy: marvell: cp110: Support SATA invert polarity
authorDenis Odintsov <shiva@mail.ru>
Wed, 15 Sep 2021 13:45:31 +0000 (15:45 +0200)
committerStefan Roese <sr@denx.de>
Mon, 27 Sep 2021 05:46:13 +0000 (07:46 +0200)
commitccee8ea1dd90f0ccb31ed9662e064eaa814e6254
tree17e528f17c2b353f5aad0471853ec17f6872db9d
parent0ef476e68ef6391c2358894b5e6ba51083718883
phy: marvell: cp110: Support SATA invert polarity

In commit b24bb99d cp110 configuration initially done in u-boot
was removed and delegated to atf firmware as smc call.
That commit didn't account for later introduced in d13b740c SATA invert polarity support.

This patch adds support of passing SATA invert polarity flags to atf
firmware during the smc call.

Signed-off-by: Denis Odintsov <shiva@mail.ru>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Rabeeh Khoury <rabeeh@solid-run.com>
Cc: Stefan Roese <sr@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/phy/marvell/comphy_cp110.c