From patchwork Fri Jan 17 07:28:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 858167 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:cc8:b0:385:e875:8a9e with SMTP id dq8csp574344wrb; Thu, 16 Jan 2025 23:29:19 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVLCGyjZtnVNz+TDzGNiaTVVNAH7Wd625wNwm8w8VikAgA073lfBGGxXt1vvsvUfwcbfkcrXQ==@linaro.org X-Google-Smtp-Source: AGHT+IEthd/jGHnVsYbEQWobp9BVTsk45zXyokqjT2Gbeus/f+x33R124fkR/bBueK/rf0eaH10z X-Received: by 2002:a5d:64a1:0:b0:38b:d7c3:377e with SMTP id ffacd0b85a97d-38bf5ac6bc1mr1216564f8f.2.1737098959297; Thu, 16 Jan 2025 23:29:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737098959; cv=none; d=google.com; s=arc-20240605; b=ICM8UarEi1TIH0lcvgULBLr7Wcbu7osz+U6z3h+WVLhYcAtlKjoHa7ZAmBawBSRl3w aJ8qOhmWFZKIGG7fGL7HUE9VMd8IiM6IM2cCiGdCS26IOxJzLBTASn87CnuIl+C3QTHJ qdCzPggQcBuMV2c/Fd8XfZ5NsP/SYjV4TSorMQUFaNMatAO5UexJUxAPPnPh8J1Gd9gu q73/6ELV57pdYG0YHaCOJhcMcx7PZJowNKyZM9SOGsOd0AqoL7t/GY2Y+GyTf/HKM5OQ Utz8MO8xrjIMv1JmPNZaASJoBBhYmWmwrO6VpMnHP+TUDiPPMn2N9G5wMdM9ieEq2eNZ ATcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=a098rn07bafUQoOrOknghtO4PsdjdEX8zvztLuTzW4k=; fh=oSLfcTNNlQlePenMiHfTYvOb5g1U3D9AVu1nf8+z3vI=; b=XttGmZHEvmZ4FQwMI2BKWkzIyXCNb1BlyXvA1HBHHgpR/7c6VF1avez3vXAhhy6vm9 Khfd0PkuzmCDLxT8erl3FpjGekvlx4vce67vTJ4cBZaqDB/wqZnyGzV7RFu98rfxpb9e n9g+BC6WqgbT0VQznxEE1sTtWqk2r0KXRLXZCZzFVoEI47A+JPOwVnRh0ndWhjpkjTlK ePMn6dY8iqDK8IUA41A5t8Wiz68imdKZDJ2BrhtQ6OyEeZNqtv1BHOQsHoAAmMeG0O++ zzyaYuECIs9sVwMUq8zZdwEJSeSnooTR0NzMMn4mht/iih59fwjmF0WDjTMgT8jw2/AK MFIg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hxzE/vMl"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id ffacd0b85a97d-38bf3290f0bsi1177909f8f.678.2025.01.16.23.29.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 23:29:19 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hxzE/vMl"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2B1218073D; Fri, 17 Jan 2025 08:29:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="hxzE/vMl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2578D80713; Fri, 17 Jan 2025 08:29:09 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (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 19769806FB for ; Fri, 17 Jan 2025 08:29:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-ab2e308a99bso381565766b.1 for ; Thu, 16 Jan 2025 23:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737098946; x=1737703746; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=a098rn07bafUQoOrOknghtO4PsdjdEX8zvztLuTzW4k=; b=hxzE/vMlFKasSyI8qwBIeP2P80soDFZYj3RghW6nevLON9dRA/J+TNBG+PUvgEfdcy 1Q2EtsXfOdEPK29EvYd5HOmQOwCuVJ/v4LblUrgGQTq5lXo0doRlveMpDAUpNFJ7Smra zO9FJjKRAXYx4K3eLHLXnd+FRzOnZKeayA99j9YqlwJ5rJmS4P8vrYj6DR9aNBCn411p OupFTrleE6Kr5mNjm10QFtbeTzVsqV2RhfDOVtF/pT+Tvsrz2dnGdtw7T0W6JBQ0X+X5 C/Gc8DOfuLHDyGdTyenKDQVmTsQk5jqgjFNi7LKYI4gHzf2SFLdUOKNX+V4PhyyjJC7F D9ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737098946; x=1737703746; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a098rn07bafUQoOrOknghtO4PsdjdEX8zvztLuTzW4k=; b=OoYXTzQwpSzEIMNGn/32Wyl2Ewi/Zt+2H3ioBLFr+IeNKYUzsW1m/52J88Q4SGd+QE Fz8s0nxv7tR+SitfkrN45z1JfYuBBUadYHyKKn2KvDg7Ezc8iVs2zQLxfgSfa4q50xpP 5Gd92Yx4YdTCeND2RYAEeVnmF9F0+hSeJezrg5se/rfTgrk1g+W+snh9ZlSn8v0FakVc /0wllZ9r4+FNT/rRd+2sxswmUmYZWH02ekDCzoqd0qDgTwxatjWw5aHl+rflsN4vE1fo IDRhUBdznjJYd3iWSuxqKvlZ7Xliocmxg9Eqxcqui5opIUcI0Eaa4TfkX7JGGrP1NBKI 32Sw== X-Forwarded-Encrypted: i=1; AJvYcCXMzi7GUt/O35UnqoIVXBevpKBewc6cVhj2BvY9g2kz0cf9eJwEInFvJJoSiKJ/NpL5JQWxS58=@lists.denx.de X-Gm-Message-State: AOJu0Yx7bIVzp7S0w1cOY8q9RINs1CPgJW0Bo/6JJkAqSp0Ej/660K5l NGYG9J2DUGwF1lMhh8x4RQHRWKeGa4PcF6Q7wS01NhXUhjWDpVegy8v66t4lHSjMCCeMI1lEDWr x X-Gm-Gg: ASbGnctOKAbdJwL/u0CyVLOQweEcOer8+Ut69Vnjc7AG7vqUJffAjl6FmEriZxCU37O 2W+qtFkovJXqFcYt0JXZ2ossJiBujKp/+gNt0o/vM/WBJFzZgv7ru3C5dVMbLOghgNjYRhEXOGv 4nKXu4Cb5vywzKfjAG5ve21eC22VYG66U0yDFigQ6sv0LJGoJ7SNm5HJZNb6Ux6LXrc1Ejs50/H l84g/QUiZkItXHpxgU6L58v1hYiP+Ku2RtMoGQAnMa4IiwBYAtPa47zYQgUau2bMdh83x2Gl3w= X-Received: by 2002:a17:907:c22:b0:aab:f971:1f73 with SMTP id a640c23a62f3a-ab36e406aa8mr626069666b.22.1737098946459; Thu, 16 Jan 2025 23:29:06 -0800 (PST) Received: from lion.localdomain ([2a02:8109:888d:ff00:ca7f:54ff:fe52:4519]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384ce2105sm125404866b.67.2025.01.16.23.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 23:29:05 -0800 (PST) From: Caleb Connolly Date: Fri, 17 Jan 2025 08:28:56 +0100 Subject: [PATCH 1/2] dm: clarify DM_FLAG_PROBE_AFTER_BIND behaviour MIME-Version: 1.0 Message-Id: <20250117-clarify-probe-after-bind-v1-1-273f046ce5dd@linaro.org> References: <20250117-clarify-probe-after-bind-v1-0-273f046ce5dd@linaro.org> In-Reply-To: <20250117-clarify-probe-after-bind-v1-0-273f046ce5dd@linaro.org> To: Tom Rini , Simon Glass , Michal Simek , Stefan Roese Cc: Marek Vasut , Ilias Apalodimas , u-boot@lists.denx.de, Caleb Connolly X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=2522; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=fPoeRBee+3X5MiOwmL0n69Ri/ZQat0sWzHYgb6U7/74=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhvQutv2ZM5RPHNko9lA60j0pnMW4JubF26Prlr2zmMvSU Fmy2ONXRykLgyAHg6yYIov4iWWWTWsv22tsX3ABZg4rE8gQBi5OAZhIzkGGf9p7XPbueXGze23D 2TUf/i3bOzWl86BfxIrtfTuaq5+45nAy/C/RizXd4iXGPmnrq7L2Vdd3PlwUmnviCFPpkhuBoUX vlcoB X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 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.8 at phobos.denx.de X-Virus-Status: Clean The DM_FLAG_PROBE_AFTER_BIND flag only makes sense on a per-device basis, however recently added documentation as well as some confused drivers imply that it might be added to a driver definition, this does nothing. Clarify the new documentation and expand on the comment by the definition to point people in the right direction. Signed-off-by: Caleb Connolly --- Anecdotally, I've spent several hours being confused about this flag, this information would have helped me greatly. --- doc/develop/driver-model/design.rst | 6 ++++-- include/dm/device.h | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/develop/driver-model/design.rst b/doc/develop/driver-model/design.rst index 92f638a02047..30093737200c 100644 --- a/doc/develop/driver-model/design.rst +++ b/doc/develop/driver-model/design.rst @@ -842,10 +842,12 @@ steps (see device_probe()): cause the uclass to do some housekeeping to record the device as activated and 'known' by the uclass. For some platforms, certain devices must be probed to get the platform into -a working state. To help with this, drivers marked with DM_FLAG_PROBE_AFTER_BIND -will be probed immediately after all devices are bound. For now, this happens in +a working state. To help with this, devices marked with DM_FLAG_PROBE_AFTER_BIND +will be probed immediately after all devices are bound. This flag must be set +on the device in its ``bind()`` function with +``dev_or_flags(dev, DM_FLAG_PROBE_AFTER_BIND)``. For now, this happens in SPL, before relocation and after relocation. See the call to ``dm_autoprobe()`` for where this is done. The auto-probe feature is tricky because it bypasses the normal ordering of diff --git a/include/dm/device.h b/include/dm/device.h index add67f9ec06f..678cd83c2716 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -80,9 +80,12 @@ struct driver_info; * e.g. for clock, which need to be active during the device-removal phase. */ #define DM_FLAG_VITAL (1 << 14) -/* Device must be probed after it was bound */ +/* Device must be probed after it was bound. This flag is per-device and does + * nothing if set on a U_BOOT_DRIVER() definition. Apply it with + * dev_or_flags(dev, DM_FLAG_PROBE_AFTER_BIND) in the devices bind function. + */ #define DM_FLAG_PROBE_AFTER_BIND (1 << 15) /* * One or multiple of these flags are passed to device_remove() so that From patchwork Fri Jan 17 07:28:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 858168 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:cc8:b0:385:e875:8a9e with SMTP id dq8csp574364wrb; Thu, 16 Jan 2025 23:29:27 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWTyTIrm3GSGnu6Nj6zjIU9iem5pFyASFWJ0m+8A2Pu0uVPA3RMBKgjaFdJ/RBxk09CeVrqRw==@linaro.org X-Google-Smtp-Source: AGHT+IFujt04QwbTDhex8u7MpxC+HFp96phM+lhbmV4nz4xtkChJKxSTxp/Ddcbsod3pgXpHgxzX X-Received: by 2002:a05:6000:401f:b0:386:3711:ffa9 with SMTP id ffacd0b85a97d-38bec505c1dmr4995479f8f.16.1737098967103; Thu, 16 Jan 2025 23:29:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737098967; cv=none; d=google.com; s=arc-20240605; b=GPA/isD9XzFblhIkvlAcQubzGS33TvlCVSCgzqM1JWxKu0enr7krSQx12iGDERNV0c f3g1NlsfwJhp4Yu7sn587fEI/wJwSJjjnM4tJPQlNRCZeDTbJ+IcGAvtMc8csZ8sQZbP zvHkogD4GZCPZsh5vxfPE7JMEytoIuD6BP/DNBHUtAQAG8sPO8/87BQWzmElDglUtqCw +yak38pJLHs22ZBqLJUgIWh1RRv5jV1l3TCb/BQdQmQ9yAP2k8j0KIXQPWSl4eKfYUCl i35ihcv/2mfAi1GrrBiPCCbWVrtmMt39HC3SzmmO1R+VWAlCmf7n9tF7RJxVSCjz8Qcz kBEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=A8JhqKvn3JoNmWOIVPt2eit0Lp75NbFSn92T1l4YIp0=; fh=vzVCbUuTM6vvrP8rviJ/QS2Ik8CMa+CquYYICLb0G+s=; b=dyGNu6dv2Ngsta6mfDfLI9x019x3JE+lZTKV26c58MtCSO9ASpEXm2niLjKtOEfhUx uSIxnuvSqNXiyJGx3u2s/n3nD8iJ2CNexEZVZbNV6NHTSAM9hE93DhzP53naQTzOoB+g TX33kvVlQp9hk/1vIF9a2Y3cLhKkIOSw0sSBXEUobIfpz82PguWZAVMc02QbCuAxGskp obmYV8LGC8I308ayIz7azF1jNwAthIsL0Bfk2KhcrHOIqST6LtyPcrQ2HTqoNOmtCXgZ malkIyndn3gKperAkdS5BHR5bp9um38Ayy4bF1VVKhXaJ08lz659VYwJM4G/Q5hFKjFV vWZA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KJp7Cc/P"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id ffacd0b85a97d-38bf3283abbsi1172380f8f.439.2025.01.16.23.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 23:29:27 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KJp7Cc/P"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A32DD806D8; Fri, 17 Jan 2025 08:29:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="KJp7Cc/P"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 610A48074B; Fri, 17 Jan 2025 08:29:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (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 61C3F80312 for ; Fri, 17 Jan 2025 08:29:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-ab322ecd75dso325041366b.0 for ; Thu, 16 Jan 2025 23:29:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737098948; x=1737703748; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=A8JhqKvn3JoNmWOIVPt2eit0Lp75NbFSn92T1l4YIp0=; b=KJp7Cc/PjGbvUQKTrq393tEYjuvP0d+nZOBczB34GzM0x5rqPliVw4CkwdUTxlLZdj wPtQCZZRYzwql9bfUHcLU8lE5WJexdVWh7doMe8QS/8VkJ/j40MXtNRvt17qxKr3hxoy /BXE9p+ggyWtAi8vfnu8XcHXeI4UmY1crNd8jx9khs3BWJX19X3vLYgpys/3ZP7cLWL8 qnoADG865sK9gQ3wfT5UepQFrnf7Zwvy8qugEofURR1T6Z2sQZF1c/KrRKfyGoLgSNCT OnD3tsVo4U3fBr9of//lpfsnRNmLXuFAL62pTCCbq7hnx+aLNdwD0Of9ZzPFn3yiQipJ AUtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737098948; x=1737703748; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A8JhqKvn3JoNmWOIVPt2eit0Lp75NbFSn92T1l4YIp0=; b=U8vnBRzeGxu0xwwxtZYEhsuBfCCfjjQya2WIlH+q8dgrp4yOtpVE8qscnh9oUZN8wV Yfn46bpKV7xy95WN6NYZqNZwmxNGIVxw+qlmPhQthET2ng1GxQOVOWSkFID2whSZm0O+ 8NYzzN4+2+faX7noSj28VwKoYvI7iJXP9TTth8Fjs7DyS8N5gCyK6KzJnuvlMUKdW2Rh L7Xngw+Qz2a1U6wwCtyUNJ2naJKQqy6JWClB91ZmHthaoNkcFmfvrXHoY8ABrXYCXriE 0cBfrl0nN3d20EoBswpEdCgzKoYRMDuDJLVNcXoTCKSFaaPYZRAaNCBiUu+r4bUjy01S FPjw== X-Forwarded-Encrypted: i=1; AJvYcCV/u8InBX+TGsCmUeXFajHlEZGOJM67SHC59rKIP5NfCCOc8qizUWbHjMr6buyVWTQW1vDxNSk=@lists.denx.de X-Gm-Message-State: AOJu0Yw7TaUTgiv9+n6V56dPrwetl6XbfW6OK+pLy1LT/RJaGs3wwjOO ZYcdTsIIePIirtYSb/LYHGTmhxOaDg1uziaGIwPcR7iPhVTN891W2QVLkCt+OMQ= X-Gm-Gg: ASbGnctS2m+32YllOG9MaJH0R9cML6s2LJRaE5rB/MzwOR9rm/xyQG4TIvCrlyV2wqL eHJAJLZUiHSl8pfThmZRTmERTIOs0zFQsLvNcAMfqkk4pBx01bsikh/eAsf5Op2BhekWxD4UcLt B+OUD7GFk4MfMepSbT433ZbrNL+AidqK/VGU6JDKS/VVa/kMNOONL7yaCnBMlCUjWvZVbrjYI6L 4fXTDYsnPkq8PsjSgd21URzrxA38rwV4jge6jmxOpTM1eud+IkjEcJa8I+6xDmVfB17IgMurl0= X-Received: by 2002:a17:907:86a9:b0:ab3:2aaa:3804 with SMTP id a640c23a62f3a-ab38cd95643mr102351366b.27.1737098947809; Thu, 16 Jan 2025 23:29:07 -0800 (PST) Received: from lion.localdomain ([2a02:8109:888d:ff00:ca7f:54ff:fe52:4519]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384ce2105sm125404866b.67.2025.01.16.23.29.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 23:29:07 -0800 (PST) From: Caleb Connolly Date: Fri, 17 Jan 2025 08:28:57 +0100 Subject: [PATCH 2/2] drivers: remove bogus DM_FLAG_PROBE_AFTER_BIND flags MIME-Version: 1.0 Message-Id: <20250117-clarify-probe-after-bind-v1-2-273f046ce5dd@linaro.org> References: <20250117-clarify-probe-after-bind-v1-0-273f046ce5dd@linaro.org> In-Reply-To: <20250117-clarify-probe-after-bind-v1-0-273f046ce5dd@linaro.org> To: Tom Rini , Simon Glass , Michal Simek , Stefan Roese Cc: Marek Vasut , Ilias Apalodimas , u-boot@lists.denx.de, Caleb Connolly X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1107; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=/Gd7+VkPvg6RoR/+w/fhx48dROeAxase75ipX65snkg=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhvQutv0nDYpdJ81+cE730HLzxWsi7Jp1gi/8bXym+Hal9 f5NR/r8O0pZGAQ5GGTFFFnETyyzbFp72V5j+4ILMHNYmUCGMHBxCsBErhozMnR8qlYrjhNkmrAt 0pTDtMsl+O4nDWf/lD2lXO+Ea7jStzP8lZjqUCtqM0FL6Jz7htTKDf0TD99ekxGk95jZq+Hvnbf 5bwE= X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 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.8 at phobos.denx.de X-Virus-Status: Clean Some drivers set DM_FLAG_PROBE_AFTER_BIND, this does nothing since it's only every applied on a per-device basis. Remove the flags. Signed-off-by: Caleb Connolly --- drivers/mailbox/zynqmp-ipi.c | 1 - drivers/watchdog/da9063-wdt.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/mailbox/zynqmp-ipi.c b/drivers/mailbox/zynqmp-ipi.c index 713d93a200c4..851aa737c03e 100644 --- a/drivers/mailbox/zynqmp-ipi.c +++ b/drivers/mailbox/zynqmp-ipi.c @@ -269,6 +269,5 @@ U_BOOT_DRIVER(zynqmp_ipi) = { .name = "zynqmp_ipi", .id = UCLASS_NOP, .of_match = zynqmp_ipi_ids, .probe = zynqmp_ipi_probe, - .flags = DM_FLAG_PROBE_AFTER_BIND, }; diff --git a/drivers/watchdog/da9063-wdt.c b/drivers/watchdog/da9063-wdt.c index b7216b578630..ec9bc0330114 100644 --- a/drivers/watchdog/da9063-wdt.c +++ b/drivers/watchdog/da9063-wdt.c @@ -144,6 +144,5 @@ U_BOOT_DRIVER(da9063_wdt) = { .name = "da9063-wdt", .id = UCLASS_WDT, .of_match = da9063_wdt_ids, .ops = &da9063_wdt_ops, - .flags = DM_FLAG_PROBE_AFTER_BIND, };