Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp56076pxj; Wed, 16 Jun 2021 20:10:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJBw406eHZSDZx3jC1CqwDpn1md3Mv7KSSXx8TSXinBWd9pFqeoMfPAId0qamjVKXdFiYQ X-Received: by 2002:a02:a30d:: with SMTP id q13mr2303142jai.101.1623899419938; Wed, 16 Jun 2021 20:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623899419; cv=none; d=google.com; s=arc-20160816; b=VMXeuCvkKAwAaTw3XF42XNCoVfFMQ4stOrbH+isnktI1esteoa2KvLozBN6pmOrvdL rclbMLyKa41Ue6I+r6T1G1/6xIkCMP1uUSUq+j77qkYKyL8i2E7UelGELxeYvyvtzji0 ALx/z9PYCbFusmCU2ElFkBIHP6myDcNzxoOo76Y+8ZNmx0pPGfZP0r3Zu4imDay9HnD8 zEeq//cyHcFxLjlAA3u59iVawbp6GJ6VqVNTpYMbbPmwICUCnLTRnK7IxjkGyFzGo7Iq dD4swiqKft9TBWe0RaqgCvlZTQRnZvSFMKH6PUgEcFlTsKblxblBKZvY2MSFKZjbq634 rbYA== 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=iFHbHNL8aARZIdIs1Si1a8lzKbqAKunaBKMyM5zoCYc=; b=E3XDGZ9uWaU3RoZl5YsP00ysNtPS4REUdxXlQxictuBejn5OZKPzbGJbpbf4x036KR vq5euGNb8ilmhlq/zUobopYrztO75S8z0rURMw6BAXjap4pYJqTxue8MKsFV+Z/Rtm1S dh0URuU9bDHemOEKGM4iEdZ1H62+Vb80Qapm1BWSPJn/iUMhHIMfvE5HJfZK6/jE7mcY SKr4CSCYmIOdTFX2Ux6SlVGIe4PpwE9IrP7dX3XMf5eO8Ko6jzBB3llZjBM1bXFK6rG1 hczVLpOlujn3Xe2Qqqy73K4BVcjCFtEBaxrpjTNUSmOQ115ktiCKxQivxtUZKgTJ4NUX I2RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JwKsVxqZ; 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 s8si3866999jaj.67.2021.06.16.20.10.08; Wed, 16 Jun 2021 20:10:19 -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=JwKsVxqZ; 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 S231718AbhFPSSS (ORCPT + 99 others); Wed, 16 Jun 2021 14:18:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231599AbhFPSSO (ORCPT ); Wed, 16 Jun 2021 14:18:14 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EAA1C06175F; Wed, 16 Jun 2021 11:16:06 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id b11so379996edy.4; Wed, 16 Jun 2021 11:16:05 -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=iFHbHNL8aARZIdIs1Si1a8lzKbqAKunaBKMyM5zoCYc=; b=JwKsVxqZRSTi5ZxZzs/eX9EYninAH+fl3MKr6gJWnCV9PEOqevy3/TUMAQOYp1X2KA hrJwdFOXUYOo43/gTX7Rff0Ks2RyGBJ8MRL5Z3kk2qIX+poGaE8LFaCvEmj+zQUnl7J0 Wpx7cEip6Z8vJ2YcWD+ypOLUVKCTYjRnW6rfW+vjlMXGtPpTqpT6eBjWEnZeF/dGAoNm Rt6pPVpS03eyIOxAdrDEDM7TmPzi7GkUA6LgInAgeNrAV5k8mccUEKHdRgmz90Utm0fE fBt9zEbH1LQs2taE2cqiLwoplX3RoyFVRmzCfv41hQBfNtHtJlf8Qh97Wie7yd69YAFd 29uA== 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=iFHbHNL8aARZIdIs1Si1a8lzKbqAKunaBKMyM5zoCYc=; b=mrOgTJmtjEbs5x8putVmbTjw/xjNbPdefvdAS3FAAK3BZdNgdHf9LC2EJ0fyAaHwWU 8euu4Ds+VNb0LwpuBCYMV5sjyg8ERUWJTbQVOHDehXVqK9CmMRaNp51SU2pJ0rKVHaVD eW3hRoCJ0XEEReID/UsYSnwVqNa2r/wpYdGaZ6T8RoPwvWGTVihU8rulhjQXXONTnuXl y8qnNvCBqGR2pf2PEVSy+H+oCYPfsfO3Qyx/RCqNEzQdIiFqAmKqDOOGJs1GkdLprjJU 777+vVCogyd9nHgCis4lI1mI9dRWeGpJhMx8rdAPwo2hmq/OEEPz1T9c+6kECdS7iUp4 JtKw== X-Gm-Message-State: AOAM533RhACIfmXGbRYKdaTj8R3T7iWqjkvXdc/OKCpMooHTZrNA7S6r fM5X9HtcPkf9sP83kMClt3s= X-Received: by 2002:a05:6402:b6f:: with SMTP id cb15mr1289922edb.25.1623867364582; Wed, 16 Jun 2021 11:16:04 -0700 (PDT) Received: from stitch.. ([82.192.166.82]) by smtp.gmail.com with ESMTPSA id p10sm2439599edy.86.2021.06.16.11.16.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 11:16:04 -0700 (PDT) Sender: Emil Renner Berthing From: Emil Renner Berthing To: Jean Delvare , Guenter Roeck , Rob Herring , Samin Guo Cc: Emil Renner Berthing , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/2] dt-bindings: hwmon: add starfive,jh7100-temp bindings Date: Wed, 16 Jun 2021 20:15:44 +0200 Message-Id: <20210616181545.496149-2-kernel@esmil.dk> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210616181545.496149-1-kernel@esmil.dk> References: <20210616181545.496149-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 --- .../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