phy: marvell: cp110: Support SATA invert polarity
authorDenis Odintsov <shiva@mail.ru>
Wed, 15 Sep 2021 13:45:31 +0000 (15:45 +0200)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:50:55 +0000 (18:50 +0300)
commitc6fd4fd75678279699a74b4298ff228acce793b7
tree4673d9f09439eb6b228d337162c01e0eb86196c8
parent4d515607ddab653492033323e7666a92adfdf7b1
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