mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 00:32:00 +00:00
Merge branch 'reset/next' of https://git.pengutronix.de/git/pza/linux
This commit is contained in:
commit
4b6ea5c4c3
@ -26,6 +26,18 @@ struct meson_reset_adev {
|
||||
#define to_meson_reset_adev(_adev) \
|
||||
container_of((_adev), struct meson_reset_adev, adev)
|
||||
|
||||
static const struct meson_reset_param meson_a1_audio_param = {
|
||||
.reset_ops = &meson_reset_toggle_ops,
|
||||
.reset_num = 32,
|
||||
.level_offset = 0x28,
|
||||
};
|
||||
|
||||
static const struct meson_reset_param meson_a1_audio_vad_param = {
|
||||
.reset_ops = &meson_reset_toggle_ops,
|
||||
.reset_num = 6,
|
||||
.level_offset = 0x8,
|
||||
};
|
||||
|
||||
static const struct meson_reset_param meson_g12a_audio_param = {
|
||||
.reset_ops = &meson_reset_toggle_ops,
|
||||
.reset_num = 26,
|
||||
@ -40,6 +52,12 @@ static const struct meson_reset_param meson_sm1_audio_param = {
|
||||
|
||||
static const struct auxiliary_device_id meson_reset_aux_ids[] = {
|
||||
{
|
||||
.name = "a1-audio-clkc.rst-a1",
|
||||
.driver_data = (kernel_ulong_t)&meson_a1_audio_param,
|
||||
}, {
|
||||
.name = "a1-audio-clkc.rst-a1-vad",
|
||||
.driver_data = (kernel_ulong_t)&meson_a1_audio_vad_param,
|
||||
}, {
|
||||
.name = "axg-audio-clkc.rst-g12a",
|
||||
.driver_data = (kernel_ulong_t)&meson_g12a_audio_param,
|
||||
}, {
|
||||
|
36
include/dt-bindings/reset/amlogic,meson-a1-audio-reset.h
Normal file
36
include/dt-bindings/reset/amlogic,meson-a1-audio-reset.h
Normal file
@ -0,0 +1,36 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
|
||||
/*
|
||||
* Copyright (c) 2024, SaluteDevices. All Rights Reserved.
|
||||
*
|
||||
* Author: Jan Dakinevich <jan.dakinevich@salutedevices.com>
|
||||
*/
|
||||
|
||||
#ifndef _DT_BINDINGS_AMLOGIC_MESON_A1_AUDIO_RESET_H
|
||||
#define _DT_BINDINGS_AMLOGIC_MESON_A1_AUDIO_RESET_H
|
||||
|
||||
#define AUD_RESET_DDRARB 0
|
||||
#define AUD_RESET_TDMIN_A 1
|
||||
#define AUD_RESET_TDMIN_B 2
|
||||
#define AUD_RESET_TDMIN_LB 3
|
||||
#define AUD_RESET_LOOPBACK 4
|
||||
#define AUD_RESET_TDMOUT_A 5
|
||||
#define AUD_RESET_TDMOUT_B 6
|
||||
#define AUD_RESET_FRDDR_A 7
|
||||
#define AUD_RESET_FRDDR_B 8
|
||||
#define AUD_RESET_TODDR_A 9
|
||||
#define AUD_RESET_TODDR_B 10
|
||||
#define AUD_RESET_SPDIFIN 11
|
||||
#define AUD_RESET_RESAMPLE 12
|
||||
#define AUD_RESET_EQDRC 13
|
||||
#define AUD_RESET_LOCKER 14
|
||||
#define AUD_RESET_TOACODEC 30
|
||||
#define AUD_RESET_CLKTREE 31
|
||||
|
||||
#define AUD_VAD_RESET_DDRARB 0
|
||||
#define AUD_VAD_RESET_PDM 1
|
||||
#define AUD_VAD_RESET_TDMIN_VAD 2
|
||||
#define AUD_VAD_RESET_TODDR_VAD 3
|
||||
#define AUD_VAD_RESET_TOVAD 4
|
||||
#define AUD_VAD_RESET_CLKTREE 5
|
||||
|
||||
#endif /* _DT_BINDINGS_AMLOGIC_MESON_A1_AUDIO_RESET_H */
|
Loading…
Reference in New Issue
Block a user