drm/tegra: sor: Support device tree crossbar configuration
authorThierry Reding <treding@nvidia.com>
Fri, 25 Jan 2019 10:00:58 +0000 (11:00 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 7 Feb 2019 17:29:02 +0000 (18:29 +0100)
commit6d6c815daad8ec3469135c310ed39849cbe7752c
tree3d951a6f23ad407ab4424d92339ae92583135d81
parent6c2b3881d0df85fed7e3f43dcc9cbc3e5124bc12
drm/tegra: sor: Support device tree crossbar configuration

The crossbar configuration is usually the same across all designs for a
given SoC generation. But sometimes there are designs that require some
other configuration.

Implement support for parsing the crossbar configuration from a device
tree. If the crossbar configuration is not present in the device tree,
fall back to the default crossbar configuration.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c