From patchwork Thu Jul 25 01:42:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dang Huynh X-Patchwork-Id: 814441 Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) (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 CB0F53BBD7; Thu, 25 Jul 2024 01:43:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.252.153.6 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721871818; cv=none; b=u01oij0tVdTZRImlZYhU/+bvrSK+dAcrv6JYYO4PtJDPEZTWEsXn6xbOWzurpm8VCrzOBSH5zDDXjQTPQXScdxuAHBBmuBWBaWhgVdbrNGKezeFQ57jUWMtrbXL6IDNcTe+yU+SzvIHToIP3tQonuMW8ELqfPD2gCq3LWymx0Z4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721871818; c=relaxed/simple; bh=7ZCdt4lSZ+cn3l7iqGpp8Zz3QbN+Eni7i5sQLWsql9U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mOIYO2P1skIDM7A6+mJ4D8Va5RgYnPbkTq6Z/2AS6NZtp8wG9W0xbPMaMLMzg6wRDEMU3T1dlqLCwgEy0voBOQmCIHBz6SnIeiRRGfBA4LhNGI3xjG9G7fI2w4I6+McSNXOzbJUzJ1hrccvRUlSiS7afFkf10vw2QFnrZ9gfTeI= 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=VDVg6RsO; arc=none smtp.client-ip=198.252.153.6 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="VDVg6RsO" 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 mx0.riseup.net (Postfix) with ESMTPS id 4WTtvX21SLz9t9m; Thu, 25 Jul 2024 01:43:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1721871816; bh=7ZCdt4lSZ+cn3l7iqGpp8Zz3QbN+Eni7i5sQLWsql9U=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=VDVg6RsOI6Dzn5GoMWJDlblgXkEj4ukrUaERuXmYQHuKHBFNepuO8Lq5k4eyoYmL5 pKH5bI9j/Pyf7PkG9mEY3ENviZ64UrO2QXp0ia6Dkg/mQqIFKxbqbiEilFSpgHiXFe J9IIYyw3EdWfhc466YA+SluQeSr2NZ3Gcxalm5Sc= X-Riseup-User-ID: E79531832B8189A81B8B466392F6C57A57BBDD5468AE79FDE3DA4EBDA9C5E2B8 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4WTtvT47TZzJrRJ; Thu, 25 Jul 2024 01:43:33 +0000 (UTC) From: Dang Huynh Date: Thu, 25 Jul 2024 08:42:18 +0700 Subject: [PATCH v2 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: <20240725-qx1050-feature-expansion-v2-9-5fac4bbd946f@riseup.net> References: <20240725-qx1050-feature-expansion-v2-0-5fac4bbd946f@riseup.net> In-Reply-To: <20240725-qx1050-feature-expansion-v2-0-5fac4bbd946f@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 17f40125cb29..7ea9ecf37ae9 100644 --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts @@ -187,6 +187,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";