Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp812713ybh; Mon, 13 Jul 2020 01:41:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRWAEBzhsNgHOZrIj9oiatkSomeS+jhWK+Mpy85bYzxLuMnQ38H+zGNPQqUViZyWDLegf5 X-Received: by 2002:a17:906:5949:: with SMTP id g9mr71352495ejr.305.1594629718855; Mon, 13 Jul 2020 01:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594629718; cv=none; d=google.com; s=arc-20160816; b=oknGyanOCYbtnNM+W6pdgC656lPVjW1mbnR9ukOW9r1qKpz4MJa3ug8PU68Lg4hgnK vLpJ5kd6a6D4z1wse4sh7cLYc+/rnuDoUVN8GCRCFqTBLAzeVk+WoEZP2YEbF0NLH+v2 z5OscA/UacEyfrZoN2Mi+dlf89bZXHcAxelB35FgIkf/+HnPfe2wSeiM4sNc/MWa5n1+ eEjJ9oPSA84k0W6aboep11dsx2/bmhj6zmvELzuYRzJ+wStfWqVMNKNe/A+m3bEy4j3i dzYPxAxJJnUGqMls6gDsRyVEt4dnZZO4d6RN4sOiSVH/ZPuV1sXAW+vpy6bKhxC8E05d LvTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=riFnb5Bkt8OmAEej4Gp5Lhjx5C+CzHOob5Zt+okLNaI=; b=hVD27NZwltr3CgsYFWVFNoYXG3rxKdQ4gJf3/yvA7F5TaMD+p0DxE6ZnIsIyuDxBhC XHw6xBd1Jw2lbEhilDUaIkUX022QoSSu9nS8+8me/ZGM3NocnkuB6vYLD4ILHohwsrta RZ540FVnVOjXXMD4FAXz2QuHWlg5sXSjQ8O76o2PIwDRehWRYctmr5LZF0rPFia7So3D 9sl4W9mx/eO3NzlWs8CiArn6TLL+5Y3B8yQ2Tk9W9T0csxpD0ahHCwkPmfrIG6eXNsig xgGKWF8X4EYXTCSZRc3tNA+BJsLKKZ64PcRUHf71TgFcEdaphTbsXEWe3CiNRF4PeEW4 YajA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MXm0KiOx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k13si9389234edx.360.2020.07.13.01.41.35; Mon, 13 Jul 2020 01:41:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MXm0KiOx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728571AbgGMIlQ (ORCPT + 99 others); Mon, 13 Jul 2020 04:41:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:37506 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbgGMIlQ (ORCPT ); Mon, 13 Jul 2020 04:41:16 -0400 Received: from localhost (unknown [84.241.194.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9D6692065D; Mon, 13 Jul 2020 08:41:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594629676; bh=MsAb3MjB616bGxcV0JPjDtRGwlS8I2nFDbRd+BfX26c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MXm0KiOxO2k0zw4i2ze76Wz8PqM4Kkrf6Uog/SNndD8gcGntR7kRRQVZgZlQFIOZG za2aAZ1FPtawtQLofe5zuUB+WQ0mxquf+CseShjLkc7AiZyGjCC8zK8C0diQs949aJ 6UhMmliBHcdc6eyWokws5haM/VBd5pjlxDLeVkGg= Date: Mon, 13 Jul 2020 10:41:13 +0200 From: Greg KH To: Qiwu Huang Cc: sre@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, jiangfei1@xiaomi.com, Qiwu Huang Subject: Re: [PATCH v2 1/5] power: supply: core: add quick charge type property Message-ID: <20200713084113.GC215949@kroah.com> References: <38b7b1dc10cf608faceae923374791a52a450919.1594612572.git.huangqiwu@xiaomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <38b7b1dc10cf608faceae923374791a52a450919.1594612572.git.huangqiwu@xiaomi.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 13, 2020 at 12:03:36PM +0800, Qiwu Huang wrote: > From: Qiwu Huang > > Reports the kind of quick charge type based on > different adapter power. UI will show different > animation effect for different quick charge type. > > Signed-off-by: Qiwu Huang > --- > Documentation/ABI/testing/sysfs-class-power | 10 ++++++++++ > drivers/power/supply/power_supply_sysfs.c | 1 + > include/linux/power_supply.h | 1 + > 3 files changed, 12 insertions(+) What changed from v1 of this patch? SHouldn't that always be below the --- line? > > diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power > index 216d61a22f1e..d3169d47e359 100644 > --- a/Documentation/ABI/testing/sysfs-class-power > +++ b/Documentation/ABI/testing/sysfs-class-power > @@ -708,3 +708,13 @@ Description: > > Access: Read > Valid values: 1-31 > + > +What: /sys/class/power_supply//quick_charge_type > +Date: Jul 2020 > +Contact: Fei Jiang > + Description: > + Reports the kind of quick charge type based on different adapter power. What are the allowed types here? Shouldn't that also be an enumerated type with a predefined string? thanks, greg k-h