Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp601192ybh; Tue, 21 Jul 2020 03:24:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXa7rADB98QYa3YNts6QweKVndQgI1Nbgdntr+ue3CCualAwi79gjwlHbYDvu3+/1FWvEo X-Received: by 2002:a05:6402:1246:: with SMTP id l6mr25536965edw.224.1595327071638; Tue, 21 Jul 2020 03:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595327071; cv=none; d=google.com; s=arc-20160816; b=nW3wGlD/8fFrgvlJ1B0810ok4nAP8p3mTwF0EXq/pX8myRHE1U07UkV06ZajFaHReE tmXYuz7R6iwCyZ8QVGrEuxmU+Z0PTMT9vIZAls31WcozjyV5iCxwY/VL2cA3C5csxjQK h9UX/9feGnuLGuqLLU/aOccjYis1MpEuPuV/ApQJBYWzsT9OEgQKpWS/Vqnesl2Fbdjg FqjnHLZ1TYlwjSsnqsVOP/tKPHR4IItQNRHQ5BMg24/urNnkYBl2EmLQGr0EefUqf2XJ aJXYaiLmgMmmld2Gs0nhHJ/hZxS3JsOj0zs9y2SWX3WW+VxfnXcdDYf//5bMdjYAjObL +hvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=tg7ZtznRb+b+yekzNeH8rbjkvPZT0rO0PfuB04Vn+lE=; b=Tj6XjXaXYOv5cPmFfDWmjRMySD5ZELbguzobFLPW6v+79+uEHZNrkK1SthXlVX/z7N a9DXHuU2lSzuEXSoMi0uSudekOZWaC/1hyuge4lcl32VBb4NF2IHPrR2oZWTQeii+JiO jFXw34A4iDFys6/0ylGbUoSZ2E3hGA8o35ZzKHDhOiglYOq3zhhTGvEW2xZrRf187RQs BcMzYOochBgAG0E3qdedtKuO+HdL3xYZt+Xg4RVPwv1zhOlKAiOOj6Ceud43Kumc7jsC P4cPar8Uoz3s0yTTPvCxFEP71nqkj0XrYJy/NVCkLbTkbNgu0hNRTuKnAsF5GssLC1Hb AfHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fOftbt2B; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ci12si12272413ejb.448.2020.07.21.03.24.08; Tue, 21 Jul 2020 03:24:31 -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=@gmail.com header.s=20161025 header.b=fOftbt2B; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729026AbgGUKVe (ORCPT + 99 others); Tue, 21 Jul 2020 06:21:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726147AbgGUKVd (ORCPT ); Tue, 21 Jul 2020 06:21:33 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 876E8C061794; Tue, 21 Jul 2020 03:21:33 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id q5so20637092wru.6; Tue, 21 Jul 2020 03:21:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tg7ZtznRb+b+yekzNeH8rbjkvPZT0rO0PfuB04Vn+lE=; b=fOftbt2BlRb6Sdks3/IcQAdA5xeuHcFYKe+fcVO4MR3zvlKV0j2v8FojJ7NP4bgjCm 7kMxyrn2slElFlU2ueveJ8SB+z7sSw5RAzPAGCc2BpOVRJod8w74BWiJw/Q2SO25vw6f WxWtfcOW3lWYk6jjq6qIRCy7hIY+LR6Yso+KJp3GnoI+Vaig9wMGwX5+DWY5N5tcUyKW VwNRAyWBKJLEY4nNED0dtTojZFRnVOjXFCD1qgsFDdQG56VZNs4PKM/DqHn6OT2PD4h7 4Itp3AG66CA1RVLOUMqAXpCYcfD9LkzoGXdyTkrM/l6fQZ+Oc7dNEDK9wOszhKNLXILX haZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tg7ZtznRb+b+yekzNeH8rbjkvPZT0rO0PfuB04Vn+lE=; b=JYPMaFThCez7Ua3qyyNkvG17JnlF650STsXPo1OlBWTZLOCgnPRhGh0TJanwsDRa+L hjOInRsuP30EyAJmnPwpi6440mQDiTMLF06iM9VSNRAdYqHVWJv9dXH+ZDd6DLrWKg9a hOdJ0ueai0TenJOnRW4Jby/+ev8sXMGbYjc5mOMWva84nPL4hVEFelqtRbH1u5EHpgNB mxAq+4YjC01jzSf+S/gPduuyiFAqh41kcCANbTp1vBnFSp/8LsQ9P/tWwl31U2RKh5k6 5iGCammbuvqZoWnGHEgiXn9tdwH3pwH3gKO8EkXbLsJK6KYxkZDWtr23Dl+NJACDpFTk NpdA== X-Gm-Message-State: AOAM5318nEwFGa+U6aN8hE5NmhuKK6WfGILgUQAOtra2a1/HL/TrsR84 EEX/O9XjIeZwwqzcwdm+oWYwEA+CWUVHRztmqdI= X-Received: by 2002:a5d:6683:: with SMTP id l3mr27206827wru.288.1595326892226; Tue, 21 Jul 2020 03:21:32 -0700 (PDT) MIME-Version: 1.0 References: <20200721082000.GD1655283@kroah.com> In-Reply-To: <20200721082000.GD1655283@kroah.com> From: ivan Date: Tue, 21 Jul 2020 18:21:20 +0800 Message-ID: Subject: Re: [PATCH v5 3/4] power: supply: core: add wireless signal strength property To: Greg KH Cc: sre@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, jiangfei1@xiaomi.com, Qiwu Huang Content-Type: text/plain; charset="UTF-8" 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 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. > > Other than that, seems sane to me, thanks for the changes. > > Reviewed-by: Greg Kroah-Hartman -- Thanks Qiwu