Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3099985pxa; Tue, 25 Aug 2020 11:23:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJbavAe3HzgusW0GD3qcsNyQnhVguD2kCW9RiFF50BEpZh7Nd1XkNTULrERMjehFyJ9mHk X-Received: by 2002:a05:6402:307a:: with SMTP id bs26mr7720615edb.142.1598379823242; Tue, 25 Aug 2020 11:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598379823; cv=none; d=google.com; s=arc-20160816; b=LPF6ZH/fEuOfdbp40zGqQgxZAWO9F93cyaDBfnPzgSbmopKdoyvmSFTRNh6/ly6C5i mwvnpe2XnsUGsdtIJQU3f8ttY+dyHFNsqX8vefpJdGjyc9/3SsBmT3M1RgsGYnldjG7c 4Zj8QSw2l7FzUzPY+gyQ3KsDrlMSnd8Nybm6afB37Nkc4aRTCHf9zx59Q++OpiunC8dD cyhocP5Hg2igF8hpICYkKY+7uPqIM1VlRf61Z31p7ogqrWJy0c6MceVHBb5FviHJCqf6 TbQTUi33eYCdMuBJ3qu1gVdqoL0CIN1rjP9yv3hvaEKXDeFeY8JIIqw2E5A/gA2Y8yUr Axrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=gPUOmnt+eQjsLjVKAacfw/p6l98ljfeLxfzmr5V17Po=; b=dILMluoRmMgWRw11VebAd0obUBbshBro42t/NH3IOR2J3zpuV9W/vGBLkzxrWDjE1g DVjCKXyb29idDNZMmL5tFxO/MUjbO8jQlE/WDUZq04RikqrZHKYTbLLRVUoVySDahnC/ NVC54lZT50S0HE3Omxkfz2zLbziMX9B4g/wtZ7uazJ9liZQ7vea9l2gV1KoaIZXrpfaH QGyPJAm4+M08mpW1a8v2AyZO5R6R/8KjSn8Prg/0P4PnOSY0S/rH6vKq5/vSdhyBiwx2 7wPPuRvvWuR9wng0nkYMe31ACiWUb19Zj8dYlwYLkSD4canzPg20TzUA6q/lb3wPpxKS xdrg== ARC-Authentication-Results: i=1; mx.google.com; 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 nl7si1239970ejb.263.2020.08.25.11.23.19; Tue, 25 Aug 2020 11:23:43 -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; 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 S1726610AbgHYSUA (ORCPT + 99 others); Tue, 25 Aug 2020 14:20:00 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:38626 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgHYST5 (ORCPT ); Tue, 25 Aug 2020 14:19:57 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id A673A1C0BB9; Tue, 25 Aug 2020 20:19:55 +0200 (CEST) Date: Tue, 25 Aug 2020 20:19:54 +0200 From: Pavel Machek To: Greg KH Cc: Qiwu Huang , 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: <20200825181954.GB989@bug> References: <20200814060909.GD1409566@kroah.com> <20200818060707.GB1742213@kroah.com> <20200824074357.GB4133866@kroah.com> <20200824085715.GB402243@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200824085715.GB402243@kroah.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > > > 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? Actually, there's a way to evaluate the API without the driver... if the API is pretty obviously unacceptable. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html