diff options
| author | Anson Huang <[email protected]> | 2018-03-28 03:22:38 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2018-03-30 20:44:11 +0000 |
| commit | 0136c741ff40e03323419feec05fcd594f36a463 (patch) | |
| tree | 6ebe96d799a7077e52d060f7aa96741f9df5882b /drivers/fpga/fpga-region.c | |
| parent | clocksource/drivers/imx-tpm: Correct some registers operation flow (diff) | |
| download | kernel-0136c741ff40e03323419feec05fcd594f36a463.tar.gz kernel-0136c741ff40e03323419feec05fcd594f36a463.zip | |
clocksource/drivers/imx-tpm: Add different counter width support
Different TPM modules have different width counters which is 16-bit or 32-bit,
the counter width can be read from TPM_PARAM register bit[23:16], this patch
adds dynamic check for counter width to support both 16-bit and 32-bit TPM
modules.
Signed-off-by: Anson Huang <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
