w1: w1_therm: Add support for GXCAS GX20MH01 device.
authorIvan Zaentsev <ivan.zaentsev@wirenboard.ru>
Fri, 4 Sep 2020 16:00:04 +0000 (19:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2020 09:49:54 +0000 (11:49 +0200)
commit9ace0b4dab1c3913810c50948d714afcbd2c767e
tree2b582e74038935f0e9ec6260cd65e38ecf723b7e
parent021da53e65fdd0e1b8492c2670dd075c0ea910fc
w1: w1_therm: Add support for GXCAS GX20MH01 device.

GX20MH01 device shares family number 0x28 with DS18B20. The device
is generally compatible with DS18B20. Added are the lowest 2^-5, 2^-6
temperature bits in Config register; R2 bit in Config register
enabling 13 and 14 bit resolutions. It is powered up in 14 bit mode.

Signed-off-by: Ivan Zaentsev <ivan.zaentsev@wirenboard.ru>
Link: https://lore.kernel.org/r/20200904160004.87710-2-ivan.zaentsev@wirenboard.ru
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-driver-w1_therm
Documentation/w1/slaves/w1_therm.rst
drivers/w1/slaves/w1_therm.c