Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1189525ybb; Thu, 28 Mar 2019 22:38:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyn1xbrLdYHeyAGs14EEyaEbeFMwx61YlkdtDXRJ4EA6uxuBMpq/x+ImmiVbqprDllKsnG X-Received: by 2002:a17:902:2bc9:: with SMTP id l67mr46616249plb.102.1553837923898; Thu, 28 Mar 2019 22:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553837923; cv=none; d=google.com; s=arc-20160816; b=N51XjMC8mB255zS+XpuBTRI9zOPXwJxeVegXA9N3p6naz4Okb5fJy8y31JQN6GT+CE Njiu3Kkb49zBcMg3LOFpgevRMpao0WVtkd4+THiQCtk4DUfvCnHNgkACIbfVZUaoBXnv ER1sMWiZFI9IMcZq71M5ZIc+F8QaXQt0vUSovxZf3E/gd4/wmoEbzKCMw+HVtTgoYTER ZwAMp4SaL4wBNA2v8EtwXCbCFw3L+xCDUqlal6qAX4sZgo0gBHKOqs+qclGvkUzL6xem ey7MW1JHFkcq/8bpiGX1qKRVywI7DN7WbkxdC/J8F0Zo+VNp+6LEkSGycGp55ksMxm0i Je7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=75/BEDvMj0sgTthV87F60dynKtJgqT/KpDT+e9LTksU=; b=oyd5yvo64CjmoQVguS+QMfN0FYJWZfffcZctEwivAraZZAHrMZXZgvnhlQiObpjA+F AZTBBM3d0jkcWGPyP/BAYYoyinMHZzEAkKOrEz4yxHwusPBFyTzwwk7yDGXZq1nM2Qvt rwPeEg3aqfIra+FjyzjUbk3ig8yhQfEXWq3Yx/fsnp/mESealEmMLauX9HxZ60kdAYwg zQ5xneM3/s8IDbvUTzfAjim33iCEvag5rY2rEpPmaSJudvvMQjrs9z4PkPf2GlHqR0xM zyZ343GKm8li9Zkslvzu8Wnlr6hbkd0h/Om2BEBaDXVlgeJoJCa5qGPfy1ChzoAgTdeJ OMLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UQZVGFQs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si975336pfb.283.2019.03.28.22.38.27; Thu, 28 Mar 2019 22:38:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UQZVGFQs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728674AbfC2Fgd (ORCPT + 99 others); Fri, 29 Mar 2019 01:36:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:46394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728553AbfC2Fgc (ORCPT ); Fri, 29 Mar 2019 01:36:32 -0400 Received: from earth.universe (dyndsl-031-150-142-041.ewe-ip-backbone.de [31.150.142.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C12962173C; Fri, 29 Mar 2019 05:36:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553837791; bh=75/BEDvMj0sgTthV87F60dynKtJgqT/KpDT+e9LTksU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UQZVGFQsTNsQ5SxjYjB/oWVd8yXewFJDRyWQKG9iClpfih/sNNu5sxxDfWcoLwYqd 0Yylz/e9LZHCgRQ3fDnZg56nwurEwf0cqRgIc4pxgkSclWawF4OXsmNtz74vIVy9kv w+MPn5dIjFwE/kmxE3lCbOFx1ZMriduWfquRd7hI= Received: by earth.universe (Postfix, from userid 1000) id 639293C08D5; Thu, 28 Mar 2019 22:04:37 +0100 (CET) Date: Thu, 28 Mar 2019 22:04:37 +0100 From: Sebastian Reichel To: Dan Murphy Cc: Tony Lindgren , robh+dt@kernel.org, jacek.anaszewski@gmail.com, pavel@ucw.cz, lee.jones@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH 4/4] leds: lm3532: Introduce the lm3532 LED driver Message-ID: <20190328210437.tcojjqynggk72zo2@earth.universe> References: <20190321142838.22985-1-dmurphy@ti.com> <20190321142838.22985-4-dmurphy@ti.com> <20190322221654.GG19425@atomide.com> <20190325145444.GK19425@atomide.com> <044f67e7-e196-a5b9-728b-a7c5f283f56f@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ghrii74l7jnyggtc" Content-Disposition: inline In-Reply-To: <044f67e7-e196-a5b9-728b-a7c5f283f56f@ti.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ghrii74l7jnyggtc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Mar 25, 2019 at 11:01:18AM -0500, Dan Murphy wrote: > On 3/25/19 9:54 AM, Tony Lindgren wrote: > > * Dan Murphy [190325 12:36]: > >> On 3/22/19 5:16 PM, Tony Lindgren wrote: > >>> I can control the backlight brightness just fine via /sys, and > >>> backlight shows up as the trigger in /sys/class/leds/lm3532:backlight, > >>> but /sys/class/backlight is empty and looks like drm can't find it. > >>> > >>> Do I need to enable some additional driver(s) to get this to work > >>> with the drm driver? > >>> > >> > >> Can you dump or point to the defconfig? > >=20 > > This is just with the omap2plus_defconfig as in the droid4-pending-v5.0 > > test branch below [0]. That branch has Sebastian's drm patches. The > > branch also has the older ti-lmu patches that I reverted for testing > > before applying your new series and enabling it in .config. > >=20 > > The drm driver (drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c) just > > does: > >=20 > > backlight =3D of_parse_phandle(node, "backlight", 0); > > ... > >=20 > > That should still work the same, right? >=20 > Yes it should still work the same. > I did not change the node name. > So the DRM driver should find the node. This will not work, since the next line tries to get it as a backlight device, but it's an LED device instead: of_find_backlight_by_node(backlight); I suppose the backlight device could be instantiated on top of the LED device somehow. (sorry for slow responses; I'm quite busy right now) -- Sebastian --ghrii74l7jnyggtc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAlydNuIACgkQ2O7X88g7 +ppAog/9HDu2FtUIoAG8EpCXIUENPyp8q7H9suEpjKQ26n6wpdm1aeeAVUG/gUeT CqqE77qq4O+k5ENxVK69W5t+8JiERfxLDRKfau53s6tVJ212uEq+8jGvFMr3DPgV 1ZGb2cAo/L7bGk01X6y6YWDduDM1C7KiVPAdp/Ui1ZJsbmyPTzxVGqchj8zt7pIS aPVFvYOQsJ9Zx7661KBPS5+rYted2mJGhnRpLnTxJSJDtRYEq11V//FBkiap4o2p B01rAQ0M/733SfuctnuJsyEfCEbJsq5DW0Ailp7YYTTWzfYbBsZgY95IeCOSMJZ7 Y/8EN95Whe1izlV3tCKqqf3nnQImn5MWFMZL+fGoW18uXxYGIhufwSyfBTUpAvWa wVWI/+LFceoex6wsQU3h4MuJKqSwNA+NkLpN5WX1L/l/bgyDD6wpTMT4e/FcaXdC AI3x7+T5QZcD2KfaJ7uLUsLZcNv4OvMvGnt9IBO465e4EKqDGnWLcjf8ziIYcf+9 gQi1VLqKtUclWXHsZLfAfOJzSXF9QD9Q0dn1iWNEzccA/QRLmg+af18urNSQ19j+ AaE5cwXQK4chIWUVWtzKbkwBS9Z3mj3G71DnVhpR9V6Wwr6z2GZjidAY6mSUhAwu HZsslJMaTJaACoV7O/Vu4MRJ4i3m+dkGxhGXak1HHA7WBiyT0I4= =tXzm -----END PGP SIGNATURE----- --ghrii74l7jnyggtc--