Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7786651imu; Thu, 15 Nov 2018 01:17:32 -0800 (PST) X-Google-Smtp-Source: AJdET5capAlvZFpwF993tCTVEHP6ZPx7gAQPMSeFSQ/rFCcuFdDIyULdHrwjGkelOz9GEK4BNQxT X-Received: by 2002:a63:4246:: with SMTP id p67mr5016099pga.335.1542273452878; Thu, 15 Nov 2018 01:17:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542273452; cv=none; d=google.com; s=arc-20160816; b=LrOGrf4n9ZPE+A3kFPXwsAsbcHMe3EliZ2Dc5ksX6byy6nizdPP5m5dJsYHePy0UYF J12ChYVNCI58HKRVNFP1JUipCxclphF7hHKr02rgOTzda5T4o5O5qM6ZPlqRSfZWIgYe jcI1Troh9hkglcRansPq9bV8nmjEhkOcqnNuemCB/nYgM7L1DUkgAtcF5z4w0iRlznhJ K7YsQ7jC6vGlZ5kS1adZb3znNwU29KaXyTz9NkewazZamwCinrKORExbBMpc0ccGx//7 76ItEhDb2xsxzrhmNvR2JYBSEUSNyARJU8tPsDemFGQkFqb23JMV/rKjTkksICXa3AL7 NI1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=56338LcQmSd/ZHWALKbq1+wmBV+o1Y/7vbWoULQH7NE=; b=g1vwujQ3ozKlevfLxXiKkb+WzLBdIzUOYuBYzz8BIUPZ57IKGZaA8stpcYfQPV3qsa dH+r5waKS8QHQMGZ0hdRc6maxmkzp7uH5c5a0sxdtIb8yVBIbtQjAGOLwfIxgK5M+o2F rHcdvxepqWQj6Zml8gdW1f+TLVaDU84Dx8ipFybOyD4Dpbr+Eu9zdzL9ek5C/3JxcxUT Bcd0GIDcdFivjDMPbzivDmZKmlaNWdXBf7LsUMkERvZeP2QFWODsA4uzUArfY5+BYQ/9 6CVwUuk0JRCVByrTrJJG9Xd4BfJGzBccOXNemlgBQyHHwBHD8VYrIHsS8r9sjYsUidzJ cxWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GEcL/CCX"; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id be7-v6si25437866plb.267.2018.11.15.01.17.18; Thu, 15 Nov 2018 01:17:32 -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; dkim=pass header.i=@linaro.org header.s=google header.b="GEcL/CCX"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387464AbeKOTXe (ORCPT + 99 others); Thu, 15 Nov 2018 14:23:34 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:36293 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729094AbeKOTXe (ORCPT ); Thu, 15 Nov 2018 14:23:34 -0500 Received: by mail-lf1-f66.google.com with SMTP id h192so13627506lfg.3 for ; Thu, 15 Nov 2018 01:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=56338LcQmSd/ZHWALKbq1+wmBV+o1Y/7vbWoULQH7NE=; b=GEcL/CCXG7p5Twz6Q5OWZsIvEu9t6EzLIMzA2Cxa8ORCmgqFFNWt7wKehVLtKVGTaQ U0lMoiO2UxsbmRvRazBb127BhK6EZ+TEc4+AZZg0GMUnTGjoJiDf39oiW55R/3BQqXz4 TvGJ4DQKNqAP7tAG65LiqK1BtfygzkcOCgyNU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=56338LcQmSd/ZHWALKbq1+wmBV+o1Y/7vbWoULQH7NE=; b=P9UputO2gFhQLbGqlt82WL9jhbxDNXWTT+gum6kzzccqTtNfwe7Oxhg+fA6dS4oQnb XPTedDHs+VHCJtW8UpZonM09v/Tmz1eDT0b5unK+cpKg4mVCE7/wykDfgGFj32j0YTDG 9con6HNMp3lInw+jyBiCSsGgDASSJAm0/R7jWxD+mz/rd1XWpsILbaPNqJE15MacQVuR 81iX4jdTh754kNJf11l6kfhKG4K9uAMItOyJErqksGYTA3gn9kGNYy279Xu3kotXQq0v YJ9ojgA9uKDd5NcbzCnAHolJOe4ddrrhZVtecEmzA3voQEaglHHNk8cQGYsBh7oa9w4w yhiQ== X-Gm-Message-State: AGRZ1gK683m5heu3XTINknkJ+gHdyXDJpYuAMl3mLMj9w7FQDwORrvLu QqiCp94iJZXeK3O5v/uwKXsyQgFuxjVjvolLJqmKAw== X-Received: by 2002:a19:f813:: with SMTP id a19mr2865477lff.67.1542273394324; Thu, 15 Nov 2018 01:16:34 -0800 (PST) MIME-Version: 1.0 References: <1541542052-10081-1-git-send-email-jacek.anaszewski@gmail.com> <1541542052-10081-4-git-send-email-jacek.anaszewski@gmail.com> In-Reply-To: <1541542052-10081-4-git-send-email-jacek.anaszewski@gmail.com> From: Linus Walleij Date: Thu, 15 Nov 2018 10:16:22 +0100 Message-ID: Subject: Re: [PATCH 03/24] leds: dt-bindings: Add LED_FUNCTION definitions To: Jacek Anaszewski Cc: linux-leds@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , Pavel Machek , Rob Herring , Baolin Wang , Daniel Mack , dmurphy@ti.com, Oleh Kravchenko , Sakari Ailus , simon@lineageos.org, xiaotong.lu@spreadtrum.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 6, 2018 at 11:07 PM Jacek Anaszewski wrote: > +#define LED_FUNCTION_DISK "disk" I recently added triggers for "disk-read" and "disk-write". This was because the D-Link DNS-313 does have dedicated LEDs for each usecase, and so does DIR-685. So I think you may need LED_FUNCTION_DISK_READ "disk-read" and LED_FUNCTION_DISK_WRITE "disk-write" to cover these cases. Yours, Linus Walleij