| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * itg3200.h -- support InvenSense ITG3200 |
|---|
| 3 | 4 | * Digital 3-Axis Gyroscope driver |
|---|
| .. | .. |
|---|
| 5 | 6 | * Copyright (c) 2011 Christian Strobel <christian.strobel@iis.fraunhofer.de> |
|---|
| 6 | 7 | * Copyright (c) 2011 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> |
|---|
| 7 | 8 | * Copyright (c) 2012 Thorsten Nowak <thorsten.nowak@iis.fraunhofer.de> |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 10 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 11 | | - * published by the Free Software Foundation. |
|---|
| 12 | 9 | */ |
|---|
| 13 | 10 | |
|---|
| 14 | 11 | #ifndef I2C_ITG3200_H_ |
|---|
| .. | .. |
|---|
| 104 | 101 | struct itg3200 { |
|---|
| 105 | 102 | struct i2c_client *i2c; |
|---|
| 106 | 103 | struct iio_trigger *trig; |
|---|
| 104 | + struct iio_mount_matrix orientation; |
|---|
| 107 | 105 | }; |
|---|
| 108 | 106 | |
|---|
| 109 | 107 | enum ITG3200_SCAN_INDEX { |
|---|