From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laxman Dewangan Subject: Re: [PATCH 4/4] regulator: fixed: Properly use input_supply parameter from device tree Date: Thu, 15 Nov 2012 14:11:59 -0500 Message-ID: <50A53E7F.6070705@nvidia.com> References: <1352991396-19589-1-git-send-email-rogerq@ti.com> <1352991396-19589-5-git-send-email-rogerq@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1352991396-19589-5-git-send-email-rogerq-l0cyMroinI0@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Roger Quadros Cc: "tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org" , "b-cousson-l0cyMroinI0@public.gmane.org" , "balbi-l0cyMroinI0@public.gmane.org" , "keshava_mgowda-l0cyMroinI0@public.gmane.org" , "linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Mark Brown List-Id: linux-omap@vger.kernel.org On 11/15/2012 09:56 AM, Roger Quadros wrote: > The device tree node will provide the input supply name as > a string. Use that to populate the supply_name parameter of > the regulator descriptor. > > Also correct the documentation to reflect the same. > > Signed-off-by: Roger Quadros > CC: Laxman Dewangan > CC: Mark Brown > --- > regulator-boot-on; > gpio-open-drain; > - vin-supply = <&parent_reg>; > + vin-supply = "input-supply-name"; This is not correct as per the regulator binding. It says - -supply: phandle to the parent supply/regulator node So we need to pass the phandle rather than string. Just for curiosity, why do you want this change? What is the issue are you facing. This change will creates regression on many platform. ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html