Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1973327rwn; Fri, 9 Sep 2022 06:54:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR5ch3E8iXpU3rZesQYyW2Y+U1/s/+Xl3XqghRpg1q6QpqLdl931IHDFc4m/BtuouHMSmI4J X-Received: by 2002:a17:90a:a90:b0:200:3e3e:71b3 with SMTP id 16-20020a17090a0a9000b002003e3e71b3mr9972614pjw.106.1662731676372; Fri, 09 Sep 2022 06:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662731676; cv=none; d=google.com; s=arc-20160816; b=blUK8Q+38C13teUDpeNPmXSDLP4743dty6i2CXXFRaIr1mEc734V6KBE6CgGt89/3n Vk0Nz61sx1KbqPC+Is5G/8z5YZAFklElSddP3J24MUrZf2BBGJwZluhnWNxFeqcUgyGi c0A88v39wS8d0Zh0Rc8EVRiv3y2Fsai78VX5zAIi/534X+UKkSZtVNTv6fjLDKY4lnWU 1plGyyczIKfWdOCBVbRrlOFF7njQ8UB6wRLJUrbflxRtQFh+qviXubbdvUR+IcYq58ca m+0ApG69IOoF4THOWKv2MbSegwR3+cGjhwfXfoMWos4cQkNDdrOUYY6PCbr/kTVcON8/ Jbxg== 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=aNVU7W8/uqjUZ5Yn00S9p0XgWolr7MdH01QjGmQlw2M=; b=gKPaE1VCbX8YU/xS1FdvlStQYjlIspwYgLQK7eZnqqwMUJ40GSuoplcxdb119tCjpe ++v+Yjfbx55hIXZrtKUpLReJu0jotlT1UnysuC8VopPCvXQhcAR1Sz01MKXXlvIfNc4a fsIc7I73pxI+HPFPvge5ecUj5dQQQHRFlmn75EZ+HWy0gQLUCZlLPhPjSFmhgBgCRi/5 qiEIJtZEZdUvTRnqu+6aYqHbTdYw98uFqMqxoO0A+5Wta+shSwH/e27SXV+Ez+lo+cnk qw2IeNhHEwklP/+6Lgcxth6k2fMLMVzBHsS+4InoL3DWJYRl2ODPHIWJNErpkXJEExig UiRw== 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 l4-20020a17090270c400b0016f8fdcc3d3si612094plt.84.2022.09.09.06.54.24; Fri, 09 Sep 2022 06:54:36 -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 S231192AbiIINi1 (ORCPT + 99 others); Fri, 9 Sep 2022 09:38:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231395AbiIINiV (ORCPT ); Fri, 9 Sep 2022 09:38:21 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 891B112BFA5; Fri, 9 Sep 2022 06:38:17 -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 289BLAYe031612; Fri, 9 Sep 2022 09:37:59 -0400 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3jf8yc3pqn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Sep 2022 09:37:59 -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 289DbvBg042503 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Sep 2022 09:37:57 -0400 Received: from ASHBCASHYB4.ad.analog.com (10.64.17.132) 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; Fri, 9 Sep 2022 09:37:57 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) 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; Fri, 9 Sep 2022 09:37:56 -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; Fri, 9 Sep 2022 09:37:56 -0400 Received: from ibrahim-vm.ad.analog.com ([10.158.19.28]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 289DbUum018872; Fri, 9 Sep 2022 09:37:47 -0400 From: Ibrahim Tilki To: , CC: Ibrahim Tilki , , , , , Subject: [PATCH v8 3/4] dt-bindings: hwmon: Add bindings for max31760 Date: Fri, 9 Sep 2022 16:37:17 +0300 Message-ID: <20220909133718.388213-4-Ibrahim.Tilki@analog.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220909133718.388213-1-Ibrahim.Tilki@analog.com> References: <20220909133718.388213-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: 6WWM_9xiZFkozJ6s5hqzscR6Ds9ySSaw X-Proofpoint-ORIG-GUID: 6WWM_9xiZFkozJ6s5hqzscR6Ds9ySSaw 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-09_08,2022-09-09_01,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=891 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-2209090047 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..c9318e4b3 --- /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. + maxItems: 1 + items: + 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