Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1498150ybh; Sun, 19 Jul 2020 22:49:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5+aSm6F3EXVhluIRsKUkTcWTsRGgxDFHlxECM7jPhy/90YFjWTjuOPwC16oPZLV0EuRWq X-Received: by 2002:a17:906:958f:: with SMTP id r15mr17697280ejx.77.1595224197865; Sun, 19 Jul 2020 22:49:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595224197; cv=none; d=google.com; s=arc-20160816; b=roXNM81ukEZ/fAXopYKFiE2dKz98uW8OWE8SkRmSZDRe0bSM09RUMYebTMq2Xglv5W +AtK9AzJOK4792kKBvuX1HxGYlWwSknUHJWTKy8WFlpmhLtiyz8NoA/oE6YZ1CrskQ8E Fz8uXcVyUsq3QImx/bjKe0eS6Y9Y8DC4yyn0Xgx1ngc+tDnN2u3d8r5WSw8memRFDRVl gyN103QNv0EWiSoI3qa62TNW/fDF1pgHReGe88VPZmKjZ0+lHQ8vvHq56LrSl/MOMZjn 7cTajsVWurg0FwGsURLuntOHo0Jg0uEfjuCYQCY11IFSd+ArQU6A9qq+/HXN5adBocvI X6rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=B7LmlwjhyROxGu+ou1P/4GlA52VraI1gAuhKVajVWMw=; b=bIJtt2sD6UWga/udwT2VCo7a0rFYlBuai4cOJL3/kUdZPlqcyUl8jSkVgiopfeyIKo oFCmHmK62W/YwNQF6VqsWruNYAnZzNjnlUU6/Yd0LWZgUK7S8XmBZx0Bqir95Sj/casd 2lQ/uA2J2ojHFD5BTOCzLmqNc2DLC9tA1np9k9gMvE/9SExfzh36seLssg2VB4gYreD0 waAGizj0PNp1+Zc42WGzmXpilimUcR7q8wGgWc8kJERTE2KkaMBYyfub+0eN+wSuqyhj JOeeSKS9xvHWAYs9n1As3MTuLgdgK5udqA0nMXrk9s0sxx6geOAnPvfiz0bER9m3QYBf fFQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HHezWH7s; 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 nb1si9634963ejb.565.2020.07.19.22.49.35; Sun, 19 Jul 2020 22:49:57 -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=HHezWH7s; 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 S1726716AbgGTFt0 (ORCPT + 99 others); Mon, 20 Jul 2020 01:49:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbgGTFtZ (ORCPT ); Mon, 20 Jul 2020 01:49:25 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F54DC0619D2; Sun, 19 Jul 2020 22:49:25 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id 207so8505487pfu.3; Sun, 19 Jul 2020 22:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=B7LmlwjhyROxGu+ou1P/4GlA52VraI1gAuhKVajVWMw=; b=HHezWH7s44GjRZbiyvcinfZIpq2gDyPgY/X/U0OTsDyL7WGdonMs71Xt6Tcws68NLe YrLyUTxu2mlN6Veq/QmPMUUUdBXtGag91IFNgO+1cuKgfExnB5vT8+g2PxeG6K75LJWs VRryt1BTVsH5nETAaE6kl07Fv4cyIUaa8YHr7B/u2AiSsKCwfklJOncosV0oR5r3dUBH yD2yXyEwJTpUQ5djX3UE7jMpv1y5CDC/MbySjSfSgZIFamHn1Sf2jVCZ2S/v3ZQ9vHfO j4SiUKZVvEhNaKGs2wqNYem1u/expzMx73MhwP2+Sa3yJ6G2SDzt1SPDMw0CuVBlpF1u EKGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=B7LmlwjhyROxGu+ou1P/4GlA52VraI1gAuhKVajVWMw=; b=WG3+UHBQRyyJc16XQsGMWkmuEpkN+Hc7HztDhug3VQ2adzBZLi/wtWTBA0Gy2TcxoD 4b0DyRQ41AbBvItPmEgGgMzm6F1Lntf2RvIeVnyu0UoPzkGRP7xiKKxyyX6gxmU88uKx QnWYzocgjs535f9xLjTbJv+f9oB+CCaE90si7XRoBhGJHzgX8XtyZxj664ejIStwi89J 8vVDxvYNUhFDCpSMENTQauBWKoBI1iLpv41dq9m2wa+Pf9Wn9kBELyqovT9BSrVX3r6v N41nJfnDQKTTfiVuGivVb1f9zRakwwAMFtFG5BQlfrmMiydNUHy5e3IQPHp0G+jwf/0M c0FA== X-Gm-Message-State: AOAM530mHs4ly4mypbpdz8gX68Sokftg82KTI1hGlQHcH2WpUV+2rgSw BzKs9TaS9Qtvjl4fwvesgYFPRmCT5deAeQ== X-Received: by 2002:a62:31c7:: with SMTP id x190mr18825075pfx.100.1595224164759; Sun, 19 Jul 2020 22:49:24 -0700 (PDT) Received: from xiaomi.mioffice.cn ([209.9.72.214]) by smtp.gmail.com with ESMTPSA id i7sm13627833pgh.58.2020.07.19.22.49.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2020 22:49:24 -0700 (PDT) From: Qiwu Huang To: sre@kernel.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, jiangfei1@xiaomi.com, Qiwu Huang Subject: [PATCH v4 0/4] add some power supply properties about wireless/wired charging Date: Mon, 20 Jul 2020 13:47:13 +0800 Message-Id: X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Qiwu Huang quick_charge_type reports quick charge type based on charging power. tx_adapter shows wireless charging adapter type. signal_strength shows degree of coupling between tx and rx when wireless charging. reverse_chg_mode supply interface to enable/disable wireless reverse charging. Qiwu Huang (4): power: supply: core: add quick charge type property power: supply: core: add wireless charger adapter type property power: supply: core: add wireless signal strength property power: supply: core: property to control reverse charge Documentation/ABI/testing/sysfs-class-power | 71 +++++++++++++++++++++ drivers/power/supply/power_supply_sysfs.c | 4 ++ include/linux/power_supply.h | 31 +++++++++ 3 files changed, 106 insertions(+) -- 2.27.0