From patchwork Tue Oct 3 09:36:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13407358 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 B757BE7543E for ; Tue, 3 Oct 2023 09:37:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231797AbjJCJhf (ORCPT ); Tue, 3 Oct 2023 05:37:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231626AbjJCJhe (ORCPT ); Tue, 3 Oct 2023 05:37:34 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA5EAAB; Tue, 3 Oct 2023 02:37:31 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D560C433C8; Tue, 3 Oct 2023 09:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696325851; bh=B/iAAs2ePsgWsNpeeLQ+e32y/CM8Jf9SdJ3FS1CPSPc=; h=From:To:Cc:Subject:Date:From; b=umOfp6Pih7ivlxJgoGuHJsDbR990MULTMt3Q7dH02lW9KtVz1EWAHfrwoR/Hl+xht p7v62EzjzYn0QURcJmMdxPbF/0IuKH9kkWF//vJ5EPq0NoQI1M1gJWH1/PgcbwdO2h t3g80oNW3pPcoTWbF8nCBx1unYnmdYjh/+/CA0OKqn7RiU6hVJDgddowPM4kjPTmqx YgnxsoJa7DVzwP+sNdcGChhhbV2HoTllQ7w+G7htKqyGXNDndwRv0qFdWL0M0Br7K7 vxZtCmjboc+pJFle8KKuvskVQaKC9GuNo/olf+9EKpQ14pFDq796IQ/AwoRanCGE2r WMiLmyg12DcdA== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1qnbqW-00010i-2k; Tue, 03 Oct 2023 11:37:41 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH] arm64: dts: qcom: sc8280xp-x13s: add missing camera LED pin config Date: Tue, 3 Oct 2023 11:36:47 +0200 Message-ID: <20231003093647.3840-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the missing pin configuration for the recently added camera indicator LED. Fixes: 1c63dd1c5fda ("arm64: dts: qcom: sc8280xp-x13s: Add camera activity LED") Cc: Konrad Dybcio Signed-off-by: Johan Hovold --- .../boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 387907e14afc..467e1d8b081f 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -82,6 +82,9 @@ switch-lid { leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&cam_indicator_en>; + led-camera-indicator { label = "white:camera-indicator"; function = LED_FUNCTION_INDICATOR; @@ -1434,6 +1437,13 @@ hstp-sw-ctrl-pins { }; }; + cam_indicator_en: cam-indicator-en-state { + pins = "gpio28"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + edp_reg_en: edp-reg-en-state { pins = "gpio25"; function = "gpio";