Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mfd: Add Khadas Microcontroller bindings

This Microcontroller is present on the Khadas VIM1, VIM2, VIM3 and Edge
boards.

It has multiple boot control features like password check, power-on
options, power-off control and system FAN control on recent boards.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Neil Armstrong and committed by
Lee Jones
6bcb330c ad738ddd

+44
+44
Documentation/devicetree/bindings/mfd/khadas,mcu.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/mfd/khadas,mcu.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Khadas on-board Microcontroller Device Tree Bindings 8 + 9 + maintainers: 10 + - Neil Armstrong <narmstrong@baylibre.com> 11 + 12 + description: | 13 + Khadas embeds a microcontroller on their VIM and Edge boards adding some 14 + system feature as PWM Fan control (for VIM2 rev14 or VIM3), User memory 15 + storage, IR/Key resume control, system power LED control and more. 16 + 17 + properties: 18 + compatible: 19 + enum: 20 + - khadas,mcu # MCU revision is discoverable 21 + 22 + "#cooling-cells": # Only needed for boards having FAN control feature 23 + const: 2 24 + 25 + reg: 26 + maxItems: 1 27 + 28 + required: 29 + - compatible 30 + - reg 31 + 32 + additionalProperties: false 33 + 34 + examples: 35 + - | 36 + i2c { 37 + #address-cells = <1>; 38 + #size-cells = <0>; 39 + khadas_mcu: system-controller@18 { 40 + compatible = "khadas,mcu"; 41 + reg = <0x18>; 42 + #cooling-cells = <2>; 43 + }; 44 + };