mbox series

[v7,0/5] Add Samsung Galaxy E5/E7/Grand Max device trees

Message ID 20220724095039.13568-1-linmengbo0689@protonmail.com (mailing list archive)
Headers show
Series Add Samsung Galaxy E5/E7/Grand Max device trees | expand

Message

Lin, Meng-Bo July 24, 2022, 9:53 a.m. UTC
v7: Fix incorrectly squashed haptic patch
Fix email in Acked-by tag again
v6: Rename touchscreen analog regulator for a2015
Use regulator haptic instead of GPIO vibrator
Fix email in Acked-by tag
v5: Fix Error:
arch/arm64/boot/dts/qcom/msm8916-samsung-e2015-common.dtsi:36.2-22 Properties
must precede subnodes
Restore Acked-by tag in the dt-bindings patch
v4: Disable i2c2 until lis2hh12 accelerometer is fixed.
Add GPIO LEDs for Grand Max.
v3: Add a cover letter and changelog
v2: Add dt-bindings documentation

Samsung Galaxy E5, E7 and Grand Max are smartphones using the MSM8916 SoC
released in 2015.

e2015 and a2015 are similar, with some differences in accelerometer,
MUIC and Vibrator. The common parts are shared in
msm8916-samsung-a2015-common.dtsi to reduce duplication.

The three devices (and all other variants of E5/E7/Grand Max released in
2015) are very similar, with some differences in display, touchscreen,
sensors and NFC. The common parts are shared in
msm8916-samsung-e2015-common.dtsi to reduce duplication.

Unfortunately, some E5/E7/Grand Max were released with outdated 32-bit
only firmware and never received any update from Samsung. Since the 32-bit
TrustZone firmware is signed there seems to be no way currently to
actually boot this device tree on arm64 Linux on those variants at the
moment.

However, it is possible to use this device tree by compiling an ARM32
kernel instead. The device tree can be easily built on ARM32 with
an #include and it works really well there. To avoid confusion for others
it is still better to add this device tree on arm64. Otherwise it's easy
to forget to update this one when making some changes that affect all
MSM8916 devices.

Maybe someone finds a way to boot ARM64 Linux on those device at some
point. In this case I expect that this device tree can be simply used
as-is.

Comments

Bjorn Andersson Aug. 29, 2022, 11:46 p.m. UTC | #1
On Sun, 24 Jul 2022 09:53:10 +0000, Lin, Meng-Bo wrote:
> v7: Fix incorrectly squashed haptic patch
> Fix email in Acked-by tag again
> v6: Rename touchscreen analog regulator for a2015
> Use regulator haptic instead of GPIO vibrator
> Fix email in Acked-by tag
> v5: Fix Error:
> arch/arm64/boot/dts/qcom/msm8916-samsung-e2015-common.dtsi:36.2-22 Properties
> must precede subnodes
> Restore Acked-by tag in the dt-bindings patch
> v4: Disable i2c2 until lis2hh12 accelerometer is fixed.
> Add GPIO LEDs for Grand Max.
> v3: Add a cover letter and changelog
> v2: Add dt-bindings documentation
> 
> [...]

Applied, thanks!

[1/5] dt-bindings: qcom: Document bindings for new msm8916-samsung-e2015 devices
      commit: dc1b8ce9db8c5181b3345505a66dfe8136b83f21
[2/5] arm64: dts: qcom: msm8916-samsung-e2015: Add initial common dtsi
      commit: 995d1ac509fb92f3288a8eab3342a5667183fd2f
[3/5] ARM: dts: qcom-msm8916-samsung-e2015: Include dts from arm64
      commit: 87c1b199e622bc2d9b16da5d870ab6b92db96154
[4/5] arm64: dts: qcom: msm8916-samsung-e2015: Add touchkey
      commit: 90ca46731599ea364d2d8b5310341ab766fea637
[5/5] arm64: dts: qcom: msm8916-samsung-a2015: Rename touchscreen analog regulator
      commit: d749d52e251b094322315c359cca814adf2249cf

Best regards,