Commit 97de44c5 authored by Neil Armstrong's avatar Neil Armstrong Committed by Kevin Hilman

dt-bindings: power: amlogic, meson-ee-pwrc: add Amlogic AXG power controller bindings

This add the bindings of the Power Controller found in the Amlogic AXG SoCs.
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20200917064702.1459-2-narmstrong@baylibre.com
parent 9123e3a7
...@@ -27,6 +27,7 @@ properties: ...@@ -27,6 +27,7 @@ properties:
- amlogic,meson8b-pwrc - amlogic,meson8b-pwrc
- amlogic,meson8m2-pwrc - amlogic,meson8m2-pwrc
- amlogic,meson-gxbb-pwrc - amlogic,meson-gxbb-pwrc
- amlogic,meson-axg-pwrc
- amlogic,meson-g12a-pwrc - amlogic,meson-g12a-pwrc
- amlogic,meson-sm1-pwrc - amlogic,meson-sm1-pwrc
...@@ -42,11 +43,11 @@ properties: ...@@ -42,11 +43,11 @@ properties:
- const: vapb - const: vapb
resets: resets:
minItems: 11 minItems: 5
maxItems: 12 maxItems: 12
reset-names: reset-names:
minItems: 11 minItems: 5
maxItems: 12 maxItems: 12
"#power-domain-cells": "#power-domain-cells":
...@@ -107,6 +108,24 @@ allOf: ...@@ -107,6 +108,24 @@ allOf:
- resets - resets
- reset-names - reset-names
- if:
properties:
compatible:
enum:
- amlogic,meson-axg-pwrc
then:
properties:
reset-names:
items:
- const: viu
- const: venc
- const: vcbus
- const: vencl
- const: vid_lock
required:
- resets
- reset-names
- if: - if:
properties: properties:
compatible: compatible:
......
/* SPDX-License-Identifier: (GPL-2.0+ or MIT) */
/*
* Copyright (c) 2020 BayLibre, SAS
* Author: Neil Armstrong <narmstrong@baylibre.com>
*/
#ifndef _DT_BINDINGS_MESON_AXG_POWER_H
#define _DT_BINDINGS_MESON_AXG_POWER_H
#define PWRC_AXG_VPU_ID 0
#define PWRC_AXG_ETHERNET_MEM_ID 1
#define PWRC_AXG_AUDIO_ID 2
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment