[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b804ccc4-77c3-e7a9-9486-8d12d50ec5f7@infradead.org>
Date: Sun, 17 Jun 2018 09:52:16 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Vadim Pasternak <vadimp@...lanox.com>, dvhart@...radead.org,
andy.shevchenko@...il.com, gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org, platform-driver-x86@...r.kernel.org,
jiri@...nulli.us, michaelsh@...lanox.com, ivecera@...hat.com
Subject: Re: [PATCH v6 6/8] platform/mellanox: Introduce support for Mellanox
register access driver
On 06/17/2018 09:56 AM, Vadim Pasternak wrote:
> ---
> drivers/platform/mellanox/Kconfig | 11 ++
> drivers/platform/mellanox/Makefile | 1 +
> drivers/platform/mellanox/mlxreg-io.c | 245 ++++++++++++++++++++++++++++++++++
> 3 files changed, 257 insertions(+)
> create mode 100644 drivers/platform/mellanox/mlxreg-io.c
Hi,
> diff --git a/drivers/platform/mellanox/Kconfig b/drivers/platform/mellanox/Kconfig
> index 591bccd..ddfae9fc 100644
> --- a/drivers/platform/mellanox/Kconfig
> +++ b/drivers/platform/mellanox/Kconfig
> @@ -23,4 +23,15 @@ config MLXREG_HOTPLUG
> This driver handles hot-plug events for the power suppliers, power
> cables and fans on the wide range Mellanox IB and Ethernet systems.
>
> +config MLXREG_IO
> + tristate "Mellanox platform register access driver support"
> + depends on REGMAP
> + depends on HWMON
> + help
> + This driver allows access to Mellanox programmable device register
> + space trough sysfs interface. The sets of registers for sysfs access
through
> + are defined per system type bases and includes the registers related
and include the
> + to system resets operation, system reset causes monitoring and some
> + kinds of mux selection.
> +
> endif # MELLANOX_PLATFORM
--
~Randy
Powered by blists - more mailing lists