/* SPDX-License-Identifier: GPL-2.0-or-later */1/*2* Definitions for CS4271 ASoC codec driver3*4* Copyright (c) 2010 Alexander Sverdlin <[email protected]>5*/67#ifndef __CS4271_H8#define __CS4271_H910struct cs4271_platform_data {11bool amutec_eq_bmutec; /* flag to enable AMUTEC=BMUTEC */1213/*14* The CS4271 requires its LRCLK and MCLK to be stable before its RESET15* line is de-asserted. That also means that clocks cannot be changed16* without putting the chip back into hardware reset, which also requires17* a complete re-initialization of all registers.18*19* One (undocumented) workaround is to assert and de-assert the PDN bit20* in the MODE2 register. This workaround can be enabled with the21* following flag.22*23* Note that this is not needed in case the clocks are stable24* throughout the entire runtime of the codec.25*/26bool enable_soft_reset;27};2829#endif /* __CS4271_H */303132