| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* ------------------------------------------------------------------------- */ |
|---|
| 2 | 3 | /* i2c-iop3xx.h algorithm driver definitions private to i2c-iop3xx.c */ |
|---|
| 3 | 4 | /* ------------------------------------------------------------------------- */ |
|---|
| 4 | 5 | /* Copyright (C) 2003 Peter Milne, D-TACQ Solutions Ltd |
|---|
| 5 | 6 | * <Peter dot Milne at D hyphen TACQ dot com> |
|---|
| 6 | 7 | |
|---|
| 7 | | - This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - it under the terms of the GNU General Public License as published by |
|---|
| 9 | | - the Free Software Foundation, version 2. |
|---|
| 10 | | - |
|---|
| 11 | | - This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - GNU General Public License for more details. */ |
|---|
| 8 | + */ |
|---|
| 15 | 9 | /* ------------------------------------------------------------------------- */ |
|---|
| 16 | 10 | |
|---|
| 17 | 11 | |
|---|
| .. | .. |
|---|
| 98 | 92 | spinlock_t lock; |
|---|
| 99 | 93 | u32 SR_enabled, SR_received; |
|---|
| 100 | 94 | int id; |
|---|
| 95 | + struct gpio_desc *gpio_scl; |
|---|
| 96 | + struct gpio_desc *gpio_sda; |
|---|
| 101 | 97 | }; |
|---|
| 102 | 98 | |
|---|
| 103 | 99 | #endif /* I2C_IOP3XX_H */ |
|---|