Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2)  * Platform data for MAX9768
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright (C) 2011, 2012 by Wolfram Sang, Pengutronix e.K.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * same licence as the driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #ifndef __SOUND_MAX9768_PDATA_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define __SOUND_MAX9768_PDATA_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) /**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)  * struct max9768_pdata - optional platform specific MAX9768 configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  * @shdn_gpio:	GPIO to SHDN pin. If not valid, pin must be hardwired HIGH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  * @mute_gpio:	GPIO to MUTE pin. If not valid, control for mute won't be added
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)  * @flags: configuration flags, e.g. set classic PWM mode (check datasheet
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)  *         regarding "filterless modulation" which is default).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct max9768_pdata {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	int shdn_gpio;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	int mute_gpio;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	unsigned flags;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define MAX9768_FLAG_CLASSIC_PWM	(1 << 0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif /* __SOUND_MAX9768_PDATA_H__*/