Commit e1a31f98 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

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

Drop "binding" from description (and align it with other Qualcomm
pinctrl bindings), 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-21-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 222ca103
# 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,sc8180x-pinctrl.yaml# $id: http://devicetree.org/schemas/pinctrl/qcom,sc8180x-tlmm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. SC8180X TLMM block title: Qualcomm Technologies, Inc. SC8180X TLMM block
...@@ -9,9 +9,8 @@ title: Qualcomm Technologies, Inc. SC8180X TLMM block ...@@ -9,9 +9,8 @@ title: Qualcomm Technologies, Inc. SC8180X TLMM block
maintainers: maintainers:
- Bjorn Andersson <bjorn.andersson@linaro.org> - Bjorn Andersson <bjorn.andersson@linaro.org>
description: | description:
This binding describes the Top Level Mode Multiplexer block found in the Top Level Mode Multiplexer pin controller in Qualcomm SC8180X SoC.
SC8180X platform.
allOf: allOf:
- $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
...@@ -25,9 +24,9 @@ properties: ...@@ -25,9 +24,9 @@ properties:
reg-names: reg-names:
items: items:
- const: "west" - const: west
- const: "east" - const: east
- const: "south" - const: south
interrupts: true interrupts: true
interrupt-controller: true interrupt-controller: true
...@@ -46,7 +45,7 @@ required: ...@@ -46,7 +45,7 @@ required:
additionalProperties: false additionalProperties: false
patternProperties: patternProperties:
'-state$': "-state$":
oneOf: oneOf:
- $ref: "#/$defs/qcom-sc8180x-tlmm-state" - $ref: "#/$defs/qcom-sc8180x-tlmm-state"
- patternProperties: - patternProperties:
...@@ -54,7 +53,7 @@ patternProperties: ...@@ -54,7 +53,7 @@ patternProperties:
$ref: "#/$defs/qcom-sc8180x-tlmm-state" $ref: "#/$defs/qcom-sc8180x-tlmm-state"
additionalProperties: false additionalProperties: false
'$defs': $defs:
qcom-sc8180x-tlmm-state: qcom-sc8180x-tlmm-state:
type: object type: object
description: description:
......
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