max98390.h (762f99f4f3cb41a775b5157dd761217beba65873) max98390.h (c536d745adbc83abb782077a212a8cbdd7300b54)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (c) 2020, Maxim Integrated.
4 */
5
6#ifndef _MAX98390_H
7#define _MAX98390_H
8

--- 642 unchanged lines hidden (view full) ---

651/* DSM register offset */
652#define MAX98390_DSM_PAYLOAD_OFFSET 16
653#define MAX98390_DSM_PARAM_MAX_SIZE 1024
654#define MAX98390_DSM_PARAM_MIN_SIZE 670
655
656struct max98390_priv {
657 struct regmap *regmap;
658 unsigned int sysclk;
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (c) 2020, Maxim Integrated.
4 */
5
6#ifndef _MAX98390_H
7#define _MAX98390_H
8

--- 642 unchanged lines hidden (view full) ---

651/* DSM register offset */
652#define MAX98390_DSM_PAYLOAD_OFFSET 16
653#define MAX98390_DSM_PARAM_MAX_SIZE 1024
654#define MAX98390_DSM_PARAM_MIN_SIZE 670
655
656struct max98390_priv {
657 struct regmap *regmap;
658 unsigned int sysclk;
659 unsigned int master;
659 unsigned int provider;
660 unsigned int tdm_mode;
661 unsigned int v_l_slot;
662 unsigned int i_l_slot;
663 unsigned int ref_rdc_value;
664 unsigned int ambient_temp_value;
665 const char *dsm_param_name;
666};
667#endif
660 unsigned int tdm_mode;
661 unsigned int v_l_slot;
662 unsigned int i_l_slot;
663 unsigned int ref_rdc_value;
664 unsigned int ambient_temp_value;
665 const char *dsm_param_name;
666};
667#endif