From patchwork Tue Oct 17 13:00:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Hackley X-Patchwork-Id: 154263 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4113915vqb; Tue, 17 Oct 2023 06:00:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2ZyIJ/luhaGvMNeNChFEN0YAM12sLYG5TJSONabDqnHSYB3N9DTNsM99kcKb9lB8NCQG6 X-Received: by 2002:a05:6358:e927:b0:166:d9c3:941d with SMTP id gk39-20020a056358e92700b00166d9c3941dmr2292635rwb.3.1697547652645; Tue, 17 Oct 2023 06:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697547652; cv=none; d=google.com; s=arc-20160816; b=dknn0cZVApj19iZM1zSTKNiRiEMW9xtxmHaNtC0/HU8inx0cT7kYuFJE5qVjRak92V mI+qA3bJZm5K7mgmfNlEN6s5VIf3ZnYoSvxgKWT2GhlJ4/LAP7JfV5iTgwc075hBJPcW 0sCNrjmgx4amem39l+MKreEtA8hKItteaduUjIFc18ovVdg7QYYQ+N2FPGYuGktzLL4y 9CWnMJ9Q3InyMf/ozuY2g6/8T6amSLcFriMBe4a/LiG6lGIVWIMv2pz37FKxc4swTxJZ cpL8NFFDpU7OvRFNmsIGHxwIVW9/jsxm4KkJloQ0PpNTiTkL5qBfhIm2qo1GNfNx+s0k BCXw== 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 :feedback-id:message-id:subject:cc:from:to:date:dkim-signature; bh=ud8aoJQUYksiupgPEfkQsDvGulNvE1B6CwckXIHptaU=; fh=RkN7uOZ4P0JxlmsBGX6CFr/b4ToTHdAA3AjjNz19hHI=; b=ed/qUMEaKaRhx3xyOafjTJcoJlXPWm6c4Zk/g0Pt+HqC3qLjdq6+pMXu17RCcRXVQm cLZgxffNzLQ0y3r+NbDYa1sB5fAPVRRgK3mXyZrcCOkMhVY61be/pgKWcHoRrRj0Aghg QZeemxKCXV8YI7kudpnKx4IHNJLvoQeX5Ji8n5Vab6+0nqxzKPijf47DOuEgiSwcQiuh DLoiach3sXHC9Zm8x5Rvjx1ne7Lg/bJtfuRdWVGT+kpc06u0N7XtiDU6pGR/J1BK4i6b H+J2QQIOcv6LlZrh+jMk3M9KPvUuwDkXSt3xA1YCMyNxfzzd5J/Pt2bsS3lhim2tXsmK Q8Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=shA30GZ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id bt8-20020a632908000000b005b01279150fsi1611410pgb.528.2023.10.17.06.00.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 06:00:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=shA30GZ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 83688802A0DC; Tue, 17 Oct 2023 06:00:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343496AbjJQNAb (ORCPT + 19 others); Tue, 17 Oct 2023 09:00:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343758AbjJQNA3 (ORCPT ); Tue, 17 Oct 2023 09:00:29 -0400 X-Greylist: delayed 9795 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 17 Oct 2023 06:00:27 PDT Received: from mail-40140.protonmail.ch (mail-40140.protonmail.ch [185.70.40.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B793BF5; Tue, 17 Oct 2023 06:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1697547624; x=1697806824; bh=ud8aoJQUYksiupgPEfkQsDvGulNvE1B6CwckXIHptaU=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=shA30GZ5XLfUWUS4KlbKaTu2qR8MCmOEek2rZcyPtgSGYuV+g1+D7fjcWLEqVVP8a hr2K7xTsS3sZ1qxO4FF1BOBTjMZYEseuwxToS53UgaKgN4K/cM4ZkBDcR3zz8VyIzA 6QGmSdSvU5EkC3RjRHKjaID8XXe/MeTxR1wgqb7uHapcudet9ErPZULZfNEE6Kx8vs W2BRTQzINKB5Ou+M/n1iPR3Z0LoqziiGLqPaT7026mZKNiHxTRAlcpLGqPYGKVrvy8 S1LCzwYPbe1kaqf2IEOmF7K8FhlKpHMWTUr+ssTzXIQ9g7SG/5p/v2bKGdCtEXUG1D AE2ySYrRbmt+A== Date: Tue, 17 Oct 2023 13:00:11 +0000 To: linux-kernel@vger.kernel.org From: Raymond Hackley Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephan Gerhold , Nikita Travkin , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Raymond Hackley Subject: [PATCH] arm64: dts: qcom: msm8916-acer-a1-724: Add notification LED Message-ID: <20231017125848.84311-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 17 Oct 2023 06:00:50 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780007727216776757 X-GMAIL-MSGID: 1780007727216776757 Acer Iconia Talk S A1-724 uses KTD2026 LED driver. However, there is no blue LED on it. Add it to the device tree. Signed-off-by: Raymond Hackley Reviewed-by: Konrad Dybcio --- .../boot/dts/qcom/msm8916-acer-a1-724.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts b/arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts index 84723c9b73b4..b0f0f9f59cb3 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts @@ -7,6 +7,7 @@ #include #include #include +#include /* * NOTE: The original firmware from Acer can only boot 32-bit kernels. @@ -83,6 +84,29 @@ magnetometer@12 { }; }; +&blsp_i2c4 { + status = "okay"; + + led-controller@30 { + compatible = "kinetic,ktd2026"; + reg = <0x30>; + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0>; + function = LED_FUNCTION_STATUS; + color = ; + }; + + led@1 { + reg = <1>; + function = LED_FUNCTION_STATUS; + color = ; + }; + }; +}; + &blsp_i2c5 { status = "okay";