]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 23 Jul 2025 14:03:40 +0000 (16:03 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 23 Jul 2025 14:09:30 +0000 (15:09 +0100)
Add a compatible for the SM7225-based Fairphone 4 which can use this
machine driver.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://patch.msgid.link/20250723-fp4-usb-audio-offload-v3-3-6be84ed4fc39@fairphone.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sm8250.c

index 69c514fad0b1babafae4b61bb5ac944c6b4906dd..f5b75a06e5bd20e00874f4cd29d1b947ee89d79f 100644 (file)
@@ -208,6 +208,7 @@ static int sm8250_platform_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id snd_sm8250_dt_match[] = {
+       { .compatible = "fairphone,fp4-sndcard", .data = "sm7225" },
        { .compatible = "fairphone,fp5-sndcard", .data = "qcm6490" },
        { .compatible = "qcom,qrb4210-rb2-sndcard", .data = "sm4250" },
        { .compatible = "qcom,qrb5165-rb5-sndcard", .data = "sm8250" },