Lines Matching +full:ao +full:- +full:sysctrl
1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2015-2016 HiSilicon Limited.
19 #include <linux/reset-controller.h>
36 AO, enumerator
48 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert()
60 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert()
77 struct regmap *regmap = data->regmap; in hi6220_media_assert()
86 struct regmap *regmap = data->regmap; in hi6220_media_deassert()
110 struct regmap *regmap = data->regmap; in hi6220_ao_assert()
129 struct regmap *regmap = data->regmap; in hi6220_ao_deassert()
157 struct device_node *np = pdev->dev.of_node; in hi6220_reset_probe()
158 struct device *dev = &pdev->dev; in hi6220_reset_probe()
165 return -ENOMEM; in hi6220_reset_probe()
175 data->regmap = regmap; in hi6220_reset_probe()
176 data->rc_dev.of_node = np; in hi6220_reset_probe()
178 data->rc_dev.ops = &hi6220_media_reset_ops; in hi6220_reset_probe()
179 data->rc_dev.nr_resets = MEDIA_MAX_INDEX; in hi6220_reset_probe()
181 data->rc_dev.ops = &hi6220_peripheral_reset_ops; in hi6220_reset_probe()
182 data->rc_dev.nr_resets = PERIPH_MAX_INDEX; in hi6220_reset_probe()
184 data->rc_dev.ops = &hi6220_ao_reset_ops; in hi6220_reset_probe()
185 data->rc_dev.nr_resets = AO_MAX_INDEX; in hi6220_reset_probe()
188 return reset_controller_register(&data->rc_dev); in hi6220_reset_probe()
193 .compatible = "hisilicon,hi6220-sysctrl",
197 .compatible = "hisilicon,hi6220-mediactrl",
201 .compatible = "hisilicon,hi6220-aoctrl",
202 .data = (void *)AO,
211 .name = "reset-hi6220",