From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756356AbcJ1Jtv (ORCPT ); Fri, 28 Oct 2016 05:49:51 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:36560 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752535AbcJ1Jtu (ORCPT ); Fri, 28 Oct 2016 05:49:50 -0400 Subject: Re: [PATCH] ARM: davinci: Add full regulator constraints for non-DT boot To: , , References: <20161026194155.14304-1-ahaslam@baylibre.com> CC: , From: Sekhar Nori Message-ID: Date: Fri, 28 Oct 2016 15:18:33 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161026194155.14304-1-ahaslam@baylibre.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 27 October 2016 01:11 AM, ahaslam@baylibre.com wrote: > From: Axel Haslam > > The phy framework requests an optional "phy" regulator. If it does > not find one, it returns -EPROBE_DEFER. In the case of non-DT boot > for the omap138-lcdk board, this would prevent the usb11 phy to probe > correctly and ohci would not enumerate. > > By calling "regulator_has_full_constraints", An error would be returned > instead of DEFER for the regulator, and the probe of the phy driver can > continue normally without a regulator. > > Signed-off-by: Axel Haslam Applied to v4.10/soc branch. Thanks, Sekhar From mboxrd@z Thu Jan 1 00:00:00 1970 From: nsekhar@ti.com (Sekhar Nori) Date: Fri, 28 Oct 2016 15:18:33 +0530 Subject: [PATCH] ARM: davinci: Add full regulator constraints for non-DT boot In-Reply-To: <20161026194155.14304-1-ahaslam@baylibre.com> References: <20161026194155.14304-1-ahaslam@baylibre.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 27 October 2016 01:11 AM, ahaslam at baylibre.com wrote: > From: Axel Haslam > > The phy framework requests an optional "phy" regulator. If it does > not find one, it returns -EPROBE_DEFER. In the case of non-DT boot > for the omap138-lcdk board, this would prevent the usb11 phy to probe > correctly and ohci would not enumerate. > > By calling "regulator_has_full_constraints", An error would be returned > instead of DEFER for the regulator, and the probe of the phy driver can > continue normally without a regulator. > > Signed-off-by: Axel Haslam Applied to v4.10/soc branch. Thanks, Sekhar