From nobody Tue Feb 10 23:13:25 2026 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 D3CFE30DD3C for ; Thu, 23 Oct 2025 11:32:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761219171; cv=none; b=YfOahNHUIjD1RUbsXNJqq/QCU3irE9F5KVEOsaPDBvf3ixwodSAXvYulvuMJASDEZao+8VhVuu0Ktbrl8o6eWbqJq+GWdzanDlPpwwWql2TukINNExACFaEXOmTvCumgS68vH3S5XZqc5Uulnlocrf1mIGAeA3jAoDIGdOX18Wo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761219171; c=relaxed/simple; bh=VrNwvQvfKelfjsNL39NDV/Pr5hRkFpgryYK23xxuGu0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LHAm8EeuTTNo6tMV1rAqACpKBbNiQVuz2mH7OtdRUpHwftKgHCLUwIJvINXwL4m4WVhY2Xui/VuOZixZymBgzTuVy/kQplT3ymMKQ8oxjIB8/q/yA3IwZfkomsbQmhB4dXGW2bR/PNjgDu69qthM8FzBB04O7tc9jZ7WXzL5XCs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=VKvLSr2E; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="VKvLSr2E" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-b3ee18913c0so153309266b.3 for ; Thu, 23 Oct 2025 04:32:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1761219167; x=1761823967; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=/FvWczutByRQszn2cLDwkyaS9cC21yJeCI2ighUyDzM=; b=VKvLSr2ENU05eh3nOi4c7i1f5BhnT0JUwH0rJZGXChuflAHPGG7f1RZ4jcNUCvfyWn xd+Yid58NRkG3RttV5RjHKlIq9nw472mjw9GskxzqPaCTVFmJ+xFAVIVTDRNENVV2Wi5 4itWNOIaU5uEkNE70WBKJ9fALdz9MTXlHGznWMIYNEVaY4PbrsPY2Mb8T3FrXd2hqwWJ Sq7ovF34yEPndI6HLK6b18eK8tCvB+B8xHpYYWICw10SV0/2VHtwidXhfkJaRTUrhvqv 4yyeOQF/1RoH4iJMY54na5RwjjAvPgy/jscw8WRlU/2nMRjbj2++Ir0YAITUHlJpC93S vE/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761219167; x=1761823967; 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=/FvWczutByRQszn2cLDwkyaS9cC21yJeCI2ighUyDzM=; b=idauUxQLfmhtEHbMX2iYtTYW3Ckvy1b71Ej9TCVSNvSZbgxYjppQ3Glm8/CwvICTbR vqG/DfWmqkvSg1z+ysY0ruG0jjmmpkIDzeA66Z5YvLborwxoxduRIpiy8ctJIW8yBAO3 7Msyfe2g5o+40ZHOmRHHqFOOxyR9fiBxDye9MRnf86wf8fxatVxxU9n8TeuSjuI1QZyy 52B86dn0eyeZZVE2akcKy2zuf8CvYw3mQ36jt/MGcoX/Va3W0OrwpTlmxcf1UlgyOHsB bnda5sR+iQeoTAPzDglS55+C+QnZOcECyl4efbWISWk82/ZWz17L/wWImXL3MsdE4uom Z2kQ== X-Forwarded-Encrypted: i=1; AJvYcCXQkOGb5IKpVUQpXKs3mSB7I0tPjkLMAEpyK3nnEj33KQp1IyZLebEIE9zZHvGFSo6t9nvAfvX0/sohj8E=@vger.kernel.org X-Gm-Message-State: AOJu0YyXdEbx/rUMJXlMlJXQfqOgZXyQe0/ZfT/vawmxAiVkbpHX+yTC Of0C2EZ+T2trVEKT3E5ygtf+k1C7VcIIQIuaPoEQNWnwuzf78L5Ik4SXxJ7N/Bcu6Zs= X-Gm-Gg: ASbGncviGMPtUTtpjO+rxcr2cbzAAcn0CNXGBxKwGja3Fq+o/YTIkft6LsduyLe+f+M J/znTRwYLAkRjcAEJqFq1Nhq3ENiB2Qfzbo1vVLrCXOyt+28Xt0lNVjNF+HHpUzRk/C6YAZwFT1 2yfxFZ/HDlV9uP2J9lh1mC+Tls2Qdgzdt3Cmyh6hdd6MwehpnMCdIb4XLsnJUBDT+6KljkKK5gq DsxLNFw8AUHMoBtewJePcFpwIcwNIxeyjU3v9FcSeKxLUMMdue2OAET+iRHmQGARV6GqNvnd+Fz JraEgD94Ezas/mAYS903NuRlM7pDtrQBx7QbRMnsVulj9hsEDGoKyi0yWGwvt1O1hKqnQAX6Eps C8+9F0MS9x0zDj6kbRihQQm8JRiF+3UFS698AkkT7YZm2mAqV2W8DXkxzxBMiQUydMPxCQKWBwU yALs+7pMuswjbtLJ504W5SuowZkkba88NC3RPgt4bElBmy7Q== X-Google-Smtp-Source: AGHT+IH9Dd5psNqWeEfzs5C5WDQnf+kwc7VZusjUHqTftWu4ybm3zPVgqZTXAL85Q+86yhvlI2NMXA== X-Received: by 2002:a17:907:3e21:b0:b45:66f6:6a0a with SMTP id a640c23a62f3a-b6474940f13mr2873736566b.44.1761219167068; Thu, 23 Oct 2025 04:32:47 -0700 (PDT) Received: from [192.168.178.36] (046124199085.public.t-mobile.at. [46.124.199.85]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b6d51471ef6sm183087866b.72.2025.10.23.04.32.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Oct 2025 04:32:46 -0700 (PDT) From: Luca Weiss Date: Thu, 23 Oct 2025 13:32:27 +0200 Subject: [PATCH v3 3/3] arm64: dts: qcom: Add PM7550 PMIC 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: <20251023-sm7635-pmxr2230-v3-3-f70466c030fe@fairphone.com> References: <20251023-sm7635-pmxr2230-v3-0-f70466c030fe@fairphone.com> In-Reply-To: <20251023-sm7635-pmxr2230-v3-0-f70466c030fe@fairphone.com> To: Lee Jones , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Fenglin Wu , Stephen Boyd , Bjorn Andersson , Konrad Dybcio , Linus Walleij Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Luca Weiss , Konrad Dybcio X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761219151; l=2094; i=luca.weiss@fairphone.com; s=20250611; h=from:subject:message-id; bh=VrNwvQvfKelfjsNL39NDV/Pr5hRkFpgryYK23xxuGu0=; b=LITtwk2B2ra/A63gTBSxvj5T+8xvMhjvBIUq6RekYdT03g4nS4NJvFGWBL4db9lxly5R4rCM1 IXGzn4EqsZpASHqeKavP7cdKOUaQUtybwgd1YFp4m4Awa7sL86odCK6 X-Developer-Key: i=luca.weiss@fairphone.com; a=ed25519; pk=O1aw+AAust5lEmgrNJ1Bs7PTY0fEsJm+mdkjExA69q8= Add a dts for the PMIC used e.g. with Milos SoC-based devices. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/pm7550.dtsi | 67 ++++++++++++++++++++++++++++++++= ++++ 1 file changed, 67 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm7550.dtsi b/arch/arm64/boot/dts/qco= m/pm7550.dtsi new file mode 100644 index 000000000000..b886c2397fe7 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm7550.dtsi @@ -0,0 +1,67 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2025, Luca Weiss + */ + +#include +#include + +/ { + thermal-zones { + pm7550_thermal: pm7550-thermal { + polling-delay-passive =3D <100>; + + thermal-sensors =3D <&pm7550_temp_alarm>; + + trips { + trip0 { + temperature =3D <95000>; + hysteresis =3D <0>; + type =3D "passive"; + }; + + trip1 { + /* + * Current Linux driver currently only supports up to + * 125=C2=B0C, should be updated to 145=C2=B0C once available. + */ + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + }; +}; + +&spmi_bus { + pm7550: pmic@1 { + compatible =3D "qcom,pm7550", "qcom,spmi-pmic"; + reg =3D <0x1 SPMI_USID>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + pm7550_temp_alarm: temp-alarm@a00 { + compatible =3D "qcom,spmi-temp-alarm"; + reg =3D <0xa00>; + interrupts =3D <0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; + #thermal-sensor-cells =3D <0>; + }; + + pm7550_gpios: gpio@8800 { + compatible =3D "qcom,pm7550-gpio", "qcom,spmi-gpio"; + reg =3D <0x8800>; + gpio-controller; + gpio-ranges =3D <&pm7550_gpios 0 0 12>; + #gpio-cells =3D <2>; + interrupt-controller; + #interrupt-cells =3D <2>; + }; + + pm7550_flash: led-controller@ee00 { + compatible =3D "qcom,pm7550-flash-led", "qcom,spmi-flash-led"; + reg =3D <0xee00>; + status =3D "disabled"; + }; + }; +}; --=20 2.51.1