Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3731776pxv; Mon, 26 Jul 2021 10:30:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGmEzDE+DBqKFUjLty/4GGwJTzRGuILbhuAEUGkC39Xh3IxKknqTsAhw2EEwTEN2YXPB/O X-Received: by 2002:a17:906:4e09:: with SMTP id z9mr18047382eju.226.1627320621545; Mon, 26 Jul 2021 10:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627320621; cv=none; d=google.com; s=arc-20160816; b=i2KDNMcqloha7PUr1ElDn9Fa6qYINcw9G8ttaS1n0C41KmqZn43SLi6L2Wb9vYh0CN bCSJV1h0Tql/vS4WriaO8CqmBtGBhAn0dPAGQQEElI69ILeD3fGtqb/ykwkK3ctE65/a 3wptPbRmKpO77ZhADD8oDujuIunLhmrh9RE8kbpP6tlJyfVVEbUd8lZun/9gJfP8nGs2 ECL66Sr3ORhEtDTAZcyh7rJCk3+ifJEVr1jPqD6KspYvnQjT6zbgzMnve6wNDT6uIFq6 /oQzm9WW8h5//4p/AKiCr1RGhvwas77TtGjCjlEF4m7LnsKBSqr5PUFNeCyh6lqg7WSf 9JDA== 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:sender :dkim-signature; bh=o+RqgTUgMKqnDrEgLgnoBoRlpOtwLUFaR9Eyi34Ya74=; b=vVjpqdIAgO00jjtOB+c4S8LtjYIR/qFW076I6crqINszLTQN6yEdjOMnLPsutxG4mJ Y0G+qdD08qxOLru8LM5+GO9pQBiLCmOoWn5gH2w/vZcquSihuL87UgGdJmOmLepDjVG5 gYL5e6TaPkvdhhcPdID3F5JK+cUvPqlcGWUwch87b2QF77iFPMjo7rYcSxJCV/Yo0hhL whugyec+X5EkUc/VnSK3pEcX2SOdbS5xaDHGOgu48T0DSxL7xpCOU4niUFEX1xNroFPS KTCQl8xaqjRhLo6wX1uZBTRuqZr25ylFxwldWVew7CAksksB6fyeCKHZF8k1cyZNT8Nt ar3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZQTj6N85; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gq9si486221ejb.654.2021.07.26.10.29.57; Mon, 26 Jul 2021 10:30:21 -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=pass header.i=@gmail.com header.s=20161025 header.b=ZQTj6N85; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232359AbhGZQrf (ORCPT + 99 others); Mon, 26 Jul 2021 12:47:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240507AbhGZQra (ORCPT ); Mon, 26 Jul 2021 12:47:30 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E9D0C0068AE; Mon, 26 Jul 2021 10:18:23 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id hp25so17407440ejc.11; Mon, 26 Jul 2021 10:18:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o+RqgTUgMKqnDrEgLgnoBoRlpOtwLUFaR9Eyi34Ya74=; b=ZQTj6N85FWr2yQVxXoP7KF8H1bNwbDUiG0M9BsE5JAmjlxzVZxKs1wKSXch1XR9wMX ji50swyBkhmNszyJFZeSVJy2LtMMr/EQuMfsYsD6GIV9htVdFHzyY3F2XVvE0E+fGTg/ FPNu5BQ95aM3bW8sQd8eQA1Xh1xMI5etkNOsLwpET6s+wJmkftdf4RmpWNvd9NT5+Gcj 2rVMqLoL4YQwym5hFnP009di9BKbVJkl0REVHQ7qgGcScv85YNEoS5ZjyYp2dipkqakP Cmus5PuRVR7TTc6gl93FcLbblRJZns7TrTswIL9Twu2AtTH46C1on51rsf69eVdGcryP gObg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=o+RqgTUgMKqnDrEgLgnoBoRlpOtwLUFaR9Eyi34Ya74=; b=ZX9s2YwHJJFIL6wnh+UBKUX7dqI2PwwMjR1JTNJWifD1yyZrtBlCGe1gqShiUIMAjX 9mh4fAWG+6e6werULc3YwbUdsVRiLq6j20PJdOE1pIacCS6m3nkTxsLvH3/gViOpcnLv eRdYYwUfZfUYisgOvHHvpcG/a4nNBC6zliL97CLWa2P5rxkmwMv1CH/cJ6zz0DgbH+gk ylyJGn3u1A8h3wvn3hkz9bFiPlBoVbibDSQRoQlL+r6sODJ8MXt+UKIp14I/HZaJ8KPR kFJK+st+gzks3JUmMCljyhAyzTcumBOV54rqCqO9OV9H1VV+sgJfDj5+oIVJLAfTF7sT 74hQ== X-Gm-Message-State: AOAM530f5ENOmkTSQwE+9CkYa7RNr6QgcN/31WuVXk+7Ywhkar5hZ3LH ViMEA7JzpREGfFqxqmf1D2I= X-Received: by 2002:a17:906:c006:: with SMTP id e6mr18245052ejz.510.1627319901954; Mon, 26 Jul 2021 10:18:21 -0700 (PDT) Received: from stitch.. ([2a01:4262:1ab:c:132c:4c2b:f8ab:5392]) by smtp.gmail.com with ESMTPSA id e7sm195932edk.3.2021.07.26.10.18.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 10:18:21 -0700 (PDT) Sender: Emil Renner Berthing From: Emil Renner Berthing To: Jean Delvare , Guenter Roeck , Rob Herring , Jonathan Corbet , Samin Guo Cc: Emil Renner Berthing , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH v3 1/2] dt-bindings: hwmon: add starfive,jh7100-temp bindings Date: Mon, 26 Jul 2021 19:18:01 +0200 Message-Id: <20210726171802.1052716-2-kernel@esmil.dk> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210726171802.1052716-1-kernel@esmil.dk> References: <20210726171802.1052716-1-kernel@esmil.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings for the temperature sensor on the StarFive JH7100 SoC. Signed-off-by: Emil Renner Berthing Reviewed-by: Rob Herring --- .../bindings/hwmon/starfive,jh7100-temp.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/starfive,jh7100-temp.yaml diff --git a/Documentation/devicetree/bindings/hwmon/starfive,jh7100-temp.yaml b/Documentation/devicetree/bindings/hwmon/starfive,jh7100-temp.yaml new file mode 100644 index 000000000000..5ca52c08d142 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/starfive,jh7100-temp.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/starfive,jh7100-temp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7100 Temperature Sensor + +maintainers: + - Emil Renner Berthing + +description: | + StarFive Technology Co. JH7100 embedded temperature sensor + +properties: + compatible: + enum: + - starfive,jh7100-temp + + reg: + maxItems: 1 + + '#thermal-sensor-cells': + const: 0 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + tmon: tmon@124a0000 { + compatible = "starfive,jh7100-temp"; + reg = <0x124a0000 0x10000>; + #thermal-sensor-cells = <0>; + interrupts = <122>; + }; -- 2.32.0