xref: /kernel/linux/linux-6.6/include/sound/wm1250-ev1.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/include/sound/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * linux/sound/wm1250-ev1.h - Platform data for WM1250-EV1
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright 2011 Wolfson Microelectronics. PLC.
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef __LINUX_SND_WM1250_EV1_H
962306a36Sopenharmony_ci#define __LINUX_SND_WM1250_EV1_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#define WM1250_EV1_NUM_GPIOS 5
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci#define WM1250_EV1_GPIO_CLK_ENA  0
1462306a36Sopenharmony_ci#define WM1250_EV1_GPIO_CLK_SEL0 1
1562306a36Sopenharmony_ci#define WM1250_EV1_GPIO_CLK_SEL1 2
1662306a36Sopenharmony_ci#define WM1250_EV1_GPIO_OSR      3
1762306a36Sopenharmony_ci#define WM1250_EV1_GPIO_MASTER   4
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_cistruct wm1250_ev1_pdata {
2162306a36Sopenharmony_ci	int gpios[WM1250_EV1_NUM_GPIOS];
2262306a36Sopenharmony_ci};
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#endif
25

Indexes created Thu Nov 07 10:32:03 CST 2024