diff --git a/drivers/nvpps/nvpps_common.h b/drivers/nvpps/nvpps_common.h index 56a0189b..3d900dff 100644 --- a/drivers/nvpps/nvpps_common.h +++ b/drivers/nvpps/nvpps_common.h @@ -10,14 +10,8 @@ struct soc_dev_data; -enum { - NV_SOC_T23X = 0U, - NV_SOC_T26X, -}; - /* * 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_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 @@ -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 */ struct chip_ops { - uint32_t soc_id; int32_t (*ptp_tsc_sync_cfg_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); diff --git a/drivers/nvpps/nvpps_t23x.c b/drivers/nvpps/nvpps_t23x.c index 68542fb3..e3f69595 100644 --- a/drivers/nvpps/nvpps_t23x.c +++ b/drivers/nvpps/nvpps_t23x.c @@ -267,7 +267,6 @@ fail: } 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_synchronize_fn = &nvpps_t23x_ptp_tsc_synchronize, .ptp_tsc_get_is_locked_fn = &nvpps_t23x_ptp_tsc_get_is_locked, diff --git a/drivers/nvpps/nvpps_t26x.c b/drivers/nvpps/nvpps_t26x.c index 3ce4d267..6654c487 100644 --- a/drivers/nvpps/nvpps_t26x.c +++ b/drivers/nvpps/nvpps_t26x.c @@ -309,7 +309,6 @@ fail: /* Define the tegra264_chip_data structure */ 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_synchronize_fn = &nvpps_t26x_ptp_tsc_synchronize, .ptp_tsc_get_is_locked_fn = &nvpps_t26x_ptp_tsc_get_is_locked,