Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5915294imu; Tue, 13 Nov 2018 13:51:38 -0800 (PST) X-Google-Smtp-Source: AJdET5fLsVnsSAY0yZpx1Usbss+1LVOjUWVjjitMZR+1okaHFFC+fjuGCv0qP+L+TCGstROFzPD+ X-Received: by 2002:a62:7504:: with SMTP id q4mr6158880pfc.180.1542145898314; Tue, 13 Nov 2018 13:51:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542145898; cv=none; d=google.com; s=arc-20160816; b=cwlHI9s77pzjlVh6E7uIBM76Ce3Ju7zdyHJE67AdYgTZh8hE4JKGUATC9buVERCaJ6 Q4d1os0YzF7pYYmu9tj+w9NAlxx/9RvbYpv2wOKnQkEJ972v6NXsnSK/fHwvobPpvriK fEbM1/fL1EGDBeiMXeJse4BIsl+b6RJXE+nJ/DbUBLh/IV/rHAc5XwHzN6AAUWJRDRNi deDAjWJDGPyPOp1WgUrALhMzBgpzKUfCnLy1haRqxfsQ0jW2rewJWKpyvOhVuhzHi5Dl ZAs1sSHDjSyj3tPVabhfM/E5f282fPBNvGVRUnLpKLYiPopRcI2Wgrm1eMeaRg549Inp o9XA== 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=XPSMARH+PHto4N49fNct+pFucEQH49q7tp2/UqPQN58=; b=d08I4kgSVevJluR5nVmioYCHo+7EPWGMHRKmDICa4L2ZV1d/KTTDKmlJEVDfNINBO8 QD+dvoaeVNj+ID5nIzH9XOItVdFWxtk2hrk47cJPcHIawFbrwJS2ep+jy/Je/VV3HHCv oBaqGO4ocnGkZiuLXiZijOTs5f6VNgd2Q2Rq6/czUZKBmr5EyUJGyhwHMowra9TpDX2s 8606ZNMMe1IzRbaCFFzuVyMsi77DMxeFQ038MQY7kG2rAeiIKXaQ4FouWApYbd0OzFHL W7UFmcLzS5vwO+VPYCac7Xr2MB2BpLtyEbTYs/5jt9tRfyJIx/ezzf9JifwLjZsyRX2P fovA== 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 d19si2559199pfd.281.2018.11.13.13.51.23; Tue, 13 Nov 2018 13:51:38 -0800 (PST) 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 S1730782AbeKNHuv (ORCPT + 99 others); Wed, 14 Nov 2018 02:50:51 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:34076 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbeKNHuv (ORCPT ); Wed, 14 Nov 2018 02:50:51 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id C8E4580723; Tue, 13 Nov 2018 22:50:38 +0100 (CET) Date: Tue, 13 Nov 2018 22:50:40 +0100 From: Pavel Machek To: Geert Uytterhoeven Cc: Jacek Anaszewski , linux-leds@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Rob Herring , Baolin Wang , Daniel Mack , dmurphy@ti.com, Linus Walleij , oleg@kaa.org.ua, Sakari Ailus , simon@lineageos.org, xiaotong.lu@spreadtrum.com Subject: Re: [PATCH 02/24] leds: core: Add support for composing LED class device names Message-ID: <20181113215040.GA2235@amd> References: <20181111120234.GA28794@amd> <20181111201605.GA20160@amd> <57b77d4e-39a0-aaf2-5952-c2c25dc58593@gmail.com> <20181112103513.GB5695@amd> <662c02ba-455b-e2bf-a5e2-ae3933161894@gmail.com> <20181112190554.GA13959@amd> <20181112220616.GB11942@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2018-11-13 22:38:49, Geert Uytterhoeven wrote: > Hi Pavel, >=20 > On Mon, Nov 12, 2018 at 11:07 PM Pavel Machek wrote: > > Not really, I'm afraid. Hard drives have no red LEDs on them (and the > > LED would not be visible, anyway) so the "device" symlink in such case > > would point to some kind of i2c LED controller. >=20 > I've seen hard drives with LEDs on the PCB. Me too. > External USB enclosures with hard drives typically have LEDs, too. Yes, but typically neither are OS controlled. I'm thinking home NAS system; it may have per-disk LEDs and they'll probably be on some kind of dedicated LED controller. Anyway, my point is that "device that controls this LED" is often different from "device this LED is about". Regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlvrRzAACgkQMOfwapXb+vK3gwCfQZiQIfJVltzytk33zq1aIbwR ZiAAoKDyWVBNyG9TS9jhfQevyqvfWUHX =UwZm -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--