Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3687826pxb; Mon, 21 Feb 2022 03:45:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxS7Etav+S9yDLW3ZSUEOYePN9gEIZ8MpDKY/PL8q4gepCTVi7jjKHM4/r++WA47DT3kLJR X-Received: by 2002:a05:6a00:26e0:b0:4e1:7131:de2b with SMTP id p32-20020a056a0026e000b004e17131de2bmr19672907pfw.20.1645443904707; Mon, 21 Feb 2022 03:45:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645443904; cv=none; d=google.com; s=arc-20160816; b=SNHQFWR0MD1LPQatZ/PWx0iwdOEAgrvHV8rpARR21d7lI2IiCjw4lE+/FmuB9yuUS+ 2GnEeEfkQW973B6XViVgJHcNtzkSmEtTZ6iJ+S45wqo6vk79DGFeRo4d76/0xmAoZwjm NnFykoNnRfrnIjsd6q3yZlIDVvrII2wBuTx1xZHZpszy3tYgW4P2i8cBGqdl1H1d9DAS 5b2FktamOEDnaqT627on4lql/EgfkkY/vyOi0QSNgdqRUGycF4/0MRRQgaot3pnQfSW6 RAO3K5DWka5X+cMNZ0BvwBg/VobBKOQo6uXOAVhQ7gR7g5UeIuHJwl/dicUUY414/xsc snyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=O0vim5dUjqbxE12jR8gxo6NSfechSEkOIcqQEt0TBqo=; b=A31qAwn8oS04tg9k9DfdfMu7mmF/zwyrVxDTyjFIr51wkqzgWFqzwJsQVzGnBlPQyc q3bxBFoPqtK+Mfr+KrogNbGHNjsUbI1LiqoL/1ilOlogFVTA5p9uNqfBESGrT6wjix9k DHVDA0BIM0yAiLofx2/t6UmbPLiAkseNKbiz0Cez/yFFgFbwA8NTK2FQW8YW/GZJ9qZz RgRtZ/ip+Xn8ncRGfPe9/qHnjnVT/S3vIL/qqgXczD/2RhXY9/en4qrv6/GjhLg9SOm8 7fwTSnbhEq6CiBNzkbzlNO8H0TkVgQvZBr07UC5XfXv8pvqDbBXLGHyaMf31k636K/KL qDzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sylv.io header.s=MBO0001 header.b=LnBXweTs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sylv.io Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o9si5842884pgu.832.2022.02.21.03.44.50; Mon, 21 Feb 2022 03:45:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sylv.io header.s=MBO0001 header.b=LnBXweTs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sylv.io Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354643AbiBUKXJ (ORCPT + 99 others); Mon, 21 Feb 2022 05:23:09 -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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.34.1