MT8163/ben 6.18#10
Draft
akku1139 wants to merge 182 commits into
Draft
Conversation
…mily Document compatibles for the MT8163 SoC and the Amazon devices which are known to use it. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add compatible for MT8163 sysirq controller. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add a device tree binding for the systimer (GPT) on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add a device tree providing basic platform support for MT8163. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add device tree bindings for the main clock controllers on the MT8163 SoC, including apmixedsys, infracfg, pericfg and topckgen. Signed-off-by: bengris32 <bengris32@protonmail.ch>
A few MediaTek SoCs (namely MT8163) do not have individual set/clr registers on muxes. Add support for those types of muxes. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Mainly useful in circumstances where we don't want the divider to propagate rate changes to its parent. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add drivers to support the main clock controllers on the MT8163 SoC, including apmixedsys, infracfg and topckgen. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add DT bindings for the Top Reset Generation Unit (TOPRGU) on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add the compatible data for the Top Reset Generation Unit found on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add the apmixedsys, infracfg and topckgen clock controllers to the MT8163 devicetree. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Now that support for basic clocks are implemented on MT8163, use the real clock for the timer. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add device tree node for the Top Reset Generator Unit (TOPRGU) on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add a compatible string for the PMIC Wrapper (PWRAP) on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add support for the PMIC wrapper on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add a binding for mediatek,mt8163-pctl-a-syscfg. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add bindings for pinctrl on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add support for pinctrl on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add device tree nodes for pinctrl on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add PWRAP device node for the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add a devicetree binding for the UART APDMA controller on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add a devicetree binding for the UART controller on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add devicetree nodes for the UART APDMA and 3 UART controllers on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add a devicetree binding for the MMC controller (MSDC) found on the MediaTek MT8163 SoC. The MSDC IP is similar to that of MT2701, so the existing binding is reused. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add devicetree nodes for the two MMC controllers found on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add a devicetree binding for the T-PHY on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add a devicetree binding for MUSB on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
AVALID reg is needed for device mode, and VBUSVALID for host mode Tested on MT6789 and MT6771. Signed-off-by: Arseniy Velikanov <me@adomerle.pw>
Add device tree nodes for the USB T-PHY and MUSB controller on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Make the definition of tsl2540_als_attr_group consistent in both the header and the source. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
irq_register_fail is unused unless TSL2540_ENABLE_INTERRUPT is defined. Signed-off-by: bengris32 <bengris32@protonmail.ch>
…tatic Signed-off-by: bengris32 <bengris32@protonmail.ch>
tsl2540_power_on and tsl2540_pltf_power_on are unused unless TSL2540_ENABLE_INPUT is defined. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add IIO support to the TSL2540 driver and also clean up a few unused variables and strange logging. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Use consistent variants of logging functions across the driver, dev_* for where a device is available, and pr_* for where one is not. Also demote a lot of debugging prints to dev_dbg/pr_debug. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Taken from biscuit GPL kernel package 6.5.5.9. All compatibles apart from amstaos,tsl2584tsv have been removed to avoid conflicting with the upstream driver. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
The usage of fail1 and fail2 labels are swapped. If iio_device_alloc fails, then it jumps to fail1, which will actually call free() on an invalid pointer. If either I2C communication or registering the IIO device fails, then it jumps to fail2 which immediately returns without freeing the iio_device. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add an ASoC driver for the AFE (Audio Front End) on the MT8163 SoC. This driver is still a very heavy WIP, there are probably a lot of bugs, and a lot of the routes / memory interfaces and whatever else is not implemented yet. In other words: Here be dragons. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add a device node for the AFE (Audio Front End) hardware on the MT8163 SoC. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Taken from Amazon OSS release Echo_Dot_src-5.5.5.4-20220824.tar.bz2 and has strange changes that somehow magically make communicating with the Dough FPGA work... I don't know anymore. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Add ASoC machine driver for Amazon MT8163 boards with TLV320AIC32X4. Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
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.