From patchwork Sat Mar 16 12:10:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13594424 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 971E81798C for ; Sat, 16 Mar 2024 12:10:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710591053; cv=none; b=W2mxiRx++MU5UdtUMDfz02j2BHxuZ+gnnuBmSRpj6bo+Qbj3dcxdV7r6zBGSlqjmOIiEL7rHRC9ddDRmwavvaLpEA6x9nouKIiYTSGNop5hXiF0EwzuJBXFWH9EEEGwnyzJXRksZeqMZWS9gs7ivRasS9HT8+Li9EoI3CWnD9kA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710591053; c=relaxed/simple; bh=fktCCbDv/VIuSyXY3tYWs4IVqhS8SDqxMK0qvxnzbNI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=eqOAHUy5ss4pbinlQgHPRp+lZvL29y5E3QN6ljoE2RMhyQNpYWWjswM+SDzKuJjXQ2tSob5cOXQ/1ZUBS3NZOXJSPc3SShr1gNbultd209aEPqNouegb6zp21UoBes28jbVS/7X2fzx6dQGQsvb733t8Y7gOtTx3d5e6cQ3s8I4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=yT6QNQ2b; arc=none smtp.client-ip=209.85.208.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yT6QNQ2b" Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2d21cdbc85bso37462751fa.2 for ; Sat, 16 Mar 2024 05:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710591050; x=1711195850; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=hDpnnflX/d44C9t+bbp3CWw+BJoJUiJIyi0Tnl0vMkI=; b=yT6QNQ2b2ReX/W79tosz/REgxreL28Ozk3eRP9wmX0kjwJB1a0WuXGDvbDktnsQ1gn v+NDeVCa0pm1R1wQLVQmQDrO0bRWBbqML4eztgaLgE444fRPpJxuSpgdNv6hS71Z3bRj r84XlW5wlhQdZuFtrKo/oDzHTWfSQLd/OUtY9jfZefTKQeqERz9bV04TLq81fWpwTaBM WafnAwcbRO7wasNwi+nCDDQmbS17R1jtd1WaDn4bRzZQjkZt/Trzkey+ZTTNC+LJHA3O zNfqu7I23dVwrD4O7Nw6Q9uM5LR1BDB0snLUX+5gS43zKXyI7tgzE3m7HGwj3fvVG/cZ cDZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710591050; x=1711195850; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hDpnnflX/d44C9t+bbp3CWw+BJoJUiJIyi0Tnl0vMkI=; b=gV7dhfvWcCRXvOX6YrXkiQkjFq9zOWucVGcPs85QG56+chLmjDFDlVaXvm003mGRYy kdAKI0612McH79YchzXtqGPHYt73xXpkKZ8jaNTsgCRkFPegOOiYPvcaoHwhLNLNfLG2 n9L45XupHxsoMecjs+/RSKfNcFPsVMhc14on2uNKxzrqBRNRCi45pIvmGzcN9QXMcweG mu5Yiypo/+92lKOuqlFaJ6/WJBhKLSORpsGXXXeqRT2l7LR5/eFUStGEUf+nUOQN6XuN d9ZcdDRjCSi+wWs+8GZYNtn+PI5rs40MmjC9U8VMFWtMSmUMo5qNeLxKaXLbtr8Hyd+C GlOQ== X-Forwarded-Encrypted: i=1; AJvYcCXeEujlViXMK1kn53FUoWt5JXpYsQ0PIPpEU1Zt5lZRYgDzVakyPwU58cD1Gxr5TmYQbytYGMNsRUswHK9Bdj6+Ydo557MJV4uiVxHUgA== X-Gm-Message-State: AOJu0Yz9/5qbjz/97nP0c0pXk8PVDY+bwNzZUHGWdemOtbUlbkG/22W0 yvOxSPoZXxSl6u0UV05Kwlv55ev/X4SQtqoft26TFxQfCgZE7CEDwe4fhp9v7S8= X-Google-Smtp-Source: AGHT+IEcAO04rh698adudsqeA0OCLfkC2mSxbb70R3fbi4/BAOaySoscZl/ZJMdaztL3d23VKxoD6g== X-Received: by 2002:ac2:5e24:0:b0:513:c658:799b with SMTP id o4-20020ac25e24000000b00513c658799bmr3497844lfg.55.1710591049663; Sat, 16 Mar 2024 05:10:49 -0700 (PDT) Received: from [10.167.154.1] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id q13-20020ac246ed000000b005134263d56bsm945284lfo.224.2024.03.16.05.10.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Mar 2024 05:10:49 -0700 (PDT) From: Konrad Dybcio Date: Sat, 16 Mar 2024 13:10:46 +0100 Subject: [PATCH] arm64: dts: qcom: msm8998-yoshino: 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: <20240316-topic-maple_led-v1-1-ca3430fd9dc5@linaro.org> X-B4-Tracking: v=1; b=H4sIAEWM9WUC/x2NWwqDMBAAryL73YUkPsBepZSyJqsuxBiStgji3 bv0cwaGOaFyEa5wb04o/JUqe1Kwtwb8SmlhlKAMzrjOtHbA957F40Y58itywLnvyNnBmRBG0Gq iyjgVSn7VLn1iVJkLz3L8N4/ndf0AVcPOQHYAAAA= To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Raase , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1710591048; l=1354; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=7POCFrK25iWDlgWo1fz1erE33bL/FqB3Pzbou7z2qXg=; b=1y3D449unX2u/4yzer9iQnPZsjeGGuEasxQxa95dyYh2Jbc37yqg4ImMS4imagsy+2Xf1LDKp Tk/+TI8L2thDKJgi7oB+hH9r88T6H6xoHas5AUIPj/2hb5XxJkuw/wk X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio Add the multicolor description and enable the PMI8998 LPG to expose the RGB notification LED. Signed-off-by: Konrad Dybcio --- Depends on: <20240315225237.1616550-1-linux@sraa.de> --- .../boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) --- base-commit: 6a2bcf40b85ff77e3f32a2fbced3faaf3f59b43c change-id: 20240316-topic-maple_led-f54a21620dd9 Best regards, diff --git a/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi b/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi index fdd3953938d9..d8cc0d729e99 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi @@ -418,6 +418,35 @@ vib_ldo_en: vib-ldo-en-state { }; }; +&pmi8998_lpg { + qcom,power-source = <1>; + + status = "okay"; + + multi-led { + color = ; + function = LED_FUNCTION_STATUS; + + #address-cells = <1>; + #size-cells = <0>; + + led@3 { + reg = <3>; + color = ; + }; + + led@4 { + reg = <4>; + color = ; + }; + + led@5 { + reg = <5>; + color = ; + }; + }; +}; + &qusb2phy { status = "okay";