From: Ciprian Regus Add macro defines for the CONFIG2 register and the MMS1 memory map. Signed-off-by: Ciprian Regus --- v3 changelog: - New patch --- include/linux/oa_tc6.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/oa_tc6.h b/include/linux/oa_tc6.h index 9fa4397303d1..e6eca352b2c0 100644 --- a/include/linux/oa_tc6.h +++ b/include/linux/oa_tc6.h @@ -25,6 +25,9 @@ #define OA_TC6_CONFIG0_ZARFE_ENABLE BIT(12) #define OA_TC6_CONFIG0_PROTE BIT(5) +/* Configuration Register #2 */ +#define OA_TC6_REG_CONFIG2 0x0006 + /* Status Register #0 */ #define OA_TC6_REG_STATUS0 0x0008 #define OA_TC6_STATUS0_RESETC BIT(6) /* Reset Complete */ @@ -49,6 +52,9 @@ #define OA_TC6_PHY_STD_REG_ADDR_BASE 0xFF00 #define OA_TC6_PHY_STD_REG_ADDR_MASK 0x1F +/* Vendor specific memory map. */ +#define OA_TC6_VEND_MMS1 1 + /* PHY – Clause 45 registers memory map selector (MMS) as per table 6 in the * OPEN Alliance specification. */ -- 2.43.0