Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4431064rwr; Mon, 8 May 2023 07:36:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6j8bcCCzELRg+2sV2XSPTW9ln9+NIumLpbjpKdJuo837EvlKuyPcvjJwDS4uJBOWaozdXl X-Received: by 2002:a05:6a20:244b:b0:100:a9e3:17d4 with SMTP id t11-20020a056a20244b00b00100a9e317d4mr3117269pzc.0.1683556588365; Mon, 08 May 2023 07:36:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683556588; cv=none; d=google.com; s=arc-20160816; b=pKlCH1BZ8680BJrLNzpRJIv3Tan1YDFZUj6Y8bhl4QdrZ2dmSU1/BgZuq+70vPOEzm LWOorsrQWLB79hADL4a3XHyKGlDko1W7mFk+6Y2CnFkF/1AG+qpmhHSkF3Qoil/L+c1x w9CVmE8y16OjglN8TfT+JoKjJFTGix8eOIn0i7JOtwjtIknBb4ZxRnVlz4sxbplXhw3f 0kdil6XkM47Mx2Rz/VPkh7iITmH7rKduqiAu4kX0UYv5Xhr7XYrbYRsXmEV4BaOqv165 guWFFHrJoBi0+e23VYgJP+Qt0ZniT15nzBKmpy3dv5IUTCWsFgscJOgl6HsLcqCOh1gk omXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from; bh=Cw6fLUAa3iBupqowW4xErRuO4LFI3NRlE+o65McRzeY=; b=bg2HwfgZDc0YsmyyPljemp7Eu8hkHSMWXQc8UCzWYuvt5+RADmASiyphOGHuqeYBhW 8TaRH2DpNSa+RviJyDaSrypyx3FGVvbw3lFrDMFDsbUablqGsZlBoP6lIeSa9zjldpIJ X0XsyAS/S9RHzvJnGmF5Au0PGXqGQpHYn8dSsWPyurTBJXSwHkgroo/wxZN6dZw6KfKl qKbltnO4QiFaB5OL64GkR2DLZ16f3Z5kH/CDzR9fKJCsh5CkIAxtal1UHSCEAM5ZeSfx 2qvsE22q+fpQryGiJdOzXobNUV09KaOCsT8rEttvhwH1PC/wZB/8SAHXhNUM2zMOi9bL retg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s1-20020a63dc01000000b00528e0b1dd0asi9163938pgg.735.2023.05.08.07.36.13; Mon, 08 May 2023 07:36:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230414AbjEHOZM (ORCPT + 99 others); Mon, 8 May 2023 10:25:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232938AbjEHOZK (ORCPT ); Mon, 8 May 2023 10:25:10 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21C9410E3; Mon, 8 May 2023 07:25:09 -0700 (PDT) Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 348Dolvh003028; Mon, 8 May 2023 10:24:51 -0400 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3qdkt9bht0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 May 2023 10:24:51 -0400 Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 348EOo1a028223 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 8 May 2023 10:24:50 -0400 Received: from ASHBCASHYB5.ad.analog.com (10.64.17.133) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Mon, 8 May 2023 10:24:49 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBCASHYB5.ad.analog.com (10.64.17.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Mon, 8 May 2023 10:24:49 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Mon, 8 May 2023 10:24:49 -0400 Received: from daniel-Precision-5530.ad.analog.com ([10.48.65.214]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 348EOYCr012218; Mon, 8 May 2023 10:24:36 -0400 From: Daniel Matyas CC: Daniel Matyas , Rob Herring , Jean Delvare , Guenter Roeck , "Rob Herring" , Krzysztof Kozlowski , Jonathan Corbet , , , , Subject: [PATCH v7 1/2] dt-bindings: hwmon: add MAX31827 Date: Mon, 8 May 2023 20:24:23 +0300 Message-ID: <20230508172427.23915-1-daniel.matyas@analog.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: oEn_-A5gyVPzPW1BJiaKP73j5Q41kqr_ X-Proofpoint-ORIG-GUID: oEn_-A5gyVPzPW1BJiaKP73j5Q41kqr_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-08_10,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 adultscore=0 mlxlogscore=999 mlxscore=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 bulkscore=0 clxscore=1015 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305080097 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MAX31827 is a low-power temperature switch with I2C interface. The device is a ±1°C accuracy from -40°C to +125°C (12 bits) local temperature switch and sensor with I2C/SM- Bus interface. The combination of small 6-bump wafer-lev- el package (WLP) and high accuracy makes this temper- ature sensor/switch ideal for a wide range of applications. Signed-off-by: Daniel Matyas Reviewed-by: Rob Herring --- .../bindings/hwmon/adi,max31827.yaml | 54 +++++++++++++++++++ MAINTAINERS | 7 +++ 2 files changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max31827.yaml diff --git a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml new file mode 100644 index 000000000000..2dc8b07b4d3b --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/adi,max31827.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch + +maintainers: + - Daniel Matyas + +description: | + Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch with + I2C Interface + https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31827-MAX31829.pdf + +properties: + compatible: + oneOf: + - const: adi,max31827 + - items: + - enum: + - adi,max31828 + - adi,max31829 + - const: adi,max31827 + + reg: + maxItems: 1 + + vref-supply: + description: + Must have values in the interval (1.6V; 3.6V) in order for the device to + function correctly. + +required: + - compatible + - reg + - vref-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + temperature-sensor@42 { + compatible = "adi,max31827"; + reg = <0x42>; + vref-supply = <®_vdd>; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index c0cde28c62c6..91de1e95f11d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12618,6 +12618,13 @@ F: Documentation/userspace-api/media/drivers/max2175.rst F: drivers/media/i2c/max2175* F: include/uapi/linux/max2175.h +MAX31827 TEMPERATURE SWITCH DRIVER +M: Daniel Matyas +L: linux-hwmon@vger.kernel.org +S: Supported +W: http://ez.analog.com/community/linux-device-drivers +F: Documentation/devicetree/bindings/hwmon/adi,max31827.yaml + MAX6650 HARDWARE MONITOR AND FAN CONTROLLER DRIVER L: linux-hwmon@vger.kernel.org S: Orphan -- 2.34.1