dt-bindings: sun6i-a31-mipi-dphy: Add the interrupts property
authorSamuel Holland <samuel@sholland.org>
Mon, 14 Nov 2022 02:21:06 +0000 (20:21 -0600)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:34:23 +0000 (23:04 +0530)
commit5a0d2df462568486b85a88ed2c88ffbfa1645cd1
tree00f53f30d6d97df94fa8da9ca581e7effca98d04
parente8511f407b078330dfcca0c7200e72b7638b6e17
dt-bindings: sun6i-a31-mipi-dphy: Add the interrupts property

The sun6i DPHY can generate several interrupts, mostly for reporting
error conditions, but also for detecting BTA and UPLS sequences.
Document this capability in order to accurately describe the hardware.

The DPHY has no interrupt number provided in the vendor documentation
because its interrupt line is shared with the DSI controller.

A trivial interrupt handler was used to verify that interrupts were in
fact generated by the DPHY and not the DSI controller.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221114022113.31694-2-samuel@sholland.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml