[PATCH v6 084/102] x86: apl: Add PMC driver

Bin Meng bmeng.cn at gmail.com
Sun Dec 8 09:04:51 CET 2019


On Sat, Dec 7, 2019 at 12:54 PM Simon Glass <sjg at chromium.org> wrote:
>
> Add a driver for the Apollo Lake SoC. It supports the basic operations and
> can use device tree or of-platdata.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v6:
> - Use one space after #defines in pm.h
>
> Changes in v5: None
> Changes in v4:
> - Fix Makefile copyright message
> - Fix incorrect mask check in pmc_gpe_init()
> - Switch over to use pinctrl for pad init/config
> - Tidy up header guards
> - Use pci_ofplat_get_devfn()
> - apollolake -> Apollo Lake
>
> Changes in v3:
> - Use pci_get_devfn()
>
> Changes in v2: None
>
>  arch/x86/cpu/apollolake/Makefile          |   5 +
>  arch/x86/cpu/apollolake/pmc.c             | 216 ++++++++++++++++++++++
>  arch/x86/include/asm/arch-apollolake/pm.h |  19 ++
>  drivers/power/acpi_pmc/acpi-pmc-uclass.c  |  56 ++++++
>  4 files changed, 296 insertions(+)
>  create mode 100644 arch/x86/cpu/apollolake/Makefile
>  create mode 100644 arch/x86/cpu/apollolake/pmc.c
>  create mode 100644 arch/x86/include/asm/arch-apollolake/pm.h
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list