From: Iskren Chernev <iskren.chernev@gmail.com>
To: Brian Masney <masneyb@onstation.org>
Cc: Rob Herring <robh+dt@kernel.org>, Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht,
linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 0/7] ARM: dts: qcom: msm8974: klte: Enable some hardware
Date: Wed, 1 Jul 2020 16:50:41 +0300 [thread overview]
Message-ID: <9fb3c6b4-85fc-7528-a2c7-58a1350fa241@gmail.com> (raw)
In-Reply-To: <20200701103041.GA3246@onstation.org>
On 7/1/20 1:30 PM, Brian Masney wrote:
> Hi Iskren,
>
> On Tue, Jun 30, 2020 at 05:09:05PM +0300, Iskren Chernev wrote:
>> Enable support for various hw found on the Samsung Galaxy S5:
>> - touchkey (the two buttons around the home button)
>> - touchscreen
>> - notification led
>> - wifi
>> - external SD card
>>
>> Please note that for working wifi the correct firmware is needed. Check [1]
>> for links and locations.
>>
>> Also note, that to actually run a mainline kernel on the klte, you'd need
>> to apply this patch [2]. Any feedback on getting this to run on pure
>> mainline are welcome.
>>
>> [1] https://gitlab.com/postmarketOS/pmaports/-/blob/master/firmware/firmware-samsung-klte/APKBUILD
>> [2] https://gitlab.com/postmarketOS/linux-postmarketos/-/commit/765f55b248cd3b231af8431fe2f2aeca263b4e4b
>
> Good to see more msm8974 support upstream!
>
> Regarding the second patch, that should only be needed in order to
> use the GPU on these devices.
For the klte, without this delay rpm init patch, the device reboots soon
after being booted. I tested with pure v5.8 and next-20200701 (both have
basic klte support, including usb ethernet for ssh). With the patch
applied, it works like a charm.
Note that there is no GPU enabled in this setup (unless I'm missing some
piece from the SOC dtsi).
> I hope that patch won't be needed once
> IOMMU support is added, which is the last major missing piece in order
> to have the GPU working upstream. I posted a RFC patch [3] in January
> but didn't get any suggestions. I suspect some kind of memory corruption
> since the board gets unstable with that patch.
If the IOMMU is only used for graphics, then the problem remains for klte.
> If that hack patch is still needed to use the GPU once IOMMU support is
> in place, then I planned to troubleshoot it further by adding some log
> statements to various probe functions with and without that patch to see
> the probe order between the various subsystems. I suspect the issue is
> that a clock isn't ticking yet.
>
> [3] https://lore.kernel.org/lkml/20200109002606.35653-1-masneyb@onstation.org/T/#u
I'll be happy to help with that.
> Brian
Iskren
prev parent reply other threads:[~2020-07-01 13:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-30 14:09 [PATCH 0/7] ARM: dts: qcom: msm8974: klte: Enable some hardware Iskren Chernev
2020-06-30 14:09 ` [PATCH 1/7] ARM: dts: qcom: msm8974-klte: Merge pinctrl nodes Iskren Chernev
2020-06-30 14:09 ` [PATCH 2/7] ARM: dts: qcom: msm8974-klte: Add support for touchkey Iskren Chernev
2020-06-30 14:09 ` [PATCH 3/7] ARM: dts: qcom: msm8974-klte: Add support for touchscreen Iskren Chernev
2020-06-30 14:09 ` [PATCH 4/7] ARM: dts: qcom: msm8974-klte: Add support for led Iskren Chernev
2020-06-30 14:09 ` [PATCH 5/7] ARM: dts: qcom: msm8974-klte: Add gpio expander chip Iskren Chernev
2020-06-30 14:09 ` [PATCH 6/7] ARM: dts: qcom: msm8974-klte: Add support for wifi Iskren Chernev
2020-06-30 14:09 ` [PATCH 7/7] ARM: dts: qcom: msm8974-klte: Add support for SD card Iskren Chernev
2020-07-01 10:30 ` [PATCH 0/7] ARM: dts: qcom: msm8974: klte: Enable some hardware Brian Masney
2020-07-01 13:50 ` Iskren Chernev [this message]
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=9fb3c6b4-85fc-7528-a2c7-58a1350fa241@gmail.com \
--to=iskren.chernev@gmail.com \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masneyb@onstation.org \
--cc=robh+dt@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