From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Luca Weiss <luca.weiss@fairphone.com>,
Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
Joerg Roedel <joro@8bytes.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Viresh Kumar <viresh.kumar@linaro.org>,
Manivannan Sadhasivam <mani@kernel.org>,
Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>,
Vinod Koul <vkoul@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Robert Marko <robimarko@gmail.com>,
Das Srinagesh <quic_gurus@quicinc.com>,
Thomas Gleixner <tglx@linutronix.de>,
Jassi Brar <jassisinghbrar@gmail.com>,
Amit Kucheria <amitk@kernel.org>,
Thara Gopinath <thara.gopinath@gmail.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Zhang Rui <rui.zhang@intel.com>,
Lukasz Luba <lukasz.luba@arm.com>,
Ulf Hansson <ulf.hansson@linaro.org>
Cc: ~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org,
linux-mmc@vger.kernel.org
Subject: Re: [PATCH 14/14] arm64: dts: qcom: Add The Fairphone (Gen. 6)
Date: Fri, 27 Jun 2025 16:34:23 +0200 [thread overview]
Message-ID: <6d4e77b3-0f92-44dd-b9b0-3129a5f3785b@oss.qualcomm.com> (raw)
In-Reply-To: <DAXA7TKVM4GI.J6C7M3D1J1XF@fairphone.com>
On 6/27/25 1:33 PM, Luca Weiss wrote:
> On Wed Jun 25, 2025 at 4:38 PM CEST, Konrad Dybcio wrote:
>> On 6/25/25 11:23 AM, Luca Weiss wrote:
>>> Add a devicetree for The Fairphone (Gen. 6) smartphone, which is based
>>> on the SM7635 SoC.
>>
>> [...]
>>
>>> + /* Dummy panel for simple-framebuffer dimension info */
>>> + panel: panel {
>>> + compatible = "boe,bj631jhm-t71-d900";
>>> + width-mm = <65>;
>>> + height-mm = <146>;
>>> + };
>>
>> I haven't ran through all the prerequisite-xx-id, but have
>> you submitted a binding for this?
>
> Actually not, kind of forgot about this. I believe I can create a
> (mostly?) complete binding for the panel, but this simple description
> for only width-mm & height-mm will differ from the final one, which will
> have the DSI port, pinctrl, reset-gpios and various supplies.
>
> I think I'll just drop it from v2 and keep it locally only, to get the
> simpledrm scaling right.
Yeah I think that'd be best in general
>
>>
>> [...]
>>
>>> + reserved-memory {
>>> + /*
>>> + * ABL is powering down display and controller if this node is
>>> + * not named exactly "splash_region".
>>> + */
>>> + splash_region@e3940000 {
>>> + reg = <0x0 0xe3940000 0x0 0x2b00000>;
>>> + no-map;
>>> + };
>>> + };
>>
>> :/ maybe we can convince ABL not to do it..
>
> Yes, we talked about that. I will look into getting "splash-region" and
> "splash" also into the ABL (edk2) build for the phone. Still won't
> resolve that for any other brand of devices.
Gotta start small! Maybe framebuffer@ would be more """idiomatic"""
but potayto/potahto
>
>>
>> [...]
>>
>>> + vreg_l12b: ldo12 {
>>> + regulator-name = "vreg_l12b";
>>> + /*
>>> + * Skip voltage voting for UFS VCC.
>>> + */
>>
>> Why so?
>
> From downstream:
>
> /*
> * This is for UFS Peripheral,which supports 2 variants
> * UFS 3.1 ,and UFS 2.2 both require different voltages.
> * Hence preventing voltage voting as per previous targets.
> */
>
> I haven't (successfully) brought up UFS yet, so I haven't looked more
> into that.
>
> The storage on FP6 is UFS 3.1 though fwiw.
Hm.. can you check what debugfs says about the voltage at runtime
(on downstream)? I'd assume you won't be shipping two kinds anyway
[...]
>>> +&pm8550vs_d {
>>> + status = "disabled";
>>> +};
>>> +
>>> +&pm8550vs_e {
>>> + status = "disabled";
>>> +};
>>> +
>>> +&pm8550vs_g {
>>> + status = "disabled";
>>> +};
>>
>> Hm... perhaps we should disable these by deafult
>
> Do you want me to do this in this patchset, or we clean this up later at
> some point? I'd prefer not adding even more dependencies to my patch
> collection right now.
I can totally hear that..
Let's include it in this patchset, right before SoC addition
I don't think there's any pm8550vs users trying to get merged in
parallel so it should be OK
[...]
>>> +&usb_1 {
>>> + dr_mode = "otg";
>>> +
>>> + /* USB 2.0 only */
>>
>> Because there's no usb3phy description yet, or due to hw design?
>
> HW design. Funnily enough with clk_ignore_unused this property is not
> needed, and USB(2.0) works fine then. Just when (I assume) the USB3
> clock is turned off which the bootloader has enabled, USB stops working.
The USB controller has two possible clock sources: the PIPE_CLK that
the QMPPHY outputs, or the UTMI clock (qcom,select-utmi-as-pipe-clk).
Because you said there's no USB3, I'm assuming DP-over-Type-C won't
be a thing either? :(
Konrad
next prev parent reply other threads:[~2025-06-27 14:34 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-25 9:22 [PATCH 00/14] Various dt-bindings for SM7635 and The Fairphone (Gen. 6) addition Luca Weiss
2025-06-25 9:22 ` [PATCH 01/14] dt-bindings: arm-smmu: document the support on SM7635 Luca Weiss
2025-06-25 9:22 ` [PATCH 02/14] dt-bindings: cpufreq: qcom-hw: document SM7635 CPUFREQ Hardware Luca Weiss
2025-06-25 9:22 ` [PATCH 03/14] dt-bindings: crypto: qcom,prng: document SM7635 Luca Weiss
2025-06-25 9:22 ` [PATCH 04/14] dt-bindings: firmware: qcom,scm: document SM7635 SCM Firmware Interface Luca Weiss
2025-06-25 9:23 ` [PATCH 05/14] dt-bindings: qcom,pdc: document the SM7635 Power Domain Controller Luca Weiss
2025-06-25 9:23 ` [PATCH 06/14] dt-bindings: mailbox: qcom-ipcc: document the SM7635 Inter-Processor Communication Controller Luca Weiss
2025-07-25 14:14 ` Luca Weiss
2025-06-25 9:23 ` [PATCH 07/14] dt-bindings: soc: qcom,aoss-qmp: document the SM7635 Always-On Subsystem side channel Luca Weiss
2025-06-25 9:23 ` [PATCH 08/14] dt-bindings: thermal: qcom-tsens: document the SM7635 Temperature Sensor Luca Weiss
2025-06-25 9:23 ` [PATCH 09/14] dt-bindings: dma: qcom,gpi: document the SM7635 GPI DMA Engine Luca Weiss
2025-06-25 9:23 ` [PATCH 10/14] dt-bindings: mmc: sdhci-msm: document the SM7635 SDHCI Controller Luca Weiss
2025-06-25 9:23 ` [PATCH 11/14] dt-bindings: soc: qcom: qcom,pmic-glink: document SM7635 compatible Luca Weiss
2025-06-25 9:23 ` [PATCH 12/14] dt-bindings: arm: qcom: Add SM7635 and The Fairphone (Gen. 6) Luca Weiss
2025-06-25 9:23 ` [PATCH 13/14] arm64: dts: qcom: Add initial SM7635 dtsi Luca Weiss
2025-06-25 9:23 ` [PATCH 14/14] arm64: dts: qcom: Add The Fairphone (Gen. 6) Luca Weiss
2025-06-25 14:38 ` Konrad Dybcio
2025-06-27 11:33 ` Luca Weiss
2025-06-27 14:34 ` Konrad Dybcio [this message]
2025-06-27 14:44 ` Luca Weiss
2025-06-27 15:34 ` Konrad Dybcio
2025-06-30 10:21 ` Luca Weiss
2025-06-25 11:56 ` [PATCH 00/14] Various dt-bindings for SM7635 and The Fairphone (Gen. 6) addition Konrad Dybcio
2025-06-25 20:25 ` Rob Herring (Arm)
2025-06-30 21:59 ` Bjorn Andersson
2025-07-14 6:13 ` Artur Weber
2025-07-14 6:26 ` Krzysztof Kozlowski
2025-07-14 23:38 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6d4e77b3-0f92-44dd-b9b0-3129a5f3785b@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=amitk@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=iommu@lists.linux.dev \
--cc=jassisinghbrar@gmail.com \
--cc=joro@8bytes.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=luca.weiss@fairphone.com \
--cc=lukasz.luba@arm.com \
--cc=mani@kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=quic_gurus@quicinc.com \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=robimarko@gmail.com \
--cc=robin.murphy@arm.com \
--cc=rui.zhang@intel.com \
--cc=tglx@linutronix.de \
--cc=thara.gopinath@gmail.com \
--cc=ulf.hansson@linaro.org \
--cc=viresh.kumar@linaro.org \
--cc=vkoul@kernel.org \
--cc=will@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®