Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp3383234rwn; Sat, 10 Sep 2022 10:29:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR6bJpR0NAe7fOe/VD+XaOmsdOKKivd+RS/dEmwG+cgA4y60ZXpU4+pPuV8JMXhOCsbKu/YN X-Received: by 2002:a17:902:f60e:b0:176:73e1:3683 with SMTP id n14-20020a170902f60e00b0017673e13683mr18873674plg.27.1662830988764; Sat, 10 Sep 2022 10:29:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662830988; cv=none; d=google.com; s=arc-20160816; b=uDiu3C4Y71nB0ROYLh1/UZtSA717gmFxKBb7Uz6UPk0/yyU4FHoa2f7ic3SDlOACbH RBZY5+VGpMIa8SjClJbGk3HLcOfgyjUkM2RkPGTNIjO1NY/yi1R8WCz7meBAwe0DuHin AhTQ3RQ5wrPB40t1bNjXxlnqSmIlkWp4GFROZSZMEhMiCkEe9iO/4Mg/3+s+trRgJl6g znICopqnSAyE3pNQxg0hbjqmS2uT2Cxy6qEfkVMv4mnE1yLb9Gow+EfYXN/N9USPE4l/ YvH/kCtXLLckk+4nDKzfWdjMklqTvfCvbEtl5PLmEwmavLUQJGOFMRqAunQr0VsKJtsm RV0g== 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=rtrCTWi/+azU3pcxPQdQgHnh4j3wD+NCyHe28ilvTC0=; b=LaZ1+UzH/Grz0evU34JefeAamKRP7U83FzIM2//5Pq99gNbPwT8cP/XM/zR1GC0zA7 2n92fcTOCTEJkuZF9iBnrq88lV1rK8lusm7gYm9P8+Ie/9Lkx2NLhVgLITUiM5sImnc3 vLPPN3SSpiVubSfEFbievL+zKo0t8TKSabzl+3X/UrkF6Qf8dFb3gwFy8wkNUf6CIr9I iHktYM1EebpWA/GLP+rqLTjbXt2OBhz2LfstwlYwcLIUgwiPMzea4eQHC+Vxcm6fuJBj k5e9+iootGfHvtGjgqQzGUe52tQClR62f69roCrkGd7CmxVxZpkqQhlQ4+AE72fW+xG+ Wmqg== 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 a8-20020a170902900800b00176a2caa414si3678483plp.152.2022.09.10.10.29.32; Sat, 10 Sep 2022 10:29:48 -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 S229585AbiIJRUx (ORCPT + 99 others); Sat, 10 Sep 2022 13:20:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbiIJRUu (ORCPT ); Sat, 10 Sep 2022 13:20:50 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3BDD39B94; Sat, 10 Sep 2022 10:20:47 -0700 (PDT) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28AH1Gco018423; Sat, 10 Sep 2022 13:20:31 -0400 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3jgme5ar9g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 10 Sep 2022 13:20:30 -0400 Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 28AHKTeK056516 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 10 Sep 2022 13:20:29 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) 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; Sat, 10 Sep 2022 13:20:28 -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; Sat, 10 Sep 2022 13:20:28 -0400 Received: from ibrahim-vm.scloud.analog.com ([10.158.19.28]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 28AHJwcI025933; Sat, 10 Sep 2022 13:20:21 -0400 From: Ibrahim Tilki To: , CC: Ibrahim Tilki , , , , , Subject: [PATCH v9 3/4] dt-bindings: hwmon: Add bindings for max31760 Date: Sat, 10 Sep 2022 20:19:44 +0300 Message-ID: <20220910171945.48088-4-Ibrahim.Tilki@analog.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220910171945.48088-1-Ibrahim.Tilki@analog.com> References: <20220910171945.48088-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: Hie9cnC5-w61izXIRrp2tB-i7yAjB9CU X-Proofpoint-ORIG-GUID: Hie9cnC5-w61izXIRrp2tB-i7yAjB9CU 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-10_08,2022-09-09_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=912 phishscore=0 bulkscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 suspectscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209100063 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 | 42 +++++++++++++++++++ 1 file changed, 42 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..9f2d08d7b --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml @@ -0,0 +1,42 @@ +# 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. + minimum: 0x50 + maximum: 0x57 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + fan-controller@50 { + reg = <0x50>; + compatible = "adi,max31760"; + }; + }; -- 2.36.1