Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64: dts: qcom: msm8916-samsung-fortuna/rossa: Add initial device trees #273

Open
wants to merge 15 commits into
base: wip/msm8916/6.9
Choose a base branch
from

Commits on Jun 23, 2024

  1. FROMLIST: arm64: dts: qcom: msm8916/8216-samsung-fortuna: Add samsung…

    …,fortuna binding
    
    Add common binding samsung,fortuna used by the following
    Samsung Galaxy Grand Prime devices:
    - SM-G530FZ (msm8916-samsung-grandprimelte)
    - SM-G530H  (msm8216-samsung-fortuna3g)
    - SM-G530W  (msm8916-gprimeltecan)
    
    Signed-off-by: Raymond Hackley <[email protected]>
    Link: https://lore.kernel.org/lkml/[email protected]
    wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    31db6ce View commit details
    Browse the repository at this point in the history
  2. arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen (v3)

    Core Prime uses an Imagis IST3038 touchscreen that is connected to
    blsp_i2c5. Add it to the device tree.
    
    v2: Use interrupts-extended
    v3: Drop status = "okay" on i2c5 since it's enabled by default
    v4: Add touch keys
    Signed-off-by: Raymond Hackley <[email protected]>
    wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    3869123 View commit details
    Browse the repository at this point in the history
  3. arm64: dts: qcom: msm8916-samsung-fortuna: Enable the touchkeys

    The phone needs the touchkeys to be enabled so the sense lines of the
    touch controller are mapped properly. Otherwise the touchscreen is not
    mapped to the display properly.
    
    Signed-off-by: Raymond Hackley <[email protected]>
    wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    8b18a8f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d4ec838 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    08824e7 View commit details
    Browse the repository at this point in the history
  6. FIXME: arm64: dts: qcom: msm8916-samsung-fortuna: Add audio jack dete…

    …ction
    
    Signed-off-by: Joe Mason <[email protected]>
    [Raymond: Split from the audio patch]
    Signed-off-by: Raymond Hackley <[email protected]>
    buddyjojo authored and wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    47e3081 View commit details
    Browse the repository at this point in the history
  7. arm64: dts: qcom: msm8916-samsung-fortunaltezt: Add initial device tree

    Samsung Galaxy Grand Prime (SM-G530Y) is a smartphone using the MSM8916
    SoC released in 2014.
    
    The Grand Prime variants are very similar, with some differences in
    accelerometer and NFC. The common parts are shared in
    msm8916-samsung-fortuna-common.dtsi to reduce duplication.
    
    Unfortunately, SM-G530Y was 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 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 this device at some
    point.
    In this case we expect that this device tree can be simply used as-is.
    
    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    da1e514 View commit details
    Browse the repository at this point in the history
  8. arm64: dts: qcom: msm8916-samsung-heatqlte: Add initial device tree

    Samsung Galaxy Ace 4 is a phone based on MSM8916. It is similar
    to the other Samsung devices based on MSM8916 with only a few minor
    differences.
    
    Ace 4 and Core Prime are similar, with some differences in panel and
    touchscreen. The common parts are shared in
    msm8916-samsung-rossa-common.dtsi to reduce duplication.
    
    Unfortunately, SM-G357FZ was 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 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 this device at some
    point.
    In this case we expect that this device tree can be simply used as-is.
    
    Signed-off-by: Gareth Peoples <[email protected]>
    [Raymond: Use msm8916-samsung-rossa-common.dtsi and reword the commit]
    Signed-off-by: Raymond Hackley <[email protected]>
    garethppls authored and wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    97a3488 View commit details
    Browse the repository at this point in the history
  9. ARM: dts: qcom-msm8916-samsung-fortunaltezt/heatqlte: Include dts fro…

    …m arm64
    
    After adding all necessary support for MSM8916 SMP/cpuidle without PSCI
    on ARM32, build fortunaltezt and heatqlte device trees from the arm64
    tree together with the ARM32 include to allow booting this device on ARM32.
    
    The approach to include device tree files from other architectures is
    inspired from e.g. the Raspberry Pi (bcm2711-rpi-4-b.dts) where this is
    used to build the device tree for both ARM32 and ARM64.
    
    [Stephan: Add workaround to TSENS problem]
    Signed-off-by: Stephan Gerhold <[email protected]>
    [Gareth: Add heatqlte]
    Signed-off-by: Gareth Peoples <[email protected]>
    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    2f4510b View commit details
    Browse the repository at this point in the history
  10. ARM: dts: qcom-msm8916-samsung-fortunaltezt/heatqlte: Add qcom,srot-l…

    …ocked to workaround TSENS problem
    
    Signed-off-by: Stephan Gerhold <[email protected]>
    Signed-off-by: Gareth Peoples <[email protected]>
    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    5145ce1 View commit details
    Browse the repository at this point in the history
  11. arm64: dts: qcom: msm8916-samsung-fortunaltezt/heatqlte: Add PMIC

    The phones listed below have Richtek RT5033 PMIC and charger.
    Add them to the device trees.
    - Samsung Galaxy Ace 4 (SM-G357FZ)
    - Samsung Galaxy Grand Prime (SM-G530Y)
    
    Signed-off-by: Raymond Hackley <[email protected]>
    wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    6eb8c0c View commit details
    Browse the repository at this point in the history
  12. arm64: dts: qcom: msm8916-samsung-fortunaltezt: Add accelerometer

    This device has ST LIS2HH12 accelerometer.
    Add support for it.
    
    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    21c7b4d View commit details
    Browse the repository at this point in the history
  13. arm64: dts: qcom: msm8916-samsung-fortuna: Add PN547 NFC (v3)

    Grand Prime SM-G530Y (fortunaltezt) has a NXP PN547, which is supported
    by the nxp-nci-i2c driver in mainline. It seems to detect NFC tags
    using "nfctool" just fine, although more testing is difficult given
    there seem to be very few useful applications making use of the
    Linux NFC subsystem. :(
    
    [Stephan: Move i2c-nfc to common dtsi to share it with other variants]
    Signed-off-by: Stephan Gerhold <[email protected]>
    v2: Reword and add label pn547_nfc
    v3: Use interrupts-extended
    Signed-off-by: "Lin, Meng-Bo" <[email protected]>
    bolilingmeng89006 authored and wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    d323a3f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a400e6e View commit details
    Browse the repository at this point in the history
  15. arm64: dts: qcom: msm8916-samsung-heatqlte: Add display panel

    Signed-off-by: Gareth Peoples <[email protected]>
    [Raymond: Split from the init commit]
    Signed-off-by: Raymond Hackley <[email protected]>
    garethppls authored and wonderfulShrineMaidenOfParadise committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    34a9aa3 View commit details
    Browse the repository at this point in the history