Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp647513pxv; Thu, 24 Jun 2021 16:46:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSLNFwy7yv+gfobOlyCucEWdV4V5ahafAD37XJ1d9l799KvKi0mXMALCLZRlAI0561EyxN X-Received: by 2002:a5d:80cf:: with SMTP id h15mr6172581ior.30.1624578370142; Thu, 24 Jun 2021 16:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624578370; cv=none; d=google.com; s=arc-20160816; b=BW4tLqO+WTuOUS98dx4i8Lov0kbAO1Xp1Un5gzfVKbZqVPO1vHEsfDHtBy6ZtpWU0B pVyQUF3/vSmtce+U7lJn0ufd3f0S+o0tQhRXmRtuxeOw16847m2PpPdBpWtbDW3ddv2S gKo9TeP43mjZoISW6MqGCfyjNxUI/PzGDfDqoZLOQLRhuGkxlkNtfpjwfOnzU0kL1UXu b4O59aPoakaYFFxlrLNOtWpE4EkpH9GmgoFjom6tnKCIgA3/I42MeyAGnZQVW++XaIG9 CwDTXaclYeGT1AbfTtconNo7C0ZYgpVCdKBlBXhA5ClIhobqsjmrhTi5iBDAm7Sg4zJg 6Pkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/IZo+xMlntd1OPotYsAVSJXAdOf8XBCFm8hpgOD3AFg=; b=XNBnqrUOT68qYn/YbtSy/APUzpaWoKL16hhki+elLak2JAmGnAPwfX5dWT3y/c7l/l 7U3pYklSqmvAQr7SP+bhasxJmNk6/LBGYYsnmUYO+ruF6P6unzwPm3yE33dvxiocTbDN h9wwtVtoCsFl97u/cLOAcNJA7OTbXaUxDrj8oBpHvhKbi5N5rBM9ceSYzM/c6U40fp1k 4Cy6VXr20EONK2ioa0SB5yXcZo6AC5HzX/3ASm0/AMOOWUUmoyzK8t6mxVX1nhOGUa+h +VYIL/PN2vhGqwduqFvuAx7C/mnK0FD82NvUgFcd+gkASRZ4E2nSwvNvPNtG5H2q3gKu UL6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AfbC8GUO; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p6si511602ils.84.2021.06.24.16.45.57; Thu, 24 Jun 2021 16:46:10 -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=@linaro.org header.s=google header.b=AfbC8GUO; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229712AbhFXXrU (ORCPT + 99 others); Thu, 24 Jun 2021 19:47:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232845AbhFXXrS (ORCPT ); Thu, 24 Jun 2021 19:47:18 -0400 Received: from mail-oo1-xc2f.google.com (mail-oo1-xc2f.google.com [IPv6:2607:f8b0:4864:20::c2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA014C061766 for ; Thu, 24 Jun 2021 16:44:58 -0700 (PDT) Received: by mail-oo1-xc2f.google.com with SMTP id b17-20020a4aba110000b029024c219a3d83so913148oop.10 for ; Thu, 24 Jun 2021 16:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=/IZo+xMlntd1OPotYsAVSJXAdOf8XBCFm8hpgOD3AFg=; b=AfbC8GUOrGiQ8wmQ44iEw4DbrAILKvySD0JZd8pYtbCZY+ekpRhYJmeY9a9vlLZO0W TLhSAmN2KJ0v5+kL3d5oSjkPIhRsBHoa5yjedwB/iE2GW3V5jiQR5yQTNGNKt45aj0IX RhaZfVSTvkWIPxrDVNYG0iuatUSYpf8ZEfSyLoo7rxPEMXkex0D6LI/ZKthaqXsZ7T9/ iAS5EbMp+vVOVpPSd6pjrYRihgMaPAc6kP1kZX/LgKh/6YwUa+U4+neU88eOL72zNn30 BUMICqoJfoLnHIxAXKooFmy5UK1eIMFjMLE6EdXkN91pao8KfVTcPkfQNE6Dq/wlPjyl i6kQ== 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; bh=/IZo+xMlntd1OPotYsAVSJXAdOf8XBCFm8hpgOD3AFg=; b=az+Y/vgrUZjqDkW7ac0Y/tQ0XT6YEcRZ8Tbl63H7Z+xzha6jfKeGzkOwKoawvndDo7 OAqo/mgJVitCnO78dKFEm3D53YnfajPZouEG7mlQGhNrPkbyPllyD7yEMUVdqEO4LLpr P8418l2wan9syireuGgibt3dukjy+GiWzvtwhczNbjESbscfukrD2kmYxLFNkVcHCBTk PkshTs4RrUoz4z/idoISsoObSHMyN4XjvGNI+czTPb2QGXqwz0ZSTRcdob+07lD02WHB r2rVyfRVecawUvpW22wilTweMpZkKtz7/bW72p+wrO2jHFVWskaccXcjwdt8t/meRlzy XWsg== X-Gm-Message-State: AOAM530LtcQj3xL3xCQXXKypN/HwCBDcAUg0OttWJZtYDWVYE4hZxrwX vsOvyb0MKzc6RrmxPlePFZn9XQ== X-Received: by 2002:a4a:cb06:: with SMTP id r6mr6597797ooq.15.1624578297522; Thu, 24 Jun 2021 16:44:57 -0700 (PDT) Received: from yoga (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id 35sm980557oti.65.2021.06.24.16.44.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 16:44:57 -0700 (PDT) Date: Thu, 24 Jun 2021 18:44:54 -0500 From: Bjorn Andersson To: Marek Behun Cc: Pavel Machek , Rob Herring , Andy Gross , Thierry Reding , Uwe Kleine-K?nig , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pwm@vger.kernel.org, Marijn Suijten , Yassine Oudjana , Luca Weiss , Subbaraman Narayanamurthy Subject: Re: [PATCH v9 1/2] dt-bindings: leds: Add Qualcomm Light Pulse Generator binding Message-ID: References: <20210623035039.772660-1-bjorn.andersson@linaro.org> <20210625011932.6354e397@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210625011932.6354e397@thinkpad> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 24 Jun 18:19 CDT 2021, Marek Behun wrote: > On Tue, 22 Jun 2021 20:50:38 -0700 > Bjorn Andersson wrote: > > > +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml > > The file name should be based on one of the compatible strings, for > example the first one: > qcom,pm8150b-lpg.yaml > The majority of the files in leds/ are named leds-*.yaml, is this a new scheme for LED bindings? > > + led@1 { > > + reg = <1>; > > + label = "green:user1"; > > + }; > > `label` is deprecated, Sorry, I missed the comment in the middle of the description about this. Is there any particular reason why this isn't marked deprecated: true? > please don't use in new bindings in examples. > Instead use color, function and function-enumerator, i.e. > > color = ; > function = LED_FUNCTION_xxx; > function-enumerator = ; > Can you point me to something helping me regarding what "function" to use? For this particular devboard that the example comes from I have 4 LEDs that are named "user1", "user2", "user3" and "user4" in the board documentation. I can make up whatever for the example, but I would like to get the following dts additions follow the expected guidelines. Regards, Bjorn