Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: rockchip,inno-hdmi: Document RK3128 compatible

The integration for this SoC is different from the currently existing: It
needs it's PHY's reference clock rate to calculate the DDC bus frequency
correctly. The controller is also part of a powerdomain, so this gets added
as an mandatory property for this variant.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231222174220.55249-2-knaerzche@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Alex Bee and committed by
Rob Herring
4ec295ef 76156d06

+38 -2
+38 -2
Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml
··· 14 14 compatible: 15 15 enum: 16 16 - rockchip,rk3036-inno-hdmi 17 + - rockchip,rk3128-inno-hdmi 17 18 18 19 reg: 19 20 maxItems: 1 ··· 23 22 maxItems: 1 24 23 25 24 clocks: 26 - maxItems: 1 25 + minItems: 1 26 + items: 27 + - description: The HDMI controller main clock 28 + - description: The HDMI PHY reference clock 27 29 28 30 clock-names: 29 - const: pclk 31 + minItems: 1 32 + items: 33 + - const: pclk 34 + - const: ref 35 + 36 + power-domains: 37 + maxItems: 1 30 38 31 39 ports: 32 40 $ref: /schemas/graph.yaml#/properties/ports ··· 64 54 - pinctrl-0 65 55 - pinctrl-names 66 56 - ports 57 + 58 + allOf: 59 + - if: 60 + properties: 61 + compatible: 62 + contains: 63 + const: rockchip,rk3036-inno-hdmi 64 + 65 + then: 66 + properties: 67 + power-domains: false 68 + 69 + - if: 70 + properties: 71 + compatible: 72 + contains: 73 + const: rockchip,rk3128-inno-hdmi 74 + 75 + then: 76 + properties: 77 + clocks: 78 + minItems: 2 79 + clock-names: 80 + minItems: 2 81 + required: 82 + - power-domains 67 83 68 84 additionalProperties: false 69 85