From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 2647E264626 for ; Tue, 29 Jul 2025 06:49:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753771797; cv=none; b=tG5B7K0z/IZoaAe+iDqYjAB7ZpMTcLearTJHCI8V1bz8OKYIHteGMm3La4ElrQOkvd7/36Z9XmO6IMCtPDqQKbV5PR3y4sXPhyu34FB2lvxeJNKQOENIzprjTpGxXJPEuzP8Q2HkyvuY35289iTUWTp3vwqdMPTsPFVZyO7uQwE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753771797; c=relaxed/simple; bh=EOhJI4XE7EmddrlB9TelXwBH+e7RrRI3HJn7pIRR/rk=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=XEy6zIEYTGPDFjTSkhQIG6u2yG/0cpGAEwKKPu6YzQZXCCQJBrimItcJ0DDSlOvUj2njsk6BRAHhOCDfXJ/wv6W0WujyOaPVxXC1Nb6BYBgtxUrmY6LchoGMLCpMEZ/hk0ohdwELcqDtMzgFzxiVWICzXFOmxUnR02cJaZB0u5I= 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=26X3Idx1; arc=none smtp.client-ip=209.85.218.44 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="26X3Idx1" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-ae0df6f5758so875297066b.0 for ; Mon, 28 Jul 2025 23:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1753771792; x=1754376592; 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=0tvO0qmfUNC2jqa8M7kzzmnccGVoia4ygdONyDNCxVc=; b=26X3Idx1BYDQEUjbe/WE12+rsByQkqNFRz9t0mlCCQMZcoOMcqWZUQPITGUIMcjFCT kl5I5w2g7pXjhwftBtc7hLyZa8CRpe+QUDlYBvdklu30eZJu2CJTYVHQJIrYSo412gjH 5HJW8KmTF5XlVXAraB7W3dm/STPlocv5C0W4f/fuDkwq9fdi4B/EN3HwvmUODcqpSVUt ScJcdmrKeVrOljbrRC6Y64732dH12RV/cuw3wZ3adkVhU5YuDCmE9CBGuvLP1hIffyzv x++sHYcjLcoYCEGOCfwWjjNJjKQQgciew/AsTgBxb1s8gm0ClBaAIAUlth25CWEI+bfe TR9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753771792; x=1754376592; 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=0tvO0qmfUNC2jqa8M7kzzmnccGVoia4ygdONyDNCxVc=; b=q1ea5sNNKqNkRUJwQqJatAFAEaOrNoZ84SFnv2du8bKnIwUa9zGugoCpp9pgQy1s8E BrXE3dQcT+DcYUlgO2t2WOsyWRBTbPvS7ypQ3lvE6XMnRsPZKjgMtql2BqCr2FWUr3zq teLqBOr9z9oVt+EkcnNyf/skj1IraCZMYjR8kpvcYcYIPm5kYs2nG5vzPapEGJTCwW6y ehmgdlx1l1RzpMC8/WX8gH+q+9MAkX3zkgO2hb3x3phTdJKsb3mz9cO+uPj+b2anKTLP +KVjwcTfthU/ijgXjd2VBh6403xuQf8MzFwCP6hsL5zj0KxSGwnyN5MR82RL43rOpAzz IuHw== X-Forwarded-Encrypted: i=1; AJvYcCVtDtJC6+D0HhvEesVuOax1po3KUElgKR/14vIIhiMfwWsLpdVKCF/T6bJvmRzqRdQYb2dabtPJjgIuMuU=@vger.kernel.org X-Gm-Message-State: AOJu0Yxu7FvFmjZooWpRqT5RnoMx++XdwE1vKI8y8lF07OaQLoJ8AgMn x4ekwYODFwrsBdviylHeEOfRgnvQrtAz17bj/61zLJ7jKzuG8IWrhi6qF2hBZOxBNKE= X-Gm-Gg: ASbGncvVMAAeraWyc2fM2UzWPy2Y0Ain38gIiPrN7MLRq1ZN4VILuqmblf5mo6RHC0R TZdCvT3tNQRgQpQ3Y/72FxrJtpAbJtWb/Tct6YNhyc8wP5FV3ZDpPEqwEwxuFcRMBiH4HJ5qWbt tZdtiQ/xhrq0KxsGyQFbnRr9kjola2dgetPTXoLWV2HU8XT47TriedZ5coKXOaZVzHbvDnvNjkj PF/td8108/CycKUHdugCuWSPgpchOZLBZRkBXIrXmtIjsdmFjjgiYTFZSwAkm6ALKnL2e/oOzPv qnMX32ta6uRlh7/EVW2y4yZ+xMGYv9SRpGNVZHZKZ2kpFw6cszwlMw/NvOkAJpKoP7NBYMKu4HX M9KB5mJ9v/TDkWmNDMrEil81PqDtg8sB9tSU+h7oQjOS5CXn0zImPbE6ZD7fCColVo3U= X-Google-Smtp-Source: AGHT+IFY1cXRHhDZKmmaOPFoMzRlis7auiB0SY6wze0NFezD/noiXwvsAjKX3xVSDeubNvW/ghlrqg== X-Received: by 2002:a17:907:868c:b0:ae0:da16:f550 with SMTP id a640c23a62f3a-af619d062b6mr1776275666b.49.1753771792232; Mon, 28 Jul 2025 23:49:52 -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-af6358600b1sm546209366b.7.2025.07.28.23.49.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Jul 2025 23:49:51 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@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: Tue, 29 Jul 2025 08:49:50 +0200 Message-Id: Cc: <~postmarketos/upstreaming@lists.sr.ht>, , , , , , , , , , Subject: Re: [PATCH v2 14/15] arm64: dts: qcom: Add initial Milos dtsi From: "Luca Weiss" To: "Luca Weiss" , "Konrad Dybcio" , "Will Deacon" , "Robin Murphy" , "Joerg Roedel" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Rafael J. Wysocki" , "Viresh Kumar" , "Manivannan Sadhasivam" , "Herbert Xu" , "David S. Miller" , "Vinod Koul" , "Bjorn Andersson" , "Konrad Dybcio" , "Robert Marko" , "Das Srinagesh" , "Thomas Gleixner" , "Jassi Brar" , "Amit Kucheria" , "Thara Gopinath" , "Daniel Lezcano" , "Zhang Rui" , "Lukasz Luba" , "Ulf Hansson" X-Mailer: aerc 0.20.1-0-g2ecb8770224a-dirty References: <20250713-sm7635-fp6-initial-v2-0-e8f9a789505b@fairphone.com> <20250713-sm7635-fp6-initial-v2-14-e8f9a789505b@fairphone.com> <3e0299ad-766a-4876-912e-438fe2cc856d@oss.qualcomm.com> In-Reply-To: Hi Konrad, On Thu Jul 17, 2025 at 11:46 AM CEST, Luca Weiss wrote: > Hi Konrad, > > On Thu Jul 17, 2025 at 10:29 AM CEST, Luca Weiss wrote: >> On Mon Jul 14, 2025 at 1:06 PM CEST, Konrad Dybcio wrote: >>> On 7/13/25 10:05 AM, Luca Weiss wrote: >>>> Add a devicetree description for the Milos SoC, which is for example >>>> Snapdragon 7s Gen 3 (SM7635). >>>>=20 >>>> Signed-off-by: Luca Weiss >>>> --- >>> >>> [...] >>>> + >>>> + spmi_bus: spmi@c400000 { >>>> + compatible =3D "qcom,spmi-pmic-arb"; >>> >>> There's two bus instances on this platform, check out the x1e binding >> >> Will do > > One problem: If we make the labels spmi_bus0 and spmi_bus1 then we can't > reuse the existing PMIC dtsi files since they all reference &spmi_bus. > > On FP6 everything's connected to PMIC_SPMI0_*, and PMIC_SPMI1_* is not > connected to anything so just adding the label spmi_bus on spmi_bus0 > would be fine. > > Can I add this to the device dts? Not going to be pretty though... > > diff --git a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts b/arch/arm6= 4/boot/dts/qcom/milos-fairphone-fp6.dts > index d12eaa585b31..69605c9ed344 100644 > --- a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts > +++ b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts > @@ -11,6 +11,9 @@ > #include > #include > #include "milos.dtsi" > + > +spmi_bus: &spmi_bus0 {}; > + > #include "pm7550.dtsi" > #include "pm8550vs.dtsi" > #include "pmiv0104.dtsi" /* PMIV0108 */ > > Or I can add a second label for the spmi_bus0 as 'spmi_bus'. Not sure > other designs than SM7635 recommend using spmi_bus1 for some stuff. > > But I guess longer term we'd need to figure out a solution to this, how > to place a PMIC on a given SPMI bus, if reference designs start to > recommend putting different PMIC on the separate busses. Any feedback on this regarding the spmi_bus label? Regards Luca > > Regards > Luca