From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 B610E2D3EEC for ; Fri, 27 Jun 2025 12:54:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751028865; cv=none; b=eqKc1VlMr3TiBg6H3H2sXZ5JkY4xNVj1pe9rI1I3z+3RMmup7Yn7cfIRhOpaf7HtgVPqcEFZ+ZZCurgqLTIqXQ4TizTo+ccAkoYw3rxxq2+sgMvBbSSfC8d+VyiYmRV88Yrt+oGHC5ozWs2D3xZhbLYI1cu/5uCig3cKehQe2rE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751028865; c=relaxed/simple; bh=Du0b+TeI3ZTwjyWt4pvKm1qINJzsD733zYyEarZI+ak=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=S6dZ9xqJ6Ho1ZXgF2O6xN51oXbG2OKgiujAT9QqPVur4WNA9JdqWJxmkwh5dspIllOo5EoGg/BtTKqTMWFEru+FOck/Ehuu+zv1/fM7Cy0o8mnKsCiThcQHyG9fUqW2HAOAcP5Mvx8UCYxTLuEr/aOuE4+480HmomRUFkUi7nuE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none 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=kwKZnHLI; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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="kwKZnHLI" Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-607434e1821so3059692a12.0 for ; Fri, 27 Jun 2025 05:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1751028861; x=1751633661; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+nhdHiI1mmifgnWppwRjST41ES3N+612bitCEUi1kbU=; b=kwKZnHLIudBDOYp0TsE/PcyW4o/D77UX8c/+mzMnR9hyQgmWVSOfrmWp6UiPLCLiNl JsOFHN8WY54Q7tW07j/1I1TVgdVIT8byUpmJBWXhmcQh0SEqoemGNCr8cYAm0aylCGQj uXal0qpCzCM2WyTFSvFazoJ+kVrCGdSZIegRoKdAiBRVxWq+Y8a7m5lsRlmJ66zHr0n1 cJ/b1p32A+S6Jin1xysI0ynRFZPoqq0N9WiGHa53/uq1i+VP+Pr9FdCRTKeSqieXl9um IelpFnI/oW9EET6O7isLuWYfHt2/S19lFOlJTaZaRRo//9ZnKXj8tH9NvmkuAeHjaFfO gOiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751028861; x=1751633661; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=+nhdHiI1mmifgnWppwRjST41ES3N+612bitCEUi1kbU=; b=Znw/KrvYzao8mVUdWzvNcJcXtrUAskeXmePVUq6jDXbf7R8Tq85h1z9RntbnPsaLAS 8bXuCiioQyXKnMfyVeawu+2artlGkmtG1DPWa4AwTTR+oagYaPke044ACnVTGXxKI12c ojmaduuU1Uh0o0MnCPHkCx9aoYHlqmJDUhFsQsQC33Mrw3P1ExHECY4r+5+m3o7N6HV/ 2nsHBpmL+D9AZM/71wweu2O96LkmffHI8hcueYfys05G+2GYK1/e8ALJyLuVmx9UHIkT 78X58bIi/O9tBGW3hzL0p2AOizOT/LEvSHLHdhk1kOmuy/HNHp4of3xBy7gvleNDkbSK pJOg== X-Forwarded-Encrypted: i=1; AJvYcCV7S4gPZtcwDmXHD01repYejC90cN11YNFU8YhSL5bGbNpcrHpdV37vF8ShfR8+o1Ee5g1VL8WZJpbiwd51@vger.kernel.org X-Gm-Message-State: AOJu0YxQkm5GuhskutBYuDhzCWKoAuqBUUcy0qwwWbBzpVLgiiG++t8E IaV39/6zXMIgcE+b+r7b44R7RArVIuPDxNamzwGsSUbc4Sz4oxYEpDjfS5m2+HHm8R8= X-Gm-Gg: ASbGnctkn35MqdBxo9GBb0EdjBoNh5PzR43mJAh1gUubw8OYXEhRI+GP6ixWF6llGfJ L3UZV97VQVbViZ13lW47P1biBjJKFQqD99IjeM/fPQCSNn9PD8g+S4mY2XPENkJ7yYO5hMTc0Ek ttPYqwj5ijKU8d3ovGMRkaa+yiWeQgFZAxC5LxozkCYqljBa2QFe4/jhIby1nuBRDT9HlGhBSVn xUG/VyyXDFEDf5QoJGGOONaK9AgOw1UoQ+JrQmNVd4xAgi1RghP9A0QmniEhhKrAFcZDOuCOCqN QmguzYi2pVSeBtdBdQimE8HfupynEArRBvg8+/LnpaYaimMrCrJkCJHJCWalvDa7dEtOS/e9pJ5 vD+LAF1HL6IQqbjxP3OD2CeuEOjzZYoI= X-Google-Smtp-Source: AGHT+IFsbMB++QIubPPkEjUAaoqBr8kfEWyj7SeiVTthlBeTY5ebiAvDyXm55/dHcIfRL97TTYOl8A== X-Received: by 2002:a17:907:3c89:b0:ad2:417b:2ab5 with SMTP id a640c23a62f3a-ae3501b9be9mr278351166b.60.1751028860934; Fri, 27 Jun 2025 05:54:20 -0700 (PDT) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ae353659efbsm118554866b.46.2025.06.27.05.54.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Jun 2025 05:54:20 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 27 Jun 2025 14:54:20 +0200 Message-Id: Cc: <~postmarketos/upstreaming@lists.sr.ht>, , , , , Subject: Re: [PATCH 3/3] arm64: dts: qcom: Add PMXR2230 PMIC From: "Luca Weiss" To: "Konrad Dybcio" , "Lee Jones" , "Pavel Machek" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Fenglin Wu" , "Stephen Boyd" , "Bjorn Andersson" , "Konrad Dybcio" X-Mailer: aerc 0.20.1-0-g2ecb8770224a-dirty References: <20250625-sm7635-pmxr2230-v1-0-25aa94305f31@fairphone.com> <20250625-sm7635-pmxr2230-v1-3-25aa94305f31@fairphone.com> In-Reply-To: On Wed Jun 25, 2025 at 3:20 PM CEST, Konrad Dybcio wrote: > On 6/25/25 11:18 AM, Luca Weiss wrote: >> Add a dts for the PMIC used e.g. with SM7635 devices. >>=20 >> Signed-off-by: Luca Weiss >> --- >> arch/arm64/boot/dts/qcom/pmxr2230.dtsi | 63 +++++++++++++++++++++++++++= +++++++ >> 1 file changed, 63 insertions(+) >>=20 >> diff --git a/arch/arm64/boot/dts/qcom/pmxr2230.dtsi b/arch/arm64/boot/dt= s/qcom/pmxr2230.dtsi >> new file mode 100644 >> index 0000000000000000000000000000000000000000..a7650f3230c01422b76ef78e= 897e5e7ae2f20cc6 >> --- /dev/null >> +++ b/arch/arm64/boot/dts/qcom/pmxr2230.dtsi >> @@ -0,0 +1,63 @@ >> +// SPDX-License-Identifier: BSD-3-Clause >> +/* >> + * Copyright (c) 2025, Luca Weiss >> + */ >> + >> +#include >> +#include >> + >> +/ { >> + thermal-zones { >> + pmxr2230_thermal: pmxr2230-thermal { >> + polling-delay-passive =3D <100>; >> + >> + thermal-sensors =3D <&pmxr2230_temp_alarm>; >> + >> + trips { >> + pmxr2230_trip0: trip0 { >> + temperature =3D <95000>; >> + hysteresis =3D <0>; >> + type =3D "passive"; >> + }; >> + >> + pmxr2230_crit: pmxr2230-crit { > > This name is "meh", please change to tripN > >> + temperature =3D <115000>; > > Unless there's some actual electrical/physical SKU differences, > downstream lists 145C as critical for a PMIC carrying the same > name [ 0.085990] spmi-temp-alarm c400000.spmi:pmic@1:temp-alarm@a00: No ADC i= s configured and critical temperature 145000 mC is above the maximum stage = 2 threshold of 125000 mC! Configuring stage 2 shutdown at 125000 mC. Same for the PMIV0104: [ 0.086556] spmi-temp-alarm c400000.spmi:pmic@7:temp-alarm@a00: No ADC i= s configured and critical temperature 145000 mC is above the maximum stage = 2 threshold of 125000 mC! Configuring stage 2 shutdown at 125000 mC. What shall I do? Regards Luca > > with that: > > Reviewed-by: Konrad Dybcio > > Konrad