Repository navigation
Commit edfbfec
media: tc358743: fix connected/active CSI-2 lane reporting
g_mbus_config was supposed to indicate all supported lane numbers, not
only the number of those currently in active use. Since the TC358743
can dynamically reduce the number of active lanes if the required
bandwidth allows for it, report all lane numbers up to the connected
number of lanes as supported in pdata mode.
In device tree mode, do not report lane count and clock mode at all, as
the receiver driver can determine these from the device tree.
To allow communicating the number of currently active lanes, add a new
bitfield to the v4l2_mbus_config flags. This is a temporary fix, to be
used only until a better solution is found.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>1 parent 3c8b360 commit edfbfec
2 files changed
Lines changed: 24 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1606 | 1606 | | |
1607 | 1607 | | |
1608 | 1608 | | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
1609 | 1613 | | |
1610 | 1614 | | |
| 1615 | + | |
1611 | 1616 | | |
1612 | | - | |
1613 | | - | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
1614 | 1620 | | |
1615 | | - | |
1616 | | - | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
1617 | 1625 | | |
1618 | | - | |
1619 | | - | |
| 1626 | + | |
1620 | 1627 | | |
1621 | | - | |
1622 | | - | |
| 1628 | + | |
1623 | 1629 | | |
1624 | | - | |
1625 | | - | |
| 1630 | + | |
1626 | 1631 | | |
1627 | | - | |
1628 | | - | |
1629 | | - | |
1630 | | - | |
1631 | 1632 | | |
1632 | 1633 | | |
1633 | 1634 | | |
| |||
2052 | 2053 | | |
2053 | 2054 | | |
2054 | 2055 | | |
| 2056 | + | |
2055 | 2057 | | |
2056 | 2058 | | |
2057 | 2059 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
70 | 78 | | |
71 | 79 | | |
72 | 80 | | |
| |||
0 commit comments