Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3645436ioo; Mon, 30 May 2022 06:44:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYDEa0E2Yt42UBP07tO7Mg7EzvuLcJyNmIzYY7fGqifN1eGiQJusL4OtjXE8ZxTgQePpo5 X-Received: by 2002:a17:902:c407:b0:163:df01:bbbc with SMTP id k7-20020a170902c40700b00163df01bbbcmr5314360plk.4.1653918240901; Mon, 30 May 2022 06:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653918240; cv=none; d=google.com; s=arc-20160816; b=FC8NxYLdeFSVN7gcLfl2mi4ulfu6UB+01Zo/GN5wm/rfRFJP/DzETMKu7pGIcsVO7m D43AuA/NQ+CgMx4Mg41QaxolQ6UwUYdb23JajCk9gq9KNCzLJXoizq8nn+ktgy4MSDow BIhJxzctMmVB/qZKhLfGTmdzT01Ij7Dz3Ca8HxaWb4Q3IVvBy79dwRjEHMlXufzxbYaJ rXNvqPL817Xmf+pz2wEQQSL5EIPOCtlED4nf9v1RS9lQZm/HBr4f6uOirUWsbT4QdoMs vTwcOCqUUjH+P+K0D4bB6fto4Y8NvwMpmBtVG2Q8DgCRHLyceOSiA4msyBmVNRM8TQP2 l/HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=X12FC782+C8kNGRSBTtt+KzX/smPRG67K9Ms7i7uIQk=; b=s1TK3+wt7tzBCCDMXGM7l7cDNFKE/Ezuer5Yq9Luo+G+1a0aUIsQh/m3UJug0HyRpY fCEDUwYATm24PP8C5xeyqcbZIZh5BH0FVDSw6gXXNPEJYAnbS1ztVA75QV5hCQbwcShT CTw8qF2KaWdViKxBO3HtElEtyoBxdRwNya1dxy4ns05FJvErmI709ikmyXX5tYc51dne 8p6DIaJFF+NiqUVoCcrbcrvSrtgfhB7oYwSQkvRl6dwuRsz0pv7sf6IV5qntojD/3aZM 06SLhXHVfAm6+SHHeJhjp/3jk4frTieCJz/1wZoHmEz1zvRxQCsuMYnDS814kQ1N3mdq FMIw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020a636804000000b003f24f6260d0si15726869pgc.629.2022.05.30.06.43.49; Mon, 30 May 2022 06:44:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233262AbiE3HGM (ORCPT + 99 others); Mon, 30 May 2022 03:06:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232759AbiE3HGL (ORCPT ); Mon, 30 May 2022 03:06:11 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F828719DB; Mon, 30 May 2022 00:06:10 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 5F0901C0B8A; Mon, 30 May 2022 09:06:09 +0200 (CEST) Date: Mon, 30 May 2022 09:06:08 +0200 From: Pavel Machek To: Bjorn Andersson 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: <20220530070608.GB1363@bug> References: <20220505022706.1692554-1-bjorn.andersson@linaro.org> <20220505022706.1692554-3-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220505022706.1692554-3-bjorn.andersson@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 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. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html