[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191121024928.GN18325@lunn.ch>
Date: Thu, 21 Nov 2019 03:49:28 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Yangbo Lu <yangbo.lu@....com>
Cc: netdev@...r.kernel.org,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
"David S . Miller" <davem@...emloft.net>,
Vladimir Oltean <vladimir.oltean@....com>,
Claudiu Manoil <claudiu.manoil@....com>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Richard Cochran <richardcochran@...il.com>
Subject: Re: [PATCH 4/5] net: dsa: ocelot: define PTP registers for
felix_vsc9959
> +static const u32 vsc9959_ptp_regmap[] = {
> + REG(PTP_PIN_CFG, 0x000000),
> + REG(PTP_PIN_TOD_SEC_MSB, 0x000004),
> + REG(PTP_PIN_TOD_SEC_LSB, 0x000008),
> + REG(PTP_PIN_TOD_NSEC, 0x00000c),
> + REG(PTP_CFG_MISC, 0x0000a0),
> + REG(PTP_CLK_CFG_ADJ_CFG, 0x0000a4),
> + REG(PTP_CLK_CFG_ADJ_FREQ, 0x0000a8),
> +};
> +
> + [PTP] = {
> + .start = 0x0090000,
> + .end = 0x00900cb,
> + .name = "ptp",
> + },
Seems like an odd end value. Is the last word used for something else?
Also, the last regmap register you defined is 0xa8. So could end
actually be 900ab?
Andrew
Powered by blists - more mailing lists