diff options
author | Mark Brown <broonie@kernel.org> | 2023-08-19 00:46:19 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-19 00:46:19 +0300 |
commit | ab4724302feedcd33633fd409667a8ee0016f13d (patch) | |
tree | 245c7082ca66780da02df0b7cedc91a5090b795f /include/linux/spi | |
parent | 46f53bde6e69edf8a2e0943babb3f160b30ee436 (diff) | |
parent | ef75e767167a8f30c7690bc4689dba76329ee06e (diff) | |
download | linux-ab4724302feedcd33633fd409667a8ee0016f13d.tar.xz |
Add cs42l43 PC focused SoundWire CODEC
Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>:
This patch chain adds support for the Cirrus Logic cs42l43 PC focused
SoundWire CODEC.
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/corgi_lcd.h | 2 | ||||
-rw-r--r-- | include/linux/spi/spi-mem.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/spi/corgi_lcd.h b/include/linux/spi/corgi_lcd.h index 0b857616919c..fc6c1515dc54 100644 --- a/include/linux/spi/corgi_lcd.h +++ b/include/linux/spi/corgi_lcd.h @@ -15,4 +15,6 @@ struct corgi_lcd_platform_data { void (*kick_battery)(void); }; +void corgi_lcd_limit_intensity(int limit); + #endif /* __LINUX_SPI_CORGI_LCD_H */ diff --git a/include/linux/spi/spi-mem.h b/include/linux/spi/spi-mem.h index 8e984d75f5b6..6b0a7dc48a4b 100644 --- a/include/linux/spi/spi-mem.h +++ b/include/linux/spi/spi-mem.h @@ -101,6 +101,7 @@ struct spi_mem_op { u8 nbytes; u8 buswidth; u8 dtr : 1; + u8 __pad : 7; u16 opcode; } cmd; @@ -108,6 +109,7 @@ struct spi_mem_op { u8 nbytes; u8 buswidth; u8 dtr : 1; + u8 __pad : 7; u64 val; } addr; @@ -115,12 +117,14 @@ struct spi_mem_op { u8 nbytes; u8 buswidth; u8 dtr : 1; + u8 __pad : 7; } dummy; struct { u8 buswidth; u8 dtr : 1; u8 ecc : 1; + u8 __pad : 6; enum spi_mem_data_dir dir; unsigned int nbytes; union { |