From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rhyland Klein Subject: Re: [PATCH 4/4] arm: tegra: Add power-supplies link between battery and charger Date: Wed, 12 Jun 2013 13:46:23 -0400 Message-ID: <51B8B3EF.40209@nvidia.com> References: <1370899602-22123-1-git-send-email-rklein@nvidia.com> <1370899602-22123-5-git-send-email-rklein@nvidia.com> <51B8B389.8010105@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51B8B389.8010105-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren 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 6/12/2013 1:44 PM, Stephen Warren wrote: > 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? > No, this alone shouldn't cause a problem. Patches 2 & 3 enable the support for using the power-supplies property in the charger and battery drivers. Without them, this property will just be ignored for now. --rhyland -- nvpublic