Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1604107pxu; Sat, 12 Dec 2020 19:54:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHmjdEH3F0IsWIUxCrCvSMye+AtZPG96enXrHA912uXqYZWxKDnoFOl1VvFiAgDUVKxHB7 X-Received: by 2002:a17:906:d784:: with SMTP id pj4mr16868720ejb.360.1607831654416; Sat, 12 Dec 2020 19:54:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607831654; cv=none; d=google.com; s=arc-20160816; b=cmicK5J2YKk5lmXiqeaKJHJUHVS6x/LSK+c0uxPVDd4zxzYWgXAyGpEONxtm/uSJAK Wr/Ttdw4qxz+dExwxB7d+zuPJ3DqAbb6/KoFbZbgk1jjGlDRc5Iags7veRPuVs5S5YU9 TULwYN6eMqwjr1zHbMdItgindVrK4D7WvMDcUl4GWwPBDYV38z8OKeXH73LKB+gn22E1 qH7CtKWjESzxN7arPGLvxRQDSCyl9tIgyfeh1ahJrgkibbRP4NrHGLDeN9qMbObmDiYg sMh4CJPJnkhwy6o5LblQkltkGmScsSQTOIH63owvzCHd2DCA/TJi9ZN8KHXc+ia0gGuc P1bQ== 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=hYQLpIQAE5/Axip10es018C6XUh3MhNHtJpTlD1WAo0=; b=wIB4xWptruNRWjmLCGI1NxJnursKEbkdY8ak7kUU+av9XTf74zPNdgARdWW8k+8Mer UPFJXUgXug/L1/L5su5TY/Xzn9UJtMewHF419goo8ouMTIKn7fPbooXad38UGO0w8mny iwsqP887UuCQ9GS8CqJKbeeaumUiokKyUYn5WLBqUJsVTeju/SV9+3ncPOvz5gjQZuTp TpRlqJI6yvbw+ag0sZ8qRo7PM8h5GL84kxAMQEf4PHNkhm9whmgRti7trlceytt503uP vV8r44YuGBNzlEh8vR30b4U2x0VC2N9+Ky8G9k+qaePVtqqlq0JBcVCHygr8EBCNo4Xy yBEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Yq2V2+0S; 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 co9si7946840edb.379.2020.12.12.19.53.51; Sat, 12 Dec 2020 19:54:14 -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=Yq2V2+0S; 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 S2393156AbgLKVzk (ORCPT + 99 others); Fri, 11 Dec 2020 16:55:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393178AbgLKVzQ (ORCPT ); Fri, 11 Dec 2020 16:55:16 -0500 Received: from mail-pl1-x649.google.com (mail-pl1-x649.google.com [IPv6:2607:f8b0:4864:20::649]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35174C0613D6 for ; Fri, 11 Dec 2020 13:54:36 -0800 (PST) Received: by mail-pl1-x649.google.com with SMTP id p19so5441964plr.22 for ; Fri, 11 Dec 2020 13:54:36 -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=hYQLpIQAE5/Axip10es018C6XUh3MhNHtJpTlD1WAo0=; b=Yq2V2+0S/HCmoRwuPzTrXXqUv25lxJFRuUv5r7ayLhb8FnOfnEARyaJkpBzfJL5h0W SLjC9hGEOX/MTmi+SY3koZs/ZkE2dfUWqywpj+e1ZUDVELZetvYSTt+BE/LNk11UIo6C KQ/9GhxMIaLFSlmA9li80DJZ53+biNSYNjJEUMHpA9JUh2X+P75thAjpPw24cEEU0xwv KegG221gNp94gxhUAiIJ1saLt1E7YAzulaySc4XMmZrWNa2tt+yRTj4/FFhlp0DCppUB OCptSkHJLUlehIwV0kzeXp6z/+Ezpt40k8gtYS2O28oe82tJ72ofv1DRUMphPfKsIVVk no6g== 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=hYQLpIQAE5/Axip10es018C6XUh3MhNHtJpTlD1WAo0=; b=ecJ9QFW/ShKGUkRLxXB1x+SeHkn0RyH71oLPvzP4jQqIGQTDyBHvbyhO+NTSOmdaWq 2V61AOpuJWS99MAY2wAw34HdauxM9EyJ3yB6wvx4ws7cWA1Z2laFnkLNuYGBfGQYHEpi wyIO4xUqhVOpiPCajUkah9JMzhZ6jQYRYxHQpKDJSIk2c7fNBNdeq3qClegS420/lz+a xH7vAq3WoouA60LT6ZJsf5Xp465OA8qPc5m6+t+EBKGfYoPDoDJ+UkolvbK7UwB4l5pr /GT//PvGQfZMP7G6eHltMChPzlf9031KnJas4H9jb1N/RCuGhXoXDYJKMD4E1gRFW+yH 4N+g== X-Gm-Message-State: AOAM5313bk5Iob9JfOoZfK/wkdwHhAvtkrq61NYmvwWyNZC6HjPWfLFo xXMMw6sBeedZCRxNL3TxxtHq7kIUrA== 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:a17:90a:17a4:: with SMTP id q33mr1446850pja.0.1607723674991; Fri, 11 Dec 2020 13:54:34 -0800 (PST) Date: Fri, 11 Dec 2020 13:54:24 -0800 Message-Id: <20201211215427.3281681-1-kunyi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.29.2.684.gfbc64c5ab5-goog Subject: [PATCH linux hwmon-next v5 0/3] SB-TSI hwmon driver v5 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 v5: addressed comments in v4 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 | 250 ++++++++++++++++++ 6 files changed, 356 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.684.gfbc64c5ab5-goog