Patch "i2c: nvidia-gpu: Add ACPI property to align with device-tree" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    i2c: nvidia-gpu: Add ACPI property to align with device-tree

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     i2c-nvidia-gpu-add-acpi-property-to-align-with-device-tree.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From f510b0a3565b9231e828e23a7e0f9790b97edf96 Mon Sep 17 00:00:00 2001
From: Wayne Chang <waynec@xxxxxxxxxx>
Date: Tue, 31 Jan 2023 17:57:44 +0000
Subject: i2c: nvidia-gpu: Add ACPI property to align with device-tree

From: Wayne Chang <waynec@xxxxxxxxxx>

commit f510b0a3565b9231e828e23a7e0f9790b97edf96 upstream.

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@xxxxxxxxxx>
Co-developed-by: Jon Hunter <jonathanh@xxxxxxxxxx>
Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>
Reviewed-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
Acked-by: Ajay Gupta <ajayg@xxxxxxxxxx>
Acked-by: Wolfram Sang <wsa@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20230131175748.256423-3-jonathanh@xxxxxxxxxx
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/i2c/busses/i2c-nvidia-gpu.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/i2c/busses/i2c-nvidia-gpu.c
+++ b/drivers/i2c/busses/i2c-nvidia-gpu.c
@@ -261,6 +261,7 @@ MODULE_DEVICE_TABLE(pci, gpu_i2c_ids);
 static const struct property_entry ccgx_props[] = {
 	/* Use FW built for NVIDIA (nv) only */
 	PROPERTY_ENTRY_U16("ccgx,firmware-build", ('n' << 8) | 'v'),
+	PROPERTY_ENTRY_STRING("firmware-name", "nvidia,gpu"),
 	{ }
 };
 


Patches currently in stable-queue which might be from waynec@xxxxxxxxxx are

queue-6.1/i2c-nvidia-gpu-add-acpi-property-to-align-with-device-tree.patch
queue-6.1/i2c-nvidia-gpu-remove-ccgx-firmware-build-property.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux