i2c: amd-isp: Initialize unique adapter name

Initialize unique name for amdisp i2c adapter, which is used
in the platform driver to detect the matching adapter for
i2c_client creation.

Add definition of amdisp i2c adapter name in a new header file
(include/linux/soc/amd/isp4_misc.h) as it is referred in different
driver modules.

Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250609155601.1477055-3-pratap.nirujogi@amd.com
This commit is contained in:
Pratap Nirujogi
2025-06-09 11:53:56 -04:00
committed by Andi Shyti
parent 942e1aece1
commit c8dc579169
3 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2025 Advanced Micro Devices, Inc.
*/
#ifndef __SOC_ISP4_MISC_H
#define __SOC_ISP4_MISC_H
#define AMDISP_I2C_ADAP_NAME "AMDISP DesignWare I2C adapter"
#endif