Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4234920ybb; Mon, 23 Mar 2020 16:34:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvdzYeP29QwWCocwD6ARRGkoeyXnacsNpGvLjFLqR0JR7+xCc0YY2E4so/pNHzzsvjVRZmZ X-Received: by 2002:a9d:82a:: with SMTP id 39mr19563254oty.82.1585006483290; Mon, 23 Mar 2020 16:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585006483; cv=none; d=google.com; s=arc-20160816; b=lpTCQYhBsnZWaWJs4Z7Vm9YFTxAopDeLNg6WheMUzU3OjHXS+C/4ux2cEL9R4gFPXW sovwPN2PnCqOLmwpIsL3E1pZ+dmJeYPJDVHACiRlcdHDA+Gb3Zov/P7H+LjCA5zaTBSE rQfqIAiqogIs3aNdFXpv38alM/wLtRyUsCgyojxyb3y6iRZK8/XiKHsOOVlL2iXHvRlJ lRrqAlC28M4TC3dDz9kIFxcDkMtbto+hHuVTgtXRBnAcDvQh69m32woYOKZWTfQ0jBrY uj0r4JEGs3P+G091b4U5/iiTeOIHxVKm6phNu1m3Z6Z2XJQd7DGX2POtKj0zvq0G8kXW 2Hiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=/RImki6aeT4q5vb9Y/WQiMvUYzgD9NDtY/Eh1UmZ8iA=; b=aqRpGL89p8Phjio+MfF1scNyoCoAOBhip05qt4NnjniRQ2dMWbKh4v1djmpCp4UPFq bcfsuREBouUy7+4HJjhQSo8W7kQVbhOOqmZBVJSbAKEewYBgHZErLCrHga4yFzySln7Q Thd/2fgX6nlXOU5g7d+/RDqKvu1dUQqIHRlbOOTNizVSHz6IuypZ9DyVzJsEbIANvMYA uag785tR+XZjYt19HPSdFd0sFdpZBnJqhGU7g741zHywXE9ehngRRqkzL7BSw+kWN4wR GG3Vb8kX+xMW0qjYTbJqU80adjsAVi+dnP+ervUKeu5SngcKNegkKntH4jpApez/e1BR mFzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=O4lRwQYf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id e9si7081506oig.116.2020.03.23.16.34.27; Mon, 23 Mar 2020 16:34:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=O4lRwQYf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727011AbgCWXeD (ORCPT + 99 others); Mon, 23 Mar 2020 19:34:03 -0400 Received: from mail-pj1-f74.google.com ([209.85.216.74]:36423 "EHLO mail-pj1-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726203AbgCWXeD (ORCPT ); Mon, 23 Mar 2020 19:34:03 -0400 Received: by mail-pj1-f74.google.com with SMTP id np18so1023328pjb.1 for ; Mon, 23 Mar 2020 16:34:02 -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=/RImki6aeT4q5vb9Y/WQiMvUYzgD9NDtY/Eh1UmZ8iA=; b=O4lRwQYfbO/ukCbwvjFzGUN4nuu1mInpQKXV5eRdJ5SDplvgn9LcJWm6RfdBFN6F9b /yKLvHw0uGBfbxttjiFdwHqZ9w0OJcJOYGxMtH1Ddf2OZXEpdxcwqYAkVGUAGntg/z62 6EfOjsNJF0y5J2g8blj8p9nWe90nvI/wioQwcpoOr+sNNEMJorrCx/iEQYfeGMq0Bstw dYhXRL/U9y8ZQqLZ0JHUfoQGREPiJkV2hm4Q8Qpt9B6l1TcOeI5/TZXT0QpqUyw735Qd 085QzqfH59RWraXUzemmYVcmKB6yxKyAxfm6cEJxkqalP7XX8QriSOcSsOEUFip1GJVY Zq7g== 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=/RImki6aeT4q5vb9Y/WQiMvUYzgD9NDtY/Eh1UmZ8iA=; b=Dc0JE4CiyckZ8DHRDlFS2dezbPuJ/J3Nj7sJ3klXWFxbf+wUlb8COK1dYeBOXmEYpO RZbAZf4d5razOPdI54tVJwkSLWPuFIY/862GUrMHKDkbqjavWN/mGSHnsrbd1LYebE8f qhOWkr4gPAHoeFrP/p1jCaOxkxOrGo4OkkTj8m8G64FyP7VlIjlGLPWlsKL26zP6Vbpr GiwMoxKvT2fDwhbZ/6zmfw1FxUfjYsY/RI7m8lZE0eRlmo97nIFkoWj3HXlnUNomAzSW KxxkG6Z8aCzKexH2bsmK/inAhlH+1CCZOySmt2mVl/hTU663xyERQoEy9vftaoAVa49d 7LUQ== X-Gm-Message-State: ANhLgQ2AcubVehOJZmq2LhtfiIfFM1dd/Ilg7hv78edKFbtGjp6Nj6Xs CJd2KjW4m7Z6gu/r9NcPnxy5z5dV1w== X-Received: by 2002:a63:da45:: with SMTP id l5mr23139967pgj.273.1585006441709; Mon, 23 Mar 2020 16:34:01 -0700 (PDT) Date: Mon, 23 Mar 2020 16:33:51 -0700 Message-Id: <20200323233354.239365-1-kunyi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.25.1.696.g5e7596f4ac-goog Subject: [PATCH linux hwmon-next v2 0/3] SB-TSI hwmon driver v2 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds hwmon support for AMD SoC SB-TSI emulated temperature sensor and related 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/sbtsi_temp.txt | 14 + Documentation/hwmon/sbtsi_temp.rst | 40 +++ drivers/hwmon/Kconfig | 10 + drivers/hwmon/Makefile | 1 + drivers/hwmon/sbtsi_temp.c | 261 ++++++++++++++++++ 5 files changed, 326 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 -- 2.25.1.696.g5e7596f4ac-goog