From patchwork Fri Jun 7 09:02:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10981093 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0270692A for ; Fri, 7 Jun 2019 09:02:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3AC128A92 for ; Fri, 7 Jun 2019 09:02:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D798428AAF; Fri, 7 Jun 2019 09:02:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4EB8528A92 for ; Fri, 7 Jun 2019 09:02:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=f4jyPI5M/pTiPq8f9YttDzINQkJaxoniKQh1HYfNz0A=; b=Q4Vc/UcVwOwNhi l+n5ZMxP1P28Ku/XjcjrAAOErtAxgDLTN+B8ha2Rfw9sNwT1EpGr43afqbNiYR+3Ftx07reQel3p7 92kTQULHmWZeXTZj4IKRW3zpF86X/6OBSdmImOf3MUm6eMRTi88xztxp6CD4ItGKMycy6ySfO9Sf5 BIGpTfwZqTZiljwBasTJEMf7VUWSGvtW31pyuL8/N1EP+Vc0w+ZcS5dso4D8h47wvXUmB6zEnmwsK 4S8XYO1iIUb8VcCLGCNiYjcgh7ODxjsUCMWxieNQ/40Kl8f29DiRcM0v+MG5qG/sLLWtopnULdHId L2LACF72kot04S+81swQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hZAlM-0004hJ-KT; Fri, 07 Jun 2019 09:02:16 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hZAlH-0004gt-Py for linux-arm-kernel@lists.infradead.org; Fri, 07 Jun 2019 09:02:13 +0000 Received: by mail-wr1-x442.google.com with SMTP id x4so1333770wrt.6 for ; Fri, 07 Jun 2019 02:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=D/xgR5j9++o/IJFaras/pmlOomePQdSslom82YUYeMA=; b=LGNaJv5PZkTpfOgsh2GlidgQ+SwvbmP2ki//SLuYiaD8SMqxB+yTnXeFR0P+/Z+err Aj3Ie4TJCW/CDIc/G9b6lEMG4S1yEO9M7y9OxEPT+n+DAAeC3PoZm6nMJk/WSbphkUGE pe88nwmO5d+ZD80k1sbbEJy9ULn/qUQOz6CEo6lpciXWWiN2yzczXUzAon3btnYxhtsm YIJPeGDylXB7SQyg+TZwvLaZvCTLkf/KNFy35TUISW5oIP6TnCrOoU3pNvmOQC09/zRX I2dc8ovK1QBCSbbClg3+bgt4iDAprAXF54kC8uYvJs49pabKoVszun2PCBxFx+/iyLaW H/4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=D/xgR5j9++o/IJFaras/pmlOomePQdSslom82YUYeMA=; b=lG9+hKz4qJAUu/9H89iXQ6v/Ox5GysTisBQHjgf5ZcSDlGAXnON5dEgzC/eLBPvGhT REHoDP4gWxeR1Qe3q8nikyWaHajrrBk5YXGrSi/yg4HA3voGvW6MGUN4jfAmjd3xKwx7 zPZ2A0jJABzOXQLt6VR6sht5vCrvazw7FbXYkVCRSulzUD13ErCgEr8FOfy9f8D5QL3/ wC021YtRXXEfWOinYpZg6KZFjh5soQnOYNfi6fvCQEbuVO4W5J2DcryeSwdUKqr7w57d DsVUQNPsVeV5pT3h/PywnczZ5q2Na4/6wZkqc5ELNW9/xRTo8Hz/FEQqi0ETnNSCMXsL qdqA== X-Gm-Message-State: APjAAAWR/NZ/DKJj++eQt2kaNaA1cEj+yENZq/Dwp6TFGEky2gR3397R B4G/QvPkExblhX4/9bWCgbjhqQ== X-Google-Smtp-Source: APXvYqxWxNSKoYoMGfHNmDh2K2l4SWVxASc8qfOvlvmrxrXJSe6LTdHa1sZFO8sV6S7XdvJQD713NQ== X-Received: by 2002:adf:83c5:: with SMTP id 63mr20099906wre.33.1559898129860; Fri, 07 Jun 2019 02:02:09 -0700 (PDT) Received: from localhost.localdomain (amontpellier-652-1-281-69.w109-210.abo.wanadoo.fr. [109.210.96.69]) by smtp.gmail.com with ESMTPSA id a125sm1487444wmf.42.2019.06.07.02.02.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Jun 2019 02:02:09 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , David Lechner , Linus Walleij Subject: [PATCH] ARM: davinci: da850-evm: call regulator_has_full_constraints() Date: Fri, 7 Jun 2019 11:02:01 +0200 Message-Id: <20190607090201.5995-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190607_020211_984403_7DD2902D X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bartosz Golaszewski The BB expander at 0x21 i2c bus 1 fails to probe on da850-evm because the board doesn't set has_full_constraints to true in the regulator API. Call regulator_has_full_constraints() at the end of board registration just like we do in da850-lcdk and da830-evm. Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij --- arch/arm/mach-davinci/board-da850-evm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 4ee65a8a3b80..31ae3be5741d 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -1480,6 +1480,8 @@ static __init void da850_evm_init(void) if (ret) pr_warn("%s: dsp/rproc registration failed: %d\n", __func__, ret); + + regulator_has_full_constraints(); } #ifdef CONFIG_SERIAL_8250_CONSOLE