X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Flinux%2Fplatform_data%2Fst_sensors_pdata.h;h=f8274b0c68880ccbd02de1a85ece46a3cab2053f;hb=cc28fcdc017e553375c999ca12107ceb27f34ab3;hp=79b0e4cdb8141a10e73affb9a837d5bcc5f00a2a;hpb=3d0f0b6a5520878305589411b8d434fe088e4f21;p=karo-tx-linux.git diff --git a/include/linux/platform_data/st_sensors_pdata.h b/include/linux/platform_data/st_sensors_pdata.h index 79b0e4cdb814..f8274b0c6888 100644 --- a/include/linux/platform_data/st_sensors_pdata.h +++ b/include/linux/platform_data/st_sensors_pdata.h @@ -17,10 +17,12 @@ * Available only for accelerometer and pressure sensors. * Accelerometer DRDY on LSM330 available only on pin 1 (see datasheet). * @open_drain: set the interrupt line to be open drain if possible. + * @spi_3wire: enable spi-3wire mode. */ struct st_sensors_platform_data { u8 drdy_int_pin; bool open_drain; + bool spi_3wire; }; #endif /* ST_SENSORS_PDATA_H */