]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: apple: Add hardware tunable support
authorSven Peter <sven@kernel.org>
Sun, 14 Dec 2025 11:51:34 +0000 (11:51 +0000)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Dec 2025 17:41:05 +0000 (23:11 +0530)
commita722de305eacb382a5d306f9f8e502f81bab682d
treeb3aa2a5dca13ce306bee24c603f4f166fdec88f9
parent81791c45c8e0eaeba9a40927eecd082a8500f709
soc: apple: Add hardware tunable support

Various hardware, like the Type-C PHY or the Thunderbolt/USB4 NHI,
present on Apple SoCs need machine-specific tunables passed from our
bootloader m1n1 to the device tree. Add generic helpers so that we
don't have to duplicate this across multiple drivers.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Reviewed-by: Janne Grunau <j@jannau.net>
Signed-off-by: Sven Peter <sven@kernel.org>
Link: https://patch.msgid.link/20251214-b4-atcphy-v3-1-ba82b20e9459@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soc/apple/Kconfig
drivers/soc/apple/Makefile
drivers/soc/apple/tunable.c [new file with mode: 0644]
include/linux/soc/apple/tunable.h [new file with mode: 0644]