Skip to content

Commit

Permalink
drivers: adc: ad4170: Add ID for AD4195
Browse files Browse the repository at this point in the history
Add option to indicate AD4195 is supported.

Signed-off-by: Marcelo Schmitt <[email protected]>
  • Loading branch information
machschmitt authored and buha committed Dec 20, 2024
1 parent a1c35ea commit d01e5b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/adc/ad4170/ad4170.c
Original file line number Diff line number Diff line change
Expand Up @@ -1804,6 +1804,7 @@ int ad4170_init(struct ad4170_dev **device,
break;

case ID_AD4190:
case ID_AD4195:
prod_id_l_expected = AD4190_PRODUCT_ID_L_VALUE;
prod_id_h_expected = AD4190_PRODUCT_ID_H_VALUE;
break;
Expand Down
3 changes: 2 additions & 1 deletion drivers/adc/ad4170/ad4170.h
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,8 @@ enum ad4170_id {
ID_AD4170,
ID_AD4171,
ID_AD4172,
ID_AD4190
ID_AD4190,
ID_AD4195
};

/**
Expand Down

0 comments on commit d01e5b9

Please sign in to comment.