drm/bridge: dw-hdmi-i2s: support more i2s format
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Aug 2019 12:07:19 +0000 (14:07 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 14 Aug 2019 13:03:06 +0000 (15:03 +0200)
commit8067f62bccaff4d5c7e0900431e8ab4372dcb8ab
tree2a7a300b00455c998538f9d3ac1a60e3667bc397
parentc0900eb8264c989878e475eb02a0d19eaeb62682
drm/bridge: dw-hdmi-i2s: support more i2s format

The dw-hdmi-i2s supports more formats than just regular i2s.
Add support for left justified, right justified and dsp modes
A and B.

Reviewed-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190812120726.1528-2-jbrunet@baylibre.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
drivers/gpu/drm/bridge/synopsys/dw-hdmi.h