From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B146DC4320A for ; Thu, 5 Aug 2021 08:14:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 935B1610A0 for ; Thu, 5 Aug 2021 08:14:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239289AbhHEIO1 (ORCPT ); Thu, 5 Aug 2021 04:14:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:39496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236074AbhHEIO0 (ORCPT ); Thu, 5 Aug 2021 04:14:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C25FB6104F; Thu, 5 Aug 2021 08:14:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628151252; bh=Q0YqDGXr1jIA+Z+GfTuSZpm4xXfEgayhYHZa/aAnD9c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B9PdUaN/YTIfDqmC4DBcIzv1hltyvUyX0EYoBWeTrxgjTcRgN0kuCQnckcp9ILFav bv1GNoxQTpenFFXYPftVajZ4KLnY78/IDxx4D1nVReHEgr0F2+jeroXqv1y9R+BW4j rRH6XpOiLsu006vhPWPkzEpGKsh4Patkkm6j7nWI= Date: Thu, 5 Aug 2021 10:14:09 +0200 From: Greg KH To: =?utf-8?B?5ZCnIeeOi+Wptw==?= Cc: sre@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, wangting11 Subject: Re: [PATCH v11 0/4] add some power supply properties about wireless/wired charging Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Thu, Aug 05, 2021 at 10:29:08AM +0800, 吧!王婷 wrote: > Hi Greg, > > A demo of “The usage of quick charge type property” is uploaded in > PATCH v11 1/4 drivers/power/supply/qcom_smbb.c. > > > The usage of the other three properties is about wireless charging.The > code of our driver can refer to the link below. > > POWER_SUPPLY_PROP_QUICK_CHARGE_TYPE: > https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/umi-q-oss/drivers/power/supply/qcom/qpnp-smb5.c#L1434 > > POWER_SUPPLY_PROP_REVERSE_CHG_MODE: > https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/umi-q-oss/drivers/power/supply/qcom/qpnp-smb5.c#L2572 > > POWER_SUPPLY_PROP_TX_ADAPTER: > https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/umi-q-oss/drivers/power/supply/qcom/qpnp-smb5.c#L2633 > > POWER_SUPPLY_PROP_SIGNAL_STRENGTH: > https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/umi-q-oss/drivers/power/supply/qcom/qpnp-smb5.c#L2609 Wonderful, please submit these drivers to be merged as part of this patch series and all should be good. Otherwise, please realize that we can not support out-of-tree drivers at all, that way lies madness and a kernel that we can never support well over time. thanks, greg k-h