aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/ar8327.h
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2020-07-02 22:33:18 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-25 21:50:50 +0200
commitab78694fe88bf0d65952c13a53ea14e92eb7885f (patch)
tree98200a3783479015d474897684ce643e52e0e3b1 /target/linux/generic/files/drivers/net/phy/ar8327.h
parent8484d6da1e70d9058cfd2c646c8931d786160bb4 (diff)
downloadupstream-ab78694fe88bf0d65952c13a53ea14e92eb7885f.tar.gz
upstream-ab78694fe88bf0d65952c13a53ea14e92eb7885f.tar.bz2
upstream-ab78694fe88bf0d65952c13a53ea14e92eb7885f.zip
treewide: rename POWER_ON_STRIP register
AR8327 datasheet[1] calls the register at address 0x0010 "Power-on Strapping Register". As it has nothing to do with "strip", let's rename it to "POWER_ON_STRAP" to make it easier to grasp. [1] https://lafibre.info/images/doc/201106_spec_AR8327.pdf Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8327.h')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8327.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8327.h b/target/linux/generic/files/drivers/net/phy/ar8327.h
index a59d306d6f..088b288618 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8327.h
+++ b/target/linux/generic/files/drivers/net/phy/ar8327.h
@@ -53,10 +53,10 @@
#define AR8327_PAD_RGMII_TXCLK_DELAY_EN BIT(25)
#define AR8327_PAD_RGMII_EN BIT(26)
-#define AR8327_REG_POWER_ON_STRIP 0x010
-#define AR8327_POWER_ON_STRIP_POWER_ON_SEL BIT(31)
-#define AR8327_POWER_ON_STRIP_LED_OPEN_EN BIT(24)
-#define AR8327_POWER_ON_STRIP_SERDES_AEN BIT(7)
+#define AR8327_REG_POWER_ON_STRAP 0x010
+#define AR8327_POWER_ON_STRAP_POWER_ON_SEL BIT(31)
+#define AR8327_POWER_ON_STRAP_LED_OPEN_EN BIT(24)
+#define AR8327_POWER_ON_STRAP_SERDES_AEN BIT(7)
#define AR8327_REG_INT_STATUS0 0x020
#define AR8327_INT0_VT_DONE BIT(20)