drm/vc4: Separate VEC compatible variants
authorkFYatek <4499762+kFYatek@users.noreply.github.com>
Sat, 27 Mar 2021 20:43:40 +0000 (21:43 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Wed, 21 Apr 2021 14:57:57 +0000 (15:57 +0100)
commit203f70487548714de96bd3f530c8f8a6d558971e
treebdd7ca1e9d8a6eeaaaae2b34e1e09181c8a8bd2a
parentfaa7e3f2caa04b7778955722e52309c2b7b1ea8e
drm/vc4: Separate VEC compatible variants

The VEC's DAC on BCM2711 is slightly different compared to the one on
BCM283x and needs different configuration. In particular, bit 3
(mask 0x8) switches the BCM2711 DAC input to "self-test input data",
which makes the output unusable. Separating two compatible variants in
devicetrees and the DRM driver was therefore necessary.

The configurations used for both variants have been borrowed from
Raspberry Pi (model 3B for BCM283x, 4B for BCM2711) firmware defaults.

Signed-off-by: Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
Documentation/devicetree/bindings/display/brcm,bcm2835-vec.yaml
arch/arm/boot/dts/bcm2711.dtsi
drivers/gpu/drm/vc4/vc4_vec.c