Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp694944pxm; Wed, 2 Mar 2022 06:46:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8r40vGyx1mDULdbMsuWfh76+pIH6hXL37/ilxOrY+BPQdHSFBDVw0AN4BDWwqh01N4pfs X-Received: by 2002:a17:902:f682:b0:151:9769:351c with SMTP id l2-20020a170902f68200b001519769351cmr2960029plg.157.1646232407074; Wed, 02 Mar 2022 06:46:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646232407; cv=none; d=google.com; s=arc-20160816; b=pkmdFXoov3tsskMFaXnug/GHqBFilGqWdFCCCX7QI8M6PSaXaLIaH0sigbYjO14KkT PPYaDEDtFfAlx5Q7P90MZoWwjmmcnTbShkqlIq7bG0dADTiHef1ls42T869AFL3GBnBF ycz+AzyHYHF7GP3Xz2o1rKRzJedzqf98Wxkvc95ymNk+oRMlVN9VXHe9Xfccdcx9Pk7H M0AzSw+LXMQDxt2nkMurQRXejkyEIL6QfpJxgq/7823DK8TKGtMXhyPpN2xJueKo198d xpl6J/qBAOIUHySFST+J8hXZL4uzHYS8c4SbRscKPxRd98eGUTOrA6vEQ0v0x+OwvfcM dbHA== 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:dkim-signature:from; bh=WspfyhO7TC+btHOAKHVih6axBfDGuMx5FJC+LFQ2iLw=; b=RuhJ8o0k5lmexRm11w20VjM/pw91jIxTHaFMJKOZ02tJC/C2rvMXX/EcQ3bVeCzt+a 1FKltmubxMbump5tD1+ugH8X38DlKxYn41+wOSdq+M2FC5B6wGSHW9sU+BlCmrpVSCCg S5GTUWzxyZx+NSSpfUF7+2oCcqCUafGP+pFEiMU5ox6A0G3wN6+lbtXPOPNxXvPNQvwX J6JNNGjdTWBRYtnWNmi79vAMtCot7QNe4w3tv/w1g1MXdbq0qzC0+h8ksxZ3xqTyfAEO zpHZYj2KPSlF6cCeFD/v30bJvwzKnYx0FOTtG5Cqof3vZXXqvFZPHYzRFygd2lyUNwbm WSVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sylv.io header.s=MBO0001 header.b=rgSWZUdz; 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 a4-20020a656544000000b00378d43bcc2asi6341851pgw.597.2022.03.02.06.46.28; Wed, 02 Mar 2022 06:46:47 -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=rgSWZUdz; 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 S238935AbiCBJuh (ORCPT + 99 others); Wed, 2 Mar 2022 04:50:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239845AbiCBJue (ORCPT ); Wed, 2 Mar 2022 04:50:34 -0500 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C8F7B91F4; Wed, 2 Mar 2022 01:49:51 -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-201.mailbox.org (Postfix) with ESMTPS id 4K7q8s3c4hz9spV; Wed, 2 Mar 2022 10:49:49 +0100 (CET) From: Marcello Sylvester Bauer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sylv.io; s=MBO0001; t=1646214587; 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=WspfyhO7TC+btHOAKHVih6axBfDGuMx5FJC+LFQ2iLw=; b=rgSWZUdzsZNOa6xxI87LxGuVBOXX3HTlQ4WbAyx0st3axQ5UJkvmDgPPTwXd0LcOFJdUz1 OkyuJL/yJ9ZJ5FqrpuEOLNJPaeMsAfJaj3TdIJ29VzQIKx82QucZ+oeXq6HECkx5jbfO3P ZZRze35imxj6T0zEdk3qS5/MR2U8kiaEXpQNy6zj1tXYBvPiBJRpiTDQxHPWjxu8nWy0rR iNc0TgkOMTl6SzfXmAEwSHZgO0q+IxAqvLJZiUTvOizZG+4P3y/zX4ZtjUdzIaL/Gwxtx2 0mEOdc/8WOATZLM+EC1/jbvGwEuGDXCBLj/dtb294YCPG+Etcu0qWjWLTGUSTw== 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/3] Support XDPE112 Date: Wed, 2 Mar 2022 10:49:18 +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, RCVD_IN_MSPIKE_H2,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 Add support for Infineon Multi-phase XDPE112 family regulator. The main difference to the XDPE122 family is it uses a different format for voltage out. Add the required logic to the existing xdpe12284 driver accordingly. Changes in v4: - move VOUT_MODE format detection into identify function Changes in v3: - detect VOUT_MODE during probing - set xdpe122_identify/xdpe122_read_word_data only if VOUT is vid Changes in v2: - rebase on current hwmon-next branch Marcello Sylvester Bauer (3): dt-bindings: trivial-devices: Add xdpe11280 hwmon (xdpe12284): Add support for xdpe11280 hwmon (xdpe12284): Add regulator support .../devicetree/bindings/trivial-devices.yaml | 2 ++ Documentation/hwmon/xdpe12284.rst | 12 ++++--- drivers/hwmon/pmbus/Kconfig | 6 ++++ drivers/hwmon/pmbus/xdpe12284.c | 32 +++++++++++++++++-- 4 files changed, 45 insertions(+), 7 deletions(-) -- 2.35.1