summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/nvodm_query.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/include/nvodm_query.h')
-rw-r--r--arch/arm/mach-tegra/include/nvodm_query.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/nvodm_query.h b/arch/arm/mach-tegra/include/nvodm_query.h
index 9bc66d4f44a9..68e38607d44d 100644
--- a/arch/arm/mach-tegra/include/nvodm_query.h
+++ b/arch/arm/mach-tegra/include/nvodm_query.h
@@ -219,6 +219,23 @@ typedef struct
/// If this is NV_TRUE, then this device is an SPI slave.
NvBool IsSlave;
+
+ /// Specifies whether it can use the hw based cs or not.
+ NvBool CanUseHwBasedCs;
+
+ /// Specifies the Chipselect setup time i.e. Time between the CS active
+ /// state transition to to first clock in the transaction.
+ /// This parameter is used when using the hw based CS.
+ /// The value is in terms of the clock tick where the clock freq is
+ /// the interface frequency.
+ NvU32 CsSetupTimeInClock;
+
+ /// Specifies the Chipselect Hold time i.e. Time between the last clock and
+ /// CS state transition from active to inactive.
+ /// This parameter is used when using the hw based CS.
+ /// The value is in terms of the clock tick where the clock freq is
+ /// the interface frequency.
+ NvU32 CsHoldTimeInClock;
} NvOdmQuerySpiDeviceInfo;
/**