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: 734607 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1425441AB0 for ; Tue, 17 Oct 2023 13:00:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="shA30GZ5" X-Greylist: delayed 9795 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 17 Oct 2023 06:00:27 PDT Received: from mail-40132.protonmail.ch (mail-40132.protonmail.ch [185.70.40.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD888F1 for ; 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 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 --- .../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";