]> git.baikalelectronics.ru Git - kernel.git/commit
iio: magnetometer: ak8974: add Alps hscdtd008a
authorNick Reitemeyer <nick.reitemeyer@web.de>
Mon, 6 Apr 2020 14:13:53 +0000 (16:13 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 May 2020 08:47:22 +0000 (09:47 +0100)
commit4e99ad4d932e9787302a292d03d049250ddbedb8
tree779ce160286aca71782215653d0051f525c42cee
parentecb331c5b11c173dbdf63dfebf9fed7d71a7c5de
iio: magnetometer: ak8974: add Alps hscdtd008a

The hscdtd008a is similar to the AK8974:
Only the whoami value and some registers are different.

Signed-off-by: Nick Reitemeyer <nick.reitemeyer@web.de>
Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Tested-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/ak8974.c