summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/button.c6
-rw-r--r--firmware/drivers/i2c-pp5020.c9
-rw-r--r--firmware/drivers/lcd-ipod.c9
-rw-r--r--firmware/drivers/lcd-ipodvideo.c9
-rw-r--r--firmware/drivers/pcf50605.c9
-rw-r--r--firmware/drivers/wm8975.c9
-rw-r--r--firmware/export/wm8975.h1
7 files changed, 41 insertions, 11 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 15276a9..983941c 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -9,6 +9,12 @@
*
* Copyright (C) 2002 by Daniel Stenberg
*
+ * iPod driver based on code from the ipodlinux project - http://ipodlinux.org
+ * Adapted for Rockbox in December 2005
+ * Original file: linux/arch/armnommu/mach-ipod/keyboard.c
+ * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org)
+ *
+ *
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
*
diff --git a/firmware/drivers/i2c-pp5020.c b/firmware/drivers/i2c-pp5020.c
index ec6bcef..fccaffc 100644
--- a/firmware/drivers/i2c-pp5020.c
+++ b/firmware/drivers/i2c-pp5020.c
@@ -7,7 +7,14 @@
* \/ \/ \/ \/ \/
* $Id$
*
- * Copyright (C) 2005 by Dave Chapman
+ * PP5020 I2C driver
+ *
+ * Based on code from the ipodlinux project - http://ipodlinux.org/
+ * Adapted for Rockbox in November 2005
+ *
+ * Original file: linux/arch/armnommu/mach-ipod/hardware.c
+ *
+ * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org)
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
diff --git a/firmware/drivers/lcd-ipod.c b/firmware/drivers/lcd-ipod.c
index 8aa5130..154158c 100644
--- a/firmware/drivers/lcd-ipod.c
+++ b/firmware/drivers/lcd-ipod.c
@@ -7,11 +7,14 @@
* \/ \/ \/ \/ \/
* $Id$
*
- * Copyright (C) 2005 by Dave Chapman
- *
* Rockbox driver for iPod LCDs
*
- * Based on code from ipodlinux - http://ipodlinux.org
+ * Based on code from the ipodlinux project - http://ipodlinux.org/
+ * Adapted for Rockbox in November 2005
+ *
+ * Original file: linux/arch/armnommu/mach-ipod/fb.c
+ *
+ * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org)
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
diff --git a/firmware/drivers/lcd-ipodvideo.c b/firmware/drivers/lcd-ipodvideo.c
index 519f185..096e8ed 100644
--- a/firmware/drivers/lcd-ipodvideo.c
+++ b/firmware/drivers/lcd-ipodvideo.c
@@ -7,11 +7,14 @@
* \/ \/ \/ \/ \/
* $Id$
*
- * Copyright (C) 2005 by Dave Chapman
+ * LCD driver for iPod Video
+ *
+ * Based on code from the ipodlinux project - http://ipodlinux.org/
+ * Adapted for Rockbox in December 2005
*
- * Rockbox driver for iPod Video LCDs
+ * Original file: linux/arch/armnommu/mach-ipod/fb.c
*
- * Based on code from ipodlinux - http://ipodlinux.org
+ * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org)
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
diff --git a/firmware/drivers/pcf50605.c b/firmware/drivers/pcf50605.c
index 87ef957..c7a8db5 100644
--- a/firmware/drivers/pcf50605.c
+++ b/firmware/drivers/pcf50605.c
@@ -7,9 +7,14 @@
* \/ \/ \/ \/ \/
* $Id$
*
- * Copyright (C) 2005 by Dave Chapman
+ * Driver for pcf50605 PMU and RTC
*
- * Based on code from the iPodLinux project (C) 2004-2005 Bernard Leach
+ * Based on code from the ipodlinux project - http://ipodlinux.org/
+ * Adapted for Rockbox in December 2005
+ *
+ * Original file: linux/arch/armnommu/mach-ipod/pcf50605.c
+ *
+ * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org)
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
diff --git a/firmware/drivers/wm8975.c b/firmware/drivers/wm8975.c
index 18a81fb..802bcfa 100644
--- a/firmware/drivers/wm8975.c
+++ b/firmware/drivers/wm8975.c
@@ -7,9 +7,14 @@
* \/ \/ \/ \/ \/
* $Id$
*
- * Copyright (C) 2005 by Dave Chapman
+ * Driver for WM8975 audio codec
*
- * Based on code from the iPodLinux project (C) 2003-2005 Bernard Leach
+ * Based on code from the ipodlinux project - http://ipodlinux.org/
+ * Adapted for Rockbox in December 2005
+ *
+ * Original file: linux/arch/armnommu/mach-ipod/audio.c
+ *
+ * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org)
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
diff --git a/firmware/export/wm8975.h b/firmware/export/wm8975.h
index c2dcee2..8325004 100644
--- a/firmware/export/wm8975.h
+++ b/firmware/export/wm8975.h
@@ -24,6 +24,7 @@ extern void wm8975_reset(void);
extern int wm8975_init(void);
extern void wm8975_enable_output(bool enable);
extern int wm8975_set_master_vol(int vol_l, int vol_r);
+extern void wm8975_get_master_vol(int* vol_l, int* vol_r);
extern int wm8975_set_mixer_vol(int channel1, int channel2);
extern void wm8975_set_bass(int value);
extern void wm8975_set_treble(int value);