Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1127752pxk; Fri, 4 Sep 2020 00:56:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhaX9cmvQygE6/3+V8Rw3d/o3h+63m2iqbQEgGFXkCiNFsWOTMlCK+fDHPJAgrBnw7XMy1 X-Received: by 2002:a05:6402:17da:: with SMTP id s26mr7188308edy.221.1599206211613; Fri, 04 Sep 2020 00:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599206211; cv=none; d=google.com; s=arc-20160816; b=zSoBvqB1Jf8oba2VvPM00QgKjX/C/RP2G3QcWAQyLIDX7mpZLbXGibTJuhWmGzWE6u LleYF3nfvZJ8ZuiqPf/pl0VARCkRU1sLNnKOM8bCcnJvBMrE5j3LnHRA6FYaBZ/bzFrf yNYe4DT0au9ZMQqPBaDzSX7Zd51ZmyliXavX/Hui/MZ1vwyt3O9qu97h+efNcNJoG2r7 DYx8wSy0xLbFajnzCx5l0SkJkpvTD8r8cO5yWGhdEGXibRJxO9sR1AUY4f/p/2uxzlZi T1lAVM+k+gXDDrAcRPfxkbtDgm6hwN2XIWEM7D52qD/HbL0VT/vTxK8bNE0JyKuKKyfb ENtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:references :in-reply-to:message-id:date:subject:cc:to:from; bh=LDK6ZBamyQi5yePVQxCy9DKU14pu6HqNj+tu5gz3nKo=; b=tKAlADV/zSLNnSwTt+G35d2mlctm0fMRMqGTlOLtbsTo97LuOzB8Ns37zFGVnanLA9 dcYzKc8SOwHYMb+u3UWuzsyRxdnws6/VSedTZLcI+Un2NcT9swgW2TA6OH5YVB0iCCG+ cVpOtvucAzodClT/edID3ICZotMySK/SCBsC+BE5EHSeEKCIjRX5eUs841eKcrLwGhqJ Slvu9zK0R4BO8Fw7ga1mrzSgXOwhUX6Xw0/8cglbIWG+gXKDDAAFU2j67IG8FQ5KoTCJ 61IttZG+R+RBRZ4r9Y2OpD98VMlFaLWkPtsbsCSFL7IWqAYVllxzBjn4s+UQH4N8o+Dt mt2A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si3428430edi.28.2020.09.04.00.56.28; Fri, 04 Sep 2020 00:56:51 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729997AbgIDHxS (ORCPT + 99 others); Fri, 4 Sep 2020 03:53:18 -0400 Received: from mail.thorsis.com ([92.198.35.195]:59306 "EHLO mail.thorsis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729910AbgIDHxR (ORCPT ); Fri, 4 Sep 2020 03:53:17 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 2AD1B3DE3; Fri, 4 Sep 2020 09:53:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.thorsis.com Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8-Cjt87alBaX; Fri, 4 Sep 2020 09:53:11 +0200 (CEST) Received: by mail.thorsis.com (Postfix, from userid 109) id 0BB554128; Fri, 4 Sep 2020 09:53:10 +0200 (CEST) X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS autolearn=unavailable autolearn_force=no version=3.4.2 From: Alexander Dahl To: linux-leds@vger.kernel.org Cc: Jacek Anaszewski , Alexander Dahl , devicetree@vger.kernel.org, Pavel Machek , Dan Murphy , Rob Herring , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] leds: pwm: Make automatic labels work Date: Fri, 04 Sep 2020 09:53:03 +0200 Message-ID: <2019500.FJf2EgCAKA@ada> In-Reply-To: References: <20200831210232.28052-1-post@lespocky.de> Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacek, Am Dienstag, 1. September 2020, 23:08:09 CEST schrieb Jacek Anaszewski: > Hi Alexander, > > Thanks for the v2. > > On 8/31/20 11:02 PM, Alexander Dahl wrote: > > Hei hei, > > > > for leds-gpio you can use the properties 'function' and 'color' in the > > devicetree node and omit 'label', the label is constructed > > automatically. This is a common feature supposed to be working for all > > LED drivers. However it did not yet work for the 'leds-pwm' driver. > > This series fixes the driver and takes the opportunity to update the > > dt-bindings accordingly. > > > > v1: based on v5.9-rc2, backport on v5.4.59 tested and working > > > > v2: based on v5.9-rc3, added the dt-bindings update patch > > > > Greets > > Alex > > > > Alexander Dahl (2): > > leds: pwm: Allow automatic labels for DT based devices > > dt-bindings: leds: Convert pwm to yaml > > > > .../devicetree/bindings/leds/leds-pwm.txt | 50 ----------- > > .../devicetree/bindings/leds/leds-pwm.yaml | 85 +++++++++++++++++++ > > drivers/leds/leds-pwm.c | 9 +- > > 3 files changed, 93 insertions(+), 51 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/leds/leds-pwm.txt > > create mode 100644 Documentation/devicetree/bindings/leds/leds-pwm.yaml > > For both patches: > > Acked-by: Jacek Anaszewski I'd like to make a v3 and change the license of the .yaml file to "(GPL-2.0- only OR BSD-2-Clause)" as suggested by checkpatch and [1]. Can I keep your Acked-by for that? Besides: those suggestions are obviously valid for new bindings. What about old bindings (.txt), which had no explicit SPDX tag or license note before? What license would apply there? Is the .yaml file technically new, when it was mostly just converted from .txt? Greets Alex [1] https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html