diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2013-07-15 09:11:21 -0700 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2013-12-21 07:28:17 +0100 |
commit | 0cf0d1499ab4fb86a6c85f83ab4097a62e2e3642 (patch) | |
tree | a39cb4196646d59909f16ac9f13d9878b69a6a1f /src/drivers/i2c/rtd2132/chip.h | |
parent | 8870733b591834c7d20c4227c95d76e757a76883 (diff) |
rtd2132: Add driver for Realtek RTD2132 LVDS bridge
This driver allows the mainboard to enable spread spectrum
clocking at 0.5%, 1.0%, and 1.5% with devicetree settings.
Change-Id: I59c61e67aa8e951fd9904ad951deb6d0ba29669e
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/61894
Reviewed-on: http://review.coreboot.org/4365
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers/i2c/rtd2132/chip.h')
-rw-r--r-- | src/drivers/i2c/rtd2132/chip.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/drivers/i2c/rtd2132/chip.h b/src/drivers/i2c/rtd2132/chip.h new file mode 100644 index 0000000000..34ae91a3fe --- /dev/null +++ b/src/drivers/i2c/rtd2132/chip.h @@ -0,0 +1,29 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2013 Google Inc. All Rights Reserved. + * + * 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 + */ + +struct drivers_i2c_rtd2132_config { + /* + * LVDS Spread Spectrum Clock + * 0x00 = DISABLED + * 0x05 = 0.5% + * 0x10 = 1.0% + * 0x15 = 1.5% + */ + u8 sscg_percent; +}; |