Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5729960rwd; Wed, 24 May 2023 06:08:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LCOFMHT8E//yXTkduDyrfXLpeQv2lcS7I9WkSRLKB735k/iCokO66V7QMGJ+7CWCPkF2D X-Received: by 2002:a17:902:8e85:b0:1ae:8d2f:5a48 with SMTP id bg5-20020a1709028e8500b001ae8d2f5a48mr12199530plb.41.1684933724855; Wed, 24 May 2023 06:08:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684933724; cv=none; d=google.com; s=arc-20160816; b=hA8dKxv3S9/8EhwmVJa1wDVhimgXe2eislM9pxtICZOEbwTqhRDBRRt0B7tEZBhVq7 xiMt3VgHfpPMMjfgQ73mtQLqWJfyJlB/2Ah93s12tZU9eaOgYIp7HvFfowmvGAmQos9G bgFocjIeyYi1lhbUt8Vi2s0vcN3h8IEATYiTT3Z1QXaJJvxV/jONSVHPqIZYVr9pH7nU Dkk8VGaQ8GfigV96lFmp1PEb3FQLJuzaKd95qs6spgsHEHUhEEBV2mqXwR23NaqOQXSq azuupo0ax3BYBFuBlo1CWAlLm3OSdrftbsTf0jFTo9iV2LUMBrpQXpV2UC1c7gCNRsv1 oaeQ== 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=OgChtV04kl/76ZjyNMSN5vcgHhQMHfyOh/Kvxw9kFYs=; b=Kt305KF4hfxQagx7+gAb2q2esLJX/UCUb9Ne2dbV4nI8/EY7Ls0+esPZ8bzEgjC2/b GtQmfeOAKw3cOPykOjoGFjTvhaBueU3yIThHtakrqeTPnB5jGyrw57w08NYZcbE1ZpPc 9VnA/6y7WGnO69awiJni80WA8WqKj3Jc+MmPzVb0RlIVdmS42o9BtRLq339rJ0C45QmS LF54RJazme3b77ei8C8nhLD/hSnJGqDGynJgjswsBc79cjllrTrMai1vTQz6sZ1bbbxp A6FFmCvQosC3AHzQbYIVNCL1QvgubdIs5p+yuMZif3ifLTCG4PsJc+m/tNQ/GtYdmL4Z CTug== 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 h1-20020a170902f54100b001a531f29044si1723958plf.521.2023.05.24.06.08.32; Wed, 24 May 2023 06:08:44 -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 S235347AbjEXND7 (ORCPT + 99 others); Wed, 24 May 2023 09:03:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235205AbjEXNDg (ORCPT ); Wed, 24 May 2023 09:03:36 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B1DFE44; Wed, 24 May 2023 06:03:20 -0700 (PDT) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34OArOT9031201; Wed, 24 May 2023 09:02:54 -0400 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3qpr27bpte-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 May 2023 09:02:45 -0400 Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 34OD23Ci017607 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 May 2023 09:02:03 -0400 Received: from ASHBCASHYB4.ad.analog.com (10.64.17.132) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 24 May 2023 09:02:02 -0400 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBCASHYB4.ad.analog.com (10.64.17.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 24 May 2023 09:02:02 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Wed, 24 May 2023 09:02:02 -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 34OD1npV000947; Wed, 24 May 2023 09:01:52 -0400 From: Daniel Matyas CC: Daniel Matyas , Rob Herring , Jean Delvare , Guenter Roeck , "Rob Herring" , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , , , , Subject: [PATCH v10 1/2] dt-bindings: hwmon: add MAX31827 Date: Wed, 24 May 2023 19:01:29 +0300 Message-ID: <20230524160131.14081-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: eguqr4SGfYA-mSGxZHz18lrx9__7x59L X-Proofpoint-ORIG-GUID: eguqr4SGfYA-mSGxZHz18lrx9__7x59L X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-24_08,2023-05-24_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 malwarescore=0 phishscore=0 mlxscore=0 clxscore=1015 mlxlogscore=999 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305240107 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, 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 --- Change log: v9 -> v10: Added proper change log. v8 -> v9: Did not use '--base'. v7 -> v8: Added '--base=[Linux 6.4-rc1 commmit]' when using 'git format-patch' v6 -> v7: No change. v5 -> v6: Added Reviewed-by tag. v3 -> v5: Forgot to add Reviewed-by tag. v2 -> v3: Made max31828 and max31829 compatible with max31827. v1 -> v2: Resolved dt_binding_check errors. Dropped status at i2c node. Made node name generic. .../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 27ef11624748..752c7e9c4e4a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12612,6 +12612,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