[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z5kX1YZ6xlCzwASM@linaro.org>
Date: Tue, 28 Jan 2025 18:45:57 +0100
From: Stephan Gerhold <stephan.gerhold@...aro.org>
To: Luca Weiss <luca@...aweiss.eu>
Cc: ~postmarketos/upstreaming@...ts.sr.ht, phone-devel@...r.kernel.org,
Bjorn Andersson <andersson@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Stephan Gerhold <stephan@...hold.net>,
Konrad Dybcio <konradybcio@...nel.org>,
Matti Lehtimäki <matti.lehtimaki@...il.com>,
linux-arm-msm@...r.kernel.org, linux-remoteproc@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 11/13] ARM: dts: qcom: Introduce dtsi for LTE-capable
MSM8926
On Tue, Jan 28, 2025 at 05:46:09PM +0100, Luca Weiss wrote:
> On dinsdag 28 januari 2025 09:07:29 Midden-Europese standaardtijd Stephan
> Gerhold wrote:
> > On Mon, Jan 27, 2025 at 11:45:43PM +0100, Luca Weiss wrote:
> > > MSM8926, while being 'just' an LTE-capable variant of MSM8226, the dts
> > > needs to slightly change since the modem doesn't use the ext-bhs-reg and
> > > needs mss-supply, therefore it gets a new compatible.
> > >
> > > Since we already have two -common.dtsi files which are used on both
> > > APQ8026/MSM8226 and MSM8926 devices, change the setup a bit by removing
> > > the SoC include from those and requiring the device dts to pick the
> > > correct one.
> > >
> > > Signed-off-by: Luca Weiss <luca@...aweiss.eu>
> > > ---
> > > arch/arm/boot/dts/qcom/msm8926.dtsi | 11 ++++++
> +++++
> > > arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts | 1 +
> > > arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-common.dtsi | 6 +++++-
> > > arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts | 1 +
> > > arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts | 1 +
> > > arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts | 1 +
> > > .../boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi | 6 +++++-
> > > arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts | 2 +-
> > > .../arm/boot/dts/qcom/qcom-msm8926-microsoft-superman-lte.dts | 1 +
> > > arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts | 1 +
> > > arch/arm/boot/dts/qcom/qcom-msm8926-motorola-peregrine.dts | 2 +-
> > > arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts | 1 +
> > > 12 files changed, 30 insertions(+), 4 deletions(-)
> > >
> > > diff --git a/arch/arm/boot/dts/qcom/msm8926.dtsi b/arch/arm/boot/dts/qcom/
> msm8926.dtsi
> >
> > I'm personally not a big fan of mixing the naming with and without qcom-
> > prefix. But anyway:
>
> Same, but already all PMICs were renamed to get rid of the pmXXXX- prefix, and
> there's even some new dts files that don't have the qcom- prefix anymore.
>
:/
Omitting the qcom- prefix for .dts files is kind of broken. On ARM32,
the vendor subdirectories only exist inside the kernel source. When
installing the dtbs they are still placed in a single directory. This
means there would be a risk of naming conflicts (granted, very
unlikely). More importantly however, it makes it more difficult to find
the DTBs belonging to a certain vendor... :/
IMHO the naming convention for ARM32 DTBs should just have been
preserved the way it was before, but well that's how it is now I
suppose.
Stephan
Powered by blists - more mailing lists