mediatek: cleanly backport and add fix for I2C driver
authorDaniel Golle <daniel@makrotopia.org>
Fri, 26 May 2023 12:49:02 +0000 (13:49 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 27 May 2023 01:06:57 +0000 (02:06 +0100)
commit213b7282760506ffab9151a20347d65ea70ed916
tree6f2dd38464a8ae2c19d118e3c387dd2607c9630c
parentef98dc3b3e07f529831c3ebe719d1a98bd43b568
mediatek: cleanly backport and add fix for I2C driver

Pick accepted patches from upstream Linux tree instead of having to
maintain our slightly different downstream patches.
Import pending patch fixing I2C on MT7981 by making sure all clocks
are enabled before accessing I2C registers.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
19 files changed:
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7981.dtsi
target/linux/mediatek/patches-5.15/803-i2c-busses-add-mt7986-support.patch [deleted file]
target/linux/mediatek/patches-5.15/810-i2c-mediatek-add-support-for-MT7981-SoC.patch [deleted file]
target/linux/mediatek/patches-5.15/840-v5.16-i2c-mediatek-Reset-the-handshake-signal-between-i2c-.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/841-v5.16-i2c-mediatek-Dump-i2c-dma-register-when-a-timeout-oc.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/842-v5.18-i2c-mediatek-Add-i2c-compatible-for-Mediatek-MT8186.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/843-v5.18-i2c-mediatek-modify-bus-speed-calculation-formula.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/844-v5.18-i2c-mediatek-remove-redundant-null-check.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/845-v5.18-i2c-mt65xx-Simplify-with-clk-bulk.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/846-v5.18-i2c-mediatek-Add-i2c-compatible-for-Mediatek-MT8168.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/847-v5.19-i2c-mediatek-Optimize-master_xfer-and-avoid-circular.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/848-v5.19-i2c-mediatek-Fix-an-error-handling-path-in-mtk_i2c_p.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/849-v6.0-i2c-mediatek-add-i2c-compatible-for-MT8188.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/850-v6.0-i2c-move-drivers-from-strlcpy-to-strscpy.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/851-v6.2-i2c-mediatek-add-mt7986-support.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/852-v6.3-i2c-mt65xx-Use-devm_platform_get_and_ioremap_resourc.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/853-v6.3-i2c-mt65xx-drop-of_match_ptr-for-ID-table.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/854-v6.4-i2c-mediatek-add-support-for-MT7981-SoC.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/855-pending-i2c-mt65xx-add-additional-clocks.patch [new file with mode: 0644]