lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1341355030-20800-1-git-send-email-eduardo.valentin@ti.com>
Date:	Wed, 4 Jul 2012 01:37:06 +0300
From:	Eduardo Valentin <eduardo.valentin@...com>
To:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC:	<devel@...verdev.osuosl.org>, <linux-kernel@...r.kernel.org>,
	<j-keerthy@...com>, <grant.likely@...retlab.ca>,
	<b-cousson@...com>, <kbaidarov@....rtsoft.ru>,
	Eduardo Valentin <eduardo.valentin@...com>
Subject: [PATCH 0/4] staging: adding OMAP bandgap driver

Hello Greg,

This is a set of patches which contains a temperature sensor driver
for OMAP platform and a minimal support for the generic thermal framework
(CONFIG_THERMAL).

It was originally written for TI's android development
tree, where it has its own thermal framework.

I have ripped it off from that tree and add basic support on the driver
to use the generic thermal framework (CONFIG_THERMAL). Apart from
that, the driver have already gone through some rewrites and redesigns.

This device resides inside the system control module of OMAP and the
original driver had a MFD design. Now with the rewrites, it got
only DT probing support and with that it has its own io area,
and it works pretty much independent.

FYI, the generic thermal framework is also under its own
improvements cycles, and the support I've written on this driver
I am sending, depends partially on it. It relies on the generic
CPU cooling device (CONFIG_CPU_COOLING). But the driver won't
compile that part of the code, unless the config entry is present.
So, the way it is now, it is compilable, but the output module
will not have thermal framework exposure (/sys/class/thermal).

The driver is under work, but it can already probe on OMAPs 4430,
4460 (potentially on 4470, but this is untested) and 5430.

So, I decided to send it to staging for maturation, instead
of maturating it out of the tree.

Let me know if it makes sense to keep it under staging.
Otherwise I can go through its maturation out of tree and
send it for merge under drivers/thermal/ (Len B.)

These patches are based on linux-next/master. And you can also
fetch them here:

git@...orious.org:thermal-framework/thermal-framework.git thermal_work/omap/bandgap_staging

All best,


Eduardo Valentin (4):
  staging: OMAP4+: thermal: introduce bandgap temperature sensor
  staging: omap-thermal: common code to expose driver to thermal
    framework
  staging: omap-thermal: add OMAP4 data structures
  staging: omap-thermal: add OMAP5 data structures

 drivers/staging/Kconfig                            |    2 +
 drivers/staging/Makefile                           |    1 +
 drivers/staging/omap-thermal/Kconfig               |   45 +
 drivers/staging/omap-thermal/Makefile              |    5 +
 drivers/staging/omap-thermal/TODO                  |   27 +
 drivers/staging/omap-thermal/omap-bandgap.c        | 1186 ++++++++++++++++++++
 drivers/staging/omap-thermal/omap-bandgap.h        |  441 ++++++++
 drivers/staging/omap-thermal/omap-thermal-common.c |  397 +++++++
 drivers/staging/omap-thermal/omap-thermal.h        |  108 ++
 drivers/staging/omap-thermal/omap4-thermal.c       |  259 +++++
 drivers/staging/omap-thermal/omap5-thermal.c       |  297 +++++
 drivers/staging/omap-thermal/omap_bandgap.txt      |   30 +
 12 files changed, 2798 insertions(+), 0 deletions(-)
 create mode 100644 drivers/staging/omap-thermal/Kconfig
 create mode 100644 drivers/staging/omap-thermal/Makefile
 create mode 100644 drivers/staging/omap-thermal/TODO
 create mode 100644 drivers/staging/omap-thermal/omap-bandgap.c
 create mode 100644 drivers/staging/omap-thermal/omap-bandgap.h
 create mode 100644 drivers/staging/omap-thermal/omap-thermal-common.c
 create mode 100644 drivers/staging/omap-thermal/omap-thermal.h
 create mode 100644 drivers/staging/omap-thermal/omap4-thermal.c
 create mode 100644 drivers/staging/omap-thermal/omap5-thermal.c
 create mode 100644 drivers/staging/omap-thermal/omap_bandgap.txt

-- 
1.7.7.1.488.ge8e1c

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ