Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp605869ybh; Tue, 21 Jul 2020 03:33:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwb804wyV2/h1Mt8b+3pyFugoLh6LtoQIHuiQ7OeAE75xbRalFDPB/kxFFJLHlvkOVHO9Or X-Received: by 2002:a17:906:2bc7:: with SMTP id n7mr25237787ejg.96.1595327603396; Tue, 21 Jul 2020 03:33:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595327603; cv=none; d=google.com; s=arc-20160816; b=E3xfTscsLfNwbzZzQ3N/CEyBFvbaXgIkW1Kr3jYJb+j7rns8It5UxQBUH6znU+pSJ4 dJNN/jDgFvk4+3CnzyvWqVXNj8dj7y+wh9RyJ0f4huZG+oZgQwlVyzoeA6NtSeBsMYS8 uNJI8OqkGyHYMxhNv6szPavtYqmqTqlCY4zB05dQ+pc16PUh9Cz1TnJYDe95UcQcqiE3 bBjljb7dTrq2ytdWvtb9ssGlIFtaZkZy6ymZOk42Lo0+1eNPkBogAzBq75Sh13j8JdR2 uH4kO2uSN4oiglw/ghnu6CIfwgwfzBfCmQDjWqngeKDfDIkppt6Muohh9hlMhJHpaxnF Y1fw== 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=Lj0XPhVKNCPnVQQJAlVbOxi8in7I45uY4OxJDBPOTbM=; b=yQs944Si8tNfP3GttT/UqMkZL0jXRocG0gJSe2ZdCKv75F0+h+cGcl2RCfxQvRFLvQ pkUFIDVp9QuA1oOgWcMdUud+UDp5mdultu62g616SvrNXheZ1lutHjc9a6YRKJ0uiHNE dMbz486cVVRuLVV2WbgWuBaZuZNhZfkJ++7/XtryScm2VdH3lJHRPuEB+nR7eg72w2YF S8bRdNJ/IMAeSsKZ9Qa4SKR4yaPKX+z51HGLKtp1T6cx2Ja+BPf2Zq1hT3YhScjbMVid yj4ep5C/lsW9G6v+jxzPBblqrapRgVclDX+hwze1/7oIqsLf2vxz1xmPgTZtJAWX4KsT o30Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AKZjg+PF; 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 p7si11837508ejc.96.2020.07.21.03.33.00; Tue, 21 Jul 2020 03:33:23 -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=AKZjg+PF; 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 S1729267AbgGUKce (ORCPT + 99 others); Tue, 21 Jul 2020 06:32:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:56394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726521AbgGUKcd (ORCPT ); Tue, 21 Jul 2020 06:32:33 -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 A430F20714; Tue, 21 Jul 2020 10:32:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595327553; bh=cxxwkqmECry30G57dJfjbrdgXLTLNOm11+JAi8PcStY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AKZjg+PFoyxwyMHNsCZgBRR1twDK3EjuiNqHsHgeLDzNV7CVW7pntD9R/9AKKg6q0 kYJqFCUE6yac809FGnMqyOB6JNYSZfOe7+vSum1nRyPdQWFfMxkTichzH69C7/Dpfw B9+UX2XRQR6bh7oi42qqYFkAfhFFVJNzChr/oCsI= Date: Tue, 21 Jul 2020 12:32:41 +0200 From: Greg KH To: ivan Cc: sre@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, jiangfei1@xiaomi.com, Qiwu Huang Subject: Re: [PATCH v5 3/4] power: supply: core: add wireless signal strength property Message-ID: <20200721103241.GA1675802@kroah.com> References: <20200721082000.GD1655283@kroah.com> 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 06:21:20PM +0800, ivan wrote: > On Tue, Jul 21, 2020 at 4:19 PM Greg KH wrote: > > > > On Tue, Jul 21, 2020 at 01:59:36PM +0800, Qiwu Huang wrote: > > > From: Qiwu Huang > > > > > > reports wireless signal strength. > > > The value show degree of coupling between tx and rx. > > > > > > 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(+) > > > > > > diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power > > > index 03ab449fae8a..75ec7de2fe78 100644 > > > --- a/Documentation/ABI/testing/sysfs-class-power > > > +++ b/Documentation/ABI/testing/sysfs-class-power > > > @@ -757,3 +757,13 @@ Description: > > > 13: ADAPTER_VOICE_BOX, > > > 14: ADAPTER_PRIVATE_PD_50W. > > > > > > +What: /sys/class/power_supply//signal_strength > > > +Date: Jul 2020 > > > +Contact: Fei Jiang > > > +Description: > > > + In PING phase, RX transmits a signal strength packet as the first > > > > What does "PING phase" mean? > > The Qi Wireless Power Transfer System is published by the Wireless > Power Consortium. > The ping phase is the necessary stage for matching transmitter and > receiver. In this phase, > the Power Transmitter executes a Digital Ping, and listens for a > response. If the > Power Transmitter discovers a Power Receiver, the Power Transmitter > may extend the Digital Ping, > i.e. maintain the Power Signal at the level of the Digital Ping. This > causes the system to proceed to the > identification & configuration phase. If the Power Transmitter does > not extend the Digital Ping, the > system shall revert to the selection phase. Thanks for the description, so perhaps turning this response into the text in the description would be good? thanks, greg k-h