Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2035738ybb; Sat, 4 Apr 2020 20:02:09 -0700 (PDT) X-Google-Smtp-Source: APiQypIhHkB3Ty1YDddo3VdwFGkBi+mxlvmPzWz0WuCAGm1UozlwszfwQKuko9AYWm21IBIUKwYY X-Received: by 2002:a05:6830:16cc:: with SMTP id l12mr12571097otr.172.1586055729083; Sat, 04 Apr 2020 20:02:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586055729; cv=none; d=google.com; s=arc-20160816; b=lj3Ijm3Nc0HXRtXfZXIrTT0h1Luxo61s4Ew8rpUxRE/aOhGEc+uI34PjUXqCWJCegj lYQGQnN+zTp1i6qSvWss6ZVS+nyXkyRH9vvRnBr83zVMgmUWOOp8Io4Z303bhDOP07og fIxJNGXBnkl6Z5NNVbUhVmtN76r/L551pxVHXNZcFKsHlZ5zUj2geSCi0rZCuV1qy+zk BYkSdUlIShlXmSmCX24LQZxTZ4X61p2MuIxWc+fG0Mwpt0Azxwsdeccl24ffy3z8Jqcl AAEozvhUDnvoXq+6mHVccAO+I1kD0wHJ475TTq2U/a5RFTSuxntl2wcvpVvxcjp3CT1H 6JhA== 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=591U0a3uj9ivd77KkEIm1wqfWLnwA8UR+XpmgbL5TUM=; b=l6XBMSAhdx2MfIsNEIyHjAVrTvFEUtZ1vqBJVun5Ygc0uWeSjA1WmB4Khl3WZO41sC wElUnBvYfMkVQugRk8s1L2df8ZHyhVDt9cCSQs1rr6r8sEcM18w1crcs17ak0/XSaFYw LzBnSN1RTFGlsjz0PikPX9w2tcKb3qpSRSZyaPp4/sRrCLS8F8WyBxPUhJeLWoUolxON StaG176dDZD0uzGRIG9sX0INZLOKqCf4mHwU2TFwVqDT6/sN8Ib+WKtCefKl38VIc2os r8XnYyVNMdGnK73gzYytPwVe29H1gPygAHkfdJdFCzCrTALcB3XPaGDLZI3fqquJY9kb tyhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hKp4kxrW; 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 a11si5527885oib.154.2020.04.04.20.01.47; Sat, 04 Apr 2020 20:02:09 -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=hKp4kxrW; 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 S1726371AbgDEDBY (ORCPT + 99 others); Sat, 4 Apr 2020 23:01:24 -0400 Received: from mail-pj1-f73.google.com ([209.85.216.73]:54639 "EHLO mail-pj1-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbgDEDBY (ORCPT ); Sat, 4 Apr 2020 23:01:24 -0400 Received: by mail-pj1-f73.google.com with SMTP id o20so1509256pjs.4 for ; Sat, 04 Apr 2020 20:01:22 -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=591U0a3uj9ivd77KkEIm1wqfWLnwA8UR+XpmgbL5TUM=; b=hKp4kxrW6XAOSPo5e47PZ4T9BUTPc550lpDbhxsApbvTsaCDnClin7TtKDNYXp3dgP naCTlZnAkqVQMptnT5UvtXV5t8y1k0lxANTtKavs+a0uTTxQAxSL135y/fcNhEwjbwQh EmwKH8BflZkz8oTREBxpCuZ4W/0jUAqoZQCXwctmGtwBOwCLLJU0HxvqXjGu721cnLzm Ok379Ew5s+3YK9HCiWtr7YKzpMCQ3FXhWMqikaeW8JJS9dklYlLHLxGegJwWmBxdCZ90 J2l+heXciWqQPv+YJhOHbrx+Ct1I+yrA3QtiFsqnq8syOH53vchx3RBdNYEfkK4CWCb8 SM4Q== 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=591U0a3uj9ivd77KkEIm1wqfWLnwA8UR+XpmgbL5TUM=; b=bGGLCA66L74nuTInBk+rq8ARYY8780mizo9TsH8AvhZQA/7NkQJM53ZPoc9HxoAr41 Z7gpp/1E3Vc06uAzzoiAxe1TLawj/jdM5VNyRST/w1qvg0hvAONm9jQ9qO0K45ey/khl QDYB7z3fCMqZ6OZI3rUJvGtdEC1Wc81knFF/NrLd5M6ZpAkJMyst8u4B9QDTIKxEt/54 l0Lm3ViMWTSFuWX87kyg5YjgnvdC/Dc5RcUhXy4PF4cpNhpBstOXZ2cI6mWx6F6FJKHO J8LbVkf55KP/Zieez828HxWQRTQCPSf5dxOGfQP+RSLyzZuIT1mn/g3SONPIiiyi8DjV QqJQ== X-Gm-Message-State: AGi0PubSOsCMT0Bhspm3hU/aw0uBqI1n2I/AfGpcfT4suzinlrYoDwAp RG1TXOh42zXOjRdKIbWKwSAmkywgcw== X-Received: by 2002:a63:4d57:: with SMTP id n23mr15911198pgl.59.1586055681735; Sat, 04 Apr 2020 20:01:21 -0700 (PDT) Date: Sat, 4 Apr 2020 20:01:15 -0700 Message-Id: <20200405030118.191950-1-kunyi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.26.0.292.g33ef6b2f38-goog Subject: [PATCH linux hwmon-next v3 0/3] SB-TSI hwmon driver v3 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 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.txt | 26 ++ Documentation/hwmon/index.rst | 1 + Documentation/hwmon/sbtsi_temp.rst | 40 +++ drivers/hwmon/Kconfig | 10 + drivers/hwmon/Makefile | 1 + drivers/hwmon/sbtsi_temp.c | 259 ++++++++++++++++++ 6 files changed, 337 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/amd,sbtsi.txt create mode 100644 Documentation/hwmon/sbtsi_temp.rst create mode 100644 drivers/hwmon/sbtsi_temp.c -- 2.26.0.292.g33ef6b2f38-goog