i2c: nvidia-gpu: Remove ccgx,firmware-build property
authorWayne Chang <waynec@nvidia.com>
Tue, 31 Jan 2023 17:57:46 +0000 (17:57 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:22:12 +0000 (16:22 +0200)
commit 430b38764fbb931c6dbd1af13c8b2e4508994662 upstream.

Now the Cypress CCG driver has been updated to support the
'firmware-name' property to align with device-tree, remove the
'ccgx,firmware-build' property as this is no longer needed.

Signed-off-by: Wayne Chang <waynec@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Ajay Gupta <ajayg@nvidia.com>
Acked-by: Wolfram Sang <wsa@kernel.org>
Link: https://lore.kernel.org/r/20230131175748.256423-5-jonathanh@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-nvidia-gpu.c

index 6d81ea5..a8b99e7 100644 (file)
@@ -259,8 +259,7 @@ static const struct pci_device_id gpu_i2c_ids[] = {
 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'),
+       /* Use FW built for NVIDIA GPU only */
        PROPERTY_ENTRY_STRING("firmware-name", "nvidia,gpu"),
        { }
 };