mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
dt-bindings: pinctrl: qcom: move gpio-hog schema to tlmm-common
Qualcomm TLMM-based pin controllers share the same gpio-hog binding semantics across multiple SoCs. The gpio-hog pattern currently defined in qcom,ipq4019-pinctrl.yaml and qcom,sdm845-pinctrl.yaml are not SOC specific and applies to all TLMM controllers. Move the gpio-hog patternProperties definition to qcom,tlmm-common.yaml so that it can be reused by other Qualcomm TLMM pinctrl bindings and avoid schema duplication. Signed-off-by: Swati Agarwal <swati.agarwal@oss.qualcomm.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
parent
041e5ea203
commit
02622db868
|
|
@ -36,11 +36,6 @@ patternProperties:
|
|||
$ref: "#/$defs/qcom-ipq4019-tlmm-state"
|
||||
additionalProperties: false
|
||||
|
||||
"-hog(-[0-9]+)?$":
|
||||
type: object
|
||||
required:
|
||||
- gpio-hog
|
||||
|
||||
$defs:
|
||||
qcom-ipq4019-tlmm-state:
|
||||
type: object
|
||||
|
|
|
|||
|
|
@ -42,11 +42,6 @@ patternProperties:
|
|||
$ref: "#/$defs/qcom-sdm845-tlmm-state"
|
||||
additionalProperties: false
|
||||
|
||||
"-hog(-[0-9]+)?$":
|
||||
type: object
|
||||
required:
|
||||
- gpio-hog
|
||||
|
||||
$defs:
|
||||
qcom-sdm845-tlmm-state:
|
||||
type: object
|
||||
|
|
|
|||
|
|
@ -51,6 +51,12 @@ properties:
|
|||
should not be accessed by the OS. Please see the ../gpio/gpio.txt for more
|
||||
information.
|
||||
|
||||
patternProperties:
|
||||
"-hog(-[0-9]+)?$":
|
||||
type: object
|
||||
required:
|
||||
- gpio-hog
|
||||
|
||||
allOf:
|
||||
- $ref: pinctrl.yaml#
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user