mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 14:43:58 +08:00
dt-bindings: pinctrl: Convert UniPhier pin controller to json-schema
Convert the UniPhier pin controller binding to DT schema format. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
89099d1432
commit
849b10446b
@ -1,27 +0,0 @@
|
||||
UniPhier SoCs pin controller
|
||||
|
||||
Required properties:
|
||||
- compatible: should be one of the following:
|
||||
"socionext,uniphier-ld4-pinctrl" - for LD4 SoC
|
||||
"socionext,uniphier-pro4-pinctrl" - for Pro4 SoC
|
||||
"socionext,uniphier-sld8-pinctrl" - for sLD8 SoC
|
||||
"socionext,uniphier-pro5-pinctrl" - for Pro5 SoC
|
||||
"socionext,uniphier-pxs2-pinctrl" - for PXs2 SoC
|
||||
"socionext,uniphier-ld6b-pinctrl" - for LD6b SoC
|
||||
"socionext,uniphier-ld11-pinctrl" - for LD11 SoC
|
||||
"socionext,uniphier-ld20-pinctrl" - for LD20 SoC
|
||||
"socionext,uniphier-pxs3-pinctrl" - for PXs3 SoC
|
||||
|
||||
Note:
|
||||
The UniPhier pinctrl should be a subnode of a "syscon" compatible node.
|
||||
|
||||
Example:
|
||||
soc-glue@5f800000 {
|
||||
compatible = "socionext,uniphier-pro4-soc-glue",
|
||||
"simple-mfd", "syscon";
|
||||
reg = <0x5f800000 0x2000>;
|
||||
|
||||
pinctrl: pinctrl {
|
||||
compatible = "socionext,uniphier-pro4-pinctrl";
|
||||
};
|
||||
};
|
@ -0,0 +1,42 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/pinctrl/socionext,uniphier-pinctrl.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: UniPhier SoCs pin controller
|
||||
|
||||
maintainers:
|
||||
- Masahiro Yamada <yamada.masahiro@socionext.com>
|
||||
|
||||
properties:
|
||||
$nodename:
|
||||
pattern: "pinctrl"
|
||||
|
||||
compatible:
|
||||
enum:
|
||||
- socionext,uniphier-ld4-pinctrl
|
||||
- socionext,uniphier-pro4-pinctrl
|
||||
- socionext,uniphier-sld8-pinctrl
|
||||
- socionext,uniphier-pro5-pinctrl
|
||||
- socionext,uniphier-pxs2-pinctrl
|
||||
- socionext,uniphier-ld6b-pinctrl
|
||||
- socionext,uniphier-ld11-pinctrl
|
||||
- socionext,uniphier-ld20-pinctrl
|
||||
- socionext,uniphier-pxs3-pinctrl
|
||||
|
||||
required:
|
||||
- compatible
|
||||
|
||||
examples:
|
||||
- |
|
||||
// The UniPhier pinctrl should be a subnode of a "syscon" compatible node.
|
||||
|
||||
soc-glue@5f800000 {
|
||||
compatible = "socionext,uniphier-pro4-soc-glue", "simple-mfd", "syscon";
|
||||
reg = <0x5f800000 0x2000>;
|
||||
|
||||
pinctrl: pinctrl {
|
||||
compatible = "socionext,uniphier-pro4-pinctrl";
|
||||
};
|
||||
};
|
@ -2548,7 +2548,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier.gi
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/arm/socionext/uniphier.yaml
|
||||
F: Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml
|
||||
F: Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
|
||||
F: Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml
|
||||
F: arch/arm/boot/dts/uniphier*
|
||||
F: arch/arm/include/asm/hardware/cache-uniphier.h
|
||||
F: arch/arm/mach-uniphier/
|
||||
|
Loading…
Reference in New Issue
Block a user