Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp338047rwn; Thu, 8 Sep 2022 02:21:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR68yv6/hcbqgq4sSguMfrR3RwgrDaAtMHcHGF+xI5Dx/WfSJOQty0DeIWFc0grOUjKh8E2m X-Received: by 2002:a62:b515:0:b0:53e:6f05:2b16 with SMTP id y21-20020a62b515000000b0053e6f052b16mr7536821pfe.13.1662628903215; Thu, 08 Sep 2022 02:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662628903; cv=none; d=google.com; s=arc-20160816; b=jvfZVFGt/wIdjjyjh3xwA7Gh+7XNjVmE4mF0zTVAGgF2JAXkfoLnuqoiR7WnQqQWDm q7Sdt3u40GmUZq6jDGsrQRhoIyl8P69i3YFd7X5DlJE5fsxzc4YsS5did44UdFl/qGLJ s1EAOq8B8MNHJSce4bnsVKHwMNbqIUGuBDxk19wLt7+umoIegSLaSAHNUxgyJBW5Stcd foe3bHxK6yOjtCogL3In5rNg+8+1koOi9WPQZuhVH1YNyimurvinx7QSVgWHXVIsDwtz cKxE+vXjwzgB6FhmvsYskawNIxrNqxpPYWbzUScgOAGYWn+kweJ6+bu8wRQmhRKhoUOf QtbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=hps/cmRFADWGIDmHTTx5JN/1lL3nJRGpzvh5CfOmjpM=; b=lYgb4buvf0X3S/zdt90zdcZrIIh1L0RrkIaTZFASC30XNfEZfToPyBB3IZuzLh5o/q Shuwkos+2fwLzLiDcls8FdBb54O04bX/D06S6mmNGFvNlVD0+qlULoBEh+QM8nzZNyyY zbr0lbK1Y26xNTkbXRJTZCOMlxsL+9azLTD+LCeCD6oa1SuSCYO+XJX9LE5OzxLj7v0o bOgEWNyjE3t+dEQgjnvKlQEouPFnBLbhAFY93jG0cfVK53od88pQPj0ivl1tQJLGrmNb Kpx6ZEysnOke6fKCvFuQQQqeT5Ybb1LWq2eOY55aMGtcM30CgmRrp/5XpPKJjeToFisc tuXw== 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 e12-20020a170902ed8c00b00176d229eddasi7422728plj.70.2022.09.08.02.21.31; Thu, 08 Sep 2022 02:21:43 -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 S231551AbiIHIZR (ORCPT + 99 others); Thu, 8 Sep 2022 04:25:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230446AbiIHIZE (ORCPT ); Thu, 8 Sep 2022 04:25:04 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09C6A564CC; Thu, 8 Sep 2022 01:25:00 -0700 (PDT) Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2887hn4F030778; Thu, 8 Sep 2022 04:24:45 -0400 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3jf8ybshs7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Sep 2022 04:24:45 -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 2888OiZo026156 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 8 Sep 2022 04:24:44 -0400 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) 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; Thu, 8 Sep 2022 04:24:43 -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; Thu, 8 Sep 2022 04:24:43 -0400 Received: from ibrahim-vm.ad.analog.com (IST-LT-39247.ad.analog.com [10.25.16.132]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 2888OHWC032231; Thu, 8 Sep 2022 04:24:34 -0400 From: Ibrahim Tilki To: , CC: Ibrahim Tilki , , , Subject: [PATCH RESEND v6 3/4] dt-bindings: hwmon: Add bindings for max31760 Date: Thu, 8 Sep 2022 11:23:57 +0300 Message-ID: <20220908082358.186268-4-Ibrahim.Tilki@analog.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220908082358.186268-1-Ibrahim.Tilki@analog.com> References: <20220908082358.186268-1-Ibrahim.Tilki@analog.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: 0XtgB1VpsqoKLINhSbRa_N1GSE-akJaQ X-Proofpoint-ORIG-GUID: 0XtgB1VpsqoKLINhSbRa_N1GSE-akJaQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-08_06,2022-09-07_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 impostorscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=949 lowpriorityscore=0 mlxscore=0 bulkscore=0 spamscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209080029 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding bindings for Analog Devices MAX31760 Fan-Speed Controller Signed-off-by: Ibrahim Tilki --- .../bindings/hwmon/adi,max31760.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max31760.yaml diff --git a/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml b/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml new file mode 100644 index 000000000..003ec1317 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/adi,max31760.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices MAX31760 Fan-Speed Controller + +maintainers: + - Ibrahim Tilki + +description: | + Analog Devices MAX31760 Fan-Speed Controller + https://datasheets.maximintegrated.com/en/ds/MAX31760.pdf + +properties: + compatible: + enum: + - adi,max31760 + + reg: + description: | + I2C address of slave device. + items: + minimum: 0x50 + maximum: 0x57 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + max31760@50 { + reg = <0x50>; + compatible = "adi,max31760"; + }; + }; -- 2.36.1