Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2262798pxm; Fri, 4 Mar 2022 12:36:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKhrvem2KjdB08NRifaqERO7hCr9JtgScwBtXi4KxJtzb9L2Fz3Z0oo4AhG6AT5sMy7FeX X-Received: by 2002:a17:902:7e4b:b0:151:57d6:670f with SMTP id a11-20020a1709027e4b00b0015157d6670fmr129537pln.144.1646426176826; Fri, 04 Mar 2022 12:36:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646426176; cv=none; d=google.com; s=arc-20160816; b=OOfuTWK7V1RjMh3Gy7n6yK+hgXozfCj/KT3nBahbi/SggozaTAa31gKtUKpJkA1JHu T+OBLdcyf0VHYbMERjcYNFgnWndFU2ggZ040U1VOCKqFuLOiXx31WNKYpwqSoY33DXFU cxDBduCezJqZhF5qYBHmaWKAIYSdy5llUALmQMDzGUfd+1bU04n827E4mAQAxbaOlBa+ DjaHn19Huss6dXONYOf0s3QO64abr2voj+h2xLmI/NcZM16wQUbDygzLDA25rxxtDUXf OMA0ZXEa/ytxiWJVA2WZOMT7c+MDPBi4Jwyfw0xTAjR8hI18kuBI2hZpANpWWHaQyJaH 5tjg== 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:dkim-signature :dkim-signature; bh=19N+V6o+FQXpDoOacL5Tst7trUS8I31eJl+exIQkyAA=; b=CuoEfHRu6zCCV49glKGyI+Ho16sv1XSg078kLVhQqZ+AX22OA6UDY6mn9Ax8paO2sx RDONvM95xDzJIXu+PzrXl8aQ2FIUd7rzT/6/OxRx/6ol3fohJ7eGZW5l+xC8LVnZxM6d H91lEQisud6oqvMyKktQ0r9EbXfqv35d83JnK79XR6dI4wbdDIrJdOgzp4PBPHxuChmP 0eRCnmqDSvq4aFf3ZNgXYeA6/mlZP30CAWYBl7eZv7b2mHIQZY3cbZ7oWd9N8XRQ2zPI zaRoLq25bLWxErcZLOGAFb9XI9rYK3CW+hjvRozUoJHpO8HEYJz8r80sNKwDmeJzOE4t N+9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@stwcx.xyz header.s=fm1 header.b=QzRfuJqG; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="NfZxkzs/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t8-20020a17090a0d0800b001bd14e03038si411196pja.16.2022.03.04.12.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 12:36:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@stwcx.xyz header.s=fm1 header.b=QzRfuJqG; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="NfZxkzs/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AAEA522D643; Fri, 4 Mar 2022 11:40:50 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240918AbiCDRFn (ORCPT + 99 others); Fri, 4 Mar 2022 12:05:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240892AbiCDRFb (ORCPT ); Fri, 4 Mar 2022 12:05:31 -0500 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7433C1CD7EA; Fri, 4 Mar 2022 09:04:40 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 9C1DC5C0294; Fri, 4 Mar 2022 12:04:37 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 04 Mar 2022 12:04:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stwcx.xyz; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=19N+V6o+FQXpDoOacL5Tst7trUS8I31eJl+exI QkyAA=; b=QzRfuJqGM6ZdcwMgmuN7etzIjqBRwQOL+z8zzpPWeHR8ZahsL0tzr4 1yA6vZtEUn1Qp2tQYvdliAeErt6mnRd2RWyGLDLyw0kSJhzCyTN6quZwk75fhSC1 z7OAjr7jpFi74YVR7vV6YmDowGdI5Of+uCoYaUHutAAArscXY677moChObN3sTbo 9rcIu008b2p5bd+W2099U1UZg8lenDt+1yxzYfVKDkt466x+33Gk8PDKhMWxtueL WWwki6cR5DJrSCElIdV2HyxV0YkgVTnFV92kDU/o81uEsf9jwtVhGGNoP31G2gFe U1B2A5QLYi3VqRvkOFVkg8LktMCXHohg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=19N+V6o+FQXpDoOac L5Tst7trUS8I31eJl+exIQkyAA=; b=NfZxkzs/z2dP53kDlRr48k+zoDztkBRGq ZgqZL9c6HE4z4+mRUKWXQweWivvRrlv11Dm0txBu0bM8Euc3GVs1yWe33+uqRf4B owHF4ZW3BmeskJ3nSthhZw8hCJ2Mrzp3wk6hBJfPl42J+3cOmEEosZi+hLf9XqNC Klnufg8It1Cs2vuL7UFuL6YqTGoi41e0ZHjROV6gH4AwLFRBwZzjfQ5DTeQM5/RW ApAXys/aWi7Futu0IMYYZkWKBof+ic/P+cDvCEWKnOhs1pinmvsi6/RNKrVGlO7F SaNtDfrid0HDIOFEkpqyQiByTR8P4aoeHSKQ3NGDygk0NKmm9hWBg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddtkedgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlvdefmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomheprfgrthhrihgtkhcuhghilhhlihgrmhhsuceophgrthhrihgtkhessh htfigtgidrgiihiieqnecuggftrfgrthhtvghrnhepvdffgefgfeetiefgtefhieevuedu gedvgffgjeefheduteejfeffteektdelhefhnecuffhomhgrihhnpehkvghrnhgvlhdroh hrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehp rghtrhhitghksehsthiftgigrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 4 Mar 2022 12:04:36 -0500 (EST) Date: Fri, 4 Mar 2022 11:04:35 -0600 From: Patrick Williams To: Potin Lai Cc: Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] ARM: dts: aspeed: bletchley: add sample averaging for ADM1278 Message-ID: References: <20220304003506.4243-1-potin.lai@quantatw.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VYm2G0+QLn/4yGoL" Content-Disposition: inline In-Reply-To: <20220304003506.4243-1-potin.lai@quantatw.com> X-Spam-Status: No, score=1.5 required=5.0 tests=BAYES_00,BULK_RE_SUSP_NTLD, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FROM_SUSPICIOUS_NTLD, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RDNS_NONE,SPF_HELO_NONE,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 X-Spam-Level: * --VYm2G0+QLn/4yGoL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 04, 2022 at 08:35:06AM +0800, Potin Lai wrote: > set number of sample averaging to 128 for both PWR_AVG and VI_AVG >=20 > Signed-off-by: Potin Lai > --- > arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/a= rm/boot/dts/aspeed-bmc-facebook-bletchley.dts > index eaf1bc261ee3..be76cd955129 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts > @@ -732,6 +732,8 @@ > compatible =3D "adi,adm1278"; > reg =3D <0x11>; > shunt-resistor-micro-ohms =3D <300>; > + adi,volt-curr-sample-average =3D <128>; > + adi,power-sample-average =3D <128>; > }; > =20 > tmp421@4c { > --=20 > 2.17.1 >=20 Reviewed-by: Patrick Williams Note that this code depends on ADM1275 support pulled into groeck/linux-sta= ging already. https://lore.kernel.org/all/20220222223610.23098-1-linux@roeck-us.net/ --=20 Patrick Williams --VYm2G0+QLn/4yGoL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEBGD9ii4LE9cNbqJBqwNHzC0AwRkFAmIiRqMACgkQqwNHzC0A wRnPgQ/8CvQ5AKgdzdynopTHa+Iz0ECeeFQi98vSMKhKUOdz9sHmItqjiEf9BtPa lTYj0lPOrkAW+tkzN6hfLdhmWFg5z7z1vpWPqKRYhoVtORtjO/EATja3iEua4p2a 6JhUvRQXryduEwKvulEZ7CGbL8VgCaZTZHUrawdwEtfyQkmOxaLjfOtA/tksWmxU aa5/OG06Dk3wV7HejScWSJXyLYt0Mv4+R0PQUOPuVIfHYx18hd7hPzsyuga2UuWw yY11KcvA5Deyp5U195pUNDar9J2VrSe+fAAmuBqR214P7wC8qBK19dwx4j7qXfQt kfWnbJs481DQas7uLBH4WxytuoWVslB1fTUQu6XWgCQj7jjcODKVdmuQZLRLXiz7 kiIPk/pqJWwZr5No300pbc0EfAsKKfdCuTjJe2chz3TmCkbky4opehVKTOafSB2o UBMB1Nz2LL1l1Kwe2XDvViS0rbQlLw3sn82SO7ez+gXjjKh9OivelUgOhcPeRGTv s48za2Nq3MUuaSbSBJaAB2NZaZ19zi8BnM9m5aohnYa3yzElW+yrHzHmx/rJdanZ JqA9RoCmtB4krTFDeOAV+kAHUSSHK0HL3O0ecJViSKt70fM4jAHKJzoag2Fn5FMB GrCRNd+OCs+H+y4Y0e6bBTEMbcycb5XWK8Z4XeyiWrcIkpkWsyQ= =Uw+x -----END PGP SIGNATURE----- --VYm2G0+QLn/4yGoL--