dt-bindings: power: add Amlogic Everything-Else power domains bindings
Add the bindings for the Amlogic Everything-Else power domains, controlling the Everything-Else peripherals power domains. The bindings targets the Amlogic G12A and SM1 compatible SoCs, support for earlier SoCs will be added later. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
This commit is contained in:

committed by
Kevin Hilman

parent
eef3c2ba0a
commit
bd9eccf140
13
include/dt-bindings/power/meson-g12a-power.h
Normal file
13
include/dt-bindings/power/meson-g12a-power.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0+ or MIT) */
|
||||
/*
|
||||
* Copyright (c) 2019 BayLibre, SAS
|
||||
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||
*/
|
||||
|
||||
#ifndef _DT_BINDINGS_MESON_G12A_POWER_H
|
||||
#define _DT_BINDINGS_MESON_G12A_POWER_H
|
||||
|
||||
#define PWRC_G12A_VPU_ID 0
|
||||
#define PWRC_G12A_ETH_ID 1
|
||||
|
||||
#endif
|
18
include/dt-bindings/power/meson-sm1-power.h
Normal file
18
include/dt-bindings/power/meson-sm1-power.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0+ or MIT) */
|
||||
/*
|
||||
* Copyright (c) 2019 BayLibre, SAS
|
||||
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||
*/
|
||||
|
||||
#ifndef _DT_BINDINGS_MESON_SM1_POWER_H
|
||||
#define _DT_BINDINGS_MESON_SM1_POWER_H
|
||||
|
||||
#define PWRC_SM1_VPU_ID 0
|
||||
#define PWRC_SM1_NNA_ID 1
|
||||
#define PWRC_SM1_USB_ID 2
|
||||
#define PWRC_SM1_PCIE_ID 3
|
||||
#define PWRC_SM1_GE2D_ID 4
|
||||
#define PWRC_SM1_AUDIO_ID 5
|
||||
#define PWRC_SM1_ETH_ID 6
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user