Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1016826pxu; Wed, 2 Dec 2020 09:01:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzL7LTRmUl8QxiZe55h4L/5k1Ati4A38Mtjnor1nFOj45c11H9UIdkb58faWDQALMzJCYo7 X-Received: by 2002:a05:6402:845:: with SMTP id b5mr898938edz.38.1606928473981; Wed, 02 Dec 2020 09:01:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606928473; cv=none; d=google.com; s=arc-20160816; b=YhUzhRlWpmZCNz4p/ZKY4dBMPJT0XlHOJCzt7T9BMQ04hnfrGC7As6KgXvhvfEfl0l DTu12gPa0r8mV8h3MH9bX4yl2xG7jY8Vg+BLb/8fLve0nZcWSYYs4fzjN4KnSALj25gK dfvMS9YHxGtZPbnCp5KN8Xkb3E02eItEXsvitO9rT410B5vj4KTs3LOI9tISZ06fb2Am MeesSin0EnV28kxQnlDpGODNkFiDy1CeKz8t6TJyH3ez0I+fAnySu4DW1WK9c2Sm/d2o OEprq5/kRPSNyjRslS5kbEcYrCiWOmVH34bHCkm9Tg+eU9JGT79xmOmSVE1hz268xiyo Hfww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :sender:dkim-signature; bh=H0Lx50SxnIIzq7vdxrU5tdSCLsBn1UooFpJpI+vmNx0=; b=fBMLzAoaXdvEL/vUCTCuDUhZFFPAxIGlE5OP0XtZh3kRzxrMqjGVf9EWFmafNO7AuA 9dq60Nh3QOM1VWT2DZLDZOgSzm7b7lXMf8WsCwyvSumyn1RNsPO+w+H31dg3Gc9VRQAC EOKAn6nA6nbkrYQIVGkTh1sXfYTpevKdyQCUt4EzW99YN8Udy20s8H2/JYvUbtqRgeRD iai2W8AYYdZtrpGc3ajpjLPhB/mWIpUyndC6TWz+dBC6jqRslwvAmKLfU6/2NO2+dcWt K8seV6vFP6ZS44uRzUchf1AuRypTxDcyprzXK11sYib+s3G2ErJsRRtADfGh0u3i7MIZ QWyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=LGWULYKL; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si331130eju.683.2020.12.02.09.00.50; Wed, 02 Dec 2020 09:01:13 -0800 (PST) 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=@google.com header.s=20161025 header.b=LGWULYKL; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728741AbgLBQ5A (ORCPT + 99 others); Wed, 2 Dec 2020 11:57:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728659AbgLBQ5A (ORCPT ); Wed, 2 Dec 2020 11:57:00 -0500 Received: from mail-qk1-x749.google.com (mail-qk1-x749.google.com [IPv6:2607:f8b0:4864:20::749]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 436C5C0613D6 for ; Wed, 2 Dec 2020 08:56:14 -0800 (PST) Received: by mail-qk1-x749.google.com with SMTP id c71so1705657qkg.21 for ; Wed, 02 Dec 2020 08:56:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=H0Lx50SxnIIzq7vdxrU5tdSCLsBn1UooFpJpI+vmNx0=; b=LGWULYKLmYseaGlBpFr0VLKT3quD+zRnAUWVKgLWK0z4+g7iRjme5rOGmC3FLCL9sf 1gh5HghvmJy2Dj0dPz08xJBiWDYUsJkyfhexNtU8yEFFpuVOfMkpiFP9OCxUtMbSBctH RLmES9P3LBxpnKkJfo5rxSjb/pc1vfwyjn5+EdeX8sWzvACAkpi7RRgXjd/bh2nZBtLG BljQEy2G8HsVGEtOAbtUNdK/2w214g3N3nzYthEZ94M3IfxLYyI0cSJmxcZERKLCwN1F 3bLP6W39o0Z84bj0AZYLr7Y5qDBthOOaTO4BkbApdoPK83XAFG0brnppFu3NspPRFrDK moDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=H0Lx50SxnIIzq7vdxrU5tdSCLsBn1UooFpJpI+vmNx0=; b=V8P4WqrHWSDG2sPl3r5SgSfYO4dCPB7gF2ODnF4IJte3wbVSZ0MD/gDHEE7VhkWXuA u+6H7vBmSG/ASHDrxSNhC1H63iUTv0gN4I1suNTtn2UaEYbHvDq2H2XMWzJfKTk29TMi +qofrA+DdCy8WlG2pvPusW8IlkE+vISmKFNEybJYDA4TLRKKvva/GO7N5a77mTpRoyEw mM0qpfCeUxTUm+zBzrd/wzpcF3pMvoubcSBlUfPVfxNQOHSAUxNmnh4BFp9jXFlmApjs P1lUtn5zRW0QQ0awCVpjXTK9O5o3thlF8gRtENcJUL8M00ILKK6okqIASosIDXu6kQpO R4fA== X-Gm-Message-State: AOAM5321E3MGkyosahYPjtwpE0TRqbf4QeAcxpCw0F5KRDZUkbARP1Vp VUb59XDct2L4eGPkL3s9lw/BIFGeAA== Sender: "kunyi via sendgmr" X-Received: from kunyi0.svl.corp.google.com ([2620:15c:2c5:3:9657:a5ff:fef2:53bd]) (user=kunyi job=sendgmr) by 2002:a05:6214:a8a:: with SMTP id ev10mr3649574qvb.41.1606928173217; Wed, 02 Dec 2020 08:56:13 -0800 (PST) Date: Wed, 2 Dec 2020 08:55:58 -0800 Message-Id: <20201202165601.1532213-1-kunyi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.29.2.454.gaff20da3a2-goog Subject: [PATCH linux hwmon-next v4 0/3] SB-TSI hwmon driver v4 From: Kun Yi To: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, mark.rutland@arm.com, supreeth.venkatesh@amd.com Cc: Kun Yi , openbmc@lists.ozlabs.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v4: addressed comments in v3; converted DT binding to required schema v3: addressed comment in v2 and improved documentation v2: rewrote using devm_hwmon_device_register_with_info() API and addressed comments received in v1 v1: first version Kun Yi (3): hwmon: (sbtsi) Add basic support for SB-TSI sensors hwmon: (sbtsi) Add documentation dt-bindings: (hwmon/sbtsi_tmep) Add SB-TSI hwmon driver bindings .../devicetree/bindings/hwmon/amd,sbtsi.yaml | 54 ++++ Documentation/hwmon/index.rst | 1 + Documentation/hwmon/sbtsi_temp.rst | 40 +++ drivers/hwmon/Kconfig | 10 + drivers/hwmon/Makefile | 1 + drivers/hwmon/sbtsi_temp.c | 265 ++++++++++++++++++ 6 files changed, 371 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/amd,sbtsi.yaml create mode 100644 Documentation/hwmon/sbtsi_temp.rst create mode 100644 drivers/hwmon/sbtsi_temp.c -- 2.29.2.454.gaff20da3a2-goog