mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
290e44bada
The SCU Key controller can be used as a system wakeup source. Document the 'wakeup-source' property. This fixes the following schema warning: system-controller: keys: 'wakeup-source' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml# Signed-off-by: Fabio Estevam <festevam@denx.de> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230926122957.341094-1-festevam@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
42 lines
877 B
YAML
42 lines
877 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/input/fsl,scu-key.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: i.MX SCU Client Device Node - SCU Key Based on SCU Message Protocol
|
|
|
|
maintainers:
|
|
- Dong Aisheng <aisheng.dong@nxp.com>
|
|
|
|
description: i.MX SCU Client Device Node
|
|
Client nodes are maintained as children of the relevant IMX-SCU device node.
|
|
|
|
allOf:
|
|
- $ref: input.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- const: fsl,imx8qxp-sc-key
|
|
- const: fsl,imx-sc-key
|
|
|
|
linux,keycodes:
|
|
maxItems: 1
|
|
|
|
wakeup-source: true
|
|
|
|
required:
|
|
- compatible
|
|
- linux,keycodes
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
keys {
|
|
compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
|
|
linux,keycodes = <KEY_POWER>;
|
|
};
|