Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp840727imu; Fri, 21 Dec 2018 08:12:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN6bGeSKZ5yGQqvcdHVuk5QhupKDsUmfXLhMKWwBii2Dy/SGR9abIzsxjQqRjzp9Vdde6Hos X-Received: by 2002:a17:902:bf0c:: with SMTP id bi12mr3195967plb.0.1545408770826; Fri, 21 Dec 2018 08:12:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545408770; cv=none; d=google.com; s=arc-20160816; b=T94a2eaa7pYR5g+xA5WFs8c4oa9h3AQ8L3HMxp3lLZWI0n2Ncn1Mv25cG/f+ynFfL7 i5VptE/Av8wP7IudA58tIM7ZXLAZtycmLWD/Y70E7WTi5kGX0F9huaW3EkWq24bh12B0 m4UAb2jNHzEvD7menBHNDZrX16XqoIplj0VU1ydRfjh3A9CsU9dNxEvLJybwwiZWu94N 4pbQVP2WlA7PU6H2p2fNhbhLXp6yxxIfSoWs7NNHz/QCFHD6VYdqVPINWy+XwpGonzlH xra2ehco7Zf7lEOklVS0WNyzPfX4TMaJUPZqMLaYl083YhsfpUiCWts02xeKv8QKktDj l9HA== 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=YQamXTi8TKe69PR+OLukRfp4Ug/WtFDmzXseVj8IQ/U=; b=D97KTlXYT8ZGD4Tk2C4ZJM2bv9ak9sQ+x7a2YiV7ewQQtRbfa+9GORT6wrW1hgNi6v zxW1fF9zMuR8E4bIFmuQakB6lUefnB5BCIxwS47+xgOfGMVlrHdF3+/7z/y3jvtcs/Jb WNOdQOoXAUGw4THwOE/HlaP+8RQ5J57rBLW5CThcFlMlq+KV7M2o02SygY0pqJaPL4WG 0QZv0rMtmBQR8OQTKVrl65jx/tsyTju/T2LzD5OYqxkSEW3c2G7AuOq3ycae501CfmyF lY3U1QVDRgU+dOFBaco1Fz0oLs+Vm3jKFeB87OpLnzebS9fVRGg4guake+IvSrwp2VPT Suog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g0ILiDIv; 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 i64si20830072pge.361.2018.12.21.08.12.35; Fri, 21 Dec 2018 08:12:50 -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=g0ILiDIv; 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 S2388210AbeLUKNI (ORCPT + 99 others); Fri, 21 Dec 2018 05:13:08 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:35075 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731874AbeLUKNH (ORCPT ); Fri, 21 Dec 2018 05:13:07 -0500 Received: by mail-lf1-f67.google.com with SMTP id e26so3526103lfc.2 for ; Fri, 21 Dec 2018 02:13:06 -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=YQamXTi8TKe69PR+OLukRfp4Ug/WtFDmzXseVj8IQ/U=; b=g0ILiDIvj6BNBwfbU+3eSix+MwnTmuYguxHyVFbwu82lLlupKvdsw26I9t9lnEqOTD uagMIvZVlHEToSEuDhWwGypijntUOCpWsqCJaABImR/u/kc0A8dQk9KDbk6NsD15KYB2 TiX0rBmthcv0yyhnlXaYibRwtUB0oBjL3E8Yc= 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=YQamXTi8TKe69PR+OLukRfp4Ug/WtFDmzXseVj8IQ/U=; b=RxdXseM3b673XL7uEi5MklQSmi+9eXqVm4qZS2PnTVPvIEgEt+uQzVoXJ7uZ1SWyyH Ot4BebkpXzxJNfGlOd5X47DUV0F4VROmxWywU1Ll0vyQS0y2dpaO/ZjB3BvdTY4oHDOn eSiF7/jlQ0CZt0YpiP2J8rSjGvDt0icQPo31MYZtGwpzymdjHPiMyw7d9iAstMmkGd9r qbi3GW60Fj0A5xIS2gQ8fjTDQcC9KNylxoGJsigsfOtcPofhYJ/urQQrOHjkNlWL3JvS zecA8RRP03t8AB17kWXFr87XOiNYrm+eDPlafXEfVTDzkOvZRcDkRyaT9HvlwSbiVjry kCKQ== X-Gm-Message-State: AA+aEWaBdLi7CRuco3C7NIABuJjyy5ITXKopZYeoB1GqRW+UZTinnfPz 3HnW3yUYno/lKvCm6iwwHtB8zRoXFM5V6Fn+ajMjHg== X-Received: by 2002:a19:c801:: with SMTP id y1mr994764lff.53.1545387185727; Fri, 21 Dec 2018 02:13:05 -0800 (PST) MIME-Version: 1.0 References: <1541542052-10081-1-git-send-email-jacek.anaszewski@gmail.com> <1541542052-10081-5-git-send-email-jacek.anaszewski@gmail.com> <5bea0eb8.1c69fb81.6b921.80e6@mx.google.com> <0a0b176c-4eb4-4b0e-6c3c-b3c6c8f5fff5@gmail.com> <20181130210814.GA5756@amd> In-Reply-To: From: Linus Walleij Date: Fri, 21 Dec 2018 11:12:53 +0100 Message-ID: Subject: Re: [PATCH 04/24] dt-bindings: leds: Add function and color properties To: Rob Herring Cc: Jacek Anaszewski , Pavel Machek , Linux LED Subsystem , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , Baolin Wang , Daniel Mack , Dan Murphy , Oleh Kravchenko , Sakari Ailus , Simon Shields 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, Dec 11, 2018 at 6:27 PM Rob Herring wrote: > On Sat, Dec 1, 2018 at 3:17 PM Jacek Anaszewski > wrote: > > This is not true in case of associations where LED controller is > > an independent device, as in Pavel's example [0]. > > I'm not really following how the HDD example is different. The parent > of an LED would be the controller. The link to the led node would be > in the disk controller node. Though maybe if things get complicated > enough, we'd want to describe the drives or drive bays in DT. Not talking about this in specific, but I will need to add DT bindings for ATA master/slave, in order to add a temperature zone for each drive (one sensor in each drive) in my in-progress hwmon-over-SCSI-emulation-ATA-sensors such that: ata-controller { ata-master { }; ata-slave { }; }; I haven't looked closer at this topology yet, but we definatelt need nodes for each physical connector out of an ATA master, somehow, so they can act as a sensor/temperature zone. Yours, Linus Walleij