drivers:nvpps:remove unused soc id enum

remove unused soc id enum. This is not needed
anymore as we use different compatible str
and associated static initialized data struct

bug 5175333

Signed-off-by: Sheetal Tigadoli <stigadoli@nvidia.com>
Change-Id: Ia6cd5cb8ab22f3c06373ea686e7a4f962e3b366e
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3337822
Reviewed-by: Vijay Mishra <vijaym@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Kiran Kumar Bobbu <kbobbu@nvidia.com>
This commit is contained in:
Sheetal Tigadoli
2025-04-10 06:56:08 +00:00
committed by Jon Hunter
parent c543d5bfa4
commit 9bf9c3e826
3 changed files with 0 additions and 9 deletions

View File

@@ -10,14 +10,8 @@
struct soc_dev_data; struct soc_dev_data;
enum {
NV_SOC_T23X = 0U,
NV_SOC_T26X,
};
/* /*
* chip specific ops * chip specific ops
* @soc_id: chip id (NV_SOC_T23X or NV_SOC_T26X)
* @ptp_tsc_sync_cfg_fn: function pointer for PTP-TSC sync related TSC HW configuration * @ptp_tsc_sync_cfg_fn: function pointer for PTP-TSC sync related TSC HW configuration
* @ptp_tsc_synchronize_fn: function pointer for triggering PTP-TSC synchronization * @ptp_tsc_synchronize_fn: function pointer for triggering PTP-TSC synchronization
* @ptp_tsc_get_is_locked_fn: function pointer to get PTP-TSC sync status, return boolean true if PTP & TSC are synced else return boolean false * @ptp_tsc_get_is_locked_fn: function pointer to get PTP-TSC sync status, return boolean true if PTP & TSC are synced else return boolean false
@@ -29,7 +23,6 @@ enum {
* @get_ptp_ts_ns_fn: function pointer to get PTP timestamp in nanoseconds, This API can be called in isr context * @get_ptp_ts_ns_fn: function pointer to get PTP timestamp in nanoseconds, This API can be called in isr context
*/ */
struct chip_ops { struct chip_ops {
uint32_t soc_id;
int32_t (*ptp_tsc_sync_cfg_fn)(struct soc_dev_data *soc_data); int32_t (*ptp_tsc_sync_cfg_fn)(struct soc_dev_data *soc_data);
void (*ptp_tsc_synchronize_fn)(struct soc_dev_data *soc_data); void (*ptp_tsc_synchronize_fn)(struct soc_dev_data *soc_data);
bool (*ptp_tsc_get_is_locked_fn)(struct soc_dev_data *soc_data); bool (*ptp_tsc_get_is_locked_fn)(struct soc_dev_data *soc_data);

View File

@@ -267,7 +267,6 @@ fail:
} }
const struct chip_ops tegra234_chip_ops = { const struct chip_ops tegra234_chip_ops = {
.soc_id = NV_SOC_T23X,
.ptp_tsc_sync_cfg_fn = &nvpps_t23x_ptp_tsc_sync_config, .ptp_tsc_sync_cfg_fn = &nvpps_t23x_ptp_tsc_sync_config,
.ptp_tsc_synchronize_fn = &nvpps_t23x_ptp_tsc_synchronize, .ptp_tsc_synchronize_fn = &nvpps_t23x_ptp_tsc_synchronize,
.ptp_tsc_get_is_locked_fn = &nvpps_t23x_ptp_tsc_get_is_locked, .ptp_tsc_get_is_locked_fn = &nvpps_t23x_ptp_tsc_get_is_locked,

View File

@@ -309,7 +309,6 @@ fail:
/* Define the tegra264_chip_data structure */ /* Define the tegra264_chip_data structure */
const struct chip_ops tegra264_chip_ops = { const struct chip_ops tegra264_chip_ops = {
.soc_id = NV_SOC_T26X,
.ptp_tsc_sync_cfg_fn = &nvpps_t26x_ptp_tsc_sync_config, .ptp_tsc_sync_cfg_fn = &nvpps_t26x_ptp_tsc_sync_config,
.ptp_tsc_synchronize_fn = &nvpps_t26x_ptp_tsc_synchronize, .ptp_tsc_synchronize_fn = &nvpps_t26x_ptp_tsc_synchronize,
.ptp_tsc_get_is_locked_fn = &nvpps_t26x_ptp_tsc_get_is_locked, .ptp_tsc_get_is_locked_fn = &nvpps_t26x_ptp_tsc_get_is_locked,