Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758934AbYGJP0l (ORCPT ); Thu, 10 Jul 2008 11:26:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758695AbYGJP0K (ORCPT ); Thu, 10 Jul 2008 11:26:10 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:55112 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758688AbYGJP0J (ORCPT ); Thu, 10 Jul 2008 11:26:09 -0400 Subject: [PATCH 04/15] regulator: fixed regulator interface From: Liam Girdwood To: Andrew Morton Cc: linux-kernel , arm kernel , Mark Brown Content-Type: text/plain Date: Thu, 10 Jul 2008 16:26:07 +0100 Message-Id: <1215703567.13431.60.camel@odin> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1467 Lines: 49 This patch adds support for fixed regulators. This class of regulator is not software controllable but can coexist on machines with software controllable regulators. Signed-off-by: Mark Brown Signed-off-by: Liam Girdwood --- include/linux/regulator/fixed.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 include/linux/regulator/fixed.h diff --git a/include/linux/regulator/fixed.h b/include/linux/regulator/fixed.h new file mode 100644 index 0000000..1387a5d --- /dev/null +++ b/include/linux/regulator/fixed.h @@ -0,0 +1,22 @@ +/* + * fixed.h + * + * Copyright 2008 Wolfson Microelectronics PLC. + * + * Author: Mark Brown + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + */ + +#ifndef __REGULATOR_FIXED_H +#define __REGULATOR_FIXED_H + +struct fixed_voltage_config { + const char *supply_name; + int microvolts; +}; + +#endif -- 1.5.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/