Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7653754rwp; Tue, 18 Jul 2023 20:27:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlH83+VKb++RQbprxDy32F+HPkgUs6jVOIN2BAXe9M9EQVoOczpL4NjzIyYX8/YvWaVekQd7 X-Received: by 2002:a05:6871:893:b0:1ba:8307:9a13 with SMTP id r19-20020a056871089300b001ba83079a13mr4871604oaq.11.1689737226957; Tue, 18 Jul 2023 20:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689737226; cv=none; d=google.com; s=arc-20160816; b=qZeEHDE2m4dQc4UbeFSHv4MWTDpm1/VGm/6TiDc216CX46wj3eSkI0ydqPv6B0EKOt 5ztqA1/zCmLufkCptwQaUG+n9jilJ95fQTvUmXCEuUT+98BFZrgrgjgJCSCvGdFNhx1x Q8JGjNMyd/c/HqKPa4g+OWV7HzHa7i14mS2tlKIdaTUQUXjZzjUNIass5XkgQL69OQq0 n4yb48BaXgb5mOD77oj6BrR4w78KO2rfm4tydmMDCQz5KnM4VE03wp7SgUZ6U9+ZFic7 RgHd+8/dpRVrBXhLhnlzFgXar6CEUeUozjXOr996dUqiROD4ZHr2gY2TiWSV5etRYZc9 qykg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=Zs2jiLd+rCjtxlqNbdpcaREYCsXzaDDdr1rUXdltDm8=; fh=SzJ+Cf0hfhl1xXKeC59qUnscmUQGkUk7Mv4WrRg11CY=; b=QmhUNosXow0psLgd6a1nJJg1UX3YM/tumfL4WVBKTcxQRzr5dHK4sLJ4yRU5L+VzLy um1nSTJyUble6C5Lfn6/MuNw01/XglYCmqoa7q3CbOaUdtXE2PJcPMOnDYG0Cev1KDnM AdSeXCjvOuzRDM6JQB6oySnysl2XrdcWnBprieNRBBdO6ptGqcEPKcwBseXB7qpO9lmT 3TaksXMbYqyZVtk2b8O2zSFn2iQadeI9nN1K6kTHRAjpROg9Gql7ADcpLv0xu3gFfYjm q5Sbe2HqxZg0IKdGznhWWblDSfiQbCPBaGUGESnp7n75WOl9yraaETIGrRgnvIo+W6jZ fbdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fWpvFvyq; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ea20-20020a056a004c1400b00672ad8f037esi2538688pfb.231.2023.07.18.20.26.54; Tue, 18 Jul 2023 20:27:06 -0700 (PDT) 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=@gmail.com header.s=20221208 header.b=fWpvFvyq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230086AbjGSDHB (ORCPT + 99 others); Tue, 18 Jul 2023 23:07:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjGSDG6 (ORCPT ); Tue, 18 Jul 2023 23:06:58 -0400 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22D9A1BFC; Tue, 18 Jul 2023 20:06:44 -0700 (PDT) Received: by mail-oi1-x22c.google.com with SMTP id 5614622812f47-3a1d9b64837so4727326b6e.0; Tue, 18 Jul 2023 20:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689736003; x=1692328003; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=Zs2jiLd+rCjtxlqNbdpcaREYCsXzaDDdr1rUXdltDm8=; b=fWpvFvyq2mpfEHRrR/4YvfPrdKOFZguQwE2XyAjFhhYCPkbMSr6cQwGzATz4+m7rLe +iY2upNmNLTkrpBVOKof2h/QZgt0UjjHhWrWWdl6iRQQqbNCH7shzZUN7KBR+Nl2T+eU YbHfVEDs4AhJ/jSwbEuwpXMmj5VF/yR5jo07vjyketoalp8GBytorIEprVDFraJtIc4w 0s/ZEHo0Sa1UiefaV47fS7OPEZM/dnpQC1jP19r+ABSAdASDrwqszDmM/WaTwGDAqvTQ +HpM5UjKJ8wyaZ3RGNEi2cm1SVLRKFUciSNvXFnxKLnsJpL/FaWGIH0cp3Pj6DL5xaQF gUsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689736003; x=1692328003; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zs2jiLd+rCjtxlqNbdpcaREYCsXzaDDdr1rUXdltDm8=; b=DJPzVIIPUuW/8M1zUKAHv/NBjpTD6yzHXLlX/tRfi4wlBBbG3E6VtCWo+VhfEVPSOd s1InsVXQnKwjaSh3xEwvxQXrKISPo8vCyRdloDvRMjYFF2MjaOy0CsqTXltuYCMHziPA dBKF9SrNq0Mx3XU9sf+DewE+boiTaNgtS8uxtVSNPEltOxZaUnG5gnNjOoN1IKF5r6G1 y1QY/eraS8bbIKTq58OXYhv6TwUGVYzZtfKEyRI655YsTRdlSdO3k5yaKwXc9lzih+aq FySqvO5z0sg74phEP19df/esaCX34Shlcm3+UTsJwK0/Q4eoeiYTxQGIK3tnW+rSkwgl oeYg== X-Gm-Message-State: ABy/qLaYh0KDSQLVxcTLnfAbFcpKJvbSsVV6aYaZMloVeZYwyWaQvSSl 23v8AVmlhQlgviebzsgTmXEJqTnsb44= X-Received: by 2002:a05:6808:13d2:b0:39e:7af4:7eea with SMTP id d18-20020a05680813d200b0039e7af47eeamr5947676oiw.55.1689736003428; Tue, 18 Jul 2023 20:06:43 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id 23-20020a17090a0f1700b00256b67208b1sm253515pjy.56.2023.07.18.20.06.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jul 2023 20:06:42 -0700 (PDT) Sender: Guenter Roeck Date: Tue, 18 Jul 2023 20:06:42 -0700 From: Guenter Roeck To: Naresh Solanki Cc: devicetree@vger.kernel.org, Jean Delvare , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, Patrick Rudolph Subject: Re: [PATCH v2 6/8] hwmon: (pmbus/mp2975) Add support for MP2971 and MP2973 Message-ID: <0817fd19-0b69-401e-a25c-6d3e2679b9ab@roeck-us.net> References: <20230714135124.2645339-1-Naresh.Solanki@9elements.com> <20230714135124.2645339-6-Naresh.Solanki@9elements.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230714135124.2645339-6-Naresh.Solanki@9elements.com> X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri, Jul 14, 2023 at 03:51:14PM +0200, Naresh Solanki wrote: > From: Patrick Rudolph > > Add support for MP2971 and MP2973, the successor of MP2975. > > The major differences are: > - On MP2973 and MP2971 the Vref cannot be read and thus most of > the OVP/current calculations won't work. > - MP2973 and MP2971 also support LINEAR format for VOUT > - MP2973 and MP2971 do not support OVP2 > - On MP2973 and MP2971 most registers are in LINEAR format > - The IMVP9_EN bit has a different position > - Per phase current sense haven't been implemented. > > As on MP2975 most of the FAULT_LIMIT and WARN_LIMIT registers > have been redefined and doesn't provide the functionality as > defined in PMBUS spec. > > Tested on MP2973 and MP2971. > > Signed-off-by: Patrick Rudolph > Signed-off-by: Naresh Solanki Applied. Thanks, Guenter