As discussed on the mailing list and voted upon, the coreboot project is going to move the majority of copyrights out of the headers and into an AUTHORS file. This will happen a bit at a time, as we'll be unifying license headers at the same time. Updated Authors file is in a separate commit. Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I1acea8c975d14904b7e486dc57a1a67480a6ee6e Reviewed-on: https://review.coreboot.org/c/coreboot/+/36178 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
38 lines
1.7 KiB
C
38 lines
1.7 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#include "rx6110sa.h"
|
|
|
|
struct drivers_i2c_rx6110sa_config {
|
|
/* The day (of the week) is indicated by 7 bits, bit 0 to bit 6. */
|
|
unsigned char user_weekday; /* User day of the week to set */
|
|
unsigned char user_day; /* User day to set */
|
|
unsigned char user_month; /* User month to set */
|
|
unsigned char user_year; /* User year to set */
|
|
unsigned char set_user_date; /* Use user date from device tree */
|
|
unsigned char cof_selection; /* Set up "clock out" frequency */
|
|
unsigned char timer_clk; /* Set up timer clock */
|
|
unsigned char timer_irq_en; /* Interrupt generation on timer */
|
|
unsigned short timer_preset; /* Preset value for the timer */
|
|
unsigned char timer_mode; /* Set the timer mode of operation */
|
|
unsigned char timer_en; /* Enable timer operation */
|
|
unsigned char irq_output_pin; /* 0: IRQ2 pin used, 1: IRQ1 pin used */
|
|
unsigned char fout_output_pin; /* 0: IRQ2, 1: IRQ1, 2: DO/FOUT */
|
|
unsigned char enable_1hz_out; /* If set enables 1 Hz output on IRQ1 */
|
|
unsigned char pmon_sampling; /* Select power monitor sampling time */
|
|
/* The following two bits set the power monitor and backup mode. */
|
|
unsigned char bks_on;
|
|
unsigned char bks_off;
|
|
unsigned char iocut_en; /* Disable backup of I/O circuit. */
|
|
};
|