Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp383967ioo; Sat, 21 May 2022 02:01:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcHTFkpm+WAhF3425nEiZqgERan7GaGsBXnL8/8mKQQjiNFB/tGXWV+9J/Bc46Ha5ahQh2 X-Received: by 2002:a17:906:6a18:b0:6f4:c4b2:d2b with SMTP id qw24-20020a1709066a1800b006f4c4b20d2bmr12048937ejc.378.1653123683529; Sat, 21 May 2022 02:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653123683; cv=none; d=google.com; s=arc-20160816; b=PtkI1nJAi3QRrMlkCSDXnoN6XZb+iJyQrpl93T9yDzndvY/oR7uQHezkiD/LDWvHpM lQu/QIpbOTdwENDA+Jlo4XIexAj8U0oJsygO0wBs1yHHWWHdww7AbIplJXqvGPT53gyx Im2eB3YZpo+r8AVkGvnrETgBNToNp3m1Dlc2ncpa+LeT6OZEljHQg4WHN1k0NYj1sEoS d99+sXRYEmXVdYYRh9FEGCs2rolbXT4Vyo11k3UCeYLZr6Q/H7a5JkxptbZdrR2kf3gg sJuSYLvvLCtRTf06kiNAumbcLsiC1DDgeeQwO23WWYgSo/oKDsdIcZD1WH/vJvLi7COX ZWIA== 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=nEjFcr7dEWn0xw/FF93sBsAqLUkAO0bOI5T7Xg501FU=; b=SXdtXX0UqnApUoAkwusk9EvZkSiQqDf8oXvzt8vxkb/vTPIoYFsB3YENdYPEQt9+N3 2b9RtaaBG5mL53XQQM+jSgTahmifBOa4q8ZIGSSDzo8D/AVqzuwWR+yss/Ra8vnvR+1/ zJ64PnjFqUHXG5ya4EhJFbt26VUSAQw7fu2w0DVVZxRRzKdZDJLenGCK8HDeOqqhH/ay rMOTr82blS4a665+xB2pyppGlI3G9irTHFsJj/23zxFUGXl14ywAwI+GN4BZuNko9owx v6GNZwdJhMAPPfoXtiFIonAvixVFISlaqQOOgt2acFzHFurr4mBlsUMt0RVsVBWlS+Hc t9wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="UP3J/+Xv"; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn18-20020a17090794d200b006feb0d45490si4123052ejc.403.2022.05.21.02.00.33; Sat, 21 May 2022 02:01:23 -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=@chromium.org header.s=google header.b="UP3J/+Xv"; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353459AbiETU3m (ORCPT + 99 others); Fri, 20 May 2022 16:29:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352457AbiETU3k (ORCPT ); Fri, 20 May 2022 16:29:40 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11786195935 for ; Fri, 20 May 2022 13:29:39 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id 137so8660398pgb.5 for ; Fri, 20 May 2022 13:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=nEjFcr7dEWn0xw/FF93sBsAqLUkAO0bOI5T7Xg501FU=; b=UP3J/+XvTlR0rmymET+I+IY4BR1wCtj/EfdXeY308JRGgbdTxv7PMWJUHjxLz1Ndhe 3KFZF8V13kzJ+zhBemZKhnvnt55654FaPAFy2WdwTbUP6AZKt1y+XFNGCmpW7kDS6i/k TFpKbnx6CxX4lZO5SmQNgpgACTxD7ZFxYSDWY= 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=nEjFcr7dEWn0xw/FF93sBsAqLUkAO0bOI5T7Xg501FU=; b=VBd9EoYc/MCDjPqwDbeA2g0L36EoZTJlXrDeTeQtbnHuhjYMJtYIcrSjCfpT+CTTuK KRSGNTmOjHP3qy2M1hN70HpXLw8EdT5fCP0lPQUEGN/5nIxmc6ynyJ79MJbV29p+GkGx CJEvOAltHyQu3pS3dnCFkEGkOtpb772VEq65C62UjHn4WBlCMuHLZ6V9I1ecrIVr3F4T vuM2dT4bH4meGaOojdNHdqZo0+iu9272WvKUMaKc2THlx+U0m9Cf9MoT3vvc0nujWjYJ MwOoKeqEGLCciXLShVrq9dW1X3YJbqmylfrXGQCdc6i7f3eGtYM93Q6NMTJIw8ba5eoz RWmw== X-Gm-Message-State: AOAM5313HeHNGkS46PhCxaYWC8pNNmcNxD6V0WiIeF8JseOZbvUsF6r0 NzOZnGIAijuZX9s048WdJ8tU9w== X-Received: by 2002:a63:b25d:0:b0:3f6:5842:2685 with SMTP id t29-20020a63b25d000000b003f658422685mr6850794pgo.363.1653078578605; Fri, 20 May 2022 13:29:38 -0700 (PDT) Received: from localhost ([2620:15c:11a:202:5332:2096:60a3:3455]) by smtp.gmail.com with UTF8SMTPSA id n5-20020a170903110500b0015e8d4eb1d9sm167036plh.35.2022.05.20.13.29.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 May 2022 13:29:38 -0700 (PDT) Date: Fri, 20 May 2022 13:29:37 -0700 From: Matthias Kaehlcke To: Doug Anderson Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , LKML , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm Subject: Re: [PATCH] arm64: dts: qcom: sc7280: Enable keyboard backlight for villager Message-ID: References: <20220520124834.1.I7c51c6255bb53086a82c5b3f4fafffcc5ccbc4ae@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 Fri, May 20, 2022 at 12:57:50PM -0700, Doug Anderson wrote: > Hi, > > On Fri, May 20, 2022 at 12:48 PM Matthias Kaehlcke wrote: > > > > Villager has a backlit keyboard, enable support for the backlight. > > > > Signed-off-by: Matthias Kaehlcke > > --- > > > > arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r0.dts | 8 ++++++++ > > arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 2 +- > > 2 files changed, 9 insertions(+), 1 deletion(-) > > > > diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r0.dts b/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r0.dts > > index d3d6ffad4eff..b6a6a1454883 100644 > > --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r0.dts > > +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r0.dts > > @@ -58,6 +58,10 @@ &ap_sar_sensor1 { > > status = "okay"; > > }; > > > > +&keyboard_backlight { > > + status = "okay"; > > +}; > > Instead of doing this, can you just get rid of the status = "disabled" > in herobrine.dtsi? I don't think there's any benefit to having two > levels of "disabled" in the herobrine device tree. Sure. I guess the 'disabled' status was put as a micro-optimization to avoid probing the 'pwm-leds' driver on boards that don't have any such LEDs. In practical terms it shouldn't really make a difference in terms of memory or CPU.