From nobody Thu Nov 28 02:52:45 2024 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 243A239FCE for ; Sat, 5 Oct 2024 03:30:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728099053; cv=none; b=Y+4PkuUxhqhj9YEopY6sW56rkJhSwlWOwxUPZA7/EuiEubnUI1DO3Gaj3DzzvuI5Woyd5ML1RQuM5HrSJRy/Qy2fgou8jXFBAC9/CB22dftgEq4ER2pKtdVZhC/sFm1Om0NNTCoC4tmamN6VCNDongowkmAQn1FITN2xS5FB/GU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728099053; c=relaxed/simple; bh=624PC2/YeCklCrsaKJF9R/XP1a89jSgHzqMS6/HcZZ0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Gw32TXcRptPAD4TY6wHheDd5sAIm6zh4uR2mZJvvBJhTWEctNryLLqpPXwuAbe2Zo5VYs1Ut3JVSDM57Ox+6DQsXXDfrJUt9S8Aq/qQS73zuYCMDF+JPNo8NwRmSMIc5MQ3p6pM31yWgD5iwWZTQBVvyhbiNZZ9hAg/SwgdM3nU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com; spf=fail smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=BbyfcNqJ; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="BbyfcNqJ" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4952XwGP005020 for ; Sat, 5 Oct 2024 03:30:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 5ZXdZKdzX5aehFUDSvHNgos0NAGqQLuaUaeziW9PV+s=; b=BbyfcNqJkUEoO1d5 EJANwbt6E2q0hRuSJ1rsUHYmoMZTq7sj+mAKfnEdViI/dYaNINIcspBzooqBHtQ+ 2jG3O8tnDXHSad5Dq2KVdEmHm6qJLCy4zhy7fUdWNPNHoTklWG5ukE/8XzqIzYqv i3c3uaiRuCyrw5kM7E7BbJLCe+K09tI7MdNDs6TalwLxChPC5j66bBRkpVVGAn6y Y8tHY5lS6F/E++P6ZOJwTi2IwXtklLqPn+YWNneZS/R9p/5WNsoxFgE3W97AowHZ TVoJOM8RUv9qh732Hp9k1V+82fMENeJZO6W50+gLwAcgwLgeifvkldMmZy8qjUt/ A20iWA== Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 422vsgr1wk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sat, 05 Oct 2024 03:30:50 +0000 (GMT) Received: by mail-oo1-f69.google.com with SMTP id 006d021491bc7-5e1c168b583so2218952eaf.3 for ; Fri, 04 Oct 2024 20:30:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728099050; x=1728703850; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5ZXdZKdzX5aehFUDSvHNgos0NAGqQLuaUaeziW9PV+s=; b=RLa80XO233igcJOU1CD8ERtC3Lu+xOE9RTdB8Stu5w/xyeFKd/3hq9DxG4b3VcAXw8 y56Dl/sYO+gpQyOmFclpNFHSX+vQuMWHRkPI4aia422FSaTY71/7hiwqKVqCLXWRcSLr M1IEA2NOav9Xt7EqhH0xnkVodQr3k+z2rwN+o7YhjHNDaKRuS+MrMbkym1nz/+SV5wpJ DcUFnxG0/Rq4kR6CkETpesexmQszXS8CEd4v6obbIAy/+IN4uM1DPY+CxvmYc4Fvx/a3 ynoVBxvDNuwvWvBc9pwHeUxEEAPIFB/bBd2aNYQOV855gOBVcjXs7/tmvJDDsQSDACL5 D59A== X-Forwarded-Encrypted: i=1; AJvYcCW32ezWGgxaMNRzmaK5N/R5N2M0w5oaB1rcmHGulic4iE9RVpjQtnhS6pve+sskC6nD3yOqRaZrDAYldLw=@vger.kernel.org X-Gm-Message-State: AOJu0YwlG6SiQEzSLwCEI4Qyu9YKSrmVwt87mX6SAlOItWu+qBVrdDBb +KzeA3Hr8ch8Dof1tGLQHZVMPg9IAdbQ/0FKmEScMZ9jKntBB5APlfHr2+YR9fgJkktxNYuMXFo HqBHvAGlUmN9+TNS8d0/D0opBEvosaqPA4nB2UCOW//0g6dIfU4R2+HNYgTkPl0o= X-Received: by 2002:a05:6820:16a1:b0:5e7:c504:1fba with SMTP id 006d021491bc7-5e7cbe442e6mr2654089eaf.0.1728099050033; Fri, 04 Oct 2024 20:30:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3l34ZgEPznuOfmAxY0kkTqZgUxtJoZ3sVPLQ1+V18IWPi1BLM766I054ic8HnC7evrXubxw== X-Received: by 2002:a05:6820:16a1:b0:5e7:c504:1fba with SMTP id 006d021491bc7-5e7cbe442e6mr2654083eaf.0.1728099049751; Fri, 04 Oct 2024 20:30:49 -0700 (PDT) Received: from [192.168.86.60] (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5e7d72bdbb3sm366390eaf.38.2024.10.04.20.30.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 20:30:48 -0700 (PDT) From: Bjorn Andersson Date: Fri, 04 Oct 2024 20:33:42 -0700 Subject: [PATCH 1/2] arm64: dts: qcom: pmk8350: Add more SDAM slices Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241004-rb3gen2-leds-v1-1-437cdbb4f6c0@oss.qualcomm.com> References: <20241004-rb3gen2-leds-v1-0-437cdbb4f6c0@oss.qualcomm.com> In-Reply-To: <20241004-rb3gen2-leds-v1-0-437cdbb4f6c0@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2693; i=bjorn.andersson@oss.qualcomm.com; h=from:subject:message-id; bh=3RCgQBVmMuBIE6iRoybRDv1bWdDCpFM5vKKTpll1NHw=; b=owEBgwJ8/ZANAwAIAQsfOT8Nma3FAcsmYgBnALOh/NfGPPSpSJRikfYH2Qf3wjVCQIPwQLlx7 SIWvKxwLKeJAkkEAAEIADMWIQQF3gPMXzXqTwlm1SULHzk/DZmtxQUCZwCzoRUcYW5kZXJzc29u QGtlcm5lbC5vcmcACgkQCx85Pw2ZrcUYGg//Xesg8Q7Rat7MD72z2fmQcJXMonj/Xnbfv8R+Ty9 2LothoerIFqDION3ykA6IPQxRFO7ZDJwhJh5jDB1UGwpXokVNHvl2AzZrDyfH/YqteujFYaic/m mH2BBjevDPq+GXEWGydnBjhhOU/hITFJNbDepXMYVZ+HGM7gN81WqiK6w1CBnITTU6I7epWOfat 4skt1q5EJkLFTejCF0znqFNfIMInnDxRb4TDvUEUSneindjpl7wLvRjSr9CMKkARKSA4GucVPtO YNJ+q0fwF0YXqZyyYBgF/lwNc/3NkcJAjmywSVzPPZfuX/mltZ2bwF6nWcRe9+xeDmVX2ypEu59 VivIK85SSmHdURGSxySWJ+QFK43sDST/xRAbnjWsjME4eXV/ENJarloYVnbW6K+fsezg6NolmP2 BP3vWaIJI2X+HEFgw9nmybXrUaxOz4LxPYmyQJBfhe//mK4STgizSeY3tXygkzQLko+DD2x74NS QvhAtlVCBK5O6s8TSj0Ad3ouFiDkO3cF0LQQUZL2luIV13PzNOu6Vf1+qOKbKC556Yac66dnNxy fBLq+5vSLL+DFPTNQVaVAfuKfbfwoQIWAsOqyUcGWUcoOtYYhQkMP7xup9pqbznHdvFlT9ZvAqI t5/FIbwQmzOmF68YZnffirrFjHQbkPWOzTBKh2VlhQ0o= X-Developer-Key: i=bjorn.andersson@oss.qualcomm.com; a=openpgp; fpr=05DE03CC5F35EA4F0966D5250B1F393F0D99ADC5 X-Proofpoint-GUID: 2102E2ItHNC7RSEfpWh5yWTD5MJThVnk X-Proofpoint-ORIG-GUID: 2102E2ItHNC7RSEfpWh5yWTD5MJThVnk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 mlxlogscore=999 suspectscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 phishscore=0 adultscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410050024 From: Konrad Dybcio The downstream tree described more SDAM slices on the PMIC. Some of them are actually required by other peripherals, whereas other are nice to add for hardware description purposes. Add them in. Signed-off-by: Konrad Dybcio Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/pmk8350.dtsi | 72 +++++++++++++++++++++++++++++++= ++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmk8350.dtsi b/arch/arm64/boot/dts/qc= om/pmk8350.dtsi index f0ed15458dd7..565752af2204 100644 --- a/arch/arm64/boot/dts/qcom/pmk8350.dtsi +++ b/arch/arm64/boot/dts/qcom/pmk8350.dtsi @@ -76,6 +76,14 @@ pmk8350_rtc: rtc@6100 { status =3D "disabled"; }; =20 + pmk8350_sdam_1: nvram@7000 { + compatible =3D "qcom,spmi-sdam"; + reg =3D <0x7000>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x7000 0x100>; + }; + pmk8350_sdam_2: nvram@7100 { compatible =3D "qcom,spmi-sdam"; reg =3D <0x7100>; @@ -89,6 +97,70 @@ reboot_reason: reboot-reason@48 { }; }; =20 + pmk8350_sdam_5: nvram@7400 { + compatible =3D "qcom,spmi-sdam"; + reg =3D <0x7400>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x7400 0x100>; + }; + + pmk8350_sdam_13: nvram@7c00 { + compatible =3D "qcom,spmi-sdam"; + reg =3D <0x7c00>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x7c00 0x100>; + }; + + pmk8350_sdam_14: nvram@7d00 { + compatible =3D "qcom,spmi-sdam"; + reg =3D <0x7d00>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x7d00 0x100>; + }; + + pmk8350_sdam_21: nvram@8400 { + compatible =3D "qcom,spmi-sdam"; + reg =3D <0x8400>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x8400 0x100>; + }; + + pmk8350_sdam_22: nvram@8500 { + compatible =3D "qcom,spmi-sdam"; + reg =3D <0x8500>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x8500 0x100>; + }; + + pmk8350_sdam_23: nvram@8600 { + compatible =3D "qcom,spmi-sdam"; + reg =3D <0x8600>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x8600 0x100>; + }; + + pmk8350_sdam_41: nvram@9800 { + compatible =3D "qcom,spmi-sdam"; + reg =3D <0x9800>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x9800 0x100>; + }; + + pmk8350_sdam_46: nvram@9d00 { + compatible =3D "qcom,spmi-sdam"; + reg =3D <0x9d00>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x9d00 0x100>; + }; + pmk8350_gpios: gpio@b000 { compatible =3D "qcom,pmk8350-gpio", "qcom,spmi-gpio"; reg =3D <0xb000>; --=20 2.45.2 From nobody Thu Nov 28 02:52:45 2024 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 27B7E3A1BA for ; Sat, 5 Oct 2024 03:30:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728099055; cv=none; b=mDmsQ3tHL5OD7tttX+1hCskXcIBk8MbJ4OSHy2qeeF+nbxvCZFoWjXiggg4vio/6pGCpqZKd5gA+lwDPe9oHoiBVbWYspgJoV8+SVHIPZCIJDpLDHuT7xAlV16+F1m4K8wMjf4wj+qy/3dL9bpcXx5b5afeqlPOYtYayE8PLJJ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728099055; c=relaxed/simple; bh=EENcGIg6LoPuWUH9UNAjaTUBcwnoSZtjXy7KPkaIKbc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JIZMHD5XPmonaBihtvHo2KKz1ZrgiF9vH0dpUmrm3Ayt3MwTHMPUNL1SyOiCaF3KYB0hR/83s7Zy+uX7pNdORCAyHQ8WOzFPLPVt8J3q1mV8x2hAp+VQj+pl9Qgxao69/icnDlA04gsb+OXNb4trb4n1Gs7dvhVjz2oVA6rx4z8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com; spf=fail smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=mNFwOhtx; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="mNFwOhtx" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4951bmd8005243 for ; Sat, 5 Oct 2024 03:30:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 25jadHoLQe/wB9Yr+PSvxFqnvt/vkfNMhDrWT8D52Qg=; b=mNFwOhtx/zBGV0fx ixfznQzCOBvmbAaUCgO2CXFWGX+pbBldICcJf6YOA5YmDyOK10QymPbMDDd47mFE 76G0qZm/mKQy/kL2XSb9PPK8bnNvpKAjJPisC4W8qPwB9V2YmA5F3+j+JtGT8jiw wZvbuVExAggNCtlTeoO58BKLSsT76P9gEAwIx9055N2INVelsFf0n5DH1yFA57Qx 8blu7+PaddWUB/VtrieEHx5jPVg89leOjpf174/Jq8s2+f1GyRUJTLXT/tgiFiTs oK+Wz60+kbIntMD5o+AJmg8mxZPJiFt8RYsf8kzlHA5xQrooCCl7jYPLBsB2pinY VItfNw== Received: from mail-oo1-f72.google.com (mail-oo1-f72.google.com [209.85.161.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 422ttn06sw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sat, 05 Oct 2024 03:30:53 +0000 (GMT) Received: by mail-oo1-f72.google.com with SMTP id 006d021491bc7-5e56a096565so1224705eaf.2 for ; Fri, 04 Oct 2024 20:30:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728099052; x=1728703852; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=25jadHoLQe/wB9Yr+PSvxFqnvt/vkfNMhDrWT8D52Qg=; b=hKDJrG3ion8QI5BEgnUhWKH6PyzIeQKmcMCRJhAlWzL0BjYi7fN7mhXryb6Q53kL6k 9p5EPTfaMNiVbZ4BfpxBafxqVeDhZrZ0BigWuUglZehRERALJcbRuDVfOfRz2wskrGFJ ZZK+44dhNQJz4I2cadejxKtYdULkP8DRXh3G8Dkce6ybYF5hkZZa06R4NjZjlgo6p90z mJKZnB6N/HPxPDQn7WaCdYGJUPg5TcraHFV7OtjV/93AbAeN31R22qDcXczpt28XktaS 2upSfUBhBOsp78B0atZSzQy5ZeVgRVzou/4SRsMKN+dP0rSBze2JKq7Bx0WfMMzZ59Om u9Vw== X-Forwarded-Encrypted: i=1; AJvYcCVUMgf7hDgo3k3AR1M2Rg0hDJQGz4HoNTorK4pkp8ZyNIkFChkQZmg1k+C7QSIhqi/s6Uom8Gae2VVGQow=@vger.kernel.org X-Gm-Message-State: AOJu0YyjRpoBgF6PtmlZSrvx2VkHDv2zOX9cFL4Ar2BMoawugW8egtx6 4VhOIdwN/Rra0/7qyauUMsLeH8/Xplx5zpS6NCzyzCz8dua7V9qSJhmixDatW5bdA2moVRkpGCO yTsyOYkKGlC58cidUyF9KtJJAGIhxNBcDPlNyqR+4UvBj+6KJ+CncTZHst4FjbKM= X-Received: by 2002:a05:6830:6216:b0:710:f926:709c with SMTP id 46e09a7af769-7154e97a156mr3736822a34.25.1728099052296; Fri, 04 Oct 2024 20:30:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhe1TrMtIYAJYgeA12sbIFtb1OwoFmPkr+cS+LDVV6PKsohR4oY1N9xwYamsNI8VfPh6dBgg== X-Received: by 2002:a05:6830:6216:b0:710:f926:709c with SMTP id 46e09a7af769-7154e97a156mr3736812a34.25.1728099051833; Fri, 04 Oct 2024 20:30:51 -0700 (PDT) Received: from [192.168.86.60] (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5e7d72bdbb3sm366390eaf.38.2024.10.04.20.30.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 20:30:50 -0700 (PDT) From: Bjorn Andersson Date: Fri, 04 Oct 2024 20:33:43 -0700 Subject: [PATCH 2/2] arm64: dts: qcom: qcs6490-rb3gen2: Configure onboard LEDs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241004-rb3gen2-leds-v1-2-437cdbb4f6c0@oss.qualcomm.com> References: <20241004-rb3gen2-leds-v1-0-437cdbb4f6c0@oss.qualcomm.com> In-Reply-To: <20241004-rb3gen2-leds-v1-0-437cdbb4f6c0@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1855; i=bjorn.andersson@oss.qualcomm.com; h=from:subject:message-id; bh=bRQxJNC6tp3HmXjAopibTIsXTQc8M8UgrM0RAzUJQ9Y=; b=owEBgwJ8/ZANAwAIAQsfOT8Nma3FAcsmYgBnALOht5/HU5PlcBl9zOU6OQOdiOmAYbkw65CBN l6t56NNcCKJAkkEAAEIADMWIQQF3gPMXzXqTwlm1SULHzk/DZmtxQUCZwCzoRUcYW5kZXJzc29u QGtlcm5lbC5vcmcACgkQCx85Pw2ZrcWt8w//aI2iyBFd6rhLKHHfwdfmVnUy+y7wfoNK64sk2eA /rEFdcbAPKFBizfEHHqnEEpG/eCOn7mewGPGcUaJB/P3rYdh6ZaIrpz9IstcbaGpXdZs9eJ01iM 7ss63XKpMY6ElPjEBGxWBdQ5hkbN4B8MyzXn4upkq5PV1YwleAyqPjuYRfghKOCWDCJXXENNJtw BSbJb6bcG3z+VTXNa+5HEcnLhyojXZ1r8O6i1cMKREvN5vanZaevHpgcWuG/S5na16omkfw4iyO 9NnFsjVCX52oSUBMBE4zaVmZVNCSCevhIfF0uqJYy95Wcmer2Z1AzfNXb/TkU0r9Y4rdoj2bIUd k9fstf94DO8ZwttpYLN+K8iv/0NTrvPCtodFyzz0McsZMWeMhIsSuoWuxOGzWS6LEEqTqKIie7J 70r9r9imqz7H4b+aub8rX1t8DPiIcXhs3cWo3JHK60VvD01hXqmff0gOciGxa2/Af65FSYI3nN2 RKJ0KTEYuf4z6VC3/Wxel4dmIFWPSqv1250gPCsWhcbBoj8EJIkzZONZYv6TduJyicJzeF3mBJ2 aLVfENLCgqk3CUESG7yAQZLQEu1z242BD9HFnHYnklgfAxuelpRCLrGzdDYK3DA1lWhHMm9KW2K AUjIHMMJFDImrk3xbwu+/gv93VaSjFi5a4pgHCtdqxdc= X-Developer-Key: i=bjorn.andersson@oss.qualcomm.com; a=openpgp; fpr=05DE03CC5F35EA4F0966D5250B1F393F0D99ADC5 X-Proofpoint-ORIG-GUID: NrhwLcRItBaPEMG0lUCB_W0XzyI9OxNk X-Proofpoint-GUID: NrhwLcRItBaPEMG0lUCB_W0XzyI9OxNk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 spamscore=0 malwarescore=0 impostorscore=0 mlxlogscore=857 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410050024 From: Konrad Dybcio RB3 Gen2 has a trio of LEDs connected to the PM8350C's Light Pulse Generator. Describe them. Use the "red channel" as a panic indicator by default. Signed-off-by: Konrad Dybcio [bjorn: Corrected colors] Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 41 ++++++++++++++++++++++++= ++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot= /dts/qcom/qcs6490-rb3gen2.dts index 0d45662b8028..78f116ca5f45 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts @@ -9,6 +9,7 @@ #define PM7250B_SID 8 #define PM7250B_SID1 9 =20 +#include #include #include "sc7280.dtsi" #include "pm7250b.dtsi" @@ -684,6 +685,46 @@ &mdss_edp_phy { status =3D "okay"; }; =20 +&pm8350c_pwm { + nvmem =3D <&pmk8350_sdam_21>, + <&pmk8350_sdam_22>; + nvmem-names =3D "lpg_chan_sdam", + "lut_sdam"; + + #address-cells =3D <1>; + #size-cells =3D <0>; + + status =3D "okay"; + + led@1 { + reg =3D <1>; + color =3D ; + function =3D LED_FUNCTION_INDICATOR; + function-enumerator =3D <3>; + linux,default-trigger =3D "none"; + default-state =3D "off"; + panic-indicator; + }; + + led@2 { + reg =3D <2>; + color =3D ; + function =3D LED_FUNCTION_INDICATOR; + function-enumerator =3D <2>; + linux,default-trigger =3D "none"; + default-state =3D "off"; + }; + + led@3 { + reg =3D <3>; + color =3D ; + function =3D LED_FUNCTION_INDICATOR; + function-enumerator =3D <1>; + linux,default-trigger =3D "none"; + default-state =3D "off"; + }; +}; + &pmk8350_rtc { status =3D "okay"; }; --=20 2.45.2