Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3314855img; Mon, 25 Mar 2019 07:55:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhBgoklraPSkdQaZHRzEgsHFfJprQd0q2w8G15AywmIDf75KoZQYh5b9x2M181obnNeBLu X-Received: by 2002:a62:6d04:: with SMTP id i4mr23978576pfc.214.1553525759327; Mon, 25 Mar 2019 07:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553525759; cv=none; d=google.com; s=arc-20160816; b=qoJJn8WfhEhshtxx9agxRITh7DBN7PQ4W4mNYv9y4K1y/I+7J66V2gG45vQjPccXC5 jFBRvE1ElmTfWSHy/e26vz0Iy5KNpj9/qDpPsl16j/+hRT818QKiqmWbacydxnAxe1Zr RKjizmLFBOUbH94wfNBx8k348Y9RJWRfVOwqlUlnzIhZbDDwNkiHw8khbhqwE72cneds g2ieAbDjfF2QR2+7ow5GhiapppJJwRORsxIoMO9xVIKiDaB/zgVDNRBv2YLVVmLCh9NE W7r0aU+rAaLl0Mdtkddxg13dizBD+7DfvI1coBwL4mOz3ZwR/fgtQu0gQLYFxRW1cpTv JLkg== 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; bh=q9wNNmrCT4NamDjBD4G5Rk3ZC//RCaZm58vBngKL42U=; b=Sfz4GvlTAX7EmH0RWxl2IFypGPfiAAUDjEkaWQRiylHD6ZGNIUg+y1L/8lLSeRq00x wBjuUR5Q/uJsUQZblgBlJUzNiCKHjxEUdfqRiZX/qq+535afbVZMwicZrLbQf6+PS0NZ jv40ERzao1rxdecTczKkUijwS/tNYV7fog2pJdBD6yoSP9q8X+2hcCVFS1ND29zkhIkg 4m1+DTScGdTsPbi+OQqZyqVOK/4zyPSOq9PQ2MtCJ9C2fGExBarwiaCDIcb69e7vTmNZ AryvR3fg9HpQd+NVzjJmsnY3SpO1sJ8bVp10LGpb7h8ZgWVMoMS1pwMA/a5PCkJaQCyU mnpw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si7701462pgh.356.2019.03.25.07.55.44; Mon, 25 Mar 2019 07:55:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729125AbfCYOys (ORCPT + 99 others); Mon, 25 Mar 2019 10:54:48 -0400 Received: from muru.com ([72.249.23.125]:42406 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfCYOys (ORCPT ); Mon, 25 Mar 2019 10:54:48 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 6076B80CC; Mon, 25 Mar 2019 14:55:01 +0000 (UTC) Date: Mon, 25 Mar 2019 07:54:44 -0700 From: Tony Lindgren To: Dan Murphy Cc: 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, Sebastian Reichel Subject: Re: [PATCH 4/4] leds: lm3532: Introduce the lm3532 LED driver Message-ID: <20190325145444.GK19425@atomide.com> References: <20190321142838.22985-1-dmurphy@ti.com> <20190321142838.22985-4-dmurphy@ti.com> <20190322221654.GG19425@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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? 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. The drm driver (drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c) just does: backlight = of_parse_phandle(node, "backlight", 0); ... That should still work the same, right? Regards, Tony [0] https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/log/?h=droid4-pending-v5.0