tmp_suning_uos_patched/drivers/soc/amlogic
Martin Blumenstingl 34217df28d soc: amlogic: meson-ee-pwrc: add support for Meson8/Meson8b/Meson8m2
This adds support for the power domains on Meson8/Meson8b/Meson8m2.
Meson8 doesn't use any reset lines while Meson8b and Meson8m2 use the
same set of reset lines (which is different from the newer SoCs).
Add dedicated compatible strings for Meson8, Meson8b and Meson8m2 to
support these differences.

Notable differences between Meson8 and G12A are:
- there is no HHI_VPU_MEM_PD_REG2 on the 32-bit SoCs
- the Meson8b datasheet describes an "audio DSP memory" power domain
  which is used for the hardware audio decoder
- the "amlogic,ao-sysctrl" only includes the power management related
  registers on the 32-bit SoCs, meaning the for example the
  AO_RTI_GEN_PWR_SLEEP0 register is at offset (0x2 << 2) rather than
  (0x3a << 2). As result of this (0x38 << 2) is subtracted from the
  register offsets, which is the start of the power management related
  registers.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20200515204709.1505498-4-martin.blumenstingl@googlemail.com
2020-05-19 16:02:14 -07:00
..
Kconfig soc: amlogic: fix compile failure with MESON_SECURE_PM_DOMAINS & !MESON_SM 2020-02-29 08:53:43 -08:00
Makefile soc: amlogic: Add support for Secure power domains controller 2020-02-14 11:37:34 -08:00
meson-canvas.c soc: amlogic: canvas: add support for Meson8, Meson8b and Meson8m2 2019-05-22 18:19:14 -07:00
meson-clk-measure.c soc: amlogic: clk-measure: Add support for SM1 2019-08-20 12:21:13 -07:00
meson-ee-pwrc.c soc: amlogic: meson-ee-pwrc: add support for Meson8/Meson8b/Meson8m2 2020-05-19 16:02:14 -07:00
meson-gx-pwrc-vpu.c soc: amlogic: meson-gx-pwrc-vpu: Add support for G12A 2019-04-16 11:09:53 -07:00
meson-gx-socinfo.c soc: amlogic: meson-gx-socinfo: Fix S905D3 ID for VIM3L 2019-11-06 11:12:58 -08:00
meson-mx-socinfo.c meson-mx-socinfo: Make local function meson_mx_socinfo_init() static 2018-02-12 14:15:47 -08:00
meson-secure-pwrc.c soc: amlogic: Add support for Secure power domains controller 2020-02-14 11:37:34 -08:00