platform/x86: mlx-platform: Add LED platform driver activation
authorVadim Pasternak <vadimp@mellanox.com>
Mon, 7 May 2018 06:48:53 +0000 (06:48 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 1 Jun 2018 16:54:34 +0000 (09:54 -0700)
commit1189456b1cce36f653622d15c0f38410bf6c37c5
tree6604c999e37833d035d58eed85f2132e565f057c
parentcbf7ff8cdb03a81ae81680ac133c7b1bf5194001
platform/x86: mlx-platform: Add LED platform driver activation

Add LED platform driver activation from mlx-platform. This LED driver uses
the same regmap infrastructure as others Mellanox platform drivers, so LED
specific registers description is added.

System LED configuration depends on system type. To support all the
relevant types per system type LED descriptions are defined for passing
to LED platform driver.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/mlx-platform.c