Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp310771ybg; Tue, 9 Jun 2020 00:51:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcsMKGVuDjf9Q20qIijZ/HrCr/hAlPD1ohGEIoT61FTTmLjRcLecL8OdvjBz9U+5Wu15FZ X-Received: by 2002:a17:906:4d14:: with SMTP id r20mr16832087eju.346.1591689085492; Tue, 09 Jun 2020 00:51:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591689085; cv=none; d=google.com; s=arc-20160816; b=0kLMcKFW4vKhJbf5fCvUNo0FVKAkGF+USXQMNH9LwDx7WWUyNX86DhLiEe1gcIHsSn jRX80bdyvSmbBgR9OQxVi91IP8ZpByHNfM95J4Nlusl6qhkc+QVOaeaz8jkBhrtkLmpV jrmI7lWDn8vR0R6DlEorThwe1MIlP+x2kkJ8idwahC66Gb/tHsZlNVg4cNgO2bpnNe2E qRYCtyYe4PLj7YsGGKjKBUIkpI4Koru/6m5F15H78SrruSTXK54nS4sU7G6meZPcY+Zu fliaNM55QGLIr2kybjB4W/pBIDyXa/iBqFGKeWnx8uTkCVDQkFfazldsI5kDVD5C6jOJ Zz+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:dkim-signature; bh=Knj7OloOrRLzM4+ueUJs+FI4nQ2AqfhQv+V9R4Ez3xM=; b=xOAMsw8LvFxvTCiQLBxuGfH/43XrH8+tlr/UdKLBxc3d8T1Z09f1TL+yeMlRH9zw2F 5yLwq8aBWBeVkwQFPT/1NnfAjbhpxxWsgJxBUEtC8XcRO3Eyub3zgFBJR0saIN/o4DYm dlKhbfHiWhLtjn7AYDKUWLWq7vyy/yltZ1O+SduXCgslWsPS2e+osiAQeUMHLzPYsFqZ SEjKGPDgaUO8AH3cq4f1XpOVcfVZGykNzxPynJkJo1UHipKX1A+P128Eay2K0KsrCOPx 9JtQKtWl1430QzBMY/pRtClDFeg1cF0sQpPUGnJ09rlpkDbIBz0W/0m0+8dNmuE28wLg ApKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=Zw7gR6yc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m3si9526782ejx.210.2020.06.09.00.51.02; Tue, 09 Jun 2020 00:51:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=Zw7gR6yc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727850AbgFIHtJ (ORCPT + 99 others); Tue, 9 Jun 2020 03:49:09 -0400 Received: from esa4.microchip.iphmx.com ([68.232.154.123]:19367 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbgFIHtI (ORCPT ); Tue, 9 Jun 2020 03:49:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1591688947; x=1623224947; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z9fxhQY3z4ehjLCF3109NrNvK62lTfFTjodG2LyrA/M=; b=Zw7gR6yc9IM3FBGzB+jGHFY/DqFb108rA/toHTVZvV8YRcNMheeBbg81 hvjapV83HX0RddGKlJknpdLDylI7Zt7fIVPEw09kRY/yqAmOxsVXZpIyr 4dS+nPRoK/+S+spUSEfkEr1AWQ5TPPoGg8ZY3McfMAo6lQjmd4z66lneL F2dOn05tXG4/V+yWe3taJ0kgZBbEIwRfGImAWTMsuuWO8FjKrlpjwuJ4D 1Ywpq9lvtNCEzuugsQnnDk9q6E3WE+lFqyY+zwWG5uEAwePuLzVQLW8jC OdaZHz8IAgY6CoDEIPrnmlOMHQRJklEM1SQDoNWkHQtvzLDTe28VMryxr w==; IronPort-SDR: TpvI0lSXmxb1sJfVs+cknweLXfAeBY11r03cwlBbUzm2OmL6NKuCWYbAxk5p32STuoT4DuO+Uk i21lDVrdXXdqWM8KQ8jw7My8fchB8Tbda4OPlIJk/BLHx/qyjN4+VJcMYcDzkIi7rEuLQZQqL3 u6JEnr+zgelXlloQ0u/EAtr0/UcLHKu8fagNvwabOX8FOdJ87cI2dK/a6L0smKCSTZnTIH1mIi 0zplBDVzwFZ5nlJygP+A+Jpo5WZ979uss4aHAtu9Gko/3aOgTsVi2Ri58w43sMDnyCTJB5vwK9 36o= X-IronPort-AV: E=Sophos;i="5.73,490,1583218800"; d="scan'208";a="75943736" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Jun 2020 00:49:06 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Tue, 9 Jun 2020 00:49:06 -0700 Received: from soft-dev15.microsemi.net (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Tue, 9 Jun 2020 00:49:03 -0700 From: Lars Povlsen To: Rob Herring , Guenter Roeck CC: Lars Povlsen , Jean Delvare , Microchip Linux Driver Support , , , , , Alexandre Belloni Subject: [PATCH v2 1/3] dt-bindings: hwmon: Add Sparx5 temperature sensor Date: Tue, 9 Jun 2020 09:48:59 +0200 Message-ID: <20200609074859.9385-1-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200609072828.9088-1-lars.povlsen@microchip.com> References: <20200609072828.9088-1-lars.povlsen@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This add the DT binding specification for the Sparx5 temperature sensor. Reviewed-by: Alexandre Belloni Signed-off-by: Lars Povlsen --- .../bindings/hwmon/microchip,sparx5-temp.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/microchip,sparx5-temp.yaml diff --git a/Documentation/devicetree/bindings/hwmon/microchip,sparx5-temp.yaml b/Documentation/devicetree/bindings/hwmon/microchip,sparx5-temp.yaml new file mode 100644 index 0000000000000..0df4813fd7b24 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/microchip,sparx5-temp.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip Sparx5 Temperature Monitor + +maintainers: + - Lars Povlsen + +description: | + Microchip Sparx5 embedded temperature monitor + +properties: + compatible: + enum: + - microchip,sparx5-temp + + reg: + maxItems: 1 + + '#thermal-sensor-cells': + const: 0 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + tmon0: tmon@610508110 { + compatible = "microchip,sparx5-temp"; + reg = <0x10508110 0xc>; + #thermal-sensor-cells = <0>; + }; + -- 2.27.0