Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp313384rdf; Fri, 3 Nov 2023 01:03:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEinKWvtJd2PN9o0bYNn9aZJkVXSdc7eZWdF/cIVPUGxekI4t7id/p0MQSUpuUOxYzcEzCp X-Received: by 2002:a05:6a00:2303:b0:690:d4fa:d43d with SMTP id h3-20020a056a00230300b00690d4fad43dmr21352701pfh.6.1698998630909; Fri, 03 Nov 2023 01:03:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698998630; cv=none; d=google.com; s=arc-20160816; b=igvjurNH1a0lnKhyYPUaGOp7aDz0i8j6bvf3Rb/KuYPqBWDc4K/WD3rutaAHK8paMi SHsNlIyjHQvLEB0towkaf2nTKNpbUlicez/BXjzq47YjcqBSkkv64f39Wo5xnU7Nu9lf 0zad4YwBBsuETrUCeuzGGRq/cFely1PbJ1PB6OxIcp1TZ0ofiZMqYGt9Amz5jF2vg2aL kJ1zQb3Kts2JGBhku65hf/zwmx0wmp7rO+zT/tPyPYcaSCFfUp+ymo34MBlG2DiilSzu nWB2h3YiXInMhUshLzkH37GTrrYbUBcaTDOlLuJ6JtRcbJZxnl/7r8HpZ4pDWkgKcrIE JaZw== 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:to:from:dkim-signature; bh=T8JFS3vR1yJqsVQDnzz/sXYv25kxdeSbcVlJLmleJfk=; fh=FOMho48dHeCrwK813iVBLZoyn/HaS3J+JQrZ0cE/8CI=; b=Eat7EC9n3LlO5AxIXZfSIM8XTYFBjr+abh6LAJFXidHSgQhmatT4OJ/tLnX8lbEMG/ Q4M5kWAx46bzwNYAozkw38VTea1Q5RbFtxnOE4pGHJowbbEzvr2B9z8+VUv/XOR4fr3S CriNGP9fWBoCF3Iw0PB6/aXiWFmbIeGs7BFAFR9WZvr1vGd/ag5eztWI0q/HQpgORVZE rL3FroY39Y/lBO9vwPFHOUgk9Xjpzfcd0IRkZD3lWZUkekX+4EbMx5da+YH00sy+rSCo VhjMbE5PHxQeqYTVNczlV2SjDereH2Uo1Ua+6/fLSPo9z3vUn34OsoOBTyDLdwPJtzJp 2Ucw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EAUUN63G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id 66-20020a630845000000b005bce8cfb592si1119429pgi.245.2023.11.03.01.03.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 01:03:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EAUUN63G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B726881B4AE1; Fri, 3 Nov 2023 01:03:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234694AbjKCIDm (ORCPT + 99 others); Fri, 3 Nov 2023 04:03:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234640AbjKCIDk (ORCPT ); Fri, 3 Nov 2023 04:03:40 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EE3ED42; Fri, 3 Nov 2023 01:03:37 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6c311ca94b4so1814019b3a.3; Fri, 03 Nov 2023 01:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698998616; x=1699603416; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=T8JFS3vR1yJqsVQDnzz/sXYv25kxdeSbcVlJLmleJfk=; b=EAUUN63Gfn5kQTemUCNmFo249uruWqD5ya513tWQv2nDGPiD000FWAW7R440dFb7EN JPhUdbb25nZ5kB6Lj91YzIWhD2vkXaM2OxKVxNbYUe6qJJOr9andEWTKK4nWnK2YBRzG KKtVYvU5lQjQxJ1N2COUnMb6S4M6sheB6hQMRSpC1gx/vP8CyvqshDzXt0W8Amx7OB3D vHfP8hd8ZHlnKrMu2QSAKUNta2Q7tGEn1kuPzSKqdWMAy0GzVJnXUr6tf3PKtzRqCGpz 6YHtIvFg+qaqTIzteoasRrUzuUWcYr3WCOKd4J3aerOiPfQ5X2lulTijdBvG8IIFlhCr Iowg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698998616; x=1699603416; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=T8JFS3vR1yJqsVQDnzz/sXYv25kxdeSbcVlJLmleJfk=; b=OF9Clk0u2yUemWeWZLG4yxhyLHXcLivmIiKffbSu9Dk77og12kYZ+iFPhySRnCtbMu CJdbd4GEeA7g/jxS4c2MKrKs/v4RqfngQTnA1Wd9PEthldwuxthtARL/VFdz+4fdO1So plpmgm6iwMqe33Wz0fFswTp7VKvhYo8NoNrLhfeY5QzSaN4AvAVvp2KEuKpjOxXasVBd gs7sIOKLU9jcEvVX16qUCaijd7S9uWUFQ+qkihybSzlIOTm4pMdkxYJ8k+aUi32n3BLO KZh1gFuYudP04G/Il5fqTlvbnQ9r9hkZ5xFI2DK9QbKBqAy8sl0nit8QMfnc+AkcR6g7 0ejA== X-Gm-Message-State: AOJu0YzwmCMrPNOszsQe5C2qOdsU+sK3GlfqaFGjSGr1t5OErUcYMGPN Xdxb1B6S49mLEwFoebzJwlTZ9BsZzmI= X-Received: by 2002:a05:6a21:3b44:b0:180:eef7:b3bd with SMTP id zy4-20020a056a213b4400b00180eef7b3bdmr10255020pzb.28.1698998616364; Fri, 03 Nov 2023 01:03:36 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id l1-20020a17090a72c100b002790ded9c6dsm834378pjk.31.2023.11.03.01.03.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 01:03:35 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Peter Yin , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH v1 0/2] hwmon: (pmbus) Add support for MPS Multi-phase mp5990 Date: Fri, 3 Nov 2023 16:01:25 +0800 Message-Id: <20231103080128.1204218-1-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 03 Nov 2023 01:03:48 -0700 (PDT) Add support for MPS Multi-phase mp5990 hsc controller Change log: v1: Add support for MPS Multi-phase mp5990 HSC. --- Peter Yin (2): dt-bindings: hwmon: Add mps mp5990 driver bindings hwmon: (pmbus) Add support for MPS Multi-phase mp5990 .../devicetree/bindings/hwmon/mps,mp5990.yaml | 43 +++++++++ Documentation/hwmon/index.rst | 1 + Documentation/hwmon/mp5990.rst | 84 +++++++++++++++++ drivers/hwmon/pmbus/Kconfig | 9 ++ drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/mp5990.c | 90 +++++++++++++++++++ 6 files changed, 228 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/mps,mp5990.yaml create mode 100644 Documentation/hwmon/mp5990.rst create mode 100644 drivers/hwmon/pmbus/mp5990.c -- 2.25.1