adh-tech,gt5x (on uart bus)

Description

ADH GT5X Series Optical Fingerprint Sensor

This binding supports fingerprint sensor modules from ADH Technology,
including GT-511C1R, GT-511C3, GT-521F32, and GT-521F52 models.

These sensors use a fixed 12-byte command/response protocol over UART
and support 3-stage enrollment. Model-specific parameters must be
configured via device tree properties to match the hardware variant.

Examples

&

u

a

r

t

1



{







s

t

a

t

u

s



=



"

o

k

a

y

"

;









f

i

n

g

e

r

p

r

i

n

t

0

:



f

i

n

g

e

r

p

r

i

n

t

0



{











c

o

m

p

a

t

i

b

l

e



=



"

a

d

h

-

t

e

c

h

,

g

t

5

x

"

;











s

t

a

t

u

s



=



"

o

k

a

y

"

;











m

a

x

-

t

e

m

p

l

a

t

e

s



=



<

2

0

0

>

;











t

e

m

p

l

a

t

e

-

s

i

z

e



=



<

4

9

8

>

;







}

;



}

;


Properties

Properties not inherited from the base binding file.

Name

Type

Details

max-templates

int

Maximum number of fingerprint templates the device can store.
- GT-511C1R: 20
- GT-511C3: 200
- GT-521F32: 200
- GT-521F52: 3000

This property is required.

template-size

int

Size of each fingerprint template in bytes.
- GT-511C1R: 506 bytes
- GT-511C3/GT-521F32/GT-521F52: 498 bytes

This property is required.