Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1999713pxa; Mon, 24 Aug 2020 02:01:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyq05JkeL4OZTA47UprpjjFfT5A9o808e1YkHgYRT6tIYSGL4u9Z1IXz01QCpbxsjKDD/kp X-Received: by 2002:a17:906:2796:: with SMTP id j22mr4852153ejc.532.1598259702712; Mon, 24 Aug 2020 02:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598259702; cv=none; d=google.com; s=arc-20160816; b=vQ31C7ikF4wPvwTNg0bLmgJeMBErVS8EStk8CMFEXEmlcCjJ7EOyhsnuNiwOIc3I/7 onS0AwtBJNkCeXWKCIMnVcpg7m9+zURobU0TuYjzedpcl5TXobDpOu098RKh/LfKdXso NsecDwEHf0Bgaxh3H9rHuZUXZVSNpgjQoker5vHUCqxzyzOS3M9V9GKoGI5RvxV+T0lG Oex4VLON/xhpHXS4Uov8kD8o5CW6IPRTTrqMC4skG/6hITXdTdlrph2yOz39omh3+unw UhQf+TZt3Yp9+c/3x0K3IT3mzzj4Ul7Q69UJUOE14IysluoVqoGe2p5SfYHfgG8Ux2mJ XguA== 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=4yJJPO7E4+pDLT3ZEGYdZ6A187935sHYzJXk0g7Fiw4=; b=sc1q5dZ6EDrAoZ1cbmUFnWNHULwLnfphZiPkgl4BkN5UWKND9Qn0+dA0Go5cPWVkiz Yy4atO65uq1YJrrRcmJJ8+MdiHKuIuHgyZpDpZCt/EFtywSaVCQhXVT3bGCUnmW/mCVE vE+mf4GEHh63jIJHH+ucUDL5WLLRDhrpsb9DiaC0dU9XNMzVAnW3v9VdvX24PwK5gNLn 2K7U5hK66jLPiJC1zTFKchiOqqZcD3LVeW6QIg/BrZGSCeC3xv4csMC5iASdXnWmv4m5 HXBQHCeuyXX3NM81xwjPBwBSOpKpSoYLdrMMbljHw/HBR4UphhSpbjmBzbaWk5lA9ZS0 6a8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iQoFk1hE; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r28si4249421edb.118.2020.08.24.02.01.20; Mon, 24 Aug 2020 02:01:42 -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=iQoFk1hE; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730325AbgHXI6l (ORCPT + 99 others); Mon, 24 Aug 2020 04:58:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:46642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730771AbgHXI6V (ORCPT ); Mon, 24 Aug 2020 04:58:21 -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 29221204FD; Mon, 24 Aug 2020 08:58:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598259500; bh=MlJ44rehLSPaJUGChKnzLkZMd/wcW1D2ek38r9QI/p8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iQoFk1hEPIycH6uvZnb6VQY5N8y5Q4wF2KotBVBfTw4Ld3c4RRAawn3DrFWbwqdYn e6RCVfW7DOX61v//zMbh+8Mvel8hvYb1AvKy3bM7s/pVnlxnbF1BjUAXBomGMNiDAz f4DQsO2cphJ9wmNYH6WwxaGmlsz/IvbnyqXcZVoM= Date: Mon, 24 Aug 2020 10:57:16 +0200 From: Greg KH To: Qiwu Huang Cc: Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Qiwu Huang Subject: Re: [PATCH v8 1/4] power: supply: core: add quick charge type property Message-ID: <20200824085715.GB402243@kroah.com> References: <20200814060909.GD1409566@kroah.com> <20200818060707.GB1742213@kroah.com> <20200824074357.GB4133866@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 Mon, Aug 24, 2020 at 04:42:06PM +0800, Qiwu Huang wrote: > On Mon, Aug 24, 2020 at 3:43 PM Greg KH wrote: > > > > On Mon, Aug 24, 2020 at 08:54:56AM +0800, Qiwu Huang wrote: > > > On Tue, Aug 18, 2020 at 2:07 PM Greg KH wrote: > > > > > > > > On Tue, Aug 18, 2020 at 09:56:28AM +0800, Qiwu Huang wrote: > > > > > On Fri, Aug 14, 2020 at 2:09 PM Greg KH wrote: > > > > > > > > > > > > On Fri, Aug 14, 2020 at 11:46:54AM +0800, Qiwu Huang wrote: > > > > > > > From: Qiwu Huang > > > > > > > > > > > > > > Reports the kind of quick charge type based on > > > > > > > different adapter power. > > > > > > > > > > > > > > Signed-off-by: Qiwu Huang > > > > > > > --- > > > > > > > Documentation/ABI/testing/sysfs-class-power | 21 +++++++++ > > > > > > > drivers/power/supply/power_supply_sysfs.c | 1 + > > > > > > > drivers/power/supply/qcom_smbb.c | 51 +++++++++++++++++++++ > > > > > > > include/linux/power_supply.h | 14 ++++++ > > > > > > > 4 files changed, 87 insertions(+) > > > > > > > > > > > > You should also submit your driver that uses these new attributes at the > > > > > > same time. What happened to that request? Otherwise no one really > > > > > > knows how these are being used, or if they even are used by anyone. > > > > > > > > > > > > > > > > I don't think I can submit the whole driver because our drivers are > > > > > divided into three parts, the first part is in ADSP, the second part > > > > > is in kernel and the third part is in Android Hal.This is the second > > > > > part. > > > > > > > > WHat is "ADSP"? > > > > > > ADSP: advanced digital signal processor > > > > Ok, then just send the kernel driver. > > > > > > Just submit your kernel driver code, that's all we care about here. > > > > Userspace code is not anything we can do anything with :) > > > > > > If we ported the full driver, we would break the existing driver > > > structure because we would introduce more Qualcomm code. I think > > > that's an unreasonable change. > > > > That doesn't make much sense. You have a working driver for these apis, > > just submit it for inclusion, it should never break any existing > > drivers, otherwise your code wouldn't work either. > > We're an Android device, we're working on a Qualcomm based code, and > from the current code tree, the current code tree is missing the QTI > Charger code I don't know what that means, sorry. Just submit your driver, and any needed dependencies as well. There's no other way to evaluate this api addition without that, right? thanks, greg k-h