xref: /freebsd-src/sys/contrib/device-tree/include/dt-bindings/sound/cs35l45.h (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1*d5b0e70fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2*d5b0e70fSEmmanuel Vadot /*
3*d5b0e70fSEmmanuel Vadot  * cs35l45.h -- CS35L45 ALSA SoC audio driver DT bindings header
4*d5b0e70fSEmmanuel Vadot  *
5*d5b0e70fSEmmanuel Vadot  * Copyright 2022 Cirrus Logic, Inc.
6*d5b0e70fSEmmanuel Vadot  */
7*d5b0e70fSEmmanuel Vadot 
8*d5b0e70fSEmmanuel Vadot #ifndef DT_CS35L45_H
9*d5b0e70fSEmmanuel Vadot #define DT_CS35L45_H
10*d5b0e70fSEmmanuel Vadot 
11*d5b0e70fSEmmanuel Vadot /*
12*d5b0e70fSEmmanuel Vadot  * cirrus,asp-sdout-hiz-ctrl
13*d5b0e70fSEmmanuel Vadot  *
14*d5b0e70fSEmmanuel Vadot  * TX_HIZ_UNUSED:   TX pin high-impedance during unused slots.
15*d5b0e70fSEmmanuel Vadot  * TX_HIZ_DISABLED: TX pin high-impedance when all channels disabled.
16*d5b0e70fSEmmanuel Vadot  */
17*d5b0e70fSEmmanuel Vadot #define CS35L45_ASP_TX_HIZ_UNUSED	0x1
18*d5b0e70fSEmmanuel Vadot #define CS35L45_ASP_TX_HIZ_DISABLED	0x2
19*d5b0e70fSEmmanuel Vadot 
20*d5b0e70fSEmmanuel Vadot #endif /* DT_CS35L45_H */
21