summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorBenoît Monin <benoit.monin@bootlin.com>2025-11-26 11:46:27 +0100
committerAndi Shyti <andi.shyti@kernel.org>2025-12-17 00:37:24 +0100
commit6a28174326289834c6767bdeb1ba348aa9831e91 (patch)
tree4ddfdd249e7a51eaa2c30ebeb0a89545209ad6ec /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentea032b451134e5cc79ed1affc9a237ce5bdda9ed (diff)
i2c: designware: Add dedicated algorithm for AMD NAVI
Apart from runtime PM, there is nothing in common between i2c_dw_xfer() and amd_i2c_dw_xfer_quirk(), so give AMD NAVI controller its own algorithm instead of calling the quirk from i2c_dw_xfer(). Add runtime PM handling to amd_i2c_dw_xfer_quirk() and a dedicated i2c_algorithm for AMD NAVI controllers. The adapter algorithm is set during probe based on the device model. This way we avoid checking for the device model at the start of every transfer. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Benoît Monin <benoit.monin@bootlin.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20251126-i2c-dw-v4-4-b0654598e7c5@bootlin.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions