From patchwork Fri May 20 19:48:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 575009 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3652C433FE for ; Fri, 20 May 2022 19:48:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350585AbiETTst (ORCPT ); Fri, 20 May 2022 15:48:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346495AbiETTss (ORCPT ); Fri, 20 May 2022 15:48:48 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 949B919321E for ; Fri, 20 May 2022 12:48:47 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id t11-20020a17090a6a0b00b001df6f318a8bso12331981pjj.4 for ; Fri, 20 May 2022 12:48:47 -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=Gkc82O7PaKdKkRxUJGMxoAWWDNBCmeUjeFabaWuuuZg=; b=PqNLOs88i2r/hYuPWzvOtUEQweTuKWXYsfEjYPk2rd/7klIufF29F59+0PBPIdTIJZ 5/pzadMoyFy2ycDX4lw79K3IRWsGg5Pr6vHJzQ71Ta9yS59Cv3kpP5fNtyhYam864eSQ xRB6ough6AFryDPDrGWCf023tLe3zffF26b90= 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=Gkc82O7PaKdKkRxUJGMxoAWWDNBCmeUjeFabaWuuuZg=; b=KkDD627vLUV5uky2dPq0YRQQaMQxkPTfaMRZqo5wK+BNJNI2SheyyVcUBPh/RYEThp jM+DlZf4ZqSD8UE0s4crlDH/6KSzKW59uTxYThC4ufSIeCHdQNcyjEhJmD48TspwG9NE 7BINOGOneJ+4AAw1P38ZMIMFceGsIsWxGeDwdtqsrJ3a8u2T5ncV11cX/iXcngcQRScj GLM7p4cCKbYw2wyfhuTk0hwMOCR3+kVZQWoG0lCsfkTHMZ4PkTU8ltS+scmQC+327Bef AzZt8R2BxBOYg1CPzX2QnpbcY8XCn5IWgUB9/Tm4DPc4OfriSSr/UuNzXfymhuAJbgcm 21rA== X-Gm-Message-State: AOAM533P0XzxiM/uY+YUaaXAe8fiG5knvy6oNxIvIM6URVo9gvtfW9uv 4lom9Ur3WhvseqflrlDDARiebA== X-Google-Smtp-Source: ABdhPJytVyk99zp7E/sbxxFZ660xpfRG+5QYCHh9efeV/6QzW+Iv283XMdlmyWxdE5yGnBRQuY9dqw== X-Received: by 2002:a17:902:ee8d:b0:161:5c5c:d0e6 with SMTP id a13-20020a170902ee8d00b001615c5cd0e6mr11597325pld.32.1653076127113; Fri, 20 May 2022 12:48:47 -0700 (PDT) Received: from localhost ([2620:15c:11a:202:5332:2096:60a3:3455]) by smtp.gmail.com with UTF8SMTPSA id q16-20020a170902eb9000b00161b50c3db4sm131915plg.94.2022.05.20.12.48.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 May 2022 12:48:46 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, Douglas Anderson , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Matthias Kaehlcke Subject: [PATCH] arm64: dts: qcom: sc7280: Enable keyboard backlight for villager Date: Fri, 20 May 2022 12:48:40 -0700 Message-Id: <20220520124834.1.I7c51c6255bb53086a82c5b3f4fafffcc5ccbc4ae@changeid> X-Mailer: git-send-email 2.36.1.124.g0e6072fb45-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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"; +}; + &mdss_edp { status = "okay"; }; @@ -76,6 +80,10 @@ &pcie1_phy { status = "okay"; }; +&pwmleds { + status = "okay"; +}; + /* For eMMC */ &sdhc_1 { status = "okay"; diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi index 9cb1bc8ed6b5..4b8bdcd6d9f4 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi @@ -295,7 +295,7 @@ pp1200_wf_cam: pp1200-wf-cam-regulator { /* BOARD-SPECIFIC TOP LEVEL NODES */ - pwmleds { + pwmleds: pwmleds { compatible = "pwm-leds"; status = "disabled"; keyboard_backlight: keyboard-backlight {