Skip to content

Commit fe59b03

Browse files
Michal Wilczynskistorulf
authored andcommitted
dt-bindings: firmware: thead,th1520: Add support for firmware node
The kernel communicates with the E902 core through the mailbox transport using AON firmware protocol. Add dt-bindings to document it the dt node. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com> Acked-by: Drew Fustini <drew@pdp7.com> Link: https://lore.kernel.org/r/20250311171900.1549916-2-m.wilczynski@samsung.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent b90a6e6 commit fe59b03

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/firmware/thead,th1520-aon.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: T-HEAD TH1520 AON (Always-On) Firmware
8+
9+
description: |
10+
The Always-On (AON) subsystem in the TH1520 SoC is responsible for managing
11+
low-power states, system wakeup events, and power management tasks. It is
12+
designed to operate independently in a dedicated power domain, allowing it to
13+
remain functional even during the SoC's deep sleep states.
14+
15+
At the heart of the AON subsystem is the E902, a low-power core that executes
16+
firmware responsible for coordinating tasks such as power domain control,
17+
clock management, and system wakeup signaling. Communication between the main
18+
SoC and the AON subsystem is handled through a mailbox interface, which
19+
enables message-based interactions with the AON firmware.
20+
21+
maintainers:
22+
- Michal Wilczynski <m.wilczynski@samsung.com>
23+
24+
properties:
25+
compatible:
26+
const: thead,th1520-aon
27+
28+
mboxes:
29+
maxItems: 1
30+
31+
mbox-names:
32+
items:
33+
- const: aon
34+
35+
"#power-domain-cells":
36+
const: 1
37+
38+
required:
39+
- compatible
40+
- mboxes
41+
- mbox-names
42+
- "#power-domain-cells"
43+
44+
additionalProperties: false
45+
46+
examples:
47+
- |
48+
aon: aon {
49+
compatible = "thead,th1520-aon";
50+
mboxes = <&mbox_910t 1>;
51+
mbox-names = "aon";
52+
#power-domain-cells = <1>;
53+
};

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20420,6 +20420,7 @@ L: linux-riscv@lists.infradead.org
2042020420
S: Maintained
2042120421
T: git https://github.com/pdp7/linux.git
2042220422
F: Documentation/devicetree/bindings/clock/thead,th1520-clk-ap.yaml
20423+
F: Documentation/devicetree/bindings/firmware/thead,th1520-aon.yaml
2042320424
F: Documentation/devicetree/bindings/mailbox/thead,th1520-mbox.yaml
2042420425
F: Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml
2042520426
F: Documentation/devicetree/bindings/pinctrl/thead,th1520-pinctrl.yaml

0 commit comments

Comments
 (0)