diff options
author | Gabe Black <gabeblack@google.com> | 2013-06-30 05:56:26 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-07-10 23:20:39 +0200 |
commit | 2ddc9ea0c887d77b242b361d650660f1a788abe5 (patch) | |
tree | 0ec0274150bc9d35de25211caf92def307b859c9 /src/drivers/parade/ps8625/ps8625.h | |
parent | a5dc0911293d4bdc7e1a0c5a2e3abd80ee51b857 (diff) | |
download | coreboot-2ddc9ea0c887d77b242b361d650660f1a788abe5.tar.xz |
parade: Add a driver for the parade ps8625.
This driver is basically the same as the one in U-Boot but without the device
tree stuff. That driver is, in turn, a straightforward implementation of the
sequence of register writes described in the data sheet. Comments were added
in U-Boot which helpfully describe what the register writes are actually
doing and are kept.
Change-Id: I64ba6b373478853bb2120f0553a43de901170d02
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/3753
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/drivers/parade/ps8625/ps8625.h')
-rw-r--r-- | src/drivers/parade/ps8625/ps8625.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/drivers/parade/ps8625/ps8625.h b/src/drivers/parade/ps8625/ps8625.h new file mode 100644 index 0000000000..2ef757763e --- /dev/null +++ b/src/drivers/parade/ps8625/ps8625.h @@ -0,0 +1,25 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2013 Google Inc. + * + * 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; version 2 of the License. + * + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef __PS8625_H__ +#define __PS8625_H__ + +void parade_ps8625_bridge_setup(unsigned bus, unsigned chip_base); + +#endif |