Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2273510ybt; Tue, 16 Jun 2020 01:28:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMesrHx7TPUZUA+N2uZoOO1trP/hbt/0drcRo9LZK/Kmn1S5ZN/ZY8lmYpvHp1wzfpxX9E X-Received: by 2002:a17:906:830b:: with SMTP id j11mr1839926ejx.42.1592296109369; Tue, 16 Jun 2020 01:28:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592296109; cv=none; d=google.com; s=arc-20160816; b=quUVZM6ljPlm/Qu3x/JMFIzl1IVlkNiTO4lA9kzfLbLk4OReoH+r9q3CzGkY4lOVf6 hKmXIy2LwQnBu9jR3G0LVIZszzhPRj1VRi75BvDuS8Y6JUv0z6GJE+/9i7Nnr5oI2hTi TdDS7w5yPWWTHGJEp9fIVGxU79XWj45Ux8tBqErLM9zfQeHjo3oON7FBPrnx8mKh5FhC CytSlcQ1GAepYmS86YyIDKHRXNFdy6LhpXAlmRxNnyAlQ/pmxahZUVXioV7uVywioNxY R91Vj1PXvZGe9kg87TRfPu7oCoeqWFQlaXz1dcd/LW47Vh8hMiUF2x9biqwa7q1euyYX XA1A== 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=SmRo9J0YjzU5Pg7Ya1zqpv0kw3pNzzXSrTei43VVDcw=; b=FAgF7Ho8qdI6X6a/PC4pQ5BYdSFfkRg5YqJmJDks2KCUu0RcCcdbSJ7bOZQAOLBcAs JNC/zZz761LtM460Rt9t+o+hMVGjeyH8FIT5+auW7g4nqs1kJTgCQ53ecGs5KTQpPQBL W8s6TmCHcx9R3jGcvkmr7//Cp+MicGGbopilXr7NT/pzfvcLLHxTRFP7Jb+IxVGjkXsb LMC8M6d0KXYVONkghzrIAPeEMF7QwoUxY9cxPNN6Gj1l9cFxM+jotr/lfNReAMj0uyYI 9CZkqOxASb3BYX57gE+9j5cePMlRJ+Rpn6KCQSi4Ws4SGLxAyqLd2xXN3uBLvbMGPx2j 8HoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=1glgbDoO; 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 m19si10690784ejr.547.2020.06.16.01.28.06; Tue, 16 Jun 2020 01:28:29 -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=1glgbDoO; 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 S1727103AbgFPI0S (ORCPT + 99 others); Tue, 16 Jun 2020 04:26:18 -0400 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:19855 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726064AbgFPI0R (ORCPT ); Tue, 16 Jun 2020 04:26:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1592295978; x=1623831978; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UXU8xjgeD8uULtQXTbOnbSoc5eRHvFPsywKHip7NVXs=; b=1glgbDoOg8L7Y295yOy9rhoTk55+pCX2+cmc4DPYKFJO/IOXA2FmwnQ7 fGbZ9zRiId4J+OGp6jT9Bqi9HrN8dvPqYu8bN5C2W8Pha71oJd7rkNzG0 tbNUaQYcRyqBLgig5jN7G2fmrQbIbz9xnSxRsothFTdoTiZ7auY0RH7np dh/iuO0TOiLeze0halKVpbTOha2MJzKiTXdAjEV1jLmpPcXtN/oG/46ng 5CHNXrQVVchL1wnkG8EZVMP9m3PRyE+EKHu+RrOeOc1bLRZXCKO8KUgCz xUzTAgwzyB0+JdhVUqV1+IHCMFCBt9GcabB/BWtSMaqzE+9umIXET4zkE g==; IronPort-SDR: oLPrloCPosfK2Oj+eHset1dHFSuEZWYg1KuwFZ15O+1pbC3SH5kkWl+t3yo+FzKpeLQzoMJ3ll ToOOZ+6KHvt3JXQrHeN8zSFIgLqS53+V/xlBWJzX+nxJgMPCOXzfeLmF5Lh0HFdDXhrSsKHw8I 1QACVhyS/a451EcL1Is9HTea94e1WWnvo6TU+7DQcpFWQmdL1h+RiWTqM4BZwlXFe3lW5VbeZ2 ihFnvkxKLuEjV1kBz2Q+ujPb1vvGIqzhBVdL4qN7y4tlJ1RZphSMuyiooz2zAHhKEhkQpcM3Ba 5jQ= X-IronPort-AV: E=Sophos;i="5.73,518,1583218800"; d="scan'208";a="79621908" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 16 Jun 2020 01:26:17 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.1979.3; Tue, 16 Jun 2020 01:26:16 -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; Tue, 16 Jun 2020 01:26:14 -0700 From: Lars Povlsen To: Guenter Roeck , Rob Herring CC: Lars Povlsen , Jean Delvare , Microchip Linux Driver Support , , , , , Alexandre Belloni Subject: [PATCH v3 1/3] dt-bindings: hwmon: Add Sparx5 temperature sensor Date: Tue, 16 Jun 2020 10:25:54 +0200 Message-ID: <20200616082556.27877-2-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200616082556.27877-1-lars.povlsen@microchip.com> References: <20200616082556.27877-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 | 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