Krzysztof Kozlowski
79d770afa0
dt-bindings: pinctrl: qcom: drop common properties
...
Drop common properties already defined in referenced common Qualcomm SoC
TLMM bindings and use "unevaluatedProperties: false". This makes the
binding smaller and easier to review.
In few places move the "required:" block to bottom, to match convention.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20231208215534.195854-9-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2023-12-20 12:09:57 +01:00
Krzysztof Kozlowski
5c9177c2a5
dt-bindings: pinctrl: qcom,sdm845: simplify with unevaluatedProperties
...
All Qualcomm SoC Top Level Mode Multiplexer pin controllers have similar
capabilities regarding pin properties, thus we can just accept entire
set provided by qcom,tlmm-common.yaml schema.
This also fixes warnings like:
sdm845-cheza-r1.dtb: pinctrl@3400000: qspi-sleep-state: 'oneOf' conditional failed, one must be fixed:
'output-disable' does not match any of the regexes: 'pinctrl-[0-9]+'
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230407184546.161168-28-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
2023-04-12 10:58:46 +02:00
Krzysztof Kozlowski
12a18bb74f
dt-bindings: pinctrl: qcom: allow nine interrupts on SM6350
...
Almost all Qualcomm SoC Top Level Mode Multiplexers come with only
summary interrupt. SM6350 is different because downstream and upstream
DTS have nine of the interrupts. Allow such variation.
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221230135645.56401-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
2023-01-13 11:47:52 +01:00
Krzysztof Kozlowski
9eef05e606
dt-bindings: pinctrl: qcom,sdm845-pinctrl: add GPIO hogs
...
Allow GPIO hogs in pin controller node. qcom/sdm845-cheza.dtsi already
uses it.
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221121081221.30745-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
2023-01-13 10:03:35 +01:00
Krzysztof Kozlowski
dba79c3460
dt-bindings: pinctrl: qcom,sdm845: convert to dtschema
...
Convert Qualcomm SDM845 pin controller bindings to DT schema. Keep
the parsing of pin configuration subnodes consistent with other Qualcomm
schemas (children named with '-state' suffix, their children with
'-pins').
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220930200529.331223-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
2022-10-17 18:40:57 -04:00