Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2276911ioo; Mon, 23 May 2022 14:37:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7lFmbMIsczcY2kh13a3CIClwa6fVELyG5E5YNU0Na73al1yCsKzpJTI2dq9a7mR//4V5O X-Received: by 2002:a17:902:db06:b0:162:ed2:4e9e with SMTP id m6-20020a170902db0600b001620ed24e9emr11432189plx.76.1653341826468; Mon, 23 May 2022 14:37:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653341826; cv=none; d=google.com; s=arc-20160816; b=pRA6UlXgJuHPsuO2noUJb3q+x6I/+p8jV0Qh7/ZMXwmU4wrdAxOcr4k6vCgClzx7n/ x1LqijFiVm7+UKM5DcDNMaY/V4vgWGb4UIPOYryRKLjUrYX4O2ucnjHmjoEhGDYq0Aqx 4WO5GcdoMmX231Ht0ojrQr2TC19hdn9gdq57lkszct2tmFm3ifEY3r1hzvdQn0Xzlsbj P4GgfJnCPG1V6u+KWqktQK+a1arj8Emlo1dMDwZwyFOmkoBn4uQd8CevmEQUjX9yAOnA dg33NDFVRiCQampk3EZGLn/Of1MnvPRnEJBqiZylZymgJbAnLbnBk2MICVyytnvx/y0C WU3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1wnCjP5k4eX2zs3WnXnoMhMGUr28/cypjl3o/2Z6tes=; b=1EeVFhY2/7f2xVHD0cXCCuQc+xWDB5FqtWnOPl/dhywpozOsd1J/mBY57pZRRx0DUO m/BwlSkDxcHPxuwrZoJY9YCxZ2frL2FUVpalbwxpvyiF35TNRMA2Q/9w3ugt01upnnIa dxjXw4Sk32rykeR1lA9h6HFmv8ZkRtO54gWgVYB7PDIbnZN98BT74y3Vm/HIj0kobyMJ WDWfwmx3GpbyuxcAtDszfAhp2v+tUft1IFn2pxbCH5+UxqkCUiJyt2Kcnb035INgW9Hy u6qU+3TaeT9GfY42l1Eo3dSsSfyV1bXPD0qxhjUPkBWSB2yYTOJ2U0pGNuf/S2mCoi+a u7qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=f96L1AT0; 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 b2-20020a170902b60200b001562b0bf47bsi12473971pls.58.2022.05.23.14.36.55; Mon, 23 May 2022 14:37:06 -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=f96L1AT0; 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 S232211AbiEWTjv (ORCPT + 99 others); Mon, 23 May 2022 15:39:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232411AbiEWTjf (ORCPT ); Mon, 23 May 2022 15:39:35 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FD55106A4C for ; Mon, 23 May 2022 12:32:08 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id ev18so14911535pjb.4 for ; Mon, 23 May 2022 12:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1wnCjP5k4eX2zs3WnXnoMhMGUr28/cypjl3o/2Z6tes=; b=f96L1AT0mMjn1RyAtdZVgkH33HDZ3/VSA/ng8TU23JHBipyGveEAF7DkL2d00oCE6H zIMx6xWWYXMx89FXNceFqwrVXxVGbmsTeNwpkhojYLOXsICJ9JOQ1LKjsOgCtbFgOoK2 kZqvPnK/6aGbuIab5p6ELE0mTUnLLj4sS8rFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1wnCjP5k4eX2zs3WnXnoMhMGUr28/cypjl3o/2Z6tes=; b=QPU89eK0Py/rmKq4mo6qR8UgrMG5wYOLzCDhq6EGGX4T6wgvRdG7VReBQFhKdMD6c3 fRmRjfrf+sXwWU8SIlIUB5M2ksjoXhZWNiazoiRaWnIBHo5XzLlDkd6/F6Wjtf/2eKKs 7iqrmcmcJm+ya5YTHScDeXjgn7aC713E2+pWz1XlwVKs2bAm1PrzRC+P3axJYA45F+r+ in2r/72OzwFWe5o9HXjdVT1IurDwFknzxQNGvqa/wh4ceS4iODJlA1djshvEL+ImYcqj ae5cJ0Xqi6N6wakIq1w2TDkz6+drvazxbXKrr/aVJTxwkZ5wyDcunuwUwcA+lpPv3DAl MaXw== X-Gm-Message-State: AOAM532GhM09q9dPvFYbItQ6sPoA6sdc+dQbIH9AFrEL6VHT6g3lK5yV JYcp1Kj4nBd+aamOZ9mJgsSE3Q== X-Received: by 2002:a17:903:1104:b0:15f:bce:1a0c with SMTP id n4-20020a170903110400b0015f0bce1a0cmr23570068plh.149.1653334327861; Mon, 23 May 2022 12:32:07 -0700 (PDT) Received: from localhost ([2620:15c:11a:202:46dd:d5d8:48f6:713e]) by smtp.gmail.com with UTF8SMTPSA id p8-20020a637f48000000b003c14af50631sm5138505pgn.73.2022.05.23.12.32.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 May 2022 12:32:07 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Douglas Anderson , linux-kernel@vger.kernel.org, Matthias Kaehlcke Subject: [PATCH v2 1/2] arm64: dts: qcom: sc7280: herobrine: Don't disable the keyboard backlight node Date: Mon, 23 May 2022 12:32:03 -0700 Message-Id: <20220523123157.v2.1.I47ec78581907f7ef024f10bc085f970abf01ec11@changeid> X-Mailer: git-send-email 2.36.1.124.g0e6072fb45-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 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=unavailable 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 herobrine boards the keyboard backlight is controlled through the PWM LED driver. Currently both the PWM LED node and the node for the keyboard backlight are disabled in sc7280-herobrine.dtsi, which requires boards with a backlit keyboard to enable both nodes. There are no other PWM LEDs on herobrine boards besides the keyboard backlight, delete the 'disabled' status from the keyboard backlight node, with that boards only have to enable the 'pwmleds' node for keyboard backlight support. Also add a label to the 'pwmleds' node to allow board files to refer to it with a phandle. Signed-off-by: Matthias Kaehlcke --- (no changes since v1) arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi index 9cb1bc8ed6b5..55b513912e79 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi @@ -295,11 +295,10 @@ pp1200_wf_cam: pp1200-wf-cam-regulator { /* BOARD-SPECIFIC TOP LEVEL NODES */ - pwmleds { + pwmleds: pwmleds { compatible = "pwm-leds"; status = "disabled"; keyboard_backlight: keyboard-backlight { - status = "disabled"; label = "cros_ec::kbd_backlight"; pwms = <&cros_ec_pwm 0>; max-brightness = <1023>; -- 2.36.1.124.g0e6072fb45-goog