From patchwork Thu Mar 19 22:48:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kun Yi X-Patchwork-Id: 11448159 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B900514B4 for ; Thu, 19 Mar 2020 22:48:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 97372206D7 for ; Thu, 19 Mar 2020 22:48:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="oVefZhPG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727600AbgCSWsY (ORCPT ); Thu, 19 Mar 2020 18:48:24 -0400 Received: from mail-pj1-f73.google.com ([209.85.216.73]:57710 "EHLO mail-pj1-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbgCSWsU (ORCPT ); Thu, 19 Mar 2020 18:48:20 -0400 Received: by mail-pj1-f73.google.com with SMTP id np3so2733352pjb.7 for ; Thu, 19 Mar 2020 15:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=5WtAORZ7SLKlJMzImdvIvZ4TLDWK4cV3hlxUTvVcgm0=; b=oVefZhPGfE8C2nh3FoVLrMo+ZnJ4ufUSS+wfUmo2CPPOaVotexymf6xloK75yv6miQ T4QDN5TI+S6L45Bsr3doVIDDkFHoZr1TyywiKeJhQceW2OFgaISr/5lCc1SCfl5v1qQ2 D4VjKzNlH5R0GZ6ze/p9xLyPfFMlw80MGZM+AJvj3LR6rymVoBCQ/hUlDN3sPlnmyTmU 39P3y/KWjYRGBhCbyBegy236FPg92GUMGeBJgUM+xiuOwyotD8oJpv8Hc2oqCLLuGfsi vY44qdg+EtEfEWyD09+I/GrtP2eMc5xgFcObEsAG8/w/fJuePiys41jnWqOJScvaAOmy r1MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=5WtAORZ7SLKlJMzImdvIvZ4TLDWK4cV3hlxUTvVcgm0=; b=hvTrpjA7OvXbZIx38SfDMc3xhVkkf4cTXdD160EFiuv9Br+7v+yqf4lc7tdsMSHojj uIxkmRqLtxIKlbnuxInerIvDgnhGVA+22qnfIXsDzijKHNETlrsvH+jO/YSp3vU+MTFT +IaaJM2eO8J3y5x8kFZLNxQPPL69Hy3k4Y4PoTBAzHItp1Xzx7LKu39Rj2u9gx/kh4Fw 0UzY+9ZToZ3WQTxop5k5hRGBACo1aVaE0XQu+GuoP1FyvwKDr5EN1+44IJZ3Fezsyir8 Tv00ZJEg45SzCnkX+aW8x9Tx/eWvunKKpPPNq9CwPXpMdNeVuraSAAyE+tZme+qOSUVw FTFQ== X-Gm-Message-State: ANhLgQ1X+Mzz2JT3kW/CTNJxLweYPfG5VfojIvSlvXPZoYCEpwqX+dNF 0Kw25UEKSK4PuPvLHasRWlPzho0feA== X-Google-Smtp-Source: ADFU+vv4ppWOXgl7BA5LMYVaLuMmRS7QvvyfGGP9o9MIRW+9mrUpZ7dEgMdw+2umUBVT1P11GBDgo7Qq/Q== X-Received: by 2002:a17:90b:19ca:: with SMTP id nm10mr5930332pjb.161.1584658097568; Thu, 19 Mar 2020 15:48:17 -0700 (PDT) Date: Thu, 19 Mar 2020 15:48:09 -0700 Message-Id: <20200319224812.202013-1-kunyi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.25.1.696.g5e7596f4ac-goog Subject: [PATCH linux hwmon-next v1 0/3] Add SB-TSI hwmon driver From: Kun Yi To: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, mark.rutland@arm.com Cc: Kun Yi , openbmc@lists.ozlabs.org, joel@jms.id.au, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org *** BLURB HERE *** This patchset adds hwmon support for AMD SoC SB-TSI emulated temperature sensor and related documentation. 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/sbtsi_temp.txt | 14 ++ Documentation/hwmon/sbtsi_temp.rst | 33 +++ drivers/hwmon/Kconfig | 10 + drivers/hwmon/Makefile | 1 + drivers/hwmon/sbtsi_temp.c | 218 ++++++++++++++++++ 5 files changed, 276 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/sbtsi_temp.txt create mode 100644 Documentation/hwmon/sbtsi_temp.rst create mode 100644 drivers/hwmon/sbtsi_temp.c