Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1306025

Re: [PATCH v2 6/9] mfd: add TI LMU hardware fault monitoring driver

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 6/9] mfd: add TI LMU hardware fault monitoring driver
Date Mon, 11 Jan 2016 11:30:03 +0100
Message-ID <qPHTB-Yo-41@gated-at.bofh.it> (permalink)
References <qyYH7-1f6-3@gated-at.bofh.it> <qyYH7-1f6-7@gated-at.bofh.it>
X-Original-To Milo Kim <milo.kim@ti.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=/4GZ4L/joGsh1pHMkGTOy7nrNpe8dj5iWInSSqRJ3ME=; b=Mzss0HEaBXo9cgEfQ/3lg2TcZCETz6X0T8/2rvLBS/WK0Mp+GeeMNsz3twppdU9yrk zrBSvkW7vZtDqFYOO9UyspNnz2uZH75fnRk5d7TFgh2mgUvXfBGyFVSpT8Tv1lTDniA9 VNVrs3uJNczna4dQ0r3/00piFJ7zq2iZjLhtY=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=/4GZ4L/joGsh1pHMkGTOy7nrNpe8dj5iWInSSqRJ3ME=; b=B8XxgMAa6En8DKjWC3Y2qwbabB63DYTtpRIeOrwn58deyrIml9lkXeXtPreRPz4Lih nVgDLYZMUMcPxJdpjZXnSZTkSDJVpJU8zAGFGayy3N9fFWQHoOPb5FvLEfwh7LxI5aIg ipKJEea5dPNdJPWE0H+UAdWWLZylNP7indMbSB/8YacSKPu6EdtMCCRXF6BHVviz1/n4 YY33sgJU+5EFFvJ48n/Wpvd/q5yA8NV34xZVh3lzRlqelrOKGosUTV6SIyb1d7221DGI Opyx1tG/IpiEJW8xrIYQOh2DZaGZVmGFUnY6JdzD7wHlOX8M/wu6t0aP6IvSPMW3CCsr Nrzw==
X-Gm-Message-State ALoCoQllqOclr9hP6Eq3DvdY5zngJE48XnxNw4ztZtHCU85Yvhx4IH4t1ZJSCYIdPKDwiG7xPWBm8mrIl3op8EwTFhex7HrFjA==
X-Received by 10.28.182.135 with SMTP id g129mr13727994wmf.55.1452507680816; Mon, 11 Jan 2016 02:21:20 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 57
Organization linux.* mail to news gateway
X-Original-Cc robh+dt@kernel.org, j.anaszewski@samsung.com, broonie@kernel.org, devicetree@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Mon, 11 Jan 2016 10:21:17 +0000
X-Original-Message-ID <20160111102117.GU14104@x1>
X-Original-References <1448521025-2796-1-git-send-email-milo.kim@ti.com> <1448521025-2796-7-git-send-email-milo.kim@ti.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1306025

Show key headers only | View raw


On Thu, 26 Nov 2015, Milo Kim wrote:

> LM3633 and LM3697 are TI LMU MFD device.
> Those devices have hardware monitoring feature which detects open or
> short circuit case.
> 
> Debugfs
> -------
>   Two files are created.
>     open_fault:  check light output channel is open or not.
>     short_fault: check light output channel is shorted or not.
> 
>   The driver checks the status of backlight output channels.
>   LM3633 and LM3697 have same sequence to check channels, so common
>   functions are used.
>   ABI/testing document is also included.
> 
> Operations
> ----------
>   Two devices have common control flow but register addresses are different.
>   The structure, 'ti_lmu_reg' is used for register configuration.
> 
> Event notifier
> --------------
>   After fault monitoring is done, LMU device is reset. So backlight and
>   LED device should be reinitialized. It notifies an event as soon as
>   the monitoring is done. Then, LM3633 and LM3697 backlight and LED drivers
>   handle this event.
> 
> Cc: Lee Jones <lee.jones@linaro.org> 
> Cc: Jacek Anaszewski <j.anaszewski@samsung.com>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: devicetree@vger.kernel.org
> Cc: linux-leds@vger.kernel.org 
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Milo Kim <milo.kim@ti.com>
> ---
>  .../ABI/testing/debugfs-ti-lmu-fault-monitor       |  32 ++
>  drivers/mfd/Kconfig                                |  10 +
>  drivers/mfd/Makefile                               |   1 +
>  drivers/mfd/ti-lmu-fault-monitor.c                 | 405 +++++++++++++++++++++

I think this device is part of the MFD, rather than an MFD itself.
Please relocate it to somewhere more appropriate.

>  4 files changed, 448 insertions(+)
>  create mode 100644 Documentation/ABI/testing/debugfs-ti-lmu-fault-monitor
>  create mode 100644 drivers/mfd/ti-lmu-fault-monitor.c

[...]

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 6/9] mfd: add TI LMU hardware fault monitoring driver Lee Jones <lee.jones@linaro.org> - 2016-01-11 11:30 +0100
  Re: [PATCH v2 6/9] mfd: add TI LMU hardware fault monitoring driver Milo Kim <milo.kim@ti.com> - 2016-01-12 04:40 +0100
    Re: [PATCH v2 6/9] mfd: add TI LMU hardware fault monitoring driver Lee Jones <lee.jones@linaro.org> - 2016-01-12 08:40 +0100

csiph-web