Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp26669ybb; Thu, 19 Mar 2020 15:52:01 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu2hAw4oBSesbHpI+FezubcVVSfxyI4ORjczqcknLhF4khBLJFiWs5kdV12nMNFtrxAibHl X-Received: by 2002:aca:5211:: with SMTP id g17mr4245144oib.19.1584658321423; Thu, 19 Mar 2020 15:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584658321; cv=none; d=google.com; s=arc-20160816; b=jvzTPQ9QPNTybkLtizAX4qa5jHAX3cgDW4dJCRmRh0udlIwRRC1jP7vZ71NxxKIOPq DF+MIHBFMFZn7z696AmZjNt5WXG5itHWWZRXmnfRAuNI9Ge3rXMVkZ0MjhyxGKveZ8UZ qxeYlbli1LiYdRzUE0Du5r6qmkZCcq9Y38zXDI7sYvwSMTmmgXv7rPJmH1u2YjlgXTDg mn0Lnu0W4saY/8LMpkd3fepfz5u9H0fgqg/Y+hjBWZyXno94AQsMlWaXVhYrq50xtDkW Z099d3V03jbbKMsJWvk1A6ynz3AF7QvHp7qj6aOP5iKgdo5pH0JYkSXUQJJh5f1D6cML 3kCA== 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=5WtAORZ7SLKlJMzImdvIvZ4TLDWK4cV3hlxUTvVcgm0=; b=OxfYNFrdCJIEURkU4hCvab8uWAzXulmupiCFY5h7pzKUvQFeDw3pUuy1xAuEuYDoys FwkQJsBv0Vnl6Nl+k2FC4CrdlatBBW8TRe10m+j0fF0kckUc9pOCRxyBjge3w1xRxcIL ySseq7T4AaP7THcyYJGSoBsNpIpEsWIVgBnbj7UiBwoRPNinP5RMm+pgG7T0MDX81W+S HpJnXLkzysnZkufVomquCDcE6dgyLXmMAesQ8WCNz2Bjfeif3W0m7z8PqpIJlXsz058d UAYNmCkrd973ce9rohhXvVgJm6FZSNsm5GzSJln+J/o6UemkHUrdztj8vI7M5TYRJYrW ANFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oVefZhPG; 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 c23si1669132oic.53.2020.03.19.15.51.25; Thu, 19 Mar 2020 15:52:01 -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=oVefZhPG; 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 S1727520AbgCSWsT (ORCPT + 99 others); Thu, 19 Mar 2020 18:48:19 -0400 Received: from mail-pj1-f73.google.com ([209.85.216.73]:56112 "EHLO mail-pj1-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbgCSWsT (ORCPT ); Thu, 19 Mar 2020 18:48:19 -0400 Received: by mail-pj1-f73.google.com with SMTP id gv4so2742058pjb.5 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=B2HPZeaDq9pzid+YVXF4DtaN3JPzJDObgh2dpiyKPam287XjyvCP6c+7q4ztqpTG2o 0lIGvx16HaX3uzff6aK667l3lzkQesRyxDknBlqkUIONrgE99r4KEQPfIpVT1Qg+ct8D 3dkpye7GA4G4YMRXw8hbJGDPFTDC+AInSpcU7qXXkWZFlvYH5AqaxFDP8jw8pvV1meB9 FDiQdlHQAbizTOobylTftNpQ4yLPNdNuZUqITqC0lGOyI6ZU8/4i1lIdf8xmwWjeerv8 y+0PGDlS2kTlzqTub0QichXNNPFw37jlEmrbGzyPZ8vhFUAAJUNVjpe8DxJRCPi+n+Bp FxcA== X-Gm-Message-State: ANhLgQ0hQiLkguIb+FyeZi2+nheLDpey/1zehNBTTtH9u3TeLr8/B1PX jX+MHOIS2HSOa9bES6Gf4i+PsGnmgg== 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 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 *** 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 -- 2.25.1.696.g5e7596f4ac-goog