From patchwork Wed Jul 31 06:18:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dang Huynh X-Patchwork-Id: 13748125 Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (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 2B00216DEB1; Wed, 31 Jul 2024 06:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.252.153.129 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406790; cv=none; b=HVY58NOFbazJ35BefiKp9Z7kUJTr1zlOznokLPLtNhpLB3hEMXLlQseIb3BwwUxw/UI4lo2H5hFJgvG6ikUW6Bs81UMBjT1AT5DU1AOJAAOQDqgkiJcR1j0gI8Uateaxx8cz0vYfvQukcFzaNa1IQsjU7+Qlbz70Gmy+a2ejSHg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406790; c=relaxed/simple; bh=fJ5hurlOVOtDQJIiuvSbZhsIIZd4EvdSkmXYcyG85kI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=n9S9+aJnyhVLvzeDNT2TrSukGpwAkfhdGJUocvnuaYEM038hDQspNMFCbRWJoe0EebBHQXe6UqydB7F4lfrM4vEnp8OC7+pH3QHj5TF0MiMlUM71PPFwWb+pdiNFhw5imH/Hua/0NpyqWxZ2yrQRAKQBpxivZ7ROcwQRH3jGmrM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riseup.net; spf=pass smtp.mailfrom=riseup.net; dkim=pass (1024-bit key) header.d=riseup.net header.i=@riseup.net header.b=Zsb+P6DE; arc=none smtp.client-ip=198.252.153.129 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riseup.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riseup.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=riseup.net header.i=@riseup.net header.b="Zsb+P6DE" Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4WYhlS1rldzDqMM; Wed, 31 Jul 2024 06:19:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1722406788; bh=fJ5hurlOVOtDQJIiuvSbZhsIIZd4EvdSkmXYcyG85kI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Zsb+P6DE0FZnjF0VjzQwF3689VitbLAavu7Fh6De9hJWIes5bEngLmnRYOwj0XxzJ YSpvGb7GBfkXVl+Vh7hd/PRRacDAdXH7Wd2kB2bUWZTGAuueJR/+Yiz1PSMErbOkf5 vZWuM7VihiFwQSPYtTkOBVgCxaZ0Fs1K27ZuKcg8= X-Riseup-User-ID: 84EE1646F2B1EC5C44F13C4EA051D7912B9FC8CC34442FD38A43B92E1E286C65 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4WYhlP3fjkzJrXc; Wed, 31 Jul 2024 06:19:45 +0000 (UTC) From: Dang Huynh Date: Wed, 31 Jul 2024 13:18:50 +0700 Subject: [PATCH v3 09/11] arm64: dts: qcom: sm6115-pro1x: Enable RGB LED Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240731-qx1050-feature-expansion-v3-9-b945527fa5d2@riseup.net> References: <20240731-qx1050-feature-expansion-v3-0-b945527fa5d2@riseup.net> In-Reply-To: <20240731-qx1050-feature-expansion-v3-0-b945527fa5d2@riseup.net> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dang Huynh This device has an RGB LED. It is used for notifications. Reviewed-by: Konrad Dybcio Signed-off-by: Dang Huynh --- arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts index be77a8318800..34834a3929b1 100644 --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts @@ -211,6 +211,33 @@ vol_up_n: vol-up-n-state { }; }; +&pmi632_lpg { + status = "okay"; + + multi-led { + color = ; + function = LED_FUNCTION_STATUS; + + #address-cells = <1>; + #size-cells = <0>; + + led@1 { + reg = <1>; + color = ; + }; + + led@2 { + reg = <2>; + color = ; + }; + + led@3 { + reg = <3>; + color = ; + }; + }; +}; + &pmi632_typec { status = "okay";