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 A9FF8C433F5 for ; Thu, 28 Apr 2022 19:43:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D490883EE6; Thu, 28 Apr 2022 21:43:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="L+Vr1mYP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B45FC83EC6; Thu, 28 Apr 2022 21:42:55 +0200 (CEST) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 0CD9D83EE2 for ; Thu, 28 Apr 2022 21:42:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82f.google.com with SMTP id ay11so4268353qtb.4 for ; Thu, 28 Apr 2022 12:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=B7xKbKOQmD0Fpx63fGLDrqQoSQnfrEkMUpPOiA/Uhw8=; b=L+Vr1mYPyLlLj+KW6kgyKxTeG+cQpl2l+AzliQGIfJwOiihUMk2t1+WGWr8tfFJyUb 6iy5Ivmd/qBRqGlPIbYKEmZMnONMEjGOxLklTb78JicbughgBCnq3FxqebD/LMt8F4eE GDn4AiWv68m3AsxDwujoZDPUi7RfAwfCUiVb8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=B7xKbKOQmD0Fpx63fGLDrqQoSQnfrEkMUpPOiA/Uhw8=; b=Qg3EswfhNG5aKn8SlOEu8fHePhVR8EHXhDG6mAdPVIjlTFsrxmHGVrmL7dHDqIJo9P 5hyQI/wCk9n7ZVNYX4xo4EHb3kJ8sbAtQDdyiejhFvaCIX351g//vhKHTamxAcUWHWJh CF32+2QfLUhZfKmK+w95m2EhT/TF3omBoXrfqVCbb/4hWejZnHC3Hq5/TZlIb79hZwja Yg4n/FrCxPjzBmf3lSGh3DAzYWwioqSjc7Dwtior5Ksz9/4JdrDI596WjOvgHegBrfwq /jW2x8YrclNxA5Nbh8bYqnmjdxa9iJAz4iwEOTaNe/B39Q6vJ9ibqQ6XbVMxynAaQ5Sq gLLA== X-Gm-Message-State: AOAM533xbgjeu0Fjq4D06MRiyU/oLKmzCo5oHSpF/0T8FXw3cbdVmHPJ 9AlqYY32/SCDrdsVgsN8QYE2UA== X-Google-Smtp-Source: ABdhPJy6JLkQSDUU8sfKBhmpOWIcmffnmYdtpZWox52NreMsFHtVtBS72D65OFIdQH+Sdt77oJaFLw== X-Received: by 2002:ac8:578d:0:b0:2f3:86c9:ee8d with SMTP id v13-20020ac8578d000000b002f386c9ee8dmr6178445qta.56.1651174970876; Thu, 28 Apr 2022 12:42:50 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-4500-41c8-9db8-25be-eadf.res6.spectrum.com. [2603:6081:7b01:4500:41c8:9db8:25be:eadf]) by smtp.gmail.com with ESMTPSA id w15-20020ae9e50f000000b0069fb1ce61a1sm385119qkf.116.2022.04.28.12.42.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 12:42:50 -0700 (PDT) Date: Thu, 28 Apr 2022 15:42:47 -0400 From: Tom Rini To: Marek Vasut Cc: u-boot@lists.denx.de, Patrice Chotard , Patrick Delaunay , Sean Anderson , Simon Glass , Steven Lawrance Subject: Re: [PATCH] led: gpio: Use NOP uclass driver for top-level node Message-ID: <20220428194247.GH1182808@bill-the-cat> References: <20220422133400.146649-1-marex@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k+G3HLlWI7eRTl+h" Content-Disposition: inline In-Reply-To: <20220422133400.146649-1-marex@denx.de> X-Clacks-Overhead: GNU Terry Pratchett 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 --k+G3HLlWI7eRTl+h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 22, 2022 at 03:34:00PM +0200, Marek Vasut wrote: > The top level DT node of gpio-leds is not a LED itself, bind NOP uclass > driver to it, and bind different LED uclass driver to its subnodes which > represent the actual LEDs. This simplifies the probe() implementation > and fixes the bogus top-level not-an-LED in 'led list' command output: >=20 > ``` > =3D> led list > led Error -121 <--- This is removed/fixed by this patch > green:user0 off > ``` >=20 > Signed-off-by: Marek Vasut > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Sean Anderson > Cc: Simon Glass > Cc: Steven Lawrance > Reviewed-by: Patrice Chotard > Tested-by: Patrice Chotard Applied to u-boot/master, thanks! --=20 Tom --k+G3HLlWI7eRTl+h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJq7jcACgkQFHw5/5Y0 tywJHAv/Q8kDvx82Lgvt4ahIViBOxjdwcE5kXry9FdAfiGd390Z+7/bVLcniyPFD vyUH1o72at42AMdJ5e5HUO1+GfIiFkw1AgHAR8DDhgU2ACXA57FID6qryrIMve+K 3RhBtvbyTMjGV+WZGolBu8vAz1DhzF6jgDsQHk5fx7wsOduVfYvKGHC4NSSxm2mT unUFIYODX2lR1SC5PuyHiTCEin+6wadtaD1kvr4aDt1fvrMGJQwqLfRS/IFGa8xz 8b9e+YiH9SRHU5gjoTRfIWhKRBEih5RFAAdPpSohFoiOwRNCJMCY40GoBAsKked1 7xIJu3vp/SmrQUW07AWx8Mn6njcZX3kv2qjw0vAcGDoX1CFATokogQYO4rTTksYZ NlpRl00yOWo9uZ2T7atOpxcEQDZWADMAwEIha7+X3TiXbQmfrDJvhM87O20UHYGQ MewjHoY3WWX2mjLRDVhudYrmfimVPxIv/gl9iHGwfygDE3HApNcuWsx9ELehgJg7 iGJZPFNv =YlgJ -----END PGP SIGNATURE----- --k+G3HLlWI7eRTl+h--