summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMikhail Kshevetskiy <[email protected]>2026-03-15 10:47:56 +0300
committerJerome Forissier <[email protected]>2026-03-31 16:43:28 +0200
commitac91f1a8ad59ce899ba2c46407a48a989eab3744 (patch)
treea5b5ec8dd5190fd97c099f496ed5262b9eadea4e /drivers
parenta05c0d17321e09353bb4a5b993f8d4579f1696c8 (diff)
net: pcs-airoha: unify code using SCU regmap helper
Use common code to get CHIP_SCU registers instead of driver one. Signed-off-by: Mikhail Kshevetskiy <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/airoha/pcs-airoha-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/airoha/pcs-airoha-common.c b/drivers/net/airoha/pcs-airoha-common.c
index 2e5cb085498..1263092fcdd 100644
--- a/drivers/net/airoha/pcs-airoha-common.c
+++ b/drivers/net/airoha/pcs-airoha-common.c
@@ -10,7 +10,7 @@
#include <net.h>
#include <regmap.h>
#include <reset.h>
-#include <syscon.h>
+#include <asm/arch/scu-regmap.h>
#include "pcs-airoha.h"
@@ -755,7 +755,7 @@ static int airoha_pcs_probe(struct udevice *dev)
return PTR_ERR(priv->xfi_ana);
/* SCU is used to toggle XFI or HSGMII in global SoC registers */
- priv->scu = syscon_regmap_lookup_by_phandle(dev, "airoha,scu");
+ priv->scu = airoha_get_scu_regmap();
if (IS_ERR(priv->scu))
return PTR_ERR(priv->scu);