Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp357843pxv; Thu, 24 Jun 2021 09:23:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzk1dr8mDcfwLf1C6Y/fzu74YsVB520THlx4M1EFtt+sBHWOEaGEYQssJArBK/L9mCXRIxh X-Received: by 2002:a17:906:9516:: with SMTP id u22mr6219959ejx.442.1624551786771; Thu, 24 Jun 2021 09:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624551786; cv=none; d=google.com; s=arc-20160816; b=NZpmTAY38Ua0BVQ9XXpFDx09IxiSIb4WBBgGm2+U4USlcCvw0nKlQ8pDzcpLFvT7MW 7jaZ/AC81IuOGiNqlUokCYAE2/hWGSynos+DZ6vpY00VsCcb/di+wFJA+jwmZ8uO1+DN eyak44MaQ+CoAHSC7vTWQIAEdJCto5lNCBVfZywOU+JcmoGYA9RcdcS+FfKWyJVF3Dlg iIR0bEq61ho9oRof9hlBPA2jMuFzHXwJ5BtsDSiBik4GpVHEwMZV0qrNKqFiXTAz2qLp YtZaqMZe+duZGnmaWeNU6p8BZayJwC7deYqyzyCdBdc9uVfXcP+gdSBiBJmGgzd5KyhT VfDw== 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=ZoEaJeij2CjQ38SedyVevTWFQALRHJHQ48oG5DEREuE=; b=p9d0/xhnEW/dv6dLXgkc67DN9el4odqKubJh4fl3PJfNSTHclfgPZepgc/mJHM2IM6 WfRdlXRqFevR9YmnMKmAsdogbkInL0e4tJHFxC3YkDlARl5Lvfpvi+c1XWkpACFPNzWk FEXc4C2swPfLVn4U9tayEYnnXw+ue5HTBWTdlTSFi2ZzfyZmoFVxRxE4uNEGhUM6vIr7 HZ3rnK7V+u5cBS8a5k2B2DWg/xNGkE5Mx7QSzHW9urhYFfJVPXJ2mg2HOpQjSlewjOYD tZyxfJ42rD99PVg07G4QzibV7ASFyYaa67KOFF5J8jiJdJXdVu2RLmCafCg78LEh8Mjh T2fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NPhcwXUy; 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=NONE sp=NONE dis=NONE) header.from=mailme.dk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si3331799edi.355.2021.06.24.09.22.40; Thu, 24 Jun 2021 09:23:06 -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=NPhcwXUy; 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=NONE sp=NONE dis=NONE) header.from=mailme.dk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232154AbhFXQXx (ORCPT + 99 others); Thu, 24 Jun 2021 12:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231895AbhFXQXu (ORCPT ); Thu, 24 Jun 2021 12:23:50 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE817C061756; Thu, 24 Jun 2021 09:21:29 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id gn32so10485580ejc.2; Thu, 24 Jun 2021 09:21:29 -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=ZoEaJeij2CjQ38SedyVevTWFQALRHJHQ48oG5DEREuE=; b=NPhcwXUypwt+/5f6w4gVqMcUtxw+jCaeLBptMwwA4U0ON7mImgJ5cGGAVRPxLnW/Y3 oU77IrjilSL8Bn9IX3UJYShVsqd8cZqO5CraafPRCajpcfKt0/7zzWqgONLd70JOOyzn 1EeY24huaGzC0TmrAwvkHdxmJ65IqA+WJlxk9ofzs+ojHv7OQVNYfNkeHlR8DtDMuoHZ 0QEoFu73MYlMMzmx1mOMmWmdLu8WAapar+crHCCyeJtbov3pjGGxPlUrFfSd1a7ur3Yv 4NfvOCcCvKDiUNIQDIptxDAYhA0bAW0bkAkmrJeY3yDCr90I33cmETkhn/PYLrj20ekq 3eXA== 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=ZoEaJeij2CjQ38SedyVevTWFQALRHJHQ48oG5DEREuE=; b=XISCXU8MKk4oEc1Agmz5zTgln+AxcTLPW6wC8huydhLxbRpvWLkQ7d1R6mScIXcIKh 5x508CrtSOh1YKzUnp7qJ5g8VLfvCg5d2i+HiMMh+MI0fl4qhQscAbSc5grKkk4CoVvn 3AwTl8nFPPin3WuhT9MdA0w9ioAD3Bb9ru1RLKMrNlhTlzwCSFkVuLkbFwtmtdSx5K68 bHB6/Kdw4vAtHVCOkGWHA1KSZMBkP/ym66Mc1Cp/g2SXCCd9aObmkIJbraqPzJEAaxXK weXDHe21g5CWj+ma48MXBMqu3jL5CS8cqn6l23tkE2yerhHFO199QBm831JMeub+qgE+ mmHw== X-Gm-Message-State: AOAM531qPdP2xYQ1XPP/ZfsbfoWviGIahhlgf71GmFIMaxlTr3gv/TfJ MjZAGeoGk0DI5Na0vkG75o8= X-Received: by 2002:a17:907:da4:: with SMTP id go36mr5999414ejc.21.1624551688346; Thu, 24 Jun 2021 09:21:28 -0700 (PDT) Received: from stitch.. ([82.192.166.82]) by smtp.gmail.com with ESMTPSA id p18sm1332832edu.8.2021.06.24.09.21.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 09:21:28 -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 Subject: [PATCH v2 1/2] dt-bindings: hwmon: add starfive,jh7100-temp bindings Date: Thu, 24 Jun 2021 18:21:07 +0200 Message-Id: <20210624162108.832518-2-esmil@mailme.dk> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210624162108.832518-1-esmil@mailme.dk> References: <20210624162108.832518-1-esmil@mailme.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Emil Renner Berthing Add bindings for the temperature sensor on the StarFive JH7100 SoC. Signed-off-by: Emil Renner Berthing --- .../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