Skip to content

Commit

Permalink
allwinner: OrangePi PC also needs SW CEC hack
Browse files Browse the repository at this point in the history
CEC stopped working after updating from LE10 to LE11 as the former enabled
the SW CEC hack for all H3 boards and the latter only for specific boards.
Add OrangePi PC to that list of specific boards.
  • Loading branch information
gaaf committed Jan 30, 2025
1 parent 53e4a5f commit 5afff9b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,15 @@ index 581233d6eaf2..a5771b5d9b67 100644
static int sun8i_hdmi_phy_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
@@ -681,6 +756,14 @@ static int sun8i_hdmi_phy_probe(struct platform_device *pdev)
@@ -681,6 +756,15 @@ static int sun8i_hdmi_phy_probe(struct platform_device *pdev)

phy->variant = of_device_get_match_data(dev);
phy->dev = dev;
+ phy->disable_cec = of_machine_is_compatible("roofull,beelink-x2") ||
+ of_machine_is_compatible("friendlyarm,nanopi-m1") ||
+ of_machine_is_compatible("xunlong,orangepi-lite") ||
+ of_machine_is_compatible("xunlong,orangepi-one") ||
+ of_machine_is_compatible("xunlong,orangepi-pc") ||
+ of_machine_is_compatible("xunlong,orangepi-pc-plus") ||
+ of_machine_is_compatible("xunlong,orangepi-plus2e");
+ phy->bit_bang_cec = phy->disable_cec &&
Expand Down

0 comments on commit 5afff9b

Please sign in to comment.