Skip to content

Commit 64a97c9

Browse files
Khushal928sre
authored andcommitted
dt-bindings: power: reset: cortina,gemini-power-controller: convert to DT schema
Convert the Cortina Systems Gemini Poweroff Controller bindings to DT schema. Signed-off-by: Khushal Chitturi <khushalchitturi@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260330110135.10316-2-khushalchitturi@gmail.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent aa21327 commit 64a97c9

2 files changed

Lines changed: 42 additions & 17 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/power/reset/cortina,gemini-power-controller.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Cortina Systems Gemini Poweroff Controller
8+
9+
maintainers:
10+
- Linus Walleij <linusw@kernel.org>
11+
12+
description: |
13+
The Gemini power controller is a dedicated IP block in the Cortina Gemini SoC that
14+
controls system power-down operations.
15+
16+
properties:
17+
compatible:
18+
const: cortina,gemini-power-controller
19+
20+
reg:
21+
maxItems: 1
22+
23+
interrupts:
24+
maxItems: 1
25+
26+
required:
27+
- compatible
28+
- reg
29+
- interrupts
30+
31+
additionalProperties: false
32+
33+
examples:
34+
- |
35+
#include <dt-bindings/interrupt-controller/irq.h>
36+
37+
poweroff@4b000000 {
38+
compatible = "cortina,gemini-power-controller";
39+
reg = <0x4b000000 0x100>;
40+
interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
41+
};
42+
...

Documentation/devicetree/bindings/power/reset/gemini-poweroff.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)