xref: /openbmc/linux/include/sound/cs4271.h (revision 26047e2d6bde5b2e1b791e0ec1c3234894fdf3fa)
167b22517SAlexander Sverdlin /*
267b22517SAlexander Sverdlin  * Definitions for CS4271 ASoC codec driver
367b22517SAlexander Sverdlin  *
467b22517SAlexander Sverdlin  * Copyright (c) 2010 Alexander Sverdlin <subaparts@yandex.ru>
567b22517SAlexander Sverdlin  *
667b22517SAlexander Sverdlin  * This program is free software; you can redistribute it and/or
767b22517SAlexander Sverdlin  * modify it under the terms of the GNU General Public License
867b22517SAlexander Sverdlin  * as published by the Free Software Foundation; either version 2
967b22517SAlexander Sverdlin  * of the License, or (at your option) any later version.
1067b22517SAlexander Sverdlin  *
1167b22517SAlexander Sverdlin  * This program is distributed in the hope that it will be useful,
1267b22517SAlexander Sverdlin  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1367b22517SAlexander Sverdlin  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1467b22517SAlexander Sverdlin  * GNU General Public License for more details.
1567b22517SAlexander Sverdlin  */
1667b22517SAlexander Sverdlin 
1767b22517SAlexander Sverdlin #ifndef __CS4271_H
1867b22517SAlexander Sverdlin #define __CS4271_H
1967b22517SAlexander Sverdlin 
2067b22517SAlexander Sverdlin struct cs4271_platform_data {
2167b22517SAlexander Sverdlin 	int gpio_nreset;	/* GPIO driving Reset pin, if any */
22*26047e2dSDaniel Mack 	bool amutec_eq_bmutec;	/* flag to enable AMUTEC=BMUTEC */
2367b22517SAlexander Sverdlin };
2467b22517SAlexander Sverdlin 
2567b22517SAlexander Sverdlin #endif /* __CS4271_H */
26