From patchwork Mon Feb 21 09:42:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcello Sylvester Bauer X-Patchwork-Id: 12753379 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B6F0C433F5 for ; Mon, 21 Feb 2022 10:22:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354323AbiBUKXG (ORCPT ); Mon, 21 Feb 2022 05:23:06 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242237AbiBUKW5 (ORCPT ); Mon, 21 Feb 2022 05:22:57 -0500 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050::465:201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2094A60052; Mon, 21 Feb 2022 01:42:40 -0800 (PST) Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4K2HQl0QQPz9sJ6; Mon, 21 Feb 2022 10:42:39 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sylv.io; s=MBO0001; t=1645436556; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=O0vim5dUjqbxE12jR8gxo6NSfechSEkOIcqQEt0TBqo=; b=LnBXweTsIRrvzQ3Wm779e/V01xHJIN1UepyeKNH/p2MLBfqjz0AoIzQ4e5Ytl9L4oeA/7q aAwtzfkBsCthBRAxfWgCQ8QOLarumJXm7QZiGlghqCIi97RduserQ9cnv8Ky0L+fHyJ5UP WHp6Ck2O0Io49jTy+RtOgxB6QzQ1B+vilZP0tjnl01kRBMSj8GzAMafaNvVxeDqvuV/CbZ Ce2B2UZ5pz1k4V0z7X7RW4h/eu2j/7LxOAxAqjB+9IBk+Dbxsa64q2zq0i4gy3CtSUmjQh AKxi0ZnXYa1aiFr+0/jQdSzISa5MUPINIF6zDuZkBrkiP9y6g/yTx4mieam7gg== From: Marcello Sylvester Bauer To: Guenter Roeck , Jean Delvare Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, Patrick Rudolph , Marcello Sylvester Bauer Subject: [PATCH v4 0/4] Support pli1209bc Digital Supervisor Date: Mon, 21 Feb 2022 10:42:03 +0100 Message-Id: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Hi, This patch set adds support for PLI1209BC Digital Supervisor from Vicor Corporation. It replaces the previous submitted driver "bcm6123" [1], since there are multiple digital supervisors, which uses BCMs in different configurations [2]. Change in v4: - Add Documetation to index.rst - Add missing license identifier - Fix typo and Makefile obj order Change in v3: - prevent potential over- or underflow of PMBUS_READ_POUT Changes in v2: - Multiply PMBUS_READ_POUT with 10 (R=1) instead of dividing PMBUS_READ_PIN by 10. - Set all pmbus formats to direct. - Comment reason why page 0 is redundant. - Import pmbus namespace. [1]: https://www.spinics.net/lists/linux-hwmon/msg14097.html [2]: https://www.spinics.net/lists/linux-hwmon/msg14123.html Marcello Sylvester Bauer (4): dt-bindings: vendor-prefixes: add Vicor Corporation dt-bindings:trivial-devices: Add pli1209bc pmbus: Add support for pli1209bc pmbus (pli1209bc): Add regulator support .../devicetree/bindings/trivial-devices.yaml | 2 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + Documentation/hwmon/index.rst | 1 + Documentation/hwmon/pli1209bc.rst | 75 +++++++++ drivers/hwmon/pmbus/Kconfig | 16 ++ drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/pli1209bc.c | 146 ++++++++++++++++++ 7 files changed, 243 insertions(+) create mode 100644 Documentation/hwmon/pli1209bc.rst create mode 100644 drivers/hwmon/pmbus/pli1209bc.c