Commit 8527721e authored by Richard Acayan's avatar Richard Acayan Committed by Vinod Koul
Browse files

dmaengine: qcom: deprecate redundant of_device_id entries



The drivers are transitioning from matching against lists of specific
compatible strings to matching against smaller lists of more generic
compatible strings. Add a message that the compatible strings with an
ee_offset of 0 are deprecated except for the SDM845 compatible string.

Signed-off-by: default avatarRichard Acayan <mailingradian@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221018005740.23952-4-mailingradian@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 67fd570d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2289,6 +2289,10 @@ static const struct of_device_id gpi_of_match[] = {
	{ .compatible = "qcom,sc7280-gpi-dma", .data = (void *)0x10000 },
	{ .compatible = "qcom,sdm845-gpi-dma", .data = (void *)0x0 },
	{ .compatible = "qcom,sm6350-gpi-dma", .data = (void *)0x10000 },
	/*
	 * Deprecated, devices with ee_offset = 0 should use sdm845-gpi-dma as
	 * fallback and not need their own entries here.
	 */
	{ .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 },
	{ .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 },
	{ .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 },