Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp167093iog; Wed, 29 Jun 2022 21:02:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tPPEdsHICTNj7fhWTrMtdobNuUyeXQtxW4ggh1DtjW2BDvSfxMpDoe1KQV/0FjrXq8C1AM X-Received: by 2002:a05:6402:40d2:b0:438:3203:cadd with SMTP id z18-20020a05640240d200b004383203caddmr3938993edb.95.1656561727283; Wed, 29 Jun 2022 21:02:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656561727; cv=none; d=google.com; s=arc-20160816; b=QeRihZ4ntPkXWaXi/yUiUFLmgDzED+lw4REZgnw7TH+/x+HygAlGOq0JFp7zyPWWgs HbrhhPRXmAqQTJfReoczJtBeJvlHYICltyq25oM8tOtCgI/P3Aj/MEGzlz9i2ma+heBM M3+zOIE7/GiqDjZyIc1+Tw6sXAHMNbzthGAmA2ZFLzvppelEvB7W92bIwrId6NjCyclP YEOGdLrdIYBhESVqMc5+uMjZzuWmn05AV6p3gfkFBUaCW7QDR/mNGkknvb38lKGMAj3P oXLWrDbTNQZfTBp9wVMU1X6+MT1velEXF5sWEetEEUo07qk9of/eMoojHIW7HCypOYje U+Og== 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=5OWFEvvnhWbk5JUNHWESexfCKhPu41TnYPW0LjUtHpU=; b=mOE9N5suemfks1lzTOcQ8L5OpA35TopmXWFcjchZdNLmCv9WEFeq3Gx25tC6q6EOtm pvCNFINjHwj19iomD332oAuteHT75FhLKvyi8tk7EyOaeA30KlEZxhgFMqjExK2IZrIe 0dLlsXTjx9cIhDdn4LYnVjFPKzDF30MZT6ZGYArWlMKgz2ABEjYy7PpOgU1KZlrdgifC el5ojrBxQzv2hSLSEW2+6oo8hFWSIN6JxDNeocqoMtU6LYiSRtN4nVYtfDz6wojBJMGw TAw51NeXZKcQjWXyedcGYwd72YtjrnAHmIBoBt2+CD9IkhM5xnMQtyUfprWSnA85+jF3 1E1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pSsWDCAX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd28-20020a170907629c00b0072a558949cbsi2253670ejc.600.2022.06.29.21.01.42; Wed, 29 Jun 2022 21:02:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pSsWDCAX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231220AbiF3Dy7 (ORCPT + 99 others); Wed, 29 Jun 2022 23:54:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiF3Dy4 (ORCPT ); Wed, 29 Jun 2022 23:54:56 -0400 Received: from mail-oa1-x30.google.com (mail-oa1-x30.google.com [IPv6:2001:4860:4864:20::30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71A7219C21 for ; Wed, 29 Jun 2022 20:54:55 -0700 (PDT) Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-1013ecaf7e0so24133518fac.13 for ; Wed, 29 Jun 2022 20:54:55 -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=5OWFEvvnhWbk5JUNHWESexfCKhPu41TnYPW0LjUtHpU=; b=pSsWDCAXql821vGLsIMyJgV0Pos3oBe0HeeKnRxTpl73Klu0EhWoM7Bxw6TV9XuMWk +8B7GcNu7hFRCdWVpcEZiJ94XFXRWchn7gt0794aJtPtxgVedoebvlKTu2byHKqHkBAD lH1KUTGy/UAe0clm2oCRmYiZ2BbZXC36X6piwT9n4YHLW/XeutzYAwYyMPFxS1CkHBil fYt0jqXjKYmo0HoWfoCqbZmgCw6KElamOJ+JCJ/qjw6akyrASip4f/yUpQPYg6gB3P4p 3CAdiZfX8fcknSy7GVasRGsudhVFa7r3lxWQ8E76/8Ej997x660FAjSUBMqCeovZT4pR uvMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5OWFEvvnhWbk5JUNHWESexfCKhPu41TnYPW0LjUtHpU=; b=TYjbssV+Gw+Si0J0SLDNmXELKZ/8WS3b12l4oLRJi+/02yn+dtV1E0P05fx57TiVL3 H+uN3pNMhzJWVpHUcJ0g+bopAxPf9pga+09sSIfEygqGVirRz864yH9K5LlD8uEvNNOh O7U9qHAKR/kcR1HLFy9yaDup+qit/giRVMAKOKsEypXY33Bz+h3nKVOmljIERPMtCleu uiIxeRANZueNFN2EHU1dUuPj7iEgo0P8BH94uRfCvnTK44hM2dFwTSVrd4d6pHZs6mRg E8stSrqLHn53TDiEvjXLFMwdKHKYdoJHbnnufhUNH/HYjP+DsvSVseqh4fIjLN3vat4u Ilow== X-Gm-Message-State: AJIora+jgQ6mG/qL4SPHESXspiCT0DheFuuah+zAYIbt0jwdUQDp5AkW VLOjLi7std6KTVULl/Tby+h24Q== X-Received: by 2002:a05:6870:6314:b0:10b:9595:62db with SMTP id s20-20020a056870631400b0010b959562dbmr2456208oao.128.1656561294787; Wed, 29 Jun 2022 20:54:54 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id a2-20020a05680804c200b0032e3cca8561sm9662636oie.21.2022.06.29.20.54.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 20:54:54 -0700 (PDT) Date: Wed, 29 Jun 2022 22:54:52 -0500 From: Bjorn Andersson To: Pavel Machek Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] arm64: dts: qcom: sdm845: Enable user LEDs on DB845c Message-ID: References: <20220505022706.1692554-1-bjorn.andersson@linaro.org> <20220505022706.1692554-3-bjorn.andersson@linaro.org> <20220530070608.GB1363@bug> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220530070608.GB1363@bug> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 30 May 02:06 CDT 2022, Pavel Machek wrote: > Hi! > > > The DB845c has 4 "user LEDs", the last one is already supported as it's > > just wired to a gpio. Now that the LPG binding is in place we can wire > > up the other 3 LEDs as well. > > > > +&pmi8998_lpg { > > + status = "okay"; > > + > > + qcom,power-source = <1>; > > + > > + led@3 { > > + reg = <3>; > > + color = ; > > + function = LED_FUNCTION_HEARTBEAT; > > + function-enumerator = <3>; > > + > > + linux,default-trigger = "heartbeat"; > > + default-state = "on"; > > + }; > > + > > + led@4 { > > + reg = <4>; > > + color = ; > > + function = LED_FUNCTION_INDICATOR; > > + function-enumerator = <2>; > > + }; > > + > > + led@5 { > > + reg = <5>; > > + color = ; > > + function = LED_FUNCTION_INDICATOR; > > + function-enumerator = <1>; > > + }; > > Do the LEDs have some kind of markings? Marking them as "indicator" is not too useful. > Unfortunately no, there is just 4 green LEDs tightly packed together (3 driven by the lpg, 1 by a gpio), with no indications of which is which. Regards, Bjorn