Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (ntc_thermistor) Add Samsung 1404-001221 NTC

This adds the Samsung 1404-001221 NTC thermistor to the
NTC thermistor driver. As far as I can tell it is electrically
compatible with the Murata 47K NTC thermistor.

This thermistor is mounted in a variety of Samsung products.

Cc: Peter Rosin <peda@axentia.se>
Cc: Chris Lesiak <chris.lesiak@licor.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215174241.1496169-1-linus.walleij@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Linus Walleij and committed by
Guenter Roeck
e13e979b 8569e555

+5
+1
Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml
··· 76 76 - const: murata,ncp15wl333 77 77 - const: murata,ncp03wf104 78 78 - const: murata,ncp15xh103 79 + - const: samsung,1404-001221 79 80 # Deprecated "ntp," compatible strings 80 81 - const: ntc,ncp15wb473 81 82 deprecated: true
+4
drivers/hwmon/ntc_thermistor.c
··· 45 45 NTC_NCP15XH103, 46 46 NTC_NCP18WB473, 47 47 NTC_NCP21WB473, 48 + NTC_SSG1404001221, 48 49 NTC_LAST, 49 50 }; 50 51 ··· 59 58 [NTC_NCP15XH103] = { "ncp15xh103", TYPE_NCPXXXH103 }, 60 59 [NTC_NCP18WB473] = { "ncp18wb473", TYPE_NCPXXWB473 }, 61 60 [NTC_NCP21WB473] = { "ncp21wb473", TYPE_NCPXXWB473 }, 61 + [NTC_SSG1404001221] = { "ssg1404-001221", TYPE_NCPXXWB473 }, 62 62 [NTC_LAST] = { }, 63 63 }; 64 64 ··· 673 671 .data = &ntc_thermistor_id[NTC_NCP18WB473] }, 674 672 { .compatible = "murata,ncp21wb473", 675 673 .data = &ntc_thermistor_id[NTC_NCP21WB473] }, 674 + { .compatible = "samsung,1404-001221", 675 + .data = &ntc_thermistor_id[NTC_SSG1404001221] }, 676 676 677 677 /* Usage of vendor name "ntc" is deprecated */ 678 678 { .compatible = "ntc,ncp03wb473",