Add odroidgo3-joypad compatible for backward compatibility

DTS files use 'odroidgo3-joypad' as compatible string but the driver
only accepted 'archr-joypad'. This caused the driver to not probe on
boards where the overlay doesn't change the compatible, leaving PWM0
uncontrolled and the vibration motor running continuously.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Douglas Teles
2026-04-02 12:37:26 -03:00
parent ada5b90aa9
commit 4a8392c1a1
+1
View File
@@ -639,6 +639,7 @@ static int joypad_probe(struct platform_device *pdev)
/*----------------------------------------------------------------------------*/
static const struct of_device_id joypad_of_match[] = {
{ .compatible = "archr-joypad", },
{ .compatible = "odroidgo3-joypad", },
{},
};