Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2971223ybz; Mon, 27 Apr 2020 07:48:58 -0700 (PDT) X-Google-Smtp-Source: APiQypJUcANkAlB9GmwIAFwyMRczZaoQcRM/LFeNuElM1V+C17GZrR9WPEA2TvvL+aQpH3P74+Ec X-Received: by 2002:a05:6402:887:: with SMTP id e7mr6710744edy.178.1587998938142; Mon, 27 Apr 2020 07:48:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587998938; cv=none; d=google.com; s=arc-20160816; b=JMmAeNMuWduzK+rzNaecdw+4KF59xovORyVM3jWfHyM1oS999cElrOp4JAnUcgRJAN 1TywIuuhqcDa/8HC7lX5WwVLddMlkYZqJgYiFui3U8ieUU9eeoRH5C73HtxyQGsMt4xM rGZWf7irfzLQu+ToK4+6xj+escQi3PXR2dCasCSZ6Yr5eNm7XxfsR43+gjBPfHddInMB B3ryuzeD/g5GQRAlnDCQdUM4EXREpQcOMGjEeNsaGlB44FTBQJS2MCWXiNZpjQnnL3hG x5sU5DiTyiCYkQn4pLWQT35lz7fT+VCcXSFZhTs1lJQLCj2imujlvgCSbyfs6xsBBTtT UMPA== 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=N09OqcOMRZoDfhhdI/7NGvxVNnCVvkoFQ9RA63agmEk=; b=QQ+CIVmPP43Xbut0UsXoMsGSQUIBvHcAIqVd7Seu65Fx0ms133Yf1KRCuo0QgDncSY IWl+NVWpp3WQJzLCWEgbQCFJFKTR4JpFruEo6N5T29H52WgwA25qWlZj2e5w9iDVZtLm DEAG0pmHpq/HnSPl3yDnlUa08fWuDKjLMs5P9zF/fr03BCtROktnAoysEbxTAYO7/eiL mCevyljf9dc03fkJVvjrwbWO1nQ0Z9vqyJnHonMwzK0aqzkrEGRiUVwwMq6SdwsOSMOE EPBmxTC0Ya4dyv3MpCRSgEQJehsdMlo6AdCGUAsAa1y600d0FZizxGgPZSbM3df8NvCK AR/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=a4HIWd9Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x24si8231487edr.432.2020.04.27.07.48.33; Mon, 27 Apr 2020 07:48:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=a4HIWd9Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728098AbgD0Opt (ORCPT + 99 others); Mon, 27 Apr 2020 10:45:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:57120 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727881AbgD0Opt (ORCPT ); Mon, 27 Apr 2020 10:45:49 -0400 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6BCA020735; Mon, 27 Apr 2020 14:45:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587998748; bh=hzyH6N5EnDxhPKQQ5UvUR/8HV/kEX+gyqgaSd5fYiJM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=a4HIWd9Qbyw7ELAfzbc7ggl1+0Nc3Xu00nmH0hlJk/DLP4Cs5Z6yM+hcMt0Nqk10z HStRqb76tx7vxWgQ88hK9ixXDfH9VNt4fIMsLVQ9HT60o5QNA8yP0b6QlFWDOJo+94 HodFiwyK0j8+v/OLPGEvGRcFcpOvAVTJz/mtj868= Received: by mail-lj1-f180.google.com with SMTP id g4so17885715ljl.2; Mon, 27 Apr 2020 07:45:48 -0700 (PDT) X-Gm-Message-State: AGi0PubfHRjBE7ADB1goN1C6B9t76ezfXB+is3IECePQEJQJvSphZN8/ zzmfcNOBSgZsAk2YBVwBuv13yIL5ekj9HLZFpEQ= X-Received: by 2002:a2e:2a82:: with SMTP id q124mr15173172ljq.155.1587998746563; Mon, 27 Apr 2020 07:45:46 -0700 (PDT) MIME-Version: 1.0 References: <20200427073132.29997-3-wens@kernel.org> <684132b8-4a84-8295-474b-38ccb992bba7@gmail.com> <65d15254-08da-895c-1a0c-ef6ce231b620@gmail.com> <74a984fc-ce57-211b-936c-2d77e2e642bb@gmail.com> In-Reply-To: From: Chen-Yu Tsai Date: Mon, 27 Apr 2020 22:45:34 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/3] arm64: dts: rockchip: rk3399-roc-pc: Fix MMC numbering for LED triggers To: Johan Jonker Cc: Chen-Yu Tsai , devicetree , dmurphy@ti.com, =?UTF-8?Q?Heiko_St=C3=BCbner?= , jacek.anaszewski@gmail.com, linux-arm-kernel , linux-kernel , linux-leds@vger.kernel.org, "open list:ARM/Rockchip SoC..." , Pavel Machek , Rob Herring 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 Mon, Apr 27, 2020 at 10:12 PM Johan Jonker wrote: > > Hi, > > >> So for fixing up the LED node names, we'd probably want the following: > >> > >> diy_led: led-0 > >> yellow_led: led-1 > >> work_led: led-2 > > Change proposal for led nodes to comply with preexisting dts. > Does this work? > > diy_led: led_0: led-0 > yellow_led: led_1: led-1 > work_led: led_2: led-2 > > > blue: led_0: led-0 > > A check does not give any warnings. > > make -k ARCH=arm dtbs_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/leds/leds-gpio.yaml IMO the led_N labels are kind of useless... they don't convey the information needed to identify the device. A reader seeing &led_0 { linux,default_triggger = "activity"; }; in some device tree (overlay) has no idea what this snippet is supposed to do. The person has to go back to the base dts / dtsi file to figure that out. But seriously, you should start a separate thread to discuss this issue. ChenYu > > > > That doesn't look pretty either. > > Would like to hear the maintainers view on how to handle other cases > > without 'led' like for example 'blue' for mk808. > >