]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: display/msm: gpu: Simplify conditional schema logic
authorAkhil P Oommen <akhilpo@oss.qualcomm.com>
Wed, 31 Dec 2025 08:45:23 +0000 (14:15 +0530)
committerRob Clark <robin.clark@oss.qualcomm.com>
Thu, 15 Jan 2026 22:12:32 +0000 (14:12 -0800)
commit158927e1f63e23ade5d099ed013eab411979775e
tree41565ac2b0c5e91a2464040bcee7c2780358bb53
parente39333a81eeff310fd651e2e6de3680cb7906a32
dt-bindings: display/msm: gpu: Simplify conditional schema logic

JSON Schema conditionals can become complex and error-prone when combined
with regex patterns. To improve readability and maintainability, replace
nested if-else blocks with a flattened structure using explicit enums.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/696674/
Message-ID: <20251231-qcs615-spin-2-v6-2-da87debf6883@oss.qualcomm.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Documentation/devicetree/bindings/display/msm/gpu.yaml