From patchwork Sun Sep 29 15:54:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 1169013 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46h99364VTz9s4Y for ; Mon, 30 Sep 2019 01:55:17 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 03108C21F7E; Sun, 29 Sep 2019 15:55:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B0306C21CB6; Sun, 29 Sep 2019 15:55:02 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 373BDC21C51; Sun, 29 Sep 2019 15:55:01 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lists.denx.de (Postfix) with ESMTPS id EEC4BC21C2F for ; Sun, 29 Sep 2019 15:55:00 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46h98f6B3nz1rMYB; Sun, 29 Sep 2019 17:54:58 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46h98f4xRnz1qqkL; Sun, 29 Sep 2019 17:54:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id MEl7T_csNr30; Sun, 29 Sep 2019 17:54:57 +0200 (CEST) X-Auth-Info: vBSEDv/GBwPuq4gfuFqZPRa8djANxKEiNkMmc++2VGw= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 29 Sep 2019 17:54:57 +0200 (CEST) From: Lukasz Majewski To: u-boot@lists.denx.de, Tom Rini , Simon Glass Date: Sun, 29 Sep 2019 17:54:41 +0200 Message-Id: <20190929155441.24324-1-lukma@denx.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: Tien Fong Chee Subject: [U-Boot] [PATCH v2] spl: Introduce SPL_DM_GPIO Kconfig define X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This define indicates if DM_GPIO shall be supported in SPL. This allows proper operation of DM converted GPIO drivers in SPL, which use boards. Signed-off-by: Lukasz Majewski --- Changes in v2: - Add dependency on DM_GPIO common/spl/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index f467eca2be..e3df8efa7e 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -452,6 +452,12 @@ config SPL_DMA_SUPPORT the CPU moving the data. Enable this option to build the drivers in drivers/dma as part of an SPL build. +config SPL_DM_GPIO + bool "Support Driver Model GPIO drivers" + depends on SPL_GPIO_SUPPORT && DM_GPIO + help + Enable support for Driver Model based GPIO drivers in SPL. + config SPL_DRIVERS_MISC_SUPPORT bool "Support misc drivers" help