Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: sensor: Add support for grow_r502a fingerprint sensor #40394

Merged
merged 4 commits into from
Dec 14, 2022

Conversation

DineshDK03
Copy link
Contributor

@DineshDK03 DineshDK03 commented Nov 16, 2021

Added driver and other support needed for r502a fingerprint sensor

Signed-off-by: Dinesh Kumar K dinesh@linumiz.com

@github-actions github-actions bot added area: API Changes to public APIs area: Devicetree area: Devicetree Binding PR modifies or adds a Device Tree binding area: Samples Samples area: Tests Issues related to a particular existing or missing test labels Nov 16, 2021
@SebastianBoe SebastianBoe removed their request for review November 17, 2021 08:53
drivers/sensor/grow_r502a/Kconfig Outdated Show resolved Hide resolved
samples/sensor/grow_r502a/CMakeLists.txt Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.h Outdated Show resolved Hide resolved
samples/sensor/grow_r502a/README.txt Outdated Show resolved Hide resolved
samples/sensor/grow_r502a/src/main.c Outdated Show resolved Hide resolved
samples/sensor/grow_r502a/src/main.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/Kconfig Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
drivers/sensor/grow_r502a/grow_r502a.c Outdated Show resolved Hide resolved
@DineshDK03 DineshDK03 requested review from mbolivar-nordic and MaureenHelm and removed request for gmarull and mbolivar-nordic November 15, 2022 09:08
@DineshDK03 DineshDK03 changed the title drivers: sensor: Add support for r502a fingerprint sensor drivers: sensor: Add support for grow_r502a fingerprint sensor Nov 23, 2022
@DineshDK03
Copy link
Contributor Author

@mbolivar-nordic @MaureenHelm @gmarull kindly revisit.

we have hzgrow,r502a binding.

Signed-off-by: Dinesh Kumar K <dinesh@linumiz.com>
Add driver support for grow_r502a fingerprint sensor

Signed-off-by: Dinesh Kumar K <dinesh@linumiz.com>
Added sample application for grow_r502a fingerprint sensor

Signed-off-by: Dinesh Kumar K <dinesh@linumiz.com>
Included GROW_R502A fingerprint sensor in the build_all test to test
grow_r502a driver

Signed-off-by: Dinesh Kumar K <dinesh@linumiz.com>
Comment on lines +21 to +23
#address-cells=<1>;
#size-cells=<0>;
grow_r502a@0 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this have an address?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basically, this fingerprint sensor creates an RX packet based on the address we are going to pass, initially, it was passed to the driver via the address parameter from the fps node and then based on the PR suggestion from @gmarull here address is given to driver via reg property. if you are having any conflict of opinion please let me know. thanks

@DineshDK03
Copy link
Contributor Author

@mbolivar-nordic @galak @gmarull Ping, kindly re-visit the PR

@mbolivar-nordic mbolivar-nordic dismissed their stale review December 13, 2022 18:41

no longer reviewing bindings etc

@gmarull gmarull dismissed their stale review December 13, 2022 22:21

no longer reviewing sensors

@galak galak dismissed their stale review December 14, 2022 17:31

lgtm for my comments.

@carlescufi carlescufi merged commit 6eaec7a into zephyrproject-rtos:main Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: API Changes to public APIs area: Build System area: Devicetree Binding PR modifies or adds a Device Tree binding area: Devicetree area: Documentation area: Samples Samples area: Sensors Sensors area: Tests Issues related to a particular existing or missing test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants