Commit e13e979b authored by Linus Walleij's avatar Linus Walleij Committed by Guenter Roeck

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: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215174241.1496169-1-linus.walleij@linaro.orgSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 8569e555
...@@ -76,6 +76,7 @@ properties: ...@@ -76,6 +76,7 @@ properties:
- const: murata,ncp15wl333 - const: murata,ncp15wl333
- const: murata,ncp03wf104 - const: murata,ncp03wf104
- const: murata,ncp15xh103 - const: murata,ncp15xh103
- const: samsung,1404-001221
# Deprecated "ntp," compatible strings # Deprecated "ntp," compatible strings
- const: ntc,ncp15wb473 - const: ntc,ncp15wb473
deprecated: true deprecated: true
......
...@@ -45,6 +45,7 @@ enum { ...@@ -45,6 +45,7 @@ enum {
NTC_NCP15XH103, NTC_NCP15XH103,
NTC_NCP18WB473, NTC_NCP18WB473,
NTC_NCP21WB473, NTC_NCP21WB473,
NTC_SSG1404001221,
NTC_LAST, NTC_LAST,
}; };
...@@ -58,6 +59,7 @@ static const struct platform_device_id ntc_thermistor_id[] = { ...@@ -58,6 +59,7 @@ static const struct platform_device_id ntc_thermistor_id[] = {
[NTC_NCP15XH103] = { "ncp15xh103", TYPE_NCPXXXH103 }, [NTC_NCP15XH103] = { "ncp15xh103", TYPE_NCPXXXH103 },
[NTC_NCP18WB473] = { "ncp18wb473", TYPE_NCPXXWB473 }, [NTC_NCP18WB473] = { "ncp18wb473", TYPE_NCPXXWB473 },
[NTC_NCP21WB473] = { "ncp21wb473", TYPE_NCPXXWB473 }, [NTC_NCP21WB473] = { "ncp21wb473", TYPE_NCPXXWB473 },
[NTC_SSG1404001221] = { "ssg1404-001221", TYPE_NCPXXWB473 },
[NTC_LAST] = { }, [NTC_LAST] = { },
}; };
...@@ -671,6 +673,8 @@ static const struct of_device_id ntc_match[] = { ...@@ -671,6 +673,8 @@ static const struct of_device_id ntc_match[] = {
.data = &ntc_thermistor_id[NTC_NCP18WB473] }, .data = &ntc_thermistor_id[NTC_NCP18WB473] },
{ .compatible = "murata,ncp21wb473", { .compatible = "murata,ncp21wb473",
.data = &ntc_thermistor_id[NTC_NCP21WB473] }, .data = &ntc_thermistor_id[NTC_NCP21WB473] },
{ .compatible = "samsung,1404-001221",
.data = &ntc_thermistor_id[NTC_SSG1404001221] },
/* Usage of vendor name "ntc" is deprecated */ /* Usage of vendor name "ntc" is deprecated */
{ .compatible = "ntc,ncp03wb473", { .compatible = "ntc,ncp03wb473",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment