Commit f8c76af2 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

dt-bindings: pinctrl: qcom,sm6125-tlmm: minor style cleanups

Drop "binding" from description (and align it with other Qualcomm
pinctrl bindings), drop redundant minItems, use double quotes
consistently, drop redundant quotes and rename file to match compatible
(to match coding convention).
Acked-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20221017230012.47878-24-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent a095c7e0
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2 %YAML 1.2
--- ---
$id: http://devicetree.org/schemas/pinctrl/qcom,sm6125-pinctrl.yaml# $id: http://devicetree.org/schemas/pinctrl/qcom,sm6125-tlmm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. SM6125 TLMM block title: Qualcomm Technologies, Inc. SM6125 TLMM block
maintainers: maintainers:
- Martin Botka <martin.botka@somainline.org> - Martin Botka <martin.botka@somainline.org>
description: | description:
This binding describes the Top Level Mode Multiplexer (TLMM) block found Top Level Mode Multiplexer pin controller in Qualcomm SM6125 SoC.
in the SM6125 platform.
allOf: allOf:
- $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
...@@ -20,21 +19,20 @@ properties: ...@@ -20,21 +19,20 @@ properties:
const: qcom,sm6125-tlmm const: qcom,sm6125-tlmm
reg: reg:
minItems: 3
maxItems: 3 maxItems: 3
reg-names: reg-names:
items: items:
- const: "west" - const: west
- const: "south" - const: south
- const: "east" - const: east
interrupts: true interrupts: true
interrupt-controller: true interrupt-controller: true
'#interrupt-cells': true "#interrupt-cells": true
gpio-controller: true gpio-controller: true
gpio-reserved-ranges: true gpio-reserved-ranges: true
'#gpio-cells': true "#gpio-cells": true
gpio-ranges: true gpio-ranges: true
wakeup-parent: true wakeup-parent: true
...@@ -46,7 +44,7 @@ required: ...@@ -46,7 +44,7 @@ required:
additionalProperties: false additionalProperties: false
patternProperties: patternProperties:
'-state$': "-state$":
oneOf: oneOf:
- $ref: "#/$defs/qcom-sm6125-tlmm-state" - $ref: "#/$defs/qcom-sm6125-tlmm-state"
- patternProperties: - patternProperties:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment