Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2251849ybk; Mon, 11 May 2020 16:15:09 -0700 (PDT) X-Google-Smtp-Source: APiQypLcLMfHbiRGqwzAxtShKCUZUethODhEoOeQSGnFg3hWOF3zpmcdMa7TAv35t7b8B7dAt3dW X-Received: by 2002:a17:906:2ad4:: with SMTP id m20mr15919285eje.324.1589238908918; Mon, 11 May 2020 16:15:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589238908; cv=none; d=google.com; s=arc-20160816; b=sT3TzV4dPIOmiLdm7hEj1FD7XCqQ2xfgAxmX/aJhk6GZKGEHX+IOzM+STWLQ8rQUAW L7e4VmXhR3/iwQxz6a6QRjIXJ+/gT3ZXQwh0I89FyGy+EaLHPSHdY7VMLqcU1Iw1VYoN vPE4+XWx0cdmZqAe0LWC0LyzD4nG2MJ4sWOS/LJ0ONSGwmA0aDCUst4idS55lyD6YxvG XPVhkHpWcndz1ctFRuYMWr8mliudSyeBVjNzm/bNFDelck91b5l9/CmbiQ67dxbq8NQj 4vx0vIwIwa1OJTyL20VN/58UoP4ePCjxbcI/cM7HFWVTN/NJ3wZWLuBtWLCLXRq+VVYD ZQOQ== 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=YDsjgW4MArlBA1SB+uZg3khyj2WK0GRuGD4JKeBynv8=; b=GSr8UArGX7HG+VlFvjuYIR/TbiITUYxPkywEAO9YUBnbssCcgAZt1MtxdSID1WvrXH rhlHd8KvrNeuTcnHTiq+0VWNpmcVS4oIhuZOXnsrTBd9Sg1IBzlxOwxeece3ZCdwoSF7 mASwFI81eQcRtHklVc4Vn4s25Ziro0CPUbPkaEpnsR006t8R8WsWCWDEcI86Lsl2nJBm yTvedbTG2A6qTbM9oUzkyD1mp/hxYcHv3UqHWhj8Om8WJWB3SdmYKZq0zVcEVukQk5EC nH9dK5UneCNGoTaTnPK4bhCC4o3HeH6wdltJphe7jqHGaN4HT/golKHO1n2pYBaKyGjn 2LZw== ARC-Authentication-Results: i=1; mx.google.com; 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 5si6457068edx.30.2020.05.11.16.14.37; Mon, 11 May 2020 16:15:08 -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; 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 S1728053AbgEKXM6 (ORCPT + 99 others); Mon, 11 May 2020 19:12:58 -0400 Received: from mail-oo1-f67.google.com ([209.85.161.67]:46431 "EHLO mail-oo1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbgEKXM6 (ORCPT ); Mon, 11 May 2020 19:12:58 -0400 Received: by mail-oo1-f67.google.com with SMTP id x16so2324336oop.13; Mon, 11 May 2020 16:12:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=YDsjgW4MArlBA1SB+uZg3khyj2WK0GRuGD4JKeBynv8=; b=OvD1PtAqLFZSYqeXOJRIw1+jVbfNsbD9Ze/zWqKiTzrL3NYbehegJ5bvNMkKG3vYKp bCJdRr9BQZ5BxgMXV4pd1eM6YuWL+Pz7XrDuYcEe+AkC9+RF9tWHfcDFMCOwy6nUIbAy mo4mSevWP61/sxq89y09eky+53ju2goCLCY3n6Gh1YpVDAIEj9Fftd8fxB8UiGyw4zVq nu0wMqxKDOB0Iwr8MeYx7sHMdl2T+W4coDaH5wtRWPLsWXKAhmulIps/aotWHa65fVg+ t4eoqpy8LhHnYGvGXOAO64D93s67s2Z/aBmebicgO8V90jpPoVr422BC36pxrdW3r/Z4 6jTA== X-Gm-Message-State: AGi0PubbRzk+Tyh4NUYMF7hoKyLxo/MS8szh1CzsV2MMv7L+udSZYICf ZYVGWKy9itWyM5Vf2RSc3g== X-Received: by 2002:a4a:af0d:: with SMTP id w13mr3249600oon.77.1589238776873; Mon, 11 May 2020 16:12:56 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id m65sm2138476oib.49.2020.05.11.16.12.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 16:12:56 -0700 (PDT) Received: (nullmailer pid 11706 invoked by uid 1000); Mon, 11 May 2020 23:12:55 -0000 Date: Mon, 11 May 2020 18:12:55 -0500 From: Rob Herring To: Chen-Yu Tsai Cc: Heiko Stuebner , Jacek Anaszewski , Pavel Machek , Dan Murphy , Chen-Yu Tsai , linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] dt-bindings: leds: common: Drop enumeration for linux,default-triggers Message-ID: <20200511231255.GA24112@bogus> References: <20200427073132.29997-1-wens@kernel.org> <20200427073132.29997-2-wens@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200427073132.29997-2-wens@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) 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 03:31:30PM +0800, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > The bindings currently list a very small subset of valid triggers for > LEDs. Since many drivers or subsystems in Linux register custom > triggers, the list would become very hard to maintain. The idea was we'll consolidate around standardized names and that new users should use 'function' instead. There was discussion around this when adding 'function'. > > Instead, just drop the list and allow free form strings. > > Signed-off-by: Chen-Yu Tsai > --- > .../devicetree/bindings/leds/common.yaml | 21 +------------------ > 1 file changed, 1 insertion(+), 20 deletions(-) > > diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml > index 4c270fde4567..3b3cdab3fc15 100644 > --- a/Documentation/devicetree/bindings/leds/common.yaml > +++ b/Documentation/devicetree/bindings/leds/common.yaml > @@ -79,26 +79,7 @@ properties: > description: > This parameter, if present, is a string defining the trigger assigned to > the LED. > - allOf: > - - $ref: /schemas/types.yaml#definitions/string > - enum: > - # LED will act as a back-light, controlled by the framebuffer system > - - backlight > - # LED will turn on (but for leds-gpio see "default-state" property in > - # Documentation/devicetree/bindings/leds/leds-gpio.yaml) > - - default-on > - # LED "double" flashes at a load average based rate > - - heartbeat > - # LED indicates disk activity > - - disk-activity > - # LED indicates IDE disk activity (deprecated), in new implementations > - # use "disk-activity" > - - ide-disk > - # LED flashes at a fixed, configurable rate > - - timer > - # LED alters the brightness for the specified duration with one software > - # timer (requires "led-pattern" property) > - - pattern > + $ref: /schemas/types.yaml#definitions/string > > led-pattern: > description: | > -- > 2.26.0 >