Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp536518ybh; Tue, 21 Jul 2020 01:22:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWB7UD7Bkm/VgJIeT2WCO7PIiSz3tfUcVYW1EtIqyFELugavtPysvvIDPcvED+Hm8cSm5R X-Received: by 2002:a17:906:69d3:: with SMTP id g19mr25266606ejs.402.1595319722700; Tue, 21 Jul 2020 01:22:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595319722; cv=none; d=google.com; s=arc-20160816; b=rixKa/SLAa8WiFCGLcn6MPoTEkqbWqufwwsFZftUscxp7F4h3z6ZcXIUJZryc7nx1r TzzcPYSpjo8QT3meMc0aUtbSUsldIPayK9si4IQ1IYoJUaPH+i20q7ihiIFJ97X/Y+jP ucF7JfSNhhuVxdkaEFyCKv038B+xGWJIq4qWcyl6zYgQLlw/MapncwK9d1zJbfAy0Gq9 EcoXVOQ/RQwdbRE5v3zLbU95pt++TKv8R6GGvuaiaGdM8akku/cVZiyTG7Sbes74FOcJ WIKPWzOxk2cLFmtzWwJu1sIJBmvL1E4lPATmgVd6vbQQ9xdpwHcqnaV7ZzGRxIo3rw0v Csxg== 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=k6r1VufbR34khwbvVfgbHak8kdB2DQ+bMnjZDwRQWdI=; b=iKgnHRYC06gsDf5EK68p9IjywA1NEH1ahl4PhcNE4NLWpfKF8AJ6tPxC/4nMYYfRKk y+QfBwzCPR26A3qi0FbmeYIj7Bjt9Cw0uDBNIcNMRs3HPOlOxoCL4wjlOdQIIaS59b42 9J50y0St1NcZzdsQ1/1vNlLh14NLcw+Dx5rUuEts8+7KmcDGRJnVrZTZPa3/byUgipzU q1lYLB7K8UmTL2glaVrPdBI4CZbzq3ybZU4bwBevBnO/CNzNb8zfTtDyOY13S9daOH0R OgX2fG4qiHOfzzMuSVS+f69m8qubIeHk9CCW83uCEW4UeM6mM8r6vZFrB7GSmnK+n2A+ 3rFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1uelKJLZ; 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 f1si11961059edm.601.2020.07.21.01.21.40; Tue, 21 Jul 2020 01:22:02 -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=1uelKJLZ; 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 S1728500AbgGUIVW (ORCPT + 99 others); Tue, 21 Jul 2020 04:21:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:45308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726521AbgGUIVU (ORCPT ); Tue, 21 Jul 2020 04:21:20 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 9205720720; Tue, 21 Jul 2020 08:21:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595319680; bh=47k5aup1aXT1zMH3tH7/4fi4e3IvHVWxQa3HfzqrMDM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1uelKJLZv+vYgaCIPNvkbzC9Ll2XoFHXW+f8T1U7kZ+d9eYMT368ZQliT7osFSOOn /v0COt4qkjjEv/+jcKYsVSabqPWva9tAEJb/2/WDP0K0I0ijDGSjWvKl9UvBq54lzu mqOchN/MFgsvHMe8scpLVuHek/a6FR6SFL0f5gdY= Date: Tue, 21 Jul 2020 10:21:28 +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 v5 4/4] power: supply: core: property to control reverse charge Message-ID: <20200721082128.GE1655283@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 21, 2020 at 01:59:37PM +0800, Qiwu Huang wrote: > From: Qiwu Huang > > Interface to control wireless reverse charge. > Supply reverse charge function when enabled. > > Signed-off-by: Qiwu Huang > --- > Documentation/ABI/testing/sysfs-class-power | 12 ++++++++++++ > drivers/power/supply/power_supply_sysfs.c | 1 + > include/linux/power_supply.h | 1 + > 3 files changed, 14 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power > index 75ec7de2fe78..54647d6995d3 100644 > --- a/Documentation/ABI/testing/sysfs-class-power > +++ b/Documentation/ABI/testing/sysfs-class-power > @@ -767,3 +767,15 @@ Description: > > Access: Read-Only > Valid values: 0 - 100 > + > +What: /sys/class/power_supply//reverse_chg_mode > +Date: Jul 2020 > +Contact: Fei Jiang > +Description: > + Some phones support wireless reverse charge function which charge other phones. Replace "phones" with "devices"? And shouldn't these lines be wrapped properly at 72 colums or so? > + The property supply interface to control wireless reverse charge. I can't understand this sentance. > + If enabled, start TX mode and detect RX. Disabled when timeout or manual setting. Can this be set, or is it just something to be read? thanks, greg k-h