Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 00CD6C433F5 for ; Fri, 22 Apr 2022 13:49:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ACBAE80FEC; Fri, 22 Apr 2022 15:49:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Q7tXOauk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CF0D383D8A; Fri, 22 Apr 2022 15:49:20 +0200 (CEST) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 331A28209D for ; Fri, 22 Apr 2022 15:49:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qk1-x72c.google.com with SMTP id y129so5815780qkb.2 for ; Fri, 22 Apr 2022 06:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=TPYpUSX60u9qtQ/hxES+sHO5KrccLcKF7ZDJ+RX1haI=; b=Q7tXOaukCZJPCsnGWDJJkib+hxBZQMXQY1sCGcpddk9/YkNWRtE8vsQ5msykgsrAta m2w3iir2YWg2QkaMhX7CU+/wP/Ol8basiwVofnpqYslwyY2uFpjNotuigUb9Ruf5kAUj W2eXEWsHRAWJro1W25uvlTLYGVOqnnjFgsgz3w7rT+zbFTX5SwBWJ31exEylq57HvpTP hDwNJMseRFMusKre7qov3nbbUg/SMeksxxjlC2UswY+aVV1hgIno9DwIN/f9l4BN1moB iDZRXkdvryDxL7/E2NGoYm5SR2LyIuIbRsbhkPK5UmoWLQZMUAIhibAFdBnHiQKCGpem Q3dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TPYpUSX60u9qtQ/hxES+sHO5KrccLcKF7ZDJ+RX1haI=; b=LkPcTesoqmFPk9rwU3T0ImU9oA4JzqAhdevZHz5XjVWFmb0cgPiOwfLSUHi91s5xlS CJBMqJP3jbaP8k3B9AvKWtj3I9Q6lntA9itFr1qviPJ829cU5l6ZUgvInLDcbMFW6w2F C4V14RdFLWOuplX79V6hURJYfCq3SnB+C95zFp5E2YVolVQEKn0aDaXc30tnXpTTIFgJ wBTcLAUjFgYYQ2hXivcwm4uF01SVZcLcf3u+ip9xqwPXQmKW5Gva8NnnDPI2wlnE2QhD hk4ISQO0ErKdpjBS9CwjcsmBAhnuCSsGrZwB4AADxNBJNyEb0LsqzEFWzrL7Vlql616v BZoA== X-Gm-Message-State: AOAM532uIq9XGttn2N9ccFTSP7x1t2LNGSf1pzRvtegjQQkw0K3dNIIm NxWs50tsuo4EFYbKPWc64sY= X-Google-Smtp-Source: ABdhPJxsgXBHOOcLPOCJmHQccHeEPGkF6x1/FGOKc0EiUVsHTT7ofZlwNg2hHmAAPtw3pNOyM9NR5A== X-Received: by 2002:a05:620a:e8a:b0:69c:1f96:b247 with SMTP id w10-20020a05620a0e8a00b0069c1f96b247mr2685858qkm.234.1650635356989; Fri, 22 Apr 2022 06:49:16 -0700 (PDT) Received: from [192.168.1.201] (pool-108-18-137-133.washdc.fios.verizon.net. [108.18.137.133]) by smtp.googlemail.com with ESMTPSA id q9-20020a05622a04c900b002f357a420dfsm1248310qtx.16.2022.04.22.06.49.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Apr 2022 06:49:16 -0700 (PDT) Subject: Re: [PATCH 1/3] dm: core: Add DM_FLAG_PROBE_AFTER_BIND flag To: Marek Vasut , u-boot@lists.denx.de Cc: Patrice Chotard , Patrick Delaunay , Simon Glass , Steven Lawrance References: <20220422131555.123598-1-marex@denx.de> From: Sean Anderson Message-ID: Date: Fri, 22 Apr 2022 09:49:15 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20220422131555.123598-1-marex@denx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On 4/22/22 9:15 AM, Marek Vasut wrote: > Introduce DM_FLAG_PROBE_AFTER_BIND flag, which can be set by driver or > uclass in .bind(), to indicate such driver instance should be probe()d > once binding of all devices is complete. > > This is useful in case the driver determines that hardware initialization > is mandatory on boot, and such initialization happens only in probe(). > This also solves the inability to call device_probe() from .bind(). So why not add an init_leds function to init_sequence_r? --Sean