From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] add omap34xx temperature monitoring support Date: Fri, 26 Dec 2014 07:54:57 -0800 Message-ID: <20141226155456.GB12409@atomide.com> References: <20141226102933.GA28778@amd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:65284 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751002AbaLZPzH (ORCPT ); Fri, 26 Dec 2014 10:55:07 -0500 Content-Disposition: inline In-Reply-To: <20141226102933.GA28778@amd> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Pavel Machek Cc: pali.rohar@gmail.com, sre@debian.org, sre@ring0.de, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, jdelvare@suse.de, linux@roeck-us.net, lm-sensors@lm-sensors.org * Pavel Machek [141226 02:32]: > --- /dev/null > +++ b/drivers/hwmon/omap34xx_temp.c > @@ -0,0 +1,263 @@ > +/* > + * omap34xx_temp.c - Linux kernel module for OMAP34xx hardware monitoring > + * > + * Copyright (C) 2008 Nokia Corporation > + * > + * Written by Peter De Schrijver > + * > + * Inspired by k8temp.c > + * > + * This file is subject to the terms and conditions of the GNU General > + * Public License. See the file "COPYING" in the main directory of this > + * archive for more details. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include "../../arch/arm/mach-omap2/control.h" No need to do this, you can use syscon here like pbias-regulator.c is doing. Regards, Tony