Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp376110rdb; Mon, 18 Sep 2023 19:31:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFzdeH5JTVo+dyqwkVzXp++WOpIyoKNQacokzejbsapjV+AJhid/wjBPtPEgTqnKl2AqA5F X-Received: by 2002:a05:6870:ec92:b0:1c0:1caf:3324 with SMTP id eo18-20020a056870ec9200b001c01caf3324mr12045525oab.44.1695090686497; Mon, 18 Sep 2023 19:31:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695090686; cv=none; d=google.com; s=arc-20160816; b=IyKIDhMPEvncxjWs90OOMopcyufPlv6MmUkkR/6kKG1bV8g42kF2YTB4dyT3Dglr/Y ehI9poZ5LsECz4iOFkltTPQKu1B87mEaeOCS0WxKL3GpicIU2/5b7bJde1cc35xMbWzq xdXm4bL+wFW7CLDVpvocxr6kNoO+eYDh1V8Ec3ySWHrLzTQamQZWdpJNraLv17FNjbHL zaPahQLJ+qDkEVm8SBRuojGbumspFIkw8QxH8rxP3M2v1RE4N8vAuCmFnagIiT7qxaIE R8vNCRVrdWp6WpBccv5cyuECQWBlXlrrTr2hpmcKSBHC1tMShCBvPROf+F83imIz6kOe jqrQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=SuWOrKWv1YL5VqPgED7pmVlnT9qu8LJQ8qB4HzCdQEw=; fh=RTFg/OMFfxGunTFQWXZQMdkw23OATE3FR6QpZ8UcYl8=; b=lLUZy45DzSQJDzW5iO5IZwaP92ty1k3HsWvxJfS8NoRrjow4EICQhSAUqb7GhcmuNe 9exrDoDtZN/Ozm9U1nbJXtFK3LFLzQMeWoirwkOQBDbWl0Uy2bCiILAQw7MEGjQB/2R0 KELYxHjIWovwaGtSnStJHGCCD7IzitVNUOQs2yfOyu4DJ0Uk53OxjnzZe1iBx4lg35EQ DT2VMibc5nEdW4FFDqwdyIWSI6f9ZGln7GlCL2U7MhTmdD4V1J0zf5gMLxZeXjkm+BmF cUGekT7EAAsRZ5rAy1W0QYI8AzXvUbEGt3zR5QcdwDwEeTIui50wXP6AiFk2hIBbugii RJeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QfaACfdd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id mi4-20020a17090b4b4400b002680abd9398si2238818pjb.88.2023.09.18.19.31.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 19:31:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QfaACfdd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 5848980811DD; Mon, 18 Sep 2023 12:06:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229936AbjIRTF7 (ORCPT + 99 others); Mon, 18 Sep 2023 15:05:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjIRTF6 (ORCPT ); Mon, 18 Sep 2023 15:05:58 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7BDFE53; Mon, 18 Sep 2023 12:05:21 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-34fe2814b0dso4397685ab.3; Mon, 18 Sep 2023 12:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695063921; x=1695668721; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=SuWOrKWv1YL5VqPgED7pmVlnT9qu8LJQ8qB4HzCdQEw=; b=QfaACfddfy/6AK+yNtlvVU4w4dma330WjxkkKqJjEQem1tHqG8JsOBI8GmUocNg6ny yoDzmwndFLOGFf9rw4UHFV3XtvsB6uAcptlPNcbARG+GdqwGrk0Oyy1GZ17kVrcFFJBv DynemurW1yhpxTYXSSt/u9CylCSCrJT9ILUzxcReYwQ183UZxAeIvM0VmP91pKKAneHY OEFnAL4Hgd4b25PdoH2v6mppk1FWsjSRPbfNEdl4MG8MGbEDwdGRMcVARh5NcSBq6acW J0dc4wwMVHoAbVnS2VMhZLTZmbLIVi34XK2ZLjlctLkKNw4FcB/73v9b3trmzTbmQxNw VhxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695063921; x=1695668721; h=in-reply-to:content-transfer-encoding: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=SuWOrKWv1YL5VqPgED7pmVlnT9qu8LJQ8qB4HzCdQEw=; b=rD5Z3ryBCdo4l6SGnk0kPkRL/OsPstPpKXXso8ynk/yzKd0CKajfeVkod8sA4vmMqr 0h0BcMttv2XA+ZL8qQkGOCRDYRhDHaywh4uJvildoEEAl16FsSWJISjYXq8Pf/BZwus8 aJj7NccStZuE/w88NKFdmm3lRQCTOACvA/3lA/4GVi72NqBPG2ax++127YQVVSMfFaVA exG5VoqtvvvP9M41U5qXTSX7G1+O3KZdMozBLp5s4BQmaMgtSxMt1X5h+CpxjlV0mcHA jg1k5kmra9saob4oLtBaM2J2sLRIMVl/BneNy6cFuWNIf6ySoO+UQN/tg/tYMSFtjELm 8E6g== X-Gm-Message-State: AOJu0Yw88PRl5RPQIup3zMDz09CnIO0Du9eSblmuWtg5AWAx/a2/QOvt q+9qhqD050R1jN5rPwmsl7o= X-Received: by 2002:a05:6e02:20ca:b0:34d:f390:4882 with SMTP id 10-20020a056e0220ca00b0034df3904882mr14720083ilq.29.1695063920881; Mon, 18 Sep 2023 12:05:20 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id f24-20020a02b798000000b00433f32f6e3dsm3006705jam.29.2023.09.18.12.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 12:05:20 -0700 (PDT) Sender: Guenter Roeck Date: Mon, 18 Sep 2023 12:05:19 -0700 From: Guenter Roeck To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Jean Delvare , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Gilbert Subject: Re: [PATCH] hwmon: powerz: add support for ChargerLAB KM002C Message-ID: <6e5eff10-949c-4f17-a3f3-347b85b89e11@roeck-us.net> References: <20230911-powerz-km002c-v1-1-898bd79b9bae@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230911-powerz-km002c-v1-1-898bd79b9bae@weissschuh.net> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Mon, 18 Sep 2023 12:06:02 -0700 (PDT) On Mon, Sep 11, 2023 at 07:44:42AM +0200, Thomas Wei?schuh wrote: > The KM002C is similar to the KM003C and seems to use the same > protocol and firmware. > > Reported-by: Douglas Gilbert > Closes: https://lore.kernel.org/lkml/290ebce4-54f0-8ac1-2a13-cbc806d80d64@interlog.com/ > Signed-off-by: Thomas Wei?schuh > --- > > This patch is based on hwmon-next, > commit 80369d9e1f2f ("hwmon: (sch5627) Document behaviour of limit registers"). > > Signed-off-by: Thomas Wei?schuh Applied, but please be more careful with your comments and Signed-off-by: tags. There should only be one '---', and one signature. Thanks, Guenter > --- > drivers/hwmon/powerz.c | 1 + > 1 file changed, 1 insertion(+) > > > --- > base-commit: 80369d9e1f2f16993ae6d148553c37bf65a209e4 > change-id: 20230911-powerz-km002c-94afb4d3d645 > > Best regards, > > diff --git a/drivers/hwmon/powerz.c b/drivers/hwmon/powerz.c > index 2b9693aee6f6..cfb635f94d66 100644 > --- a/drivers/hwmon/powerz.c > +++ b/drivers/hwmon/powerz.c > @@ -254,6 +254,7 @@ static void powerz_disconnect(struct usb_interface *intf) > } > > static const struct usb_device_id powerz_id_table[] = { > + { USB_DEVICE_INTERFACE_NUMBER(0x5FC9, 0x0061, 0x00) }, /* ChargerLAB POWER-Z KM002C */ > { USB_DEVICE_INTERFACE_NUMBER(0x5FC9, 0x0063, 0x00) }, /* ChargerLAB POWER-Z KM003C */ > { } > };