mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
reset: uniphier: add analog amplifiers reset control
Add a reset line for analog signal amplifier core (ADAMV) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <[email protected]> Acked-by: Masahiro Yamada <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
This commit is contained in:
parent
0f1954355d
commit
ac0c735ac3
2 changed files with 40 additions and 0 deletions
|
|
@ -196,6 +196,12 @@ static const struct uniphier_reset_data uniphier_pro4_peri_reset_data[] = {
|
|||
UNIPHIER_RESET_END,
|
||||
};
|
||||
|
||||
/* Analog signal amplifiers reset data */
|
||||
static const struct uniphier_reset_data uniphier_ld11_adamv_reset_data[] = {
|
||||
UNIPHIER_RESETX(0, 0x10, 6), /* EVEA */
|
||||
UNIPHIER_RESET_END,
|
||||
};
|
||||
|
||||
/* core implementaton */
|
||||
struct uniphier_reset_priv {
|
||||
struct reset_controller_dev rcdev;
|
||||
|
|
@ -415,6 +421,15 @@ static const struct of_device_id uniphier_reset_match[] = {
|
|||
.compatible = "socionext,uniphier-ld20-peri-reset",
|
||||
.data = uniphier_pro4_peri_reset_data,
|
||||
},
|
||||
/* Analog signal amplifiers reset */
|
||||
{
|
||||
.compatible = "socionext,uniphier-ld11-adamv-reset",
|
||||
.data = uniphier_ld11_adamv_reset_data,
|
||||
},
|
||||
{
|
||||
.compatible = "socionext,uniphier-ld20-adamv-reset",
|
||||
.data = uniphier_ld11_adamv_reset_data,
|
||||
},
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, uniphier_reset_match);
|
||||
|
|
|
|||
Loading…
Reference in a new issue