Commit 2316129
drm/mediatek: mtk_hdmi: Add HDMI IP version configuration to pdata
In preparation for adding a driver for the HDMIv2 IP and before
moving the common bits out of this driver, add a new structure
`mtk_hdmi_ver_conf`, holding pointers to HDMI IP version specific
drm_bridge_funcs, hdmi_codec_ops and clock array used for probe,
and nest it into the mtk_hdmi_conf platform data structure.
While at it, also convert all of the direct users of
mtk_hdmi_bridge_funcs, mtk_hdmi_audio_codec_ops, mtk_hdmi_clk_names
to use pointers from the ver_conf platform data.
In order to do so, it was also necessary to fill a new version 1
specific const `mtk_hdmi_v1_ver_conf` and assign it to all of the
currently supported compatibles for this driver.
This commit brings no functional change.
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20251023-mediatek-drm-hdmi-v2-v11-3-7873ec4a1edf@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>1 parent 0d410bd commit 2316129
1 file changed
Lines changed: 37 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
147 | 154 | | |
| 155 | + | |
148 | 156 | | |
149 | 157 | | |
150 | 158 | | |
| |||
1618 | 1626 | | |
1619 | 1627 | | |
1620 | 1628 | | |
1621 | | - | |
| 1629 | + | |
1622 | 1630 | | |
1623 | 1631 | | |
1624 | 1632 | | |
| |||
1651 | 1659 | | |
1652 | 1660 | | |
1653 | 1661 | | |
| 1662 | + | |
| 1663 | + | |
1654 | 1664 | | |
1655 | 1665 | | |
1656 | | - | |
1657 | 1666 | | |
1658 | 1667 | | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
1659 | 1674 | | |
1660 | | - | |
| 1675 | + | |
1661 | 1676 | | |
1662 | 1677 | | |
1663 | 1678 | | |
1664 | 1679 | | |
1665 | | - | |
| 1680 | + | |
1666 | 1681 | | |
1667 | | - | |
| 1682 | + | |
1668 | 1683 | | |
1669 | 1684 | | |
1670 | 1685 | | |
1671 | | - | |
| 1686 | + | |
| 1687 | + | |
1672 | 1688 | | |
1673 | 1689 | | |
1674 | 1690 | | |
| |||
1729 | 1745 | | |
1730 | 1746 | | |
1731 | 1747 | | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
1732 | 1755 | | |
1733 | 1756 | | |
| 1757 | + | |
1734 | 1758 | | |
1735 | 1759 | | |
1736 | 1760 | | |
1737 | | - | |
1738 | 1761 | | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
1739 | 1768 | | |
1740 | 1769 | | |
1741 | 1770 | | |
1742 | 1771 | | |
1743 | 1772 | | |
1744 | | - | |
| 1773 | + | |
1745 | 1774 | | |
1746 | 1775 | | |
1747 | 1776 | | |
| |||
0 commit comments