Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp105302ybx; Tue, 29 Oct 2019 15:07:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyONZ+EnIi5Qexa4YISsCKtOh+5Y73snDFVllAoaiHJyl2vA/kHIhlrBW6cumPJr3dn52I2 X-Received: by 2002:a17:906:6d84:: with SMTP id h4mr5779837ejt.262.1572386875345; Tue, 29 Oct 2019 15:07:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572386875; cv=none; d=google.com; s=arc-20160816; b=jmduVUIKw2O2Zg5UCeocif4QGAG1SKGEde+5oiSKPI8//nSAPEIwxFPmX8XYXoPHTF 7/v4K6iAePxRw7YR6wl3VSdc2aWCz/nJn0Ywy9yTX7wL0TMx6E+gjrKRZqnIqVk7nLud oSjB01RZ6yMnpMACA8T/LchjsxNCAbFo7s5eq9vMOODmPKaPczM9kThkorIYy2mrFv/s o0YT3Ez2cVbkVvg5NvgVBdQSZzQZ12q2OM75XzUBnJx95sFBchyxNGeg8FeFfpUO1kam Xup4sIShjDWsk8xjF3ywmxHYEiM7WDiw6PlOIs7R+WovinEjuG6jhPmFEudJjVKyNQm6 nEhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=q2NMW0yAo8fjN7AdHRf7TeqifEqFkIujHEcA+YXzOGI=; b=zbgGBTtQb2UzpCBXdjkTcAJe04TMAIoXIjZAPhlDF1RaDyZDuIHXFPoi6Pad+h2Chz e+ckMf9oc1wZS2yoC+pjxauY9cjTHbW3dF7VwvQ+2cclw1Vg5wWtqBuOWm2ABViUoNOa eCo9nVnFUjTDGmldeshKyopdIjJ35Egho4gLyMkWaHgSt+pRck9RJ0C7vN5iMYVq2HgB DEXhfRtIO8bI6v/g/+8JmIhJx184P9MgjIEYCqojw18hob/sIoMx8VVmkGEuLv2uF4Uf UHHJ0t16vk5plWY7qYvJmGWv2W/ELiSIZaeBgQPlgZWaGyvDycuVmIacHYP/VQiOOp0C nsOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oJ3XeKlY; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15si3656724ejc.369.2019.10.29.15.07.32; Tue, 29 Oct 2019 15:07:55 -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=@gmail.com header.s=20161025 header.b=oJ3XeKlY; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731182AbfJ2SVY (ORCPT + 99 others); Tue, 29 Oct 2019 14:21:24 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36177 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727257AbfJ2SVY (ORCPT ); Tue, 29 Oct 2019 14:21:24 -0400 Received: by mail-pg1-f195.google.com with SMTP id j22so4115752pgh.3; Tue, 29 Oct 2019 11:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=q2NMW0yAo8fjN7AdHRf7TeqifEqFkIujHEcA+YXzOGI=; b=oJ3XeKlYGDd2DdRMvocbGt69kaPWeiuAmPVlC2MTf6c9HSkecZAVKZNVAT9ceCxQxm GPO6Rx/G5hx7tVNAsxMMxBUuArhZ+e5rxhAq4sBTlmcbwLcGPBn3YqnMKKuQpOkm/rBI Kp3RdCBCZDXolNSxt+va7Q1+QFHHUmTnl5iVlQZPogEV1XuJ57Wdx21zd+O+mAcofk5w QzzIcLTw3AELSwM3ZZC/KHn6TSkCh1TU9Ea8lZnLdkJYjtGWtp2cSyGhwMy2Rq2AC+ba evhIMyRPs6/oHMEGufPhOBaU18FJNWZRdkHE8+lcBNV79kZ1WB12cj51zop7E7tKWxvl CFog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=q2NMW0yAo8fjN7AdHRf7TeqifEqFkIujHEcA+YXzOGI=; b=qhonPyfQDTR7DBUdkwJ+Rl6/u04UWqjR6MrGtM5QoL5s4f1WgTGyFATPVH0E5NCmtf L3oU5k5+HFES1k8gaKCUtkSqG7EOXm6LwQ6bzFRv3LRDN5SH+jWAJecwUUhSHlOJtiaw pzM8J5OaYBBGwCCXTraTK753nY1KPPAA9XMwVMTDgpPkjww/Xyq88/8a7uvv13A3AyM0 +qsnPhUKrogKMMz6aT1/GbqKCq9DCCuQorTotP/FNmqpJgNAHQMXSfpcK4WdkW+/P41Y pQpEQa5QK2q7KBa4dmNET+wYz+SUsJdjLQ3gd0ZH0A7aq4+6xb3BueY/1xT9iq5DBMpy sLWA== X-Gm-Message-State: APjAAAXMaczvhenfkUopbu82rBuql2nA5ouBNEu4yVbR6iJPH9W9ojtw 8cFd6++pnSWLlvTYz69ejMg= X-Received: by 2002:a17:90a:c405:: with SMTP id i5mr8790458pjt.9.1572373283389; Tue, 29 Oct 2019 11:21:23 -0700 (PDT) Received: from taoren-ubuntu-R90MNF91.thefacebook.com ([2620:10d:c090:200::1:3a3e]) by smtp.gmail.com with ESMTPSA id j10sm13488418pfn.128.2019.10.29.11.21.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 11:21:22 -0700 (PDT) From: rentao.bupt@gmail.com To: Guenter Roeck , Jean Delvare , Jonathan Corbet , linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, taoren@fb.com Cc: Tao Ren Subject: [PATCH v2 0/2] hwmon: (pmbus) add driver for BEL PFE1100 and PFE3000 Date: Tue, 29 Oct 2019 11:20:52 -0700 Message-Id: <20191029182054.32279-1-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tao Ren The patch series adds "bel-pfe" pmbus driver which supports hardware monitoring for BEL PFE1100 and PFE3000 power supplies. There are total 2 patches: - patch #1 adds bel-pfe pmbus driver for BEL PFE1100 and PFE3000 power supplies. - patch #2 adds documentation for the bel-pfe pmbus driver. The driver has been tested on Facebook Wedge40 BMC (with PFE1100) and Facebook CMM BMC (with PFE3000). Tao Ren (2): hwmon: (pmbus) add driver for BEL PFE1100 and PFE3000 docs: hwmon: Document bel-pfe pmbus driver Documentation/hwmon/bel-pfe.rst | 112 +++++++++++++++++++++++++++ drivers/hwmon/pmbus/Kconfig | 9 +++ drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/bel-pfe.c | 131 ++++++++++++++++++++++++++++++++ 4 files changed, 253 insertions(+) create mode 100644 Documentation/hwmon/bel-pfe.rst create mode 100644 drivers/hwmon/pmbus/bel-pfe.c -- 2.17.1