[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fc63d761-18bd-7898-f24f-103fc8164679@somainline.org>
Date: Sat, 3 Sep 2022 14:32:46 +0200
From: Konrad Dybcio <konrad.dybcio@...ainline.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Iskren Chernev <iskren.chernev@...il.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>
Cc: phone-devel@...r.kernel.org, ~postmarketos/upstreaming@...ts.sr.ht,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
Andy Gross <agross@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Kees Cook <keescook@...omium.org>,
Anton Vorontsov <anton@...msg.org>,
Colin Cross <ccross@...roid.com>,
Tony Luck <tony.luck@...el.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 14/14] arm64: dts: qcom: sm4250: Add support for
oneplus-billie2
On 1.09.2022 18:20, Krzysztof Kozlowski wrote:
> On 01/09/2022 10:24, Iskren Chernev wrote:
>> Add initial support for OnePlus Nord N100, based on SM4250. Currently
>> working:
>> - boots
>> - usb
>> - buildin flash storage (UFS)
>> - SD card reader
>>
>> Signed-off-by: Iskren Chernev <iskren.chernev@...il.com>
>> ---
>> .../boot/dts/qcom/sm4250-oneplus-billie2.dts | 240 ++++++++++++++++++
>> 1 file changed, 240 insertions(+)
>> create mode 100644 arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts
>> new file mode 100644
>> index 000000000000..c1cf0288aa5f
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts
>> @@ -0,0 +1,240 @@
>> +// SPDX-License-Identifier: GPL-2.0-only
>> +/*
>> + * Copyright (c) 2021, Iskren Chernev <iskren.chernev@...il.com>
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "sm4250.dtsi"
>> +
>> +/ {
>> + model = "OnePlus Nord N100";
>> + compatible = "oneplus,billie2", "qcom,sm4250";
>> +
>> + /* required for bootloader to select correct board */
>> + qcom,msm-id = <0x1a1 0x10000 0x1bc 0x10000>;
>> + qcom,board-id = <0x1000b 0x00>;
>> +
>> + aliases {
>> + };
>> +
>> + chosen {
>> + bootargs = "earlycon=tty0 console=tty0 clk_ignore_unused pd_ignore_unused";
>
> No bootargs. They are not suitable for wide-use.
Agreed, the problem here is probably the framebuffer dying after our clock controllers probe.
One can solve that by adding the relevant clocks/PDs under the framebuffer node like I did
in sm8[123]50 Xperia DTs.
Konrad
Powered by blists - more mailing lists