mt6572-mainline Cleanup#64
Draft
akku1139 wants to merge 8298 commits into
Draft
Conversation
rva3
force-pushed
the
cleanup
branch
4 times, most recently
from
July 14, 2026 12:36
d848523 to
1fc4bba
Compare
rva3
force-pushed
the
cleanup
branch
2 times, most recently
from
July 20, 2026 09:27
6605a71 to
3979182
Compare
…git/bluetooth/bluetooth-next.git # Conflicts: # drivers/bluetooth/btintel_pcie.c
…ernel.git # Conflicts: # drivers/gpu/drm/xe/xe_guc_submit.c
Add a PWM node for general purpose PWM usage with GPIO pins. Signed-off-by: Roman Vivchar <rva333@protonmail.com>
Add display backlight support using PWM. Signed-off-by: Roman Vivchar <rva333@protonmail.com>
Add display backlight support using PWM. Signed-off-by: Custom Firmware <gabin278@gmail.com> [rva3: adjust commit message, minor DT changes] Signed-off-by: Roman Vivchar <rva333@protonmail.com>
the patches which were sent to LKML but not merged (yet)
The mt6323 PMIC includes an AUXADC. Register the AUXADC in the mt6323 devices array to allow the corresponding driver to probe using compatible string. Tested-by: Ben Grisdale <bengris32@protonmail.ch> # Amazon Echo Dot (2nd Generation) Reviewed-by: David Lechner <dlechner@baylibre.com> Acked-by: Lee Jones <lee@kernel.org> Signed-off-by: Roman Vivchar <rva333@protonmail.com>
Add the devicetree node for the mt6323 AUXADC. Tested-by: Ben Grisdale <bengris32@protonmail.ch> # Amazon Echo Dot (2nd Generation) Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Roman Vivchar <rva333@protonmail.com>
cannot me merged into mainline
Signed-off-by: rva3 <rva333@protonmail.com>
Document mediatek,mt6323-sound in the audio-codec node, alongside the existing MT6358/MT6397 codecs. Signed-off-by: Custom Firmware <gabin278@gmail.com>
The MT6572 Audio Front-End: a DL1 playback memif streaming from the on-chip audio SRAM to the MT6323 PMIC codec. Signed-off-by: Custom Firmware <gabin278@gmail.com>
The machine binding tying the MT6572 AFE to the MT6323 PMIC codec, with standard aux-devs/audio-routing, optional headphone-jack detection and a speaker amplifier. Signed-off-by: Custom Firmware <gabin278@gmail.com>
The MediaTek mt6323 PMIC includes an accdet (accessory detection) for headphone jack event reporting. Add the devicetree binding documentation for the MediaTek mt6323 accdet. Signed-off-by: Roman Vivchar <rva333@protonmail.com>
If accdet driver is not ready, sound card will be registered without jack support. Fix this by returning EPROBE_DEFER when accdet is not probed yet. Signed-off-by: Roman Vivchar <rva333@protonmail.com>
Some MediaTek boards include additional speaker amplifier. Add support for parsing aux devs from the devicetree. Signed-off-by: Roman Vivchar <rva333@protonmail.com>
DAC, headphone output and volume controls on the MT6323 PMIC, reached over the parent MT6397 PMIC-wrapper regmap. The analog register fields are undocumented; the init values come from the stock power-on sequence. Signed-off-by: Custom Firmware <gabin278@gmail.com>
AFE platform driver (DL1 playback memif + ADDA/PMIC link) plus the mt6572-mt6323 machine driver: a DL1 -> mt6323 dai-link, headphone-jack auto-routing between speaker and headphones, and an optional speaker amplifier via the standard aux-devs/audio-routing bindings. Earpiece and uplink/capture are not yet supported. Signed-off-by: Custom Firmware <gabin278@gmail.com>
!! TO BE SQUASHED WITH ORIGINAL COMMIT !! Signed-off-by: Roman Vivchar <rva333@protonmail.com>
The MT6323 has an internal class-D speaker amplifier (SPK_CON) fed by the AUDTOP voice/LCH DAC, separate from the headphone path. Add a "Speaker Driver" output widget with its power sequence and a "Speaker Volume" control for the SPK_CON9 PGA gain. Signed-off-by: Custom Firmware <gabin278@gmail.com>
we need to cleanup the driver anyway... Signed-off-by: Roman Vivchar <rva333@protonmail.com>
mt6323 PMIC includes ACCDET hardware block for accessory detection like headphone jack. Co-developed-by: Custom Firmware <gabin278@gmail.com> Signed-off-by: Custom Firmware <gabin278@gmail.com> Signed-off-by: Roman Vivchar <rva333@protonmail.com>
Add an mt6323-sound MFD cell so the MT6323 ASoC codec driver probes. Signed-off-by: Custom Firmware <gabin278@gmail.com>
The mt6323 PMIC includes an ACCDET. Register the ACCDET in the mt6323 devices array to allow the corresponding driver to probe using compatible string. Signed-off-by: Roman Vivchar <rva333@protonmail.com>
Sub-node of the audsys syscon for the DL1 playback front-end + the on-chip audio SRAM. Signed-off-by: Custom Firmware <gabin278@gmail.com>
The MT6323 PMIC analog codec (mediatek,mt6323-sound). Signed-off-by: Custom Firmware <gabin278@gmail.com>
Add an accdet node for accessory detection. Signed-off-by: Roman Vivchar <rva333@protonmail.com>
Add the MT6572 AFE + MT6323 sound card with the internal class-D speaker and headphone-jack detection on GPIO136, and map GPIO136 to EINT2 in the mt6572 pinctrl so the jack interrupt resolves. Signed-off-by: Custom Firmware <gabin278@gmail.com>
Add audio support using PMIC codec and speaker amplifier driven by GPIO. Signed-off-by: Roman Vivchar <rva333@protonmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.