[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BN9PR11MB5483041B0B76EB4486266E93E3A59@BN9PR11MB5483.namprd11.prod.outlook.com>
Date: Tue, 7 Jun 2022 05:57:26 +0000
From: "Zhang, Tianfei" <tianfei.zhang@...el.com>
To: Greg KH <gregkh@...uxfoundation.org>
CC: "broonie@...nel.org" <broonie@...nel.org>,
"rafael@...nel.org" <rafael@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Wu, Hao" <hao.wu@...el.com>, "trix@...hat.com" <trix@...hat.com>,
"Xu, Yilun" <yilun.xu@...el.com>,
"Weight, Russell H" <russell.h.weight@...el.com>,
Matthew Gerlach <matthew.gerlach@...ux.intel.com>
Subject: RE: [PATCH v1] regmap: add generic indirect regmap support
> -----Original Message-----
> From: Greg KH <gregkh@...uxfoundation.org>
> Sent: Tuesday, June 7, 2022 12:50 PM
> To: Zhang, Tianfei <tianfei.zhang@...el.com>
> Cc: broonie@...nel.org; rafael@...nel.org; linux-kernel@...r.kernel.org; Wu,
> Hao <hao.wu@...el.com>; trix@...hat.com; Xu, Yilun <yilun.xu@...el.com>;
> Weight, Russell H <russell.h.weight@...el.com>; Matthew Gerlach
> <matthew.gerlach@...ux.intel.com>
> Subject: Re: [PATCH v1] regmap: add generic indirect regmap support
>
> On Mon, Jun 06, 2022 at 09:37:55PM -0400, Tianfei Zhang wrote:
> > From: Matthew Gerlach <matthew.gerlach@...ux.intel.com>
> >
> > This patch adds support for regmap APIs that are intended to be used
> > by the drivers of some devices which support generic indirect register
> > access, for example PMCI (Platform Management Control Interface)
> > device, HSSI (High Speed Serial Interface) device in FPGA.
> >
> > Signed-off-by: Matthew Gerlach <matthew.gerlach@...ux.intel.com>
> > Signed-off-by: Tianfei Zhang <tianfei.zhang@...el.com>
> > ---
> > drivers/base/regmap/Kconfig | 3 +
> > drivers/base/regmap/Makefile | 1 +
> > .../base/regmap/regmap-indirect-register.c | 133 ++++++++++++++++++
> > include/linux/regmap.h | 12 ++
> > 4 files changed, 149 insertions(+)
> > create mode 100644 drivers/base/regmap/regmap-indirect-register.c
>
> Don't we need users of these before we can take them?
One of user is the PMCI (Platform Management Control Interface) driver of Intel FPGA PAC Card,
PMCI device was connected to card BMC which provided telemetry and mailbox functionalities.
The PMCI driver is under review now:
https://lore.kernel.org/all/20220607032833.3482-1-tianfei.zhang@intel.com/
Powered by blists - more mailing lists