Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1361944ybt; Thu, 18 Jun 2020 07:02:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6643Uv+nIYMyY4Qj4A1ktfmfmrGdOEY7OA7t9SjYtiByjDIp9dVfP5jNXj5DXRNR7iVgb X-Received: by 2002:a17:906:830c:: with SMTP id j12mr4365222ejx.330.1592488972512; Thu, 18 Jun 2020 07:02:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592488972; cv=none; d=google.com; s=arc-20160816; b=MuQ5e5j5yFUXX/+1HXUJijUl+8xBvmrOAKzGw2edezdhqTt7szOOoqCKZ+NNqBrtcS we4W8WXbqlN6FpVwnbog629OBrblEcqYxcG07oahy3pUm1JZwE8YPsvF9yGs6EEUOZh0 drj/NX2qlJkqzYn4kjTt9h4qrPw/LOKWFWmhcvehAO/mFw7eTgqF0/d2yW1Z4TrFIjUr RPmO29VUJApqcqQvspcMIuLS+2bn/ty+kUuenvzX3IT5DW0fTQ4rP13U4GSoRFnBy7e+ SeedIq/K2AlebCBMwFShuJMv+UyAxoYTQSjOexK+lvJ7AKOPG84lJZAaXRxcPCc9XcZD humA== 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=GmMD3AqOFyeNuBuBT9xYbB2Mf1OSzbCIn4Lxl648C5M=; b=W3Ez/qLTFAjDnjk7TwxbJiZUFFaxKusC0Zc56dI4zkcXJDud5zzpBc3KOiLP8URyCl ckyhMV5vmWYSKgeHzb2F8xRe6J9ugma/7uhTH5+RAQQFqKiPnmJmJSbdFDu9m7REkiZH tAODiqe/Kk4RTImMOhjcSXpn00TWq+MGEM2daytFF1bqUoU3PJbJAV033a0Mo5ZEjzdY DXyI8nT/x/9EYkXFPSfiIcFv+BRY4uD9kKO4yeRxGhKZEthhacF152L+F5p9HB0u2Edl c+K69yZlW3AftlLyAFpnwHws7giTIqpvJ9jVw6ONbo4oEmAuKYrtJ/Sy4rY9KsFAZplC dC9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=O+cVemWX; 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 ly20si1961221ejb.474.2020.06.18.07.02.28; Thu, 18 Jun 2020 07:02:52 -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=O+cVemWX; 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 S1730284AbgFROAQ (ORCPT + 99 others); Thu, 18 Jun 2020 10:00:16 -0400 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:41729 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726001AbgFROAO (ORCPT ); Thu, 18 Jun 2020 10:00:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1592488813; x=1624024813; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gkdLjz1r6NMau5QrEq+reINzcOHhHZuLk5kWu8BYMO4=; b=O+cVemWXARpPYOFRPa64h+0DwBsE8JHNGgPOhVNVVI8fMBSiRanvXy/f GTyHDF2OiIyk2ZK6ve0jX0SETuTtOrVsz9h9JsAnt7OSE6CdzRRHrn0k4 0zAZKRAGHSvP3+c6lNKrZvhtkpUONs1MLjPGZBT1v1LM+yvBoYu8Vz9qq YYtYzijr09pnTPtv2IHzYtdJXMZb4LO/lY0dSUA78pPJinRoqdGA3XMh0 gHmNDBwVCr6NVPsCBm639ZjusZ6Yt4PtQLCAnwtRqeai/r/W6+TGc/0Bq hTSHED+00We0A5hZk+StQYqyOyI8tc1vCbOW3hhlaRx+OcjG6KytxHdZj w==; IronPort-SDR: iWFye+NSDrpdrt/TXSNCG8Ww8ZuGVR8DSE8TxSiboicYkJD1qJYFVy3bcIbjzQ84gWunlp2qsz ffdOTTrcBziLMbIauqoSRf6TPM9/kZbNMcKK8MCE6yw/A3+etCwzZjwpa0U9ZmL4AIerWg2Gld vx24e8s57HmMAR6xfQOxoYxZ7Ga0O7ZnVZWulXc7FO6I92tzQh410+YGiD9qr/U21VRvJsyNj4 T+eEbqIBoeiCwZLut6Mg1frYg+7kqxArLLm4E2tOGy4IJANQEoZ2VWdLPmAVqJarFkZ+ham6ao LKA= X-IronPort-AV: E=Sophos;i="5.73,526,1583218800"; d="scan'208";a="84138404" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Jun 2020 07:00:12 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Thu, 18 Jun 2020 07:00:04 -0700 Received: from soft-dev15.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Thu, 18 Jun 2020 07:00:08 -0700 From: Lars Povlsen To: Guenter Roeck , Rob Herring CC: Lars Povlsen , Jean Delvare , Microchip Linux Driver Support , , , , , Alexandre Belloni Subject: [PATCH v4 1/3] dt-bindings: hwmon: Add Sparx5 temperature sensor Date: Thu, 18 Jun 2020 15:59:49 +0200 Message-ID: <20200618135951.25441-2-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200618135951.25441-1-lars.povlsen@microchip.com> References: <20200618135951.25441-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. Signed-off-by: Lars Povlsen --- .../bindings/hwmon/microchip,sparx5-temp.yaml | 44 +++++++++++++++++++ 1 file changed, 44 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..76be625d56460 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/microchip,sparx5-temp.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/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 + + clocks: + items: + - description: AHB reference clock + + '#thermal-sensor-cells': + const: 0 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + tmon0: tmon@610508110 { + compatible = "microchip,sparx5-temp"; + reg = <0x10508110 0xc>; + #thermal-sensor-cells = <0>; + clocks = <&ahb_clk>; + }; -- 2.27.0