diff options
author | J Keerthy <j-keerthy@ti.com> | 2013-04-01 12:04:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-01 12:27:30 -0700 |
commit | 3ff027f1b7fa36e9591d86700bbf91ef4fe96db8 (patch) | |
tree | 6c7e0366679b3ed5dc584a4a01bbf7973c6e2bcf /drivers/staging/ti-soc-thermal | |
parent | 8b6ecd358470ab62afd55aafd9ae8a6a81a524bb (diff) |
staging: ti-soc-thermal: Introduce HAS_COUNTER_DELAY feature for bandgap
Introduce HAS_COUNTER_DELAY feature for bandgap.
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ti-soc-thermal')
-rw-r--r-- | drivers/staging/ti-soc-thermal/ti-bandgap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/ti-soc-thermal/ti-bandgap.h b/drivers/staging/ti-soc-thermal/ti-bandgap.h index 8f9bdb9501a..8ee4857e5ff 100644 --- a/drivers/staging/ti-soc-thermal/ti-bandgap.h +++ b/drivers/staging/ti-soc-thermal/ti-bandgap.h @@ -312,6 +312,9 @@ struct ti_temp_sensor { * TI_BANDGAP_FEATURE_FREEZE_BIT - used when the bandgap device features * a history buffer that its update can be freezed/unfreezed. * + * TI_BANDGAP_FEATURE_COUNTER_DELAY - used when the bandgap device features + * a delay programming based on distinct values. + * * TI_BANDGAP_HAS(b, f) - macro to check if a bandgap device is capable of a * specific feature (above) or not. Return non-zero, if yes. */ @@ -323,6 +326,7 @@ struct ti_temp_sensor { #define TI_BANDGAP_FEATURE_POWER_SWITCH BIT(5) #define TI_BANDGAP_FEATURE_CLK_CTRL BIT(6) #define TI_BANDGAP_FEATURE_FREEZE_BIT BIT(7) +#define TI_BANDGAP_FEATURE_COUNTER_DELAY BIT(8) #define TI_BANDGAP_HAS(b, f) \ ((b)->conf->features & TI_BANDGAP_FEATURE_ ## f) |