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

Draft: p4wifi and glide dt-schema improvements #102

Closed
wants to merge 220 commits into from

Commits on Oct 22, 2021

  1. notifier: Add blocking_notifier_call_chain_empty()

    Add blocking_notifier_call_chain_empty() that returns true if call chain
    is empty and false otherwise.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    8643c11 View commit details
    Browse the repository at this point in the history
  2. notifier: Add atomic/blocking_notifier_has_unique_priority()

    Add atomic/blocking_notifier_has_unique_priority() helpers which return
    true if given handler has unique priority in the notifier chain.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    26a1628 View commit details
    Browse the repository at this point in the history
  3. reboot: Correct typo in a comment

    Correct s/implemenations/implementations/ in <reboot.h>.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    f4e5ff1 View commit details
    Browse the repository at this point in the history
  4. reboot: Warn if restart handler has duplicated priority

    It doesn't make sense to register restart handlers with the same priority,
    normally it's a direct sign of a problem. Add sanity check which ensures
    that there are no two restart handlers registered with the same priority.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    1b8cceb View commit details
    Browse the repository at this point in the history
  5. reboot: Warn if unregister_restart_handler() fails

    Emit warning if unregister_restart_handler() fails since it never should
    fail. This will ease further API development by catching dumb mistakes.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    dea272f View commit details
    Browse the repository at this point in the history
  6. reboot: Remove extern annotation from function prototypes

    There is no need to annotate function prototypes with 'extern', it makes
    code less readable. Remove unnecessary annotations from <reboot.h>.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    67c8007 View commit details
    Browse the repository at this point in the history
  7. kernel: Add combined power-off+restart handler call chain API

    SoC platforms often have multiple options for performing of system's
    power-off and restart operations. Meanwhile today's kernel is limited to
    a single option. Add combined power-off+restart handler call chain API,
    which is inspired by the restart API. The new API provides both power-off
    and restart functionality, it's designed with reliability, simplicity
    and extensibility in mind.
    
    The old pm_power_off method will be kept around till all users are
    converted to the new API.
    
    Current restart API will be replaced with the new unified API since
    new API is its superset. The restart functionality of the power-handler
    API is built upon the existing restart-notifier APIs.
    
    In order to ease conversion to the new API, convenient helpers are added
    for the common use-cases. They will reduce amount of boilerplate code and
    remove global variables. These helpers preserve old behaviour where only
    one power-off handler was executed. Users of the new API should explicitly
    opt-in to allow power-off chaining by enabling the corresponding flag of
    power_handler structure.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    78fef1c View commit details
    Browse the repository at this point in the history
  8. xen/x86: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    01f34ff View commit details
    Browse the repository at this point in the history
  9. ARM: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    177a576 View commit details
    Browse the repository at this point in the history
  10. arm64: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    46582a6 View commit details
    Browse the repository at this point in the history
  11. csky: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    90a7830 View commit details
    Browse the repository at this point in the history
  12. ia64: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    830169d View commit details
    Browse the repository at this point in the history
  13. mips: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    3b9420b View commit details
    Browse the repository at this point in the history
  14. nds32: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    e2aaee7 View commit details
    Browse the repository at this point in the history
  15. parisc: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    8fba17f View commit details
    Browse the repository at this point in the history
  16. powerpc: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    f62780e View commit details
    Browse the repository at this point in the history
  17. riscv: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    1f4b541 View commit details
    Browse the repository at this point in the history
  18. sh: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    f6fa7f2 View commit details
    Browse the repository at this point in the history
  19. x86: Use do_kernel_power_off()

    Kernel now supports chained power-off handlers. Use do_kernel_power_off()
    that invokes chained power-off handlers. It also invokes legacy
    pm_power_off() for now, which will be removed once all drivers will
    be converted to the new power-off API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    7e64e4a View commit details
    Browse the repository at this point in the history
  20. m68k: Switch to new power-handler API

    Kernel now supports chained power-off handlers. Use
    register_power_off_handler() that registers power-off handlers and
    do_kernel_power_off() that invokes chained power-off handlers. Legacy
    pm_power_off() will be removed once all drivers will be converted to
    the new power-off API.
    
    Normally arch code should adopt only the do_kernel_power_off() at first,
    but m68k is a special case because it uses pm_power_off() "inside out",
    i.e. it assigns machine_power_off() to pm_power_off, while it's
    machine_power_off() that should invoke the pm_power_off(), and thus,
    we can't convert platforms to the new API separately. There are only
    two platforms changed here, so it's not a big deal.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    bb91270 View commit details
    Browse the repository at this point in the history
  21. memory: emif: Use kernel_can_power_off()

    Replace legacy pm_power_off with kernel_can_power_off() helper that
    is aware about chained power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    15854f2 View commit details
    Browse the repository at this point in the history
  22. ACPI: power: Switch to power-handler API

    Switch to power-handler API that replaces legacy pm_power_off callbacks.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    ac9400e View commit details
    Browse the repository at this point in the history
  23. regulator: pfuze100: Use devm_register_power_handler()

    Use devm_register_power_handler() that replaces global pm_power_off_prepare
    variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    6b2efb0 View commit details
    Browse the repository at this point in the history
  24. reboot: Remove pm_power_off_prepare()

    All pm_power_off_prepare() users were converted to power-handler API.
    Remove the obsolete callback.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    5298e48 View commit details
    Browse the repository at this point in the history
  25. soc/tegra: pmc: Utilize power-handler API to power off Nexus 7 properly

    Nexus 7 Android tablet can be turned off using a special bootloader
    command which is conveyed to bootloader by putting magic value into
    specific scratch register and then rebooting normally. This power-off
    method should be invoked if USB cable is connected. Bootloader then will
    display battery status and power off the device. This behaviour is
    borrowed from downstream kernel and matches user expectations, otherwise
    it looks like device got hung during power-off and it may wake up on
    USB disconnect.
    
    Switch PMC driver to power-handler API, which provides drivers with
    combined power-off+restart call chains functionality, replacing the
    restart-only call chain API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    2113fe5 View commit details
    Browse the repository at this point in the history
  26. mfd: ntxec: Use devm_register_power_handler()

    Use devm_register_power_handler() that replaces global pm_power_off
    variable and allows to register multiple power-off handlers. It also
    provides restart-handler support, i.e. all in one API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    8649696 View commit details
    Browse the repository at this point in the history
  27. mfd: rn5t618: Use devm_register_power_handler()

    Use devm_register_power_handler() that replaces global pm_power_off
    variable and allows to register multiple power-off handlers. It also
    provides restart-handler support, i.e. all in one API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    d10a396 View commit details
    Browse the repository at this point in the history
  28. mfd: acer-a500: Use devm_register_power_handler()

    Use devm_register_power_handler() that replaces global pm_power_off
    variable and allows to register multiple power-off handlers. It also
    provides restart-handler support, i.e. all in one API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    2dc1349 View commit details
    Browse the repository at this point in the history
  29. mfd: ene-kb3930: Use devm_register_power_handler()

    Use devm_register_power_handler() that replaces global pm_power_off
    variable and allows to register multiple power-off handlers. It also
    provides restart-handler support, i.e. all in one API.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    f52cb81 View commit details
    Browse the repository at this point in the history
  30. mfd: axp20x: Use register_simple_power_off_handler()

    Use register_simple_power_off_handler() that replaces global pm_power_off
    variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    48844ef View commit details
    Browse the repository at this point in the history
  31. mfd: retu: Use devm_register_simple_power_off_handler()

    Use devm_register_simple_power_off_handler() that replaces global
    pm_power_off variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    e7cd483 View commit details
    Browse the repository at this point in the history
  32. mfd: rk808: Use devm_register_simple_power_off_handler()

    Use devm_register_simple_power_off_handler() that replaces global
    pm_power_off variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    dfebe43 View commit details
    Browse the repository at this point in the history
  33. mfd: palmas: Use devm_register_simple_power_off_handler()

    Use devm_register_simple_power_off_handler() that replaces global
    pm_power_off variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    358ead4 View commit details
    Browse the repository at this point in the history
  34. mfd: max8907: Use devm_register_simple_power_off_handler()

    Use devm_register_simple_power_off_handler() that replaces global
    pm_power_off variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    1cb927c View commit details
    Browse the repository at this point in the history
  35. mfd: tps6586x: Use devm_register_simple_power_off_handler()

    Use devm_register_simple_power_off_handler() that replaces global
    pm_power_off variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    e4b333e View commit details
    Browse the repository at this point in the history
  36. mfd: tps65910: Use devm_register_simple_power_off_handler()

    Use devm_register_simple_power_off_handler() that replaces global
    pm_power_off variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    854cf3d View commit details
    Browse the repository at this point in the history
  37. mfd: max77620: Use devm_register_simple_power_off_handler()

    Use devm_register_simple_power_off_handler() that replaces global
    pm_power_off variable and allows to register multiple power-off handlers.
    
    Nexus 7 Android tablet can be powered off using MAX77663 PMIC and using
    a special bootloader command. At first the bootloader option should be
    tried, it will have a higher priority than of PMIC that uses default
    priority.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    e13c821 View commit details
    Browse the repository at this point in the history
  38. mfd: dm355evm_msp: Use devm_register_trivial_power_off_handler()

    Use devm_register_trivial_power_off_handler() that replaces global
    pm_power_off variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    543e1b3 View commit details
    Browse the repository at this point in the history
  39. mfd: twl4030: Use devm_register_trivial_power_off_handler()

    Use devm_register_trivial_power_off_handler() that replaces global
    pm_power_off variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    4110cd8 View commit details
    Browse the repository at this point in the history
  40. mfd: ab8500: Use devm_register_trivial_power_off_handler()

    Use devm_register_trivial_power_off_handler() that replaces global
    pm_power_off variable and allows to register multiple power-off handlers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    008370e View commit details
    Browse the repository at this point in the history
  41. reset: ath79: Use devm_register_simple_restart_handler()

    Use devm_register_simple_restart_handler() helper that reduces boilerplate
    code.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    5f3441c View commit details
    Browse the repository at this point in the history
  42. reset: intel-gw: Use devm_register_simple_restart_handler()

    Use devm_register_simple_restart_handler() helper that reduces boilerplate
    code.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    6b06fb8 View commit details
    Browse the repository at this point in the history
  43. reset: lpc18xx: Use devm_register_prioritized_restart_handler()

    Use devm_register_prioritized_restart_handler() helper that reduces
    boilerplate code.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    4abd77d View commit details
    Browse the repository at this point in the history
  44. reset: npcm: Use devm_register_prioritized_restart_handler()

    Use devm_register_prioritized_restart_handler() helper that reduces
    boilerplate code.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    33974de View commit details
    Browse the repository at this point in the history
  45. rtc: tps80031: Remove driver

    Driver was upstreamed in 2013 and never got a user, remove it.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    613896d View commit details
    Browse the repository at this point in the history
  46. regulator: tps80031: Remove driver

    Driver was upstreamed in 2013 and never got a user, remove it.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    46acfd2 View commit details
    Browse the repository at this point in the history
  47. mfd: tps80031: Remove driver

    Driver was upstreamed in 2013 and never got a user, remove it.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    fa2a119 View commit details
    Browse the repository at this point in the history
  48. ARM: tegra: Name clock and regulator nodes according to DT-schema

    Name clocks and regulators according to DT-schema to fix warnings such as:
    
    arch/arm/boot/dts/tegra20-acer-a500-picasso.dt.yaml: /: clock@0: 'anyOf' conditional failed, one must be fixed:
     	'reg' is a required property
     	'ranges' is a required property
     	From schema: /home/runner/.local/lib/python3.8/site-packages/dtschema/schemas/root-node.yaml
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    247ac9b View commit details
    Browse the repository at this point in the history
  49. dt-bindings: display: simple: Add HannStar HSD101PWW2

    Add HannStar HSD101PWW2 10.1" WXGA (1280x800) TFT-LCD LVDS panel
    to the list of compatibles.
    
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    29ec3c7 View commit details
    Browse the repository at this point in the history
  50. drm/panel: simple: Add support for HannStar HSD101PWW2 panel

    Add definition of the HannStar HSD101PWW2 Rev0-A00/A01 LCD
    SuperIPS+ HD panel.
    
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    6651c4c View commit details
    Browse the repository at this point in the history
  51. dt-bindings: ARM: tegra: Document ASUS Transformers

    Document Tegra20/30-based ASUS Transformer Series tablet devices.
    This group includes EeePad TF101, Prime TF201, Pad TF300T, TF300TG
    and Infinity TF700T.
    
    Signed-off-by: David Heidelberg <[email protected]>
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    225ad6c View commit details
    Browse the repository at this point in the history
  52. dt-bindings: ARM: tegra: Document Pegatron Chagall

    Document Pegatron Chagall, which is Tegra30-based tablet device.
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    808fda2 View commit details
    Browse the repository at this point in the history
  53. ARM: tegra: Add device-tree for ASUS Transformer EeePad TF101

    Add device-tree for Tegra20-based ASUS Transformer EeePad TF101.
    
    Co-developed-by: David Heidelberg <[email protected]>
    Co-developed-by: Dmitry Osipenko <[email protected]>
    Co-developed-by: Svyatoslav Ryhel <[email protected]>
    Co-developed-by: Antoni Aloy Torrens <[email protected]>
    Signed-off-by: David Heidelberg <[email protected]>
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    Signed-off-by: Antoni Aloy Torrens <[email protected]>
    Signed-off-by: Nikola Milosavljević <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    mnidza authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    e9a8c1f View commit details
    Browse the repository at this point in the history
  54. ARM: tegra: Add device-tree for ASUS Transformer Prime TF201

    Add device-tree for ASUS Transformer Prime TF201, which is NVIDIA
    Tegra30-based tablet device.
    
    Co-developed-by: Ion Agorria <[email protected]>
    Signed-off-by: Ion Agorria <[email protected]>
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    836a0bc View commit details
    Browse the repository at this point in the history
  55. ARM: tegra: Add device-tree for ASUS Transformer Pad TF300T

    Add device-tree for ASUS Transformer Pad TF300T, which is NVIDIA
    Tegra30-based tablet device.
    
    Tested-by: <Ihor Didenko [email protected]>
    Tested-by: <Andreas Westman Dorcsak [email protected]>
    Co-developed-by: Ion Agorria <[email protected]>
    Signed-off-by: Ion Agorria <[email protected]>
    Co-developed-by: Svyatoslav Ryhel <[email protected]>
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    Signed-off-by: Michał Mirosław <[email protected]>
    osctobe authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    3140c87 View commit details
    Browse the repository at this point in the history
  56. ARM: tegra: Add device-tree for ASUS Transformer Pad TF300TG

    Add device-tree for ASUS Transformer Pad TF300TG, which is NVIDIA
    Tegra30-based tablet device, a variant of TF300T that has 3g modem.
    
    Co-developed-by: Ion Agorria <[email protected]>
    Signed-off-by: Ion Agorria <[email protected]>
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    6231c6f View commit details
    Browse the repository at this point in the history
  57. ARM: tegra: Add device-tree for ASUS Transformer Infinity TF700T

    Add device-tree for ASUS Transformer Infinity TF700T, which is NVIDIA
    Tegra30-based tablet device.
    
    Tested-by: Andreas Westman Dorcsak <[email protected]>
    Tested-by: Jasper Korten <[email protected]>
    Co-developed-by: Ion Agorria <[email protected]>
    Co-developed-by: Maxim Schwalm <[email protected]>
    Signed-off-by: Ion Agorria <[email protected]>
    Signed-off-by: Maxim Schwalm <[email protected]>
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    141076a View commit details
    Browse the repository at this point in the history
  58. ARM: tegra: Add device-tree for Pegatron Chagall tablet

    Add device-tree for Pegatron Chagall, which is NVIDIA Tegra30-based
    Android tablet.
    
    Co-developed-by: Raffaele Tranquillini <[email protected]>
    Signed-off-by: Raffaele Tranquillini <[email protected]>
    Co-developed-by: Ion Agorria <[email protected]>
    Signed-off-by: Ion Agorria <[email protected]>
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    b60cedd View commit details
    Browse the repository at this point in the history
  59. soc/tegra: Enable runtime PM during OPP state-syncing

    GENPD core now can set up domain's performance state properly while device
    is RPM-suspended. Runtime PM of a device must be enabled during setup
    because GENPD checks whether device is suspended and check doesn't work
    while RPM is disabled. Instead of replicating the boilerplate RPM-enable
    code around OPP helper for each driver, let's make OPP helper to take care
    of enabling it.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    d669d57 View commit details
    Browse the repository at this point in the history
  60. soc/tegra: Add devm_tegra_core_dev_init_opp_table_common()

    Only couple drivers need to get the -ENODEV error code and majority of
    drivers need to explicitly initialize the performance state. Add new
    common helper which sets up OPP table for these drivers.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    e115832 View commit details
    Browse the repository at this point in the history
  61. soc/tegra: Don't print error message when OPPs not available

    Previously we assumed that devm_tegra_core_dev_init_opp_table() will
    be used only by drivers that will always have device with OPP table,
    but this is not true anymore. For example now Tegra30 will have OPP table
    for PWM, but Tegra20 not and both use the same driver. Hence let's not
    print the error message about missing OPP table in the common helper,
    we can print it elsewhere.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    496aadc View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2021

  1. dt-bindings: clock: tegra-car: Document new clock sub-nodes

    Document sub-nodes which describe Tegra SoC clocks that require a higher
    voltage of the core power domain in order to operate properly on a higher
    clock rates.  Each node contains a phandle to OPP table and power domain.
    
    The root PLLs and system clocks don't have any specific device dedicated
    to them, clock controller is in charge of managing power for them.
    
    Reviewed-by: Rob Herring <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    065e825 View commit details
    Browse the repository at this point in the history
  2. clk: tegra: Support runtime PM and power domain

    The Clock-and-Reset controller resides in a core power domain on NVIDIA
    Tegra SoCs.  In order to support voltage scaling of the core power domain,
    we hook up DVFS-capable clocks to the core GENPD for managing of the
    GENPD's performance state based on the clock changes.
    
    Some clocks don't have any specific physical hardware unit that backs
    them, like root PLLs and system clock and they have theirs own voltage
    requirements.  This patch adds new clk-device driver that backs the clocks
    and provides runtime PM functionality for them.  A virtual clk-device is
    created for each such DVFS-capable clock at the clock's registration time
    by the new tegra_clk_register() helper.  Driver changes clock's device
    GENPD performance state based on clk-rate notifications.
    
    In result we have this sequence of events:
    
      1. Clock driver creates virtual device for selective clocks, enables
         runtime PM for the created device and registers the clock.
      2. Clk-device driver starts to listen to clock rate changes.
      3. Something changes clk rate or enables/disables clk.
      4. CCF core propagates the change through the clk tree.
      5. Clk-device driver gets clock rate-change notification or GENPD core
         handles prepare/unprepare of the clock.
      6. Clk-device driver changes GENPD performance state on clock rate
         change.
      7. GENPD driver changes voltage regulator state change.
      8. The regulator state is committed to hardware via I2C.
    
    We rely on fact that DVFS is not needed for Tegra I2C and that Tegra I2C
    driver already keeps clock always-prepared.  Hence I2C subsystem stays
    independent from the clk power management and there are no deadlock spots
    in the sequence.
    
    Currently all clocks are registered very early during kernel boot when the
    device driver core isn't available yet.  The clk-device can't be created
    at that time.  This patch splits the registration of the clocks in two
    phases:
    
      1. Register all essential clocks which don't use RPM and are needed
         during early boot.
    
      2. Register at a later boot time the rest of clocks.
    
    This patch adds power management support for Tegra20 and Tegra30 clocks.
    
    Tested-by: Peter Geis <[email protected]> # Ouya T30
    Tested-by: Paul Fertser <[email protected]> # PAZ00 T20
    Tested-by: Nicolas Chauvet <[email protected]> # PAZ00 T20 and TK1 T124
    Tested-by: Matt Merhar <[email protected]> # Ouya T30
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    6a7ea4b View commit details
    Browse the repository at this point in the history
  3. dt-bindings: host1x: Document OPP and power domain properties

    Document new DVFS OPP table and power domain properties of the Host1x bus
    and devices sitting on the bus.
    
    Reviewed-by: Rob Herring <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    801510d View commit details
    Browse the repository at this point in the history
  4. dt-bindings: host1x: Document Memory Client resets of Host1x, GR2D an…

    …d GR3D
    
    Memory Client should be blocked before hardware reset is asserted in order
    to prevent memory corruption and hanging of memory controller.
    
    Document Memory Client resets of Host1x, GR2D and GR3D hardware units.
    
    Reviewed-by: Rob Herring <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    bab5fb6 View commit details
    Browse the repository at this point in the history
  5. gpu: host1x: Add runtime PM and OPP support

    Add runtime PM and OPP support to the Host1x driver. For the starter we
    will keep host1x always-on because dynamic power management require a major
    refactoring of the driver code since lot's of code paths are missing the
    RPM handling and we're going to remove some of these paths in the future.
    
    Tested-by: Peter Geis <[email protected]> # Ouya T30
    Tested-by: Paul Fertser <[email protected]> # PAZ00 T20
    Tested-by: Nicolas Chauvet <[email protected]> # PAZ00 T20 and TK1 T124
    Tested-by: Matt Merhar <[email protected]> # Ouya T30
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    f23779d View commit details
    Browse the repository at this point in the history
  6. gpu: host1x: Add host1x_channel_stop()

    Add host1x_channel_stop() which waits till channel becomes idle and then
    stops the channel hardware. This is needed for supporting suspend/resume
    by host1x drivers since the hardware state is lost after power-gating,
    thus the channel needs to be stopped before client enters into suspend.
    
    Tested-by: Peter Geis <[email protected]> # Ouya T30
    Tested-by: Paul Fertser <[email protected]> # PAZ00 T20
    Tested-by: Nicolas Chauvet <[email protected]> # PAZ00 T20 and TK1 T124
    Tested-by: Matt Merhar <[email protected]> # Ouya T30
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    2d60fcb View commit details
    Browse the repository at this point in the history
  7. drm/tegra: dc: Support OPP and SoC core voltage scaling

    Add OPP and SoC core voltage scaling support to the display controller
    driver. This is required for enabling system-wide DVFS on pre-Tegra186
    SoCs.
    
    Tested-by: Peter Geis <[email protected]> # Ouya T30
    Tested-by: Paul Fertser <[email protected]> # PAZ00 T20
    Tested-by: Nicolas Chauvet <[email protected]> # PAZ00 T20 and TK1 T124
    Tested-by: Matt Merhar <[email protected]> # Ouya T30
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    620d479 View commit details
    Browse the repository at this point in the history
  8. drm/tegra: hdmi: Add OPP support

    The HDMI on Tegra belongs to the core power domain and we're going to
    enable GENPD support for the core domain. Now HDMI driver must use
    OPP API for driving the controller's clock rate because OPP API takes
    care of reconfiguring the domain's performance state based on HDMI clock
    rate. Add OPP support to the HDMI driver.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    f5679d8 View commit details
    Browse the repository at this point in the history
  9. drm/tegra: gr2d: Support generic power domain and runtime PM

    Add runtime power management and support generic power domains.
    
    Tested-by: Peter Geis <[email protected]> # Ouya T30
    Tested-by: Paul Fertser <[email protected]> # PAZ00 T20
    Tested-by: Nicolas Chauvet <[email protected]> # PAZ00 T20 and TK1 T124
    Tested-by: Matt Merhar <[email protected]> # Ouya T30
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    85da053 View commit details
    Browse the repository at this point in the history
  10. drm/tegra: gr3d: Support generic power domain and runtime PM

    Add runtime power management and support generic power domains.
    
    Tested-by: Peter Geis <[email protected]> # Ouya T30
    Tested-by: Paul Fertser <[email protected]> # PAZ00 T20
    Tested-by: Nicolas Chauvet <[email protected]> # PAZ00 T20 and TK1 T124
    Tested-by: Matt Merhar <[email protected]> # Ouya T30
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e00eea7 View commit details
    Browse the repository at this point in the history
  11. drm/tegra: vic: Support system suspend

    Hardware must be stopped before system is suspended. Add suspend-resume
    callbacks. This requires to rearrange runtime PM initialization since RPM
    callback now uses host1x channel that is available only while host1x client
    is registered.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    91517cf View commit details
    Browse the repository at this point in the history
  12. drm/tegra: nvdec: Support system suspend

    Hardware must be stopped before system is suspended. Add suspend-resume
    callbacks. This requires to rearrange runtime PM initialization since RPM
    callback now uses host1x channel that is available only while host1x client
    is registered.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4eafdca View commit details
    Browse the repository at this point in the history
  13. drm/tegra: submit: Remove pm_runtime_enabled() checks

    Runtime PM is now universally available, make it mandatory by removing
    the pm_runtime_enabled() checks.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    efe3a78 View commit details
    Browse the repository at this point in the history
  14. drm/tegra: submit: Add missing pm_runtime_mark_last_busy()

    Runtime PM auto-suspension doesn't work without pm_runtime_mark_last_busy(),
    add it.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    08a159f View commit details
    Browse the repository at this point in the history
  15. usb: chipidea: tegra: Add runtime PM and OPP support

    The Tegra USB controller belongs to the core power domain and we're going
    to enable GENPD support for the core domain. Now USB controller must be
    resumed using runtime PM API in order to initialize the USB power state.
    We already support runtime PM for the CI device, but CI's PM is separated
    from the RPM managed by tegra-usb driver. Add runtime PM and OPP support
    to the driver.
    
    Acked-by: Peter Chen <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    d3362a3 View commit details
    Browse the repository at this point in the history
  16. bus: tegra-gmi: Add runtime PM and OPP support

    The GMI bus on Tegra belongs to the core power domain and we're going to
    enable GENPD support for the core domain. Now GMI must be resumed using
    runtime PM API in order to initialize the GMI power state. Add runtime PM
    and OPP support to the GMI driver.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e44bbce View commit details
    Browse the repository at this point in the history
  17. pwm: tegra: Add runtime PM and OPP support

    The PWM on Tegra belongs to the core power domain and we're going to
    enable GENPD support for the core domain. Now PWM must be resumed using
    runtime PM API in order to initialize the PWM power state. The PWM clock
    rate must be changed using OPP API that will reconfigure the power domain
    performance state in accordance to the rate. Add runtime PM and OPP
    support to the PWM driver.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    764d728 View commit details
    Browse the repository at this point in the history
  18. mmc: sdhci-tegra: Add runtime PM and OPP support

    The SDHCI on Tegra belongs to the core power domain and we're going to
    enable GENPD support for the core domain. Now SDHCI must be resumed using
    runtime PM API in order to initialize the SDHCI power state. The SDHCI
    clock rate must be changed using OPP API that will reconfigure the power
    domain performance state in accordance to the rate. Add runtime PM and OPP
    support to the SDHCI driver.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    79027ab View commit details
    Browse the repository at this point in the history
  19. mtd: rawnand: tegra: Add runtime PM and OPP support

    The NAND on Tegra belongs to the core power domain and we're going to
    enable GENPD support for the core domain. Now NAND must be resumed using
    runtime PM API in order to initialize the NAND power state. Add runtime PM
    and OPP support to the NAND driver.
    
    Acked-by: Miquel Raynal <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    9b670e7 View commit details
    Browse the repository at this point in the history
  20. spi: tegra20-slink: Disable runtime PM synchronously

    pm_runtime_disable() cancels all pending power requests, while they
    should be completed for the Tegra SPI driver. Otherwise SPI clock won't
    be disabled ever again because clk refcount will become unbalanced.
    Sync runtime PM state before disabling it.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    780f4ba View commit details
    Browse the repository at this point in the history
  21. spi: tegra210-quad: Disable runtime PM synchronously

    pm_runtime_disable() cancels all pending power requests, while they
    should be completed for the Tegra SPI driver. Otherwise SPI clock won't
    be disabled ever again because clk refcount will become unbalanced.
    Sync runtime PM state before disabling it.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    5899011 View commit details
    Browse the repository at this point in the history
  22. spi: tegra20-slink: Add OPP support

    The SPI on Tegra belongs to the core power domain and we're going to
    enable GENPD support for the core domain. Now SPI driver must use OPP
    API for driving the controller's clock rate because OPP API takes care
    of reconfiguring the domain's performance state in accordance to the
    rate. Add OPP support to the driver.
    
    Acked-by: Mark Brown <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    b5e7b25 View commit details
    Browse the repository at this point in the history
  23. media: dt: bindings: tegra-vde: Convert to schema

    Convert NVIDIA Tegra video decoder binding to schema.
    
    Reviewed-by: Rob Herring <[email protected]>
    Acked-by: Hans Verkuil <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    137c72a View commit details
    Browse the repository at this point in the history
  24. media: dt: bindings: tegra-vde: Document OPP and power domain

    Document new OPP table and power domain properties of the video decoder
    hardware.
    
    Reviewed-by: Rob Herring <[email protected]>
    Acked-by: Hans Verkuil <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e4ddbab View commit details
    Browse the repository at this point in the history
  25. media: staging: tegra-vde: Support generic power domain

    Currently driver supports legacy power domain API, this patch adds generic
    power domain support. This allows us to utilize a modern GENPD API for
    newer device-trees.
    
    Tested-by: Peter Geis <[email protected]> # Ouya T30
    Tested-by: Paul Fertser <[email protected]> # PAZ00 T20
    Tested-by: Nicolas Chauvet <[email protected]> # PAZ00 T20 and TK1 T124
    Tested-by: Matt Merhar <[email protected]> # Ouya T30
    Acked-by: Hans Verkuil <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c868905 View commit details
    Browse the repository at this point in the history
  26. soc/tegra: fuse: Reset hardware

    The FUSE controller is enabled at a boot time. Reset it in order to put
    hardware and clock into clean and disabled state.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c43d1b8 View commit details
    Browse the repository at this point in the history
  27. soc/tegra: fuse: Use resource-managed helpers

    Use resource-managed helpers to make code cleaner and more correct,
    properly releasing all resources in case of driver probe error.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    491a0a2 View commit details
    Browse the repository at this point in the history
  28. soc/tegra: regulators: Prepare for suspend

    Depending on hardware version, Tegra SoC may require a higher voltages
    during resume from system suspend, otherwise hardware will crash. Set
    SoC voltages to a nominal levels during suspend.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    3e2f0fc View commit details
    Browse the repository at this point in the history
  29. soc/tegra: pmc: Rename 3d power domains

    Device-tree schema doesn't allow domain name to start with a number.
    We don't use 3d domain yet in device-trees, so rename it to the name
    used by Tegra TRMs: TD, TD2.
    
    Reported-by: David Heidelberg <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c36f68e View commit details
    Browse the repository at this point in the history
  30. soc/tegra: pmc: Rename core power domain

    CORE power domain uses name of device-tree node, which is inconsistent with
    the names of PMC domains. Set the name to "core" to make it consistent.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    fb89013 View commit details
    Browse the repository at this point in the history
  31. soc/tegra: pmc: Enable core domain support for Tegra20 and Tegra30

    All device drivers got runtime PM and OPP support. Flip the core domain
    support status for Tegra20 and Tegra30 SoCs.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    de6a574 View commit details
    Browse the repository at this point in the history
  32. ARM: tegra: Rename CPU and EMC OPP table device-tree nodes

    OPP table name now should start with "opp-table" and OPP entries
    shouldn't contain commas and @ signs in accordance to the new schema
    requirement. Reorganize CPU and EMC OPP table device-tree nodes.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    8d40f2f View commit details
    Browse the repository at this point in the history
  33. ARM: tegra: Add 500MHz entry to memory OPP table

    Extend memory OPPs with 500MHz entry. This clock rate is used by ASUS
    Transformer tablets.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4e26bfd View commit details
    Browse the repository at this point in the history
  34. ARM: tegra: Add OPP tables and power domains to Tegra20 device-trees

    Add OPP tables and power domains to all peripheral devices which
    support power management on Tegra20 SoC.
    
    Tested-by: Paul Fertser <[email protected]> # PAZ00 T20
    Tested-by: Nicolas Chauvet <[email protected]> # PAZ00 T20
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    d88ad47 View commit details
    Browse the repository at this point in the history
  35. ARM: tegra: Add OPP tables and power domains to Tegra30 device-trees

    Add OPP tables and power domains to all peripheral devices which
    support power management on Tegra30 SoC. Extend memory OPPs with 500MHz
    entry that is found on ASUS Transformer tablets.
    
    Tested-by: Peter Geis <[email protected]> # Ouya T30
    Tested-by: Matt Merhar <[email protected]> # Ouya T30
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    810089f View commit details
    Browse the repository at this point in the history
  36. ARM: tegra: Add Memory Client resets to Tegra20 GR2D, GR3D and Host1x

    Memory access must be blocked before hardware reset is asserted and before
    power is gated, otherwise a serious hardware fault is inevitable. Add
    reset for memory clients to the GR2D, GR3D and Host1x nodes.
    
    Tested-by: Paul Fertser <[email protected]> # PAZ00 T20
    Tested-by: Nicolas Chauvet <[email protected]> # PAZ00 T20
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    106ee44 View commit details
    Browse the repository at this point in the history
  37. ARM: tegra: Add Memory Client resets to Tegra30 GR2D, GR3D and Host1x

    Memory access must be blocked before hardware reset is asserted and before
    power is gated, otherwise a serious hardware fault is inevitable. Add
    reset for memory clients to the GR2D, GR3D and Host1x nodes.
    
    Tested-by: Peter Geis <[email protected]> # Ouya T30
    Tested-by: Matt Merhar <[email protected]> # Ouya T30
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    abdac57 View commit details
    Browse the repository at this point in the history
  38. ARM: tegra20/30: Disable unused host1x hardware

    MPE, VI, EPP and ISP were never used and we don't have drivers for them.
    Since these modules are enabled by default in a device-tree, a device is
    created for them, blocking voltage scaling because there is no driver to
    bind, and thus, state of PMC driver is never synced. Disable them.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    099216a View commit details
    Browse the repository at this point in the history
  39. iommu/tegra-smmu: Change debugfs directory name

    Change debugfs directory name to "smmu", which is a much more obvious name
    than the generic name of the memory controller device-tree node.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    ef09011 View commit details
    Browse the repository at this point in the history
  40. iommu/tegra-smmu: Defer attachment of display clients

    All consumer-grade Android and Chromebook devices show a splash screen
    on boot and then display is left enabled when kernel is booted. This
    behaviour is unacceptable in a case of implicit IOMMU domains to which
    devices are attached during kernel boot since devices, like display
    controller, may perform DMA at that time. We can work around this problem
    by deferring the enable of SMMU translation for a specific devices,
    like a display controller, until the first IOMMU mapping is created,
    which works good enough in practice because by that time h/w is already
    stopped.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    6925eaa View commit details
    Browse the repository at this point in the history
  41. iommu/tegra-smmu: Revert workaround that was needed for Nyan Big Chro…

    …mebook
    
    The previous commit fixes problem where display client was attaching too
    early to IOMMU during kernel boot in a multi-platform kernel configuration
    which enables CONFIG_ARM_DMA_USE_IOMMU=y. The workaround that helped to
    defer the IOMMU attachment for Nyan Big Chromebook isn't needed anymore,
    revert it.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    d01ba4f View commit details
    Browse the repository at this point in the history
  42. gpu: host1x: Add back arm_iommu_detach_device()

    The case of CONFIG_ARM_DMA_USE_IOMMU=y was found to be broken for
    host1x driver. Add back the workaround using arm_iommu_detach_device()
    as a temporary solution.
    
    Cc: [email protected]
    Fixes: af1cbfb ("gpu: host1x: Support DMA mapping of buffers"
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    b6b5af2 View commit details
    Browse the repository at this point in the history
  43. drm/tegra: Add back arm_iommu_detach_device()

    The case of CONFIG_ARM_DMA_USE_IOMMU=y was found to be broken for
    DRM driver. Add back the workaround using arm_iommu_detach_device()
    as a temporary solution.
    
    Cc: [email protected]
    Fixes: fa6661b ("drm/tegra: Optionally attach clients to the IOMMU")
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c312176 View commit details
    Browse the repository at this point in the history
  44. drm/tegra: plane: Accept all format-modifiers

    Tiling modifier can't be applied to YV12 video overlay by userspace
    because all tiling modifiers are filtered out for multi-plane formats.
    AFAIK, all modifiers should work with all of formats, hence the checking
    is incorrect.
    
    Fixes: e90124c ("drm/tegra: plane: Support format modifiers")
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    5cdc328 View commit details
    Browse the repository at this point in the history
  45. PM / devfreq: tegra30: Use tracepoints for debugging

    Debug messages create too much CPU and memory activity by themselves,
    so it's difficult to debug lower rates and catch unwanted interrupts
    that happen rarely. Tracepoints are ideal in that regards because they
    do not contribute to the sampled date at all. This allowed me to catch
    few problems which are fixed by the followup patches, without tracepoints
    it would be much harder to do.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    d56c343 View commit details
    Browse the repository at this point in the history
  46. memory: tegra: Block DMA for clients HW on a faulty memory access

    Currently Memory Controller informs about erroneous memory accesses done
    by memory clients and that's it. Let's make it to block whole HW unit that
    corresponds to the misbehaving memory client in order to try to avoid
    memory corruptions and to stop deliberate attempts of manipulation by a
    misbehaving client.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    547b0a7 View commit details
    Browse the repository at this point in the history
  47. ARM: dts: tegra20: Add IOMMU nodes to Host1x clients

    Enable IOMMU support for Host1x clients.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    df3f3bc View commit details
    Browse the repository at this point in the history
  48. xxx: mmc: core: Add quirk for NVIDIA Tegra20 EMMC

    This quirk is required in order to detect EMMC partitions on some Tegra20
    devices.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e6ede15 View commit details
    Browse the repository at this point in the history
  49. Revert "xxx: mmc: core: Add quirk for NVIDIA Tegra20 EMMC"

    This reverts commit 828663c674099f5b2f831e1281913c762a6f61e8.
    
    It makes some T20 devices to see eMMC partitions, but breaks the others.
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4eebebc View commit details
    Browse the repository at this point in the history
  50. xxx: iommu: tegra-gart: Expose as system-wide IOMMU

    This enables IOMMU for Terga20 GPU. The patch will be removed after
    updating DRM WIP patch to support IOMMU in a different way.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    78f5ca5 View commit details
    Browse the repository at this point in the history
  51. xxx: staging: android: Add legacy ram-console

    Device-tree should contain the ram-console node, example:
    
    /memreserve/ 0xbeb00000 0x100000;
    
    	ram-console {
    		compatible = "android,ram-console";
    		reg = <0xbeb00000 0x100000>;
    	};
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4216c03 View commit details
    Browse the repository at this point in the history
  52. mmc: Support non-standard gpt_sector cmdline parameter

    Add support for the gpt_sector cmdline parameter which will be used
    for looking up GPT entry on internal eMMC storage of NVIDIA Tegra20+
    devices. This parameter is used by a stock downstream bootloader of
    Android devices.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    f330f10 View commit details
    Browse the repository at this point in the history
  53. partitions: Support NVIDIA Tegra Partition Table

    All NVIDIA Tegra devices use a special partition table format for the
    internal storage partitioning.  Most of Tegra devices have GPT partition
    in addition to TegraPT, but some older Android consumer-grade devices do
    not or GPT is placed in a wrong sector, and thus, the TegraPT is needed
    in order to support these devices properly by the upstream kernel. This
    patch adds support for NVIDIA Tegra Partition Table format that is used
    at least by all NVIDIA Tegra20 and Tegra30 devices.
    
    Tested-by: Nils Östlund <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    3b4b2ce View commit details
    Browse the repository at this point in the history
  54. soc/tegra: Expose Boot Configuration Table via sysfs

    It's quite useful to have unencrypted BCT exposed to userspace for
    debugging purposes, so let's expose it via sysfs.  The BCT data will be
    present in '/sys/tegra/boot_config_table' binary file if BCT is available.
    
    Suggested-by: Michał Mirosław <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    6f3c8a7 View commit details
    Browse the repository at this point in the history
  55. xxx: partitions/tegra: Enable debug by default

    The debug messages are useful for a WIP devices, so let's enable them.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    b32c687 View commit details
    Browse the repository at this point in the history
  56. ARM: tegra_defconfig: Enable CONFIG_ARM_APPENDED_DTB

    Downstream bootloader of Tegra20/30 doesn't support device-tree,
    so compiled DTB needs to be manually appended to the kernel's zImage.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4a4074c View commit details
    Browse the repository at this point in the history
  57. PCI: disable nv_msi_ht_cap_quirk_leaf quirk on arm/arm64

    This patch disable the use of nv_msi_ht_cap_quirk_leaf quirk on arm and
    arm64 NVIDIA devices such as Tegra
    
    This fixes the following output:
    "pci 0000:00:01.0: nv_msi_ht_cap_quirk didn't locate host bridge"
    as experienced on a Trimslice device with PCI host bridge enabled
    
    v3: exclude the quirk for arm and arm64 instead of only for x86
    
    v2: use __maybe_unused to avoid a warning on nv_msi_ht_cap_quirk_leaf
    
    Signed-off-by: Nicolas Chauvet <[email protected]>
    Reviewed-by: Manikanta Maddireddy <[email protected]>
    Acked-by: Thierry Reding <[email protected]>
    kwizart authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    cb07db4 View commit details
    Browse the repository at this point in the history
  58. drm/tegra: dc: Add legacy BO tiling compatibility

    The BO tiling isn't respected since the time when DRM modifiers became
    supported and in a result older userspace can't set tiling mode. This
    patch restores the legacy BO tiling flag support, which is useful for
    developing purposes.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    27fda54 View commit details
    Browse the repository at this point in the history
  59. XXX: drm: Add generic colorkey properties for display planes

    Color keying is the action of replacing pixels matching a given color
    (or range of colors) with transparent pixels in an overlay when
    performing blitting. Depending on the hardware capabilities, the
    matching pixel can either become fully transparent or gain adjustment
    of the pixels component values.
    
    Color keying is found in a large number of devices whose capabilities
    often differ, but they still have enough common features in range to
    standardize color key properties. This commit adds new generic DRM plane
    properties related to the color keying, providing initial color keying
    support.
    
    Signed-off-by: Laurent Pinchart <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    Laurent Pinchart authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    ad9e2b8 View commit details
    Browse the repository at this point in the history
  60. WIP: drm/grate: Add Host1x and DRM drivers with experimental changes

    The new drivers and UAPI provide all features that are necessary for
    implementing of a proper userspace driver. The new driver takes a different
    approach in regards to working with sync points by making each submitted job
    to take an individual sync point, this solves the problem with the sync point
    recovery that old driver suffered from. The new Host1x driver and v2 UAPI are
    optimized for performance and minimal resources consumption. The new v2 UAPI
    exposes to userspace the HW cmdstream-related features that are necessary
    for a proper HW fencing. The staging v1 UAPI is kept functional and all of
    current userspace will continue to work with the new driver, note that some
    of the never-really-used features of v1 UAPI have been removed (like sync
    point increment IOCTL) and will return EPERM.
    
    The goal is to merge new features into the main driver once they are ready.
    
    Key moments of v2 UAPI:
    	- Raw sync points are not exposed to userspace.
    
    	- Job descriptors are embedded into the commands stream. Kernel
    	  driver parses the stream and patches the descriptors in-place.
    
    	- Commands buffer is copied from userspace via usrptr (no BO
    	  allocation and uncached-reading overhead).
    
    	- Channel is not restricted to a single client, thus 3d channel can
    	  take a multi-client job that uses 2d / 3d.
    
    	- Supports explicit jobs fencing. DRM sync object and DRM scheduler
    	  are utilized to provide the fencing support.
    
    	- Allows to use host1x gather opcode, which is restricted to
    	  data-upload usecase only. This allows userspace to pre-allocate
    	  a gather buffer, put shaders code / data there, and use two-word
    	  "gather" opcode to upload data from the buffer without pushing
    	  that data into the commands stream on each submission.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c34f1cb View commit details
    Browse the repository at this point in the history
  61. ARM: dts: qcom: apq8064-nexus7: Add SMB345 battery charger

    Add SMB345 charger node to Nexus 7 2013 DTS.
    Proper charger configuration prevents battery from overcharging.
    
    Original author: Vinay Simha BN <[email protected]>
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4e83b67 View commit details
    Browse the repository at this point in the history
  62. ASoC: dt-bindings: tegra: Add binding for RT5631

    Add device-tree binding that describes hardware integration of RT5631
    audio codec chip with NVIDIA Tegra SoCs.
    
    Reviewed-by: Jon Hunter <[email protected]>
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    Signed-off-by: Ion Agorria <[email protected]>
    clamor-s authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    ae04974 View commit details
    Browse the repository at this point in the history
  63. ASoC: tegra: Support RT5631 by machine driver

    Add Realtek ALC5631/RT5631 codec support to the Tegra ASoC machine driver.
    The RT5631 codec is found on devices like ASUS Transformer TF201, TF700T
    and other Tegra-based Android tablets.
    
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    Signed-off-by: Ion Agorria <[email protected]>
    clamor-s authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e528307 View commit details
    Browse the repository at this point in the history
  64. drm/tegra: rgb: Hacks for S6E63M0

    Pins DATA_ENABLE, H_SYNC, V_SYNC, PIXEL_CLOCK are low polarity,
    set this in the registers to make the panel working.
    
    Signed-off-by: Sergey Larin <[email protected]>
    cerg2010cerg2010 authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    5f0a976 View commit details
    Browse the repository at this point in the history
  65. drm/tegra: Temporary pixel format fix for i927

    Pixel format of the panel on this device is ABGR, not the typical RGBA
    format. There's no way to switch the pixel format in panel as there's no
    documenation, so do this in DRM driver instead.
    
    The proper solution would require checking MEDIA_BUS_FMT_* values in DRM
    driver and setting this value correctly in panel driver.
    
    Signed-off-by: Sergey Larin <[email protected]>
    cerg2010cerg2010 authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    f3dbdde View commit details
    Browse the repository at this point in the history
  66. drm/panel: s6e63m0: disable rotation

    Low part of GTCON(IFCTL) register is responsible for flipping/rotation.
    This commit disables default rotation by 180 degrees.
    
    Signed-off-by: Sergey Larin <[email protected]>
    cerg2010cerg2010 authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    d7b3dd0 View commit details
    Browse the repository at this point in the history
  67. drm/panel: s6e63m0: Increase back porch

    Original timings cause issues on Tegra hardware - image is
    shifted and colors are wrong.
    
    Signed-off-by: Sergey Larin <[email protected]>
    cerg2010cerg2010 authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    2189ec9 View commit details
    Browse the repository at this point in the history
  68. drm/panel: s6e63m0: Workaround screen corruption on boot

    The panel driver gets probed before PMIC, so the regulator_bulk_get() call
    fails with EPROBE_DEFER, making the driver to probe later in the boot
    process. However, the screen gets corrupted in some time with noise
    displayed. To resolve this, reset GPIO is now requested before the
    regulator, setting the panel to the reset state.
    
    Signed-off-by: Sergey Larin <[email protected]>
    cerg2010cerg2010 authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4b22a34 View commit details
    Browse the repository at this point in the history
  69. XXX: WIP: leds: Add led class support isa1200 vibration motor

    This should be input/ driver, it has nothing to do with LED.
    
    (cherry picked from commit e510fd2c344d8f1967e186a3fa030ccee201a4d6)
    Signed-off-by: Sergey Larin <[email protected]>
    Decatf authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    fbc01ed View commit details
    Browse the repository at this point in the history
  70. dt-bindings: input: Add binding for Imagis ISA1200 Haptic Driver

    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e34c2a3 View commit details
    Browse the repository at this point in the history
  71. Input: stmpe-keypad - add STMPE1801 support

    This chip variant differs from others - it has different register
    map and swapped rows/columns.
    
    Signed-off-by: Sergey Larin <[email protected]>
    cerg2010cerg2010 authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    11ae802 View commit details
    Browse the repository at this point in the history
  72. dt-bindings: input: Add binding for MELFAS MCS touchscreens

    Add the binding for MELFAS MCS-5000 and MCS-5080 touchscreen controllers.
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    b267bd9 View commit details
    Browse the repository at this point in the history
  73. Input: mcs_touchkey: Support device tree

    Add device-tree support to MCS touchkey driver.
    
    Signed-off-by: Beomho Seo <[email protected]>
    Signed-off-by: Seung-Woo Kim <[email protected]>
    Beomho Seo authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    72b6b75 View commit details
    Browse the repository at this point in the history
  74. input: keyboard: mcs_touchkey:Convert to devm_* managed functions

    Tis patch use the devm_* managed functions to allocate resources.
    
    Change-Id: I9351869922b481a6791ca98f6dd3328d84424906
    Signed-off-by: Beomho Seo <[email protected]>
    Beomho Seo authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    671f52b View commit details
    Browse the repository at this point in the history
  75. input: keyboard: mcs_touchkey: LED support

    This commit adds support for LED found on this touchkey controller.
    
    Signed-off-by: Sergey Larin <[email protected]>
    Kim, HeungJun authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    f41334f View commit details
    Browse the repository at this point in the history
  76. ASoC: tegra: Add driver for WM8994

    (cherry picked from commit d58c0084b16491251b3871bfacbc070105eb9356)
    Signed-off-by: Sergey Larin <[email protected]>
    
    ASoC: tegra_wm8994: cleanup
    
    Remove unnecessary functions. Also, S/PDIF support
    is not needed.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ASoC: tegra_wm8994: New driver based on WM8903
    
    This fully routed driver resolves issues with suspend/resume state not being
    correctly restored. It also provides headphone detection and internal/external
    mic switching (however, mic detection is probably broken).
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ASoC: tegra_wm8994: Fix codec name
    
    The codec name in wm8994 driver is 'wm8994-aif1', not the 'wm8994-hifi'
    as there are 2 interfaces.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ASoC: tegra_wm8994: Set mclk ID value
    
    The mclk_id value wasn't set, so setting clocks in
    wm8994_set_dai_sysclk failed with an error. This led to other failures
    in output configuration.
    
    Signed-off-by: Sergey Larin <[email protected]>
    Decatf authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    33ad6e3 View commit details
    Browse the repository at this point in the history
  77. power: supply: Add regulator to max8903 charger for VBUS control

    When OTG cable is inserted, the host needs to enable VBUS in order to
    supply power to the connected device. However, the charger detects that
    and starts charging the battery, draining the supplied power.
    
    Avoid this by using an optional regulator subnode which disables charging
    when enabled.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    power: supply: max8903: OTG disable fix
    
    The GPIO value wasn't changed after GPIO API changes - the GPIO is now
    ACTIVE_LOW in device tree instead of ACTIVE_HIGH.
    
    Signed-off-by: Sergey Larin <[email protected]>
    cerg2010cerg2010 authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    bc91524 View commit details
    Browse the repository at this point in the history
  78. ARM: tegra: Add device-tree for tegra20-glide Samsung SGH-I927

    Initial DTS for this Samsung device. For now, kernel with this Device
    Tree boots to FBCON successfully, probing drivers without failures.
    At this point, everything is untested except display output (no MHL),
    since I use Android's boot.img.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Device Tree changes
    
    - added wm8994 tegra binding
    - vmmc regulator
    - STMPE GPIO for card and jack detection (doesn't work)
    - remove pwm backlight node
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: add memory node address
    
    This fixes dts warning and avoids conflict with 'memory' node in
    tegra20.dtsi
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: comment out MHL
    
    HDMI and MHL enabled makes screen size incorrectly set to 1024x800
    instead of 480x800
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: fix duplicate i2c bus address
    
    Camera and power i2c buses use separate addresses for operation.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: fix USB gadget mode
    
    This commit makes USB gadget mode working by changing mode from
    OTG to peripherial and specifying vbus regulator.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: change display timings
    
    Fix the image being shifted upwards and make refresh rate a bit faster
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: add intrrupt binding for charger
    
    Add missing interrupt for max17043 charger
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: set panel reset GPIO pin to active low
    
    This fixes display not working with new S6E63M0 panel driver.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: fix AK8975
    
    Add GPIO definition instead of interrupt.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Add touchkey binding
    
    This commit adds touchkey binding for Melfas MCS5080
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Add keyboard backlight LED
    
    Keyboard backlight on I927 is simple GPIO LED
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Add HALL GPIO binding
    
    This is used for keyboard slide detection.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Change keyboard keycodes
    
    This is required to make proper XKB keymap
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Fix UART bindings
    
    Old UART bindings were broken. This commit also fixes
    Bluetooth and GPS (you will need a userspace tool to use it).
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: USB OTG mode and power
    
    OTG mode is now configured for ChipIdea UDC driver, but
    I don't have a cable to test it.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Remove WiFi host-wake GPIO
    
    This device does not have any GPIO for host-wake,
    the driver will now use SDIO interrupts.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Add bindings for microphone
    
    Mic requires additional GPIOs to work:
    - MICBIAS1: internal MICBIAS
    - MICBIAS2: external (headphone) MICBIAS
    - EAR_SEL: to choose between internal and external mic
    
    Also GPIO 1 on Wolfson chip needs to be asserted.
    Make it on by default.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Workaround RTC bugs
    
    MAX8907 has broken RTC on this board - alarm reports
    always-on IRQ, so as a workaround we use Tegra's RTC.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Fixup GPS binding
    
    Still doesn't work - UART controller does not detect
    any transfers, so we're probably unsupported with
    kernel SiRF driver. The chip appears to be GSD4t.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Add cameras regulators
    
    Cameras use multiple power sources on this board. Labels near the regulator
    indicate the camera which uses the regulator and the order of powering on.
    
    Also, the reset GPIO is specified to keep the info inside DT.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Disable BBAT regualtor
    
    This regulator is unused on this board, so disable it.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Set boot-on property to vdd_arm regulator
    
    This is used to keep the stock voltage specified by bootloader.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Fix STMPE GPIO binding
    
    These GPIOs are also used as interrupts.
    
    norequest-mask is set to avoid conflicts with keyboard.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Add binding for charger
    
    MAX8922 is compatible with MAX8903's driver, which is very flexible. So
    we use it to detect the cable insertion and control the charging.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Add binding for FSA9480
    
    FSA9480 is a USB cable detector and switch. This board uses this
    to provide USB, USB-OTG, MHL and UART functionality over one microUSB port.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Remove combined-power-req property
    
    This board uses separate-power-req, however, this property is unused
    in the driver.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Add EMC memory timings
    
    There's one memory module inside, so the timings are not versioned.
    Extracted from downstream with regex and VIM magic.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: USB OTG bindings
    
    OTG here is provided by ChipIdea controller, which uses OTG FSM to
    power on the connected device. However, OTG specification says that
    the device needs to receive power in 100ms, but this is not a strict
    requirement. We need to disable the charger first and then power on VBUS,
    which is slow process so we set a delay for the regulator to workaround
    this.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Fixup MMC bindings
    
    This is needed to avoid some warnings at boot. Someone reported that
    card detection is broken, but these changes should fix this too.
    
    Also WiFi timings are bumped to avoid issues on suspend-resume.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Uncomment SII9234/MHL nodes
    
    This chip should work well with proper Xorg configuration, and it looks like
    this speeds up booting time significantly.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Fix audio power binding
    
    The LDO definition in wm8994 node is used for internal LDOs, but not for
    powering the chip, so we use the fixed regulator to resolve this.
    All regulators of wm8994 are defined to suppress messages in dmesg.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Set up VSENSOR regulator
    
    This is not configured in downstream kernel, but it was identified that
    disabling this regulator makes these sensors not working (note: kxtf9
    included).
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Lower GPIO I2C frequency
    
    Defaults used by downstream kernel are very high. This should resolve
    communication issues and improve stability. Values are set according to
    the comments near I2C structs in original kernel.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Bindings for new audio driver
    
    Remove old GPIO LEDs for mic switching and move the power management to
    the audio driver. Also specify DAPM routing - modem and bluetooth routes
    are not present because they're currently not used.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Fix GPIO polarity for max8903
    
    Recent max8903 driver changes assume that GPIO polarity is active-low
    by default, while older driver assumes it's active-high. Adjust the
    values accordingly.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    ARM: dts: tegra20-glide: Fix wm8994 codec config
    
    The wlf_ldo regulator is not enabled now by default, so the
    initialization routine failed because the device was powered off. Make
    the regulator always-on for now to avoid this.
    
    Also routing was changed to work with new tegra_wm8994 driver.
    
    Signed-off-by: Sergey Larin <[email protected]>
    
    FIXUP tegra20-glide samsung_p3,isa1200_vibrator to imagis,isa1200
    
    Signed-off-by: David Heidelberg <[email protected]>
    
    FIXUP: tegra20-glide: i2c aren't on address, drop @
    
    Signed-off-by: David Heidelberg <[email protected]>
    
    FIXUP: tegra20-glide: fix sii9234 dt node little bit
    
    Signed-off-by: David Heidelberg <[email protected]>
    
    FIXUP: tegra20: glide: sii9234 ports fixup
    
    according to dt-schema defined in documentation
    
    FIXUP: ARM: tegra20: glide: remove nvidia,.*ref-to-sync references
    
    Unused in code and documentation.
    
    Signed-off-by: David Heidelberg <[email protected]>
    
    FIXUP: ARM: tegra: Add device-tree for tegra20-glide Samsung SGH-I927
    
    - add reg
    - add # entries
    
    FIXUP: ARM: tegra: glide: modernize the bluetooth node
    
    Use the new compatible and fix clock name to a correct one.
    
    Fixes:
    arch/arm/boot/dts/tegra20-glide.dt.yaml: bluetooth: clock-names:0: 'txco' was expected
    
    Signed-off-by: David Heidelberg <[email protected]>
    
    FIXUP: glide: fix typo, comment not impl. VDD LVSIO
    
    Signed-off-by: David Heidelberg <[email protected]>
    
    FIXUP: ARM: tegra: glide: comment otg-vbus inside max8922 node
    
    Fixes warning:
     arch/arm/boot/dts/tegra20-glide.dt.yaml: max8922-charger: otg-vbus: {'phandle': [[87]]} is not of type 'array'
    	From schema: /home/runner/work/linux/linux/Documentation/devicetree/bindings/power/supply/maxim,max8903.yaml
    
    Signed-off-by: David Heidelberg <[email protected]>
    
    FIXUP: tegra20: glide: led naming & drop invalid default trig
    cerg2010cerg2010 authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    408b7dc View commit details
    Browse the repository at this point in the history
  79. WIP: dt-bindings: ARM: tegra: Document Samsung I927 Captivate Glide

    Document Samsung I927 Captivate Glide board.
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    f1757ac View commit details
    Browse the repository at this point in the history
  80. soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA

    The DMA subsystem could be entirely disabled in Kconfig and then the
    TEGRA20_APB_DMA option isn't available too. Hence kernel configuration
    fails if DMADEVICES Kconfig option is disabled due to the unsatisfiable
    dependency.
    
    The FUSE driver isn't a critical driver and currently it only provides
    NVMEM interface to userspace which isn't known to be widely used, and
    thus, it's fine if FUSE driver fails to load.
    
    Let's remove the erroneous Kconfig dependency and let the FUSE driver to
    fail the probing if DMA is unavailable.
    
    Fixes: 19d41e5 ("soc/tegra: fuse: Add APB DMA dependency for Tegra20")
    Reported-by: Necip Fazil Yildiran <[email protected]>
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=209301
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    09d7ea2 View commit details
    Browse the repository at this point in the history
  81. PM / devfreq: tegra30: Tune up Tegra124 configuration

    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    8f91c5e View commit details
    Browse the repository at this point in the history
  82. XXX: Add downstream pinmux debug info

    Add legacy `/sys/kernel/debug/tegra_pinmux` which allows to compare
    applied pinctrl configuration to the debug info of a downstream kernel.
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    b7256c8 View commit details
    Browse the repository at this point in the history
  83. cpufreq: tegra20: Improve performance during frequency transition

    All Tegra SoCs require an intermediate step for CPU clock rate transition.
    The clk driver takes care of switching the CPU clock to a backup parent
    during transition. But if there is a need to change CPU voltage for the
    transition, then going from a low freq to a high freq may take dozen
    milliseconds, which could be unacceptably long transition time for some
    applications which require CPU to run at a reasonable performance
    immediately, like audio playback for example.
    
    In order to mitigate the potentially long transition time, we will switch
    CPU to a faster backup frequency upfront, i.e. before the voltage change
    is initiated.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    3e9673c View commit details
    Browse the repository at this point in the history
  84. Revert "cpufreq: tegra20: Improve performance during frequency transi…

    …tion"
    
    This reverts commit 6fdbd8979fc9.
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    887686b View commit details
    Browse the repository at this point in the history
  85. WIP: ARM: tegra: Add stub for core regulator of power management cont…

    …roller
    
    This eases writing new device-trees.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    b066929 View commit details
    Browse the repository at this point in the history
  86. XXX: WIP: drm: Universal display rotation on Nexus 7

    This removes a need to have bleeding edge userspace that knows how to
    work with the rotated planes. Only Opentegra driver supports planes rotation
    today, everything else is upside-down without the universal rotation support.
    
    The plan is to teach DRM core about the CRTC rotation capabilities and then
    this hack won't be needed, for now it's not obvious how to implement that.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4bba24d View commit details
    Browse the repository at this point in the history
  87. drm/tegra: dsi: Assert hardware reset on power-up

    Assert DSI reset before power-up in order to ensure that hardware is
    properly re-initialized. This fixes occasional DSI panel initialization
    failures on boot if panel and DSI controller are left ON after bootloader.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    87837fd View commit details
    Browse the repository at this point in the history
  88. soc/tegra: fuse: Print out CPU, GPU and SoC Speedo IDs

    Speedo IDs are a valuable information, especially for bringing up new
    devices. These IDs should be printed out regardless of debugging state
    of the fuse driver.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    340444f View commit details
    Browse the repository at this point in the history
  89. dt-bindings: i2c: Add binding for i2c-hotplug-gpio

    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    bbf5d33 View commit details
    Browse the repository at this point in the history
  90. i2c: Add GPIO-based hotplug gate

    Implement driver for hot-plugged I2C busses: where some devices on
    a bus are hot-pluggable and their presence is indicated by GPIO line.
    
    Co-developed-by: Ion Agorria <[email protected]>
    Signed-off-by: Ion Agorria <[email protected]>
    Signed-off-by: Michał Mirosław <[email protected]>
    osctobe authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4abfb74 View commit details
    Browse the repository at this point in the history
  91. dt-bindings: mfd: Add Asus Transformer Embedded Controller binding

    Add binding document for the embedded controller found in Asus Transformer
    devices.
    
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    1a8d19c View commit details
    Browse the repository at this point in the history
  92. dt-bindings: misc: Add DT schema for asus-dockram

    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    679a7e0 View commit details
    Browse the repository at this point in the history
  93. misc: Support Asus Transformer EC access device

    Add support for accessing Embedded Controller RAM of Asus Transformer
    devices. This will be used by the EC MFD drivers.
    
    Signed-off-by: Michał Mirosław <[email protected]>
    osctobe authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    0a0016c View commit details
    Browse the repository at this point in the history
  94. mfd: Add driver for Asus Transformer embedded controller

    Support Nuvoton NPCE795-based ECs as used in Asus Transformer TF201,
    TF300T, TF300TG, TF300TL and TF700T pad and dock, as well as TF101 dock
    and TF701T pad. This is a glue driver handling detection and common
    operations for EC's functions.
    
    Co-developed-by: Svyatoslav Ryhel <[email protected]>
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    Signed-off-by: Michał Mirosław <[email protected]>
    osctobe authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    6e3437a View commit details
    Browse the repository at this point in the history
  95. input: Add driver for Asus Transformer dock keyboard and touchpad

    Add input driver for Asus Transformer dock keyboard and touchpad.
    
    Signed-off-by: Michał Mirosław <[email protected]>
    osctobe authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    966ce41 View commit details
    Browse the repository at this point in the history
  96. input: Add driver for Asus Transformer dock multimedia keys

    Some keys in Asus Dock report keycodes that don't make
    sense according to their position, this patch modifies the
    incoming data that is sent to serio to send proper scancodes.
    
    This enables normal keyboard keys to become available by default
    unless AltGr is pressed, which sends the multimedia keys sent
    originally. Pressing ScreenLock + AltGr switches the default
    choice between 2 type of keys.
    
    Since this only modifies codes sent by asus-ec keys ext it doesn't
    affect normal keyboards at all.
    
    Co-developed-by: Ion Agorria <[email protected]>
    Signed-off-by: Ion Agorria <[email protected]>
    Signed-off-by: Michał Mirosław <[email protected]>
    osctobe authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    240a9a0 View commit details
    Browse the repository at this point in the history
  97. leds: Add driver for Asus Transformer LEDs

    Add driver for Asus Transformer built-in LEDs.
    
    Signed-off-by: Michał Mirosław <[email protected]>
    osctobe authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    97b7527 View commit details
    Browse the repository at this point in the history
  98. power/supply: Add driver for Asus Transformer battery

    Driver contains one battery cell per EC controller and supports reading
    of battery status for Asus Transformer and its mobile dock.
    
    The voltage and charge values need to be multiplied by 1000 in order to
    be reported correctly, fix them.
    
    Co-developed-by: Dmitry Osipenko <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    Co-developed-by: Svyatoslav Ryhel <[email protected]>
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    Signed-off-by: Michał Mirosław <[email protected]>
    osctobe authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4e2c5a4 View commit details
    Browse the repository at this point in the history
  99. power/supply: Add charger driver for Asus Transformer Dock

    Unlike Pad, Asus Transformer Dock AC event is detected by reading
    embedded controller. Although, this is only known way to detect AC
    plug, driver uses polling with 1-2 sec interval and may cause
    warnings from other devices which use similar method, like keyboard.
    
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e9e9a74 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    e8d5c9d View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    6dd17dd View commit details
    Browse the repository at this point in the history
  102. dt-bindings: mfd: Add binding for Cypress CG7153AM Embedded Controller

    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    8739497 View commit details
    Browse the repository at this point in the history
  103. power/supply: Add driver for Pegatron Chagall battery

    Add battery driver for Pegatron Chagall Android tablet.
    
    Signed-off-by: Svyatoslav Ryhel <[email protected]>
    clamor-s authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    d4ae584 View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    4cf4cfd View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    4d12ddc View commit details
    Browse the repository at this point in the history
  106. Revert "HACK: drm: panel: simple: Disable non-continuous mode for vvx…

    …10f004b00"
    
    This reverts commit f8286fe.
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    57d53d7 View commit details
    Browse the repository at this point in the history
  107. WIP: extcon: p4wifi: Add p4wifi USB connector driver

    The p4wifi USB connector reads the STMPE811 ADC to determine if USB
    or AC cable is plugged in.
    Decatf authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e285dc5 View commit details
    Browse the repository at this point in the history
  108. WIP: drm: panel: Add CMC6230R LCD driver

    TODO: drop cmc623_initialize_clks and clocks from DTS
    
    v2:
     - fix drm_connector (David)
     - drop vrefresh (David)
     - drop return value from drm_panel_add (Max Buchholz)
    v3:
     - incorporated fixes and improvements from Dmitry
    
    Signed-off-by: David Heidelberg <[email protected]>
    Decatf authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c107b2a View commit details
    Browse the repository at this point in the history
  109. WIP: staging: Add p4wifi directory

    Decatf authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    dc2ccd1 View commit details
    Browse the repository at this point in the history
  110. WIP: staging: p4wifi: Add sec_jack driver

    Broken wakeup_source, FIXME later.
    Decatf authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c5df75a View commit details
    Browse the repository at this point in the history
  111. WIP: staging: p4wifi: Add misc p4wifi init functions

     - system_rev
     - reboot mode
     - charging mode
    
    v2:
     - disable write to hardcoded eMMC, to prevent possible corruption
    Decatf authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    35a0d15 View commit details
    Browse the repository at this point in the history
  112. WIP: staging: p4wifi: Convert to platform driver

    Convert to a proper platform driver. Squash h/w initialization and reboot
    notifier to the driver.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    9958e7a View commit details
    Browse the repository at this point in the history
  113. Configuration menu
    Copy the full SHA
    3817bc3 View commit details
    Browse the repository at this point in the history
  114. iio: ak8975: Add AK8975C device id

    Signed-off-by: David Heidelberg <[email protected]>
    Decatf authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    8423794 View commit details
    Browse the repository at this point in the history
  115. WIP: ARM: tegra: Add device-tree for Samsung Galaxy Tab 10.1

    Add device-tree for Samsung Galaxy Tab 10.1 (p4wifi) NVIDIA Tegra20-based
    tablet.
    
    Signed-off-by: David Heidelberg <[email protected]>
    Decatf authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    51f8105 View commit details
    Browse the repository at this point in the history
  116. WIP: dt-bindings: ARM: tegra: Document Samsung Galaxy Tab 10.1

    Document Samsung Galaxy Tab 10.1 p4wifi board.
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    0dff649 View commit details
    Browse the repository at this point in the history
  117. WIP: Add defconfig for Samsung Galaxy Tab 10.1

    it's a merged defconfig from
    postmarketos (kernel 5.0) and tegra_defconfig from grate-driver/linux
    (kernel 5.11-next).
    Disabled BIGSYS, which is used in postmarketos as a hack to combine
    system and cache partitions.
    
    v2:
     - dropped some PCIe Intel network adapters
    gaudeo authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    d2d503b View commit details
    Browse the repository at this point in the history
  118. ARM: dts: elpida_ecb240abacn: Change Elpida compatible

    Vendor prefix shouldn't start with capital letter. The Elpida Memory
    compatible was never used in practice, hence just correct the compatible.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    1980c15 View commit details
    Browse the repository at this point in the history
  119. Configuration menu
    Copy the full SHA
    827c7b7 View commit details
    Browse the repository at this point in the history
  120. ARM: tegra: paz00: Add emc-tables for ram-code 1

    This is the same tables as ram-code 0
    
    Signed-off-by: Nicolas Chauvet <[email protected]>
    kwizart authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    d2ca155 View commit details
    Browse the repository at this point in the history
  121. WIP: ARM: tegra: Add device-tree for Lenovo IdeaTab A2109A

    Add device-tree for Tegra30-based Lenovo IdeaTab A2109A.
    
    Primary things left to do:
    
    	- LVDS bridge (for now we will assume it's always ON)
    	- Sound
    	- Power key
    
    Signed-off-by: Kai Jan Schmidt-Brauns <fix@me>
    KaiJan57 authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c49c94d View commit details
    Browse the repository at this point in the history
  122. WIP: dt-bindings: ARM: tegra: Document Lenovo IdeaTab A2109A

    Document Lenovo IdeaTab A2109A board.
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    a5b0e53 View commit details
    Browse the repository at this point in the history
  123. brcmfmac: Work around potential firmware crash on BCM4329

    BCM4329 doesn't support BRCMF_C_GET_ASSOCLIST firmware call and WiFi
    eventually stop to work properly on Acer A500 during the FW call. Don't
    use that FW command on unsupported hardware to work around the problem.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    22142af View commit details
    Browse the repository at this point in the history
  124. XXX: usb: phy: tegra: Ensure that clock is disabled on suspend

    Ensure that clock is disabled on suspend to catch LPM programming bugs.
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4a773ee View commit details
    Browse the repository at this point in the history
  125. memory: tegra: Don't error out DMA flushing

    DMA flushing may fail if hardware unit is power-gated. We need to reset
    hardware unit and its memory clients in a certain order, but it becomes
    complicated when we need to power-up hardware domain for the first time
    since resets are requested in a special order. We assumed that power
    domains are initially turned on all devices, but this could be a wrong
    assumption.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    874ec34 View commit details
    Browse the repository at this point in the history
  126. dt-bindigs: display: extend the LVDS codec with Triple 10-BIT LVDS Tr…

    …ansmitter
    
    LVDS transmitter used in Surface RT.
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    db980f4 View commit details
    Browse the repository at this point in the history
  127. WIP: Add ACPI Parking Protocol for ARM32 devices

    Right now ACPI isn't implemented, so parsing the MADT/APIC table is not
    possible. Its contents have to be hardcoded. The current hardcoded table
    is for Mircrosoft Surface RT.
    
    Signed-off-by: Leander Wollersberger <[email protected]>
    LeanderGlanda authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    bac6270 View commit details
    Browse the repository at this point in the history
  128. ARM: tegra30: Add phandles for controller nodes

    Add phandle names for memory/I2C/SPI/USB/SDMMC controller nodes to allow
    for cleaner device descriptions.
    
    Signed-off-by: Michał Mirosław <[email protected]>
    osctobe authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    50d8d85 View commit details
    Browse the repository at this point in the history
  129. WIP: ARM: tegra: Add initial device-tree for Microsoft Surface RT

    Signed-off-by: Anton Bambura <[email protected]>
    Signed-off-by: Jonas Schwöbel <[email protected]>
    jonasschwoebel authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e63dc4d View commit details
    Browse the repository at this point in the history
  130. WIP: ARM: tegra: Add device-tree for EFI booting Surface RT

    Signed-off-by: Anton Bambura <[email protected]>
    Signed-off-by: Jonas Schwöbel <[email protected]>
    jenneron authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e252476 View commit details
    Browse the repository at this point in the history
  131. WIP: ARM: tegra: surface-rt: Battery and Charger support

    Battery and Charger support for UEFI and APX boot.
    use CONFIG_BATTERY_CHARGER_SURFACE_RT to enable support
    
    Signed-off-by: Jonas Schwöbel <[email protected]>
    jonasschwoebel authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    9ce8abd View commit details
    Browse the repository at this point in the history
  132. WIP: ARM: tegra: surface-rt: Add sound support

    Added audio output support. Internal speakers and headphones work.
    No internal mic's and no headset mic support.
    
    Signed-off-by: Jonas Schwöbel <[email protected]>
    jonasschwoebel authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    9242f20 View commit details
    Browse the repository at this point in the history
  133. HID: microsoft: fix tCover 2nd gen

    Trackpad right/left click correctly send BTN_LEFT/RIGHT but additionally sends KEY_F23.
    KEY_F23 is linked to some special actions:
    pmOS -> trackpad disabled notifitcation
    raspiOS -> open new terminal
    
    This problem is fixed now.
    
    Signed-off-by: Jonas Schwöbel <[email protected]>
    jonasschwoebel authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    17ea56b View commit details
    Browse the repository at this point in the history
  134. WIP: dt-bindings: ARM: tegra: Document Microsoft Surface RT

    Document Microsoft Surface RT board.
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    3ad9d9c View commit details
    Browse the repository at this point in the history
  135. ARM: tegra: Add device-tree for Tegra20 QEMU

    This device-tree is intended to be used with kernel running on
    https://github.com/digetx/tegra2_qemu
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    a684f0a View commit details
    Browse the repository at this point in the history
  136. dt-bindings: ARM: tegra: Document Tegra20 QEMU

    Document Tegra20 QEMU board.
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    f8c2b03 View commit details
    Browse the repository at this point in the history
  137. CI: github: deploy

    Create tuxmake builds for each push on master branch and run checkpatch.pl
    
    Each time is generated tagged release which overwrites previous.
    This tagged release contains tuxmake archive (zImage, dtbs, vmlinux etc.)
    
    Based on: https://gitlab.com/okias/kernel-simpleci
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    3ae845c View commit details
    Browse the repository at this point in the history
  138. ARM: tegra_defconfig: Enable options needed by WIP devices

    Enable options needed by Transformers, GalaxyTab, SGH-I927 and SurfaceRT
    devices.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e27f5ee View commit details
    Browse the repository at this point in the history
  139. ARM: grate_defconfig: Add defconfig

    Supported devices:
    - acer-picasso;
    - microsoft surface-rt;
    - transformers;
    - pegatron chagall;
    - grouper / tilapia;
    - samsung-i927 glide;
    
    Link: grate-driver#69 (comment)
    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    9ff1899 View commit details
    Browse the repository at this point in the history
  140. ARM: pmos.config: Add defconfig

    besides generic needed options:
    - built-in stuff needed for cryptsetup
    - anbox support (is broken on armv7, but we hope it will be fixed)
    - waydroid support
    - nftables
    - containers (docker, lxc)
    - zram
    
    Link: grate-driver#69 (comment)
    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    d371fcb View commit details
    Browse the repository at this point in the history
  141. thermal/core: Export thermal_cooling_device_stats_update()

    NVIDIA Tegra30 thermal sensor driver has a hardware-controlled CPU cooling
    feature that halves CPU frequency once a specified trip point is breached.
    In order to account the hardware state transitions, which are reported by
    interrupt, the sensor driver needs to report the cooling state transition
    and this is done by thermal_cooling_device_stats_update(). The sensor
    driver could be compiled as a loadable driver module, but this API
    function isn't exported, hence export it.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    2c3892e View commit details
    Browse the repository at this point in the history
  142. WIP: thermal/drivers/tegra30: Support CPU DIV2 frequency throttling

    Expose Tegra30 thermal sensor as a cooling device and enable
    hardware-assisted DIV2 CPU frequency throttling. The DIV2 cooling is
    activated by hardware while the breach of hot temperature trip is detected
    by sensor.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    6e0f62d View commit details
    Browse the repository at this point in the history
  143. i2c: tegra: Ensure that device is suspended before driver is removed

    Tegra I2C device isn't guaranteed to be suspended after removal of
    the driver since driver uses pm_runtime_put() that is asynchronous and
    pm_runtime_disable() cancels pending power-change requests. This means
    that potentially refcount of the clocks may become unbalanced after
    removal of the driver. This a very minor problem which unlikely to
    happen in practice and won't cause any visible problems, nevertheless
    let's replace pm_runtime_disable() with pm_runtime_force_suspend() and
    use pm_runtime_put_sync() which disables RPM of the device and puts it
    into suspend before driver is removed.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    6cd8af5 View commit details
    Browse the repository at this point in the history
  144. dt-bindings: opp: Allow multi-worded OPP entry name

    Not all OPP entries fit into a single word. In particular NVIDIA Tegra OPP
    tables use multi-word names. Allow OPP entry to have multi-worded name
    separated by hyphen. This silences DT checker warnings about wrong naming
    scheme.
    
    Reviewed-by: David Heidelberg <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    7a4c81c View commit details
    Browse the repository at this point in the history
  145. regulator: Don't error out fixed regulator in regulator_sync_voltage()

    Fixed regulator can't change voltage and regulator_sync_voltage()
    returns -EINVAL in this case. Make regulator_sync_voltage() to succeed
    for regulators that are incapable to change voltage.
    
    On NVIDIA Tegra power management driver needs to sync voltage and we have
    one device (Trimslice) that uses fixed regulator which is getting synced.
    The syncing error isn't treated as fatal, but produces a noisy error
    message. This patch silences that error.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    65bd632 View commit details
    Browse the repository at this point in the history
  146. ARM: tegra: nexus7: Drop clock-frequency from NFC node

    The clock-frequency property was never used and is deprecated now.
    Remove it from Nexus 7 device-tree.
    
    Signed-off-by: David Heidelberg <[email protected]>
    okias authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    92fa568 View commit details
    Browse the repository at this point in the history
  147. usb: xhci: tegra: Check padctrl interrupt presence in device tree

    Older device-trees don't specify padctrl interrupt and xhci-tegra driver
    now fails to probe with -EINVAL using those device-trees. Check interrupt
    presence and disallow runtime PM suspension if it's missing to fix the
    trouble.
    
    Fixes: 971ee24 ("usb: xhci: tegra: Enable ELPG for runtime/system PM")
    Reported-by: Nicolas Chauvet <[email protected]>
    Tested-by: Nicolas Chauvet <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    40964ac View commit details
    Browse the repository at this point in the history
  148. clk: tegra: Make vde a child of pll_p on tegra114

    The current default is to leave the VDE clock's parent at the default,
    which is clk_m. However, that is not a configuration that will allow the
    VDE to function. Reparent it to pll_p instead to make sure the hardware
    can actually decode video content.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    1b39b3f View commit details
    Browse the repository at this point in the history
  149. media: staging: tegra-vde: Support reference picture marking

    Tegra114 and Tegra124 support reference picture marking, which will
    cause BSEV to write picture marking data to SDRAM. Make sure there is
    a valid destination address for that data to avoid error messages from
    the memory controller.
    
    [[email protected]: added BO support and moved secure BO allocation to kernel]
    Tested-by: Anton Bambura <[email protected]> # T114 ASUS TF701T
    Signed-off-by: Thierry Reding <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    thierryreding authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    ead9b64 View commit details
    Browse the repository at this point in the history
  150. media: staging: tegra-vde: Properly mark invalid entries

    Entries in the reference picture list are marked as invalid by setting
    the frame ID to 0x3f.
    
    Signed-off-by: Thierry Reding <[email protected]>
    Signed-off-by: Dmitry Osipenko <[email protected]>
    thierryreding authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    0aa8aae View commit details
    Browse the repository at this point in the history
  151. media: staging: tegra-vde: Reorder misc device registration

    Register misc device in the end of driver's probing since device should
    become visible to userspace once driver is fully prepared. Do the opposite
    in case of driver removal. This is a minor improvement that doesn't solve
    any problem.
    
    Signed-off-by: Dmitry Osipenko <[email protected]>
    digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    452725e View commit details
    Browse the repository at this point in the history
  152. dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03

    LQ101R1SX03 is compatible with LQ101R1SX01, document it.
    
    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    8c5f091 View commit details
    Browse the repository at this point in the history
  153. drm/panel: sharp: lq101r1sx01: Support LQ101R1SX03

    LQ101R1SX03 is compatible with LQ101R1SX01, add compatible to the driver.
    
    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    a4b761a View commit details
    Browse the repository at this point in the history
  154. dt-bindings: ARM: tegra: Document Asus Transformer Pad TF701T

    Document Tegra114-based Asus Transformer Pad TF701T (asus-tf701t).
    
    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    b7e660a View commit details
    Browse the repository at this point in the history
  155. ARM: tegra: Add more labels to tegra114.dtsi

    Add more labels in order to use label reference in device-specific
    dts files.
    
    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    4795469 View commit details
    Browse the repository at this point in the history
  156. ARM: tegra: Add device-tree for Asus Transformer Pad TF701T

    Add device-tree for Tegra114-based Asus Transformer Pad TF701T (K00C)
    tablet.
    
    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    14dec0c View commit details
    Browse the repository at this point in the history
  157. ARM: tegra: Enable video decoder on Tegra114

    Add Video Decoder Engine node to Tegra114 device-tree.
    
    Signed-off-by: Anton Bambura <[email protected]>
    jenneron authored and digetx committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    e48ecb2 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2021

  1. fixup! ARM: tegra: Add device-tree for tegra20-glide Samsung SGH-I927

    Signed-off-by: David Heidelberg <[email protected]>
    okias committed Oct 24, 2021
    Configuration menu
    Copy the full SHA
    6378636 View commit details
    Browse the repository at this point in the history
  2. fixup! WIP: ARM: tegra: Add device-tree for Samsung Galaxy Tab 10.1

    Signed-off-by: David Heidelberg <[email protected]>
    okias committed Oct 24, 2021
    Configuration menu
    Copy the full SHA
    75039fb View commit details
    Browse the repository at this point in the history