Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3375736img; Mon, 25 Mar 2019 09:03:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2VT/3XJGNwTMZd3dJ6E8LwNdQ9qUskX5BLP5SsO2qMfyBtCQbVn1UfS270HKB0WGuo515 X-Received: by 2002:a63:ef07:: with SMTP id u7mr924016pgh.0.1553529810503; Mon, 25 Mar 2019 09:03:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553529810; cv=none; d=google.com; s=arc-20160816; b=bWfuXQJhrsMLl6UDcX28uZUR/jDVm0zRCLfjbqo4Jt+bdqn3Tk1ktkbHBLp1rD+lt7 DRSnrA/GkszPin3+NHzBZDyj0HflDXk8aMhNozpw/V2I38OLfrC7a1k4gG7zR4HoS3mW fqATLiSB4pOdZUQEwAIOwjeaJpYPBTewtm30K22TyuII2BnhnNmvcQGLGD3a82ZFA/WV 3wbY/tD97kUiy9BclrJZQ9uxJbeZWYxlKQ1L9PmBjuyy5xyb989DivbgL1r+b5hPgl+V Zpbr6qqCe0q38TRgZKz89U+legUju8ZJorzYSZfqLc+4jTphmhKUj7D5dapSIg6BVy1Z C3eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=dLWY9U2Mt/ftET03vad5ptuLfgz7sONrrt+6nTVma7Q=; b=W4B/x/UDEQ4WH4IyM3noEvCTWYtRVzkuPnKaBbMa+OuJradz75F1qe50OLKl/hYUzo 6pWQWfUMCg/ok1YyteGOBDW9uVCwOlzJFQI3p+GNwPSwykxiz2v4gzvM/IRk4fKN3FbK 1tLyK4tVpaWSsMLkjSPGvXHNeiaOM553h7KO6UBxx+d12Tn0BrgraupFQCQ5bikCu9zf kKPzszhhp7TlK+7a8cWfNregg/BXSpWRabrLbRVhyolSLFr5fJBFX3S+U2HFTrg+i324 /c0m1SEauAFOXMTj3H2tgSE9xmFUOdFx+FaZMXk26+t/pv1T/zFJbCBlBHWaUOTAcafz kPaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=V6zVTAzk; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u5si13760416pgi.162.2019.03.25.09.03.15; Mon, 25 Mar 2019 09:03:30 -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=@ti.com header.s=ti-com-17Q1 header.b=V6zVTAzk; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729680AbfCYQB4 (ORCPT + 99 others); Mon, 25 Mar 2019 12:01:56 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:52892 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728991AbfCYQBz (ORCPT ); Mon, 25 Mar 2019 12:01:55 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x2PG1lUm074837; Mon, 25 Mar 2019 11:01:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1553529707; bh=dLWY9U2Mt/ftET03vad5ptuLfgz7sONrrt+6nTVma7Q=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=V6zVTAzktasYDINk3ZEoEMMJ0bNCASAiCf2p3q/O60qaB8waUBrqgybLjW1jUTC8A PprQ7YoyfuEatT2aIbObPmzUtnSXhfzW6vpKNUx+XLok2YbMS8OJzxMDSrDuGab+Qx /ZHtR+1SIb2Tk9AFXjnpAFSP9BiKruOl4FJ9A2bc= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x2PG1lcv039500 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Mar 2019 11:01:47 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 25 Mar 2019 11:01:47 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1713.5 via Frontend Transport; Mon, 25 Mar 2019 11:01:47 -0500 Received: from [128.247.59.33] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x2PG1kii003231; Mon, 25 Mar 2019 11:01:46 -0500 Subject: Re: [PATCH 4/4] leds: lm3532: Introduce the lm3532 LED driver To: Tony Lindgren CC: , , , , , , , Sebastian Reichel References: <20190321142838.22985-1-dmurphy@ti.com> <20190321142838.22985-4-dmurphy@ti.com> <20190322221654.GG19425@atomide.com> <20190325145444.GK19425@atomide.com> From: Dan Murphy Message-ID: <044f67e7-e196-a5b9-728b-a7c5f283f56f@ti.com> Date: Mon, 25 Mar 2019 11:01:18 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: <20190325145444.GK19425@atomide.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > > 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? Yes it should still work the same. I did not change the node name. So the DRM driver should find the node. Dan > > Regards, > > Tony > > > [0] https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/log/?h=droid4-pending-v5.0 > -- ------------------ Dan Murphy