From: Mark Brown Date: Mon, 17 Mar 2025 18:10:49 +0000 (+0000) Subject: Allow retrieving accessory detection reference on X-Git-Tag: v6.15-rc1~173^2~4^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b9d98aea6b7baac85a46a7885a12437e5eaae228;p=thirdparty%2Fkernel%2Flinux.git Allow retrieving accessory detection reference on Merge series from "NĂ­colas F. R. A. Prado" : This series enables the MT8188-MT6359 sound driver to retrieve the MT6359 ACCDET sound component from a mediatek,accdet DT property, which allows detecting jack insertion/removal. Patch 1 describes the new property in the binding. Patch 2 implements the sound component retrieval in the common MTK soundcard driver. Patch 4 updates the MT8188-MT6359 sound driver to register the audio jack and initialize the ACCDET driver for detection, if the property is present. Patch 3 adds a stub to prevent a linker failure in case the MT6359-ACCDET config is disabled. Tested on the Genio 700 EVK board. --- b9d98aea6b7baac85a46a7885a12437e5eaae228