Skip to content

Commit 704ad05

Browse files
committed
i2c: nvidia-gpu: Add ACPI property to align with device-tree
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2122414 Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git Tested: Verify USB-A and USB-C are functional on Nvidia Orin board, and no regressions on other platforms. commit f510b0a Author: Wayne Chang <waynec@nvidia.com> Date: Tue Jan 31 17:57:44 2023 +0000 i2c: nvidia-gpu: Add ACPI property to align with device-tree Device-tree uses the 'firmware-name' string property to pass a name of the firmware build to the Cypress CCGx driver. Add a new ACPI string property to the NVIDIA GPU I2C driver to align with device-tree so that we can migrate to using a common property name for both ACPI and device-tree. Signed-off-by: Wayne Chang <waynec@nvidia.com> Co-developed-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: Ajay Gupta <ajayg@nvidia.com> Acked-by: Wolfram Sang <wsa@kernel.org> Link: https://lore.kernel.org/r/20230131175748.256423-3-jonathanh@nvidia.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit f510b0a) Signed-off-by: David Marlin <dmarlin@redhat.com>
1 parent 96d5fb4 commit 704ad05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/i2c-nvidia-gpu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ MODULE_DEVICE_TABLE(pci, gpu_i2c_ids);
259259
static const struct property_entry ccgx_props[] = {
260260
/* Use FW built for NVIDIA (nv) only */
261261
PROPERTY_ENTRY_U16("ccgx,firmware-build", ('n' << 8) | 'v'),
262+
PROPERTY_ENTRY_STRING("firmware-name", "nvidia,gpu"),
262263
{ }
263264
};
264265

0 commit comments

Comments
 (0)