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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: mfd: Convert fsl,mcu-mpc8349emitx binding to YAML

Convert mcu-mpc8349emitx.txt to YAML and list the compatible strings
currently in use.

Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250126-ppcyaml-v1-4-50649f51c3dd@posteo.net
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

J. Neuschäfer and committed by
Lee Jones
49af93c9 6b1a65c5

+53 -17
+53
Documentation/devicetree/bindings/mfd/fsl,mcu-mpc8349emitx.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/fsl,mcu-mpc8349emitx.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU) 8 + 9 + maintainers: 10 + - J. Neuschäfer <j.ne@posteo.net> 11 + 12 + properties: 13 + compatible: 14 + oneOf: 15 + - items: 16 + - enum: 17 + - fsl,mc9s08qg8-mpc8315erdb 18 + - fsl,mc9s08qg8-mpc8349emitx 19 + - fsl,mc9s08qg8-mpc8377erdb 20 + - fsl,mc9s08qg8-mpc8378erdb 21 + - fsl,mc9s08qg8-mpc8379erdb 22 + - const: fsl,mcu-mpc8349emitx 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + "#gpio-cells": 28 + const: 2 29 + 30 + gpio-controller: true 31 + 32 + required: 33 + - compatible 34 + - reg 35 + - "#gpio-cells" 36 + - gpio-controller 37 + 38 + additionalProperties: false 39 + 40 + examples: 41 + - | 42 + i2c { 43 + #address-cells = <1>; 44 + #size-cells = <0>; 45 + 46 + mcu@a { 47 + #gpio-cells = <2>; 48 + compatible = "fsl,mc9s08qg8-mpc8349emitx", 49 + "fsl,mcu-mpc8349emitx"; 50 + reg = <0x0a>; 51 + gpio-controller; 52 + }; 53 + };
-17
Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt
··· 1 - Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU) 2 - 3 - Required properties: 4 - - compatible : "fsl,<mcu-chip>-<board>", "fsl,mcu-mpc8349emitx". 5 - - reg : should specify I2C address (0x0a). 6 - - #gpio-cells : should be 2. 7 - - gpio-controller : should be present. 8 - 9 - Example: 10 - 11 - mcu@a { 12 - #gpio-cells = <2>; 13 - compatible = "fsl,mc9s08qg8-mpc8349emitx", 14 - "fsl,mcu-mpc8349emitx"; 15 - reg = <0x0a>; 16 - gpio-controller; 17 - };