From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH 4/4] arm: tegra: Add power-supplies link between battery and charger Date: Wed, 12 Jun 2013 11:44:41 -0600 Message-ID: <51B8B389.8010105@wwwdotorg.org> References: <1370899602-22123-1-git-send-email-rklein@nvidia.com> <1370899602-22123-5-git-send-email-rklein@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1370899602-22123-5-git-send-email-rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rhyland Klein Cc: Anton Vorontsov , linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-tegra@vger.kernel.org On 06/10/2013 03:26 PM, Rhyland Klein wrote: > The power supply core now supports detecting linkages between batteries > and chargers through the use of the power-supplies property. Adding > this to the battery, the core will use the phandle list to find > the associated charger and pair them up. This facilitates notifications > from the charger to the battery when ac power is dissconnected > or connected for instance. Rhyland, if I apply this patch without patches 1-3 being in the same branch, will it cause any bugs? If so, I guess 1-3 should go through the drivers/power maintainer for 3.11, and I should defer this patch to 3.12? From mboxrd@z Thu Jan 1 00:00:00 1970 From: swarren@wwwdotorg.org (Stephen Warren) Date: Wed, 12 Jun 2013 11:44:41 -0600 Subject: [PATCH 4/4] arm: tegra: Add power-supplies link between battery and charger In-Reply-To: <1370899602-22123-5-git-send-email-rklein@nvidia.com> References: <1370899602-22123-1-git-send-email-rklein@nvidia.com> <1370899602-22123-5-git-send-email-rklein@nvidia.com> Message-ID: <51B8B389.8010105@wwwdotorg.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 06/10/2013 03:26 PM, Rhyland Klein wrote: > The power supply core now supports detecting linkages between batteries > and chargers through the use of the power-supplies property. Adding > this to the battery, the core will use the phandle list to find > the associated charger and pair them up. This facilitates notifications > from the charger to the battery when ac power is dissconnected > or connected for instance. Rhyland, if I apply this patch without patches 1-3 being in the same branch, will it cause any bugs? If so, I guess 1-3 should go through the drivers/power maintainer for 3.11, and I should defer this patch to 3.12? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757491Ab3FLRop (ORCPT ); Wed, 12 Jun 2013 13:44:45 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:45114 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754884Ab3FLRon (ORCPT ); Wed, 12 Jun 2013 13:44:43 -0400 Message-ID: <51B8B389.8010105@wwwdotorg.org> Date: Wed, 12 Jun 2013 11:44:41 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Rhyland Klein CC: Anton Vorontsov , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 4/4] arm: tegra: Add power-supplies link between battery and charger References: <1370899602-22123-1-git-send-email-rklein@nvidia.com> <1370899602-22123-5-git-send-email-rklein@nvidia.com> In-Reply-To: <1370899602-22123-5-git-send-email-rklein@nvidia.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/10/2013 03:26 PM, Rhyland Klein wrote: > The power supply core now supports detecting linkages between batteries > and chargers through the use of the power-supplies property. Adding > this to the battery, the core will use the phandle list to find > the associated charger and pair them up. This facilitates notifications > from the charger to the battery when ac power is dissconnected > or connected for instance. Rhyland, if I apply this patch without patches 1-3 being in the same branch, will it cause any bugs? If so, I guess 1-3 should go through the drivers/power maintainer for 3.11, and I should defer this patch to 3.12?