Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6038389pxb; Mon, 14 Feb 2022 13:46:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6fQZIBsTKkAyF9jWw79rMt0FFPZoUaB9/a3JPhNmaUcrIwC9lU9DhqW9uNIbb2jDWCSl2 X-Received: by 2002:a17:90b:3eca:b0:1b9:b85e:87f6 with SMTP id rm10-20020a17090b3eca00b001b9b85e87f6mr802664pjb.132.1644875173503; Mon, 14 Feb 2022 13:46:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644875173; cv=none; d=google.com; s=arc-20160816; b=vuqpzxBEiNcwkQe+W/b9I573H3fhBjjayPPLwHnS1c5MXIJgUh37hGKwrRe56V/mnt FnFnOcjBJHWUnJCWe6hHBlO5jC1m4EMFkAt3iqzENf8Fh0zeot8GeW4ITNKrGaRqBcya 4fp5AimQoD/8MPJZ6alT0WKPlYETsVtFfeGeu/VEVYZJ/6O9oqFS7VMoaqC2EOSdK20j X6ox29I9945s9O0V6pqSr8F5SDcm8ZFHi//pL3YUIbeOO6/Jix+KjO51s8lP82/YYSq6 L7UwMIbVR7xUDagqaGY9QgOycRTTBwGrw9adf4RViCsdavL0cHqgW1RKnL9hqEsISbeW LOUg== 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=oRr78yIBPxY77+I5AuoDVOFQS9ad7sIPGYxZpt1x9Ws=; b=Zi3FBhgTl/lGIUNahn9RVbV76HkpBFIapPgtOyoMHouqRFHXE/i4FeQx+s3h7Pm6Lv NZ/kUGi+pae6rgFQDo8XhD9ADysejy7E6rkZni/aKGG2xfdGoxx56BhdBWdN6pkNIA4H SnU2wYHizSP7Zgvr2dtfDXraJoD/YUiSVkd/z8MGcEDpGOaKt70tLPN2XxJkIhVYWHTJ ZLyViRxIxV+x8BwXtGiWHaMlm8qiUkRI3i++IdQXcTJ8aPRJyEAuHni/4cJ7TCNJiMqe zkeXOrtff6a6xGIiFm427Ah5ZfQ+nAzed++BB8b3sPsLJn7Icfej/M9E21ojIKF5Rwkg 9fVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sylv.io header.s=MBO0001 header.b=s4lNrCnZ; 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 y16si7935901plg.299.2022.02.14.13.45.53; Mon, 14 Feb 2022 13:46:13 -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=s4lNrCnZ; 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 S231558AbiBNVpc (ORCPT + 99 others); Mon, 14 Feb 2022 16:45:32 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:58652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231512AbiBNVp3 (ORCPT ); Mon, 14 Feb 2022 16:45:29 -0500 Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [IPv6:2001:67c:2050::465:103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9C9018462D; Mon, 14 Feb 2022 13:45:19 -0800 (PST) Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:105:465:1:3: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-103.mailbox.org (Postfix) with ESMTPS id 4JyHnn48nNz9sPp; Mon, 14 Feb 2022 22:45:17 +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=1644875115; 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=oRr78yIBPxY77+I5AuoDVOFQS9ad7sIPGYxZpt1x9Ws=; b=s4lNrCnZ79xMhCyGsG/v/JFzek6MJhnrRCzr71iFa2YSfHBoOvnlCqFBHuHNFyiAV5Zz+N l+Ia+TNt3KObZLrxTmqtqtEa4Ueqn/DslRUXZgYEdBcrHFhK6GkCyP4r4nDWDGSaSpfojH a6CWJ+O+Z/hBd1wwfibrF/2e2pLT49iyUpzBJjIC9hrD3PFP1ngW7krrHWkG4gzhEZtEi1 Ql/1ALNYt5KZtUzbWf/vBtGeWNC2aLChOkc3iq8zHQdk19MELWGGDIkV00P4K6r1nveRbI oqEQQOFhCEDVkF8sYskSeML9PgFoi6zsBROKD8gWZnxfiz9tHCJiZmMeYxIj6w== 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 v3 0/4] Support pli1209bc Digital Supervisor Date: Mon, 14 Feb 2022 22:44:52 +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 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/pli1209bc.rst | 73 +++++++++ drivers/hwmon/pmbus/Kconfig | 16 ++ drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/pli1209bc.c | 146 ++++++++++++++++++ 6 files changed, 240 insertions(+) create mode 100644 Documentation/hwmon/pli1209bc.rst create mode 100644 drivers/hwmon/pmbus/pli1209bc.c -- 2.34.1