dt-bindings: arm: mstar: Add binding details for mstar, pmsleep

This adds a YAML description of the pmsleep node used by
MStar/SigmaStar Armv7 SoCs.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Daniel Palmer 2020-07-28 19:03:13 +09:00 committed by Arnd Bergmann
parent 98895d5e9e
commit 33cabc0bc6
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,43 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
# Copyright 2020 thingy.jp.
%YAML 1.2
---
$id: "http://devicetree.org/schemas/arm/mstar/mstar,pmsleep.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: MStar/SigmaStar Armv7 SoC pmsleep register region
maintainers:
- Daniel Palmer <daniel@thingy.jp>
description: |
MStar/Sigmastar's Armv7 SoCs contain a region of registers that are
in the always on domain that the vendor code calls the "pmsleep" area.
This area contains registers and bits for a broad range of functionality
ranging from registers that control going into deep sleep to bits that
turn things like the internal temperature sensor on and off.
properties:
compatible:
oneOf:
- items:
- enum:
- mstar,pmsleep
- const: syscon
reg:
maxItems: 1
required:
- compatible
- reg
additionalProperties: false
examples:
- |
pmsleep: pmsleep@1c00 {
compatible = "mstar,pmsleep", "syscon";
reg = <0x0x1c00 0x100>;
};

View File

@ -2140,6 +2140,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
S: Maintained
W: http://linux-chenxing.org/
F: Documentation/devicetree/bindings/arm/mstar.yaml
F: Documentation/devicetree/bindings/arm/mstar/*
F: arch/arm/boot/dts/infinity*.dtsi
F: arch/arm/boot/dts/mercury*.dtsi
F: arch/arm/boot/dts/mstar-v7.dtsi