-
Notifications
You must be signed in to change notification settings - Fork 50
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
Commits on Oct 22, 2021
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 8643c11 - Browse repository at this point
Copy the full SHA 8643c11View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 26a1628 - Browse repository at this point
Copy the full SHA 26a1628View commit details -
reboot: Correct typo in a comment
Correct s/implemenations/implementations/ in <reboot.h>. Signed-off-by: Dmitry Osipenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4e5ff1 - Browse repository at this point
Copy the full SHA f4e5ff1View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 1b8cceb - Browse repository at this point
Copy the full SHA 1b8ccebView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for dea272f - Browse repository at this point
Copy the full SHA dea272fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 67c8007 - Browse repository at this point
Copy the full SHA 67c8007View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 78fef1c - Browse repository at this point
Copy the full SHA 78fef1cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 01f34ff - Browse repository at this point
Copy the full SHA 01f34ffView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 177a576 - Browse repository at this point
Copy the full SHA 177a576View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 46582a6 - Browse repository at this point
Copy the full SHA 46582a6View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 90a7830 - Browse repository at this point
Copy the full SHA 90a7830View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 830169d - Browse repository at this point
Copy the full SHA 830169dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 3b9420b - Browse repository at this point
Copy the full SHA 3b9420bView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e2aaee7 - Browse repository at this point
Copy the full SHA e2aaee7View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 8fba17f - Browse repository at this point
Copy the full SHA 8fba17fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for f62780e - Browse repository at this point
Copy the full SHA f62780eView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 1f4b541 - Browse repository at this point
Copy the full SHA 1f4b541View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for f6fa7f2 - Browse repository at this point
Copy the full SHA f6fa7f2View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 7e64e4a - Browse repository at this point
Copy the full SHA 7e64e4aView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for bb91270 - Browse repository at this point
Copy the full SHA bb91270View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 15854f2 - Browse repository at this point
Copy the full SHA 15854f2View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for ac9400e - Browse repository at this point
Copy the full SHA ac9400eView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 6b2efb0 - Browse repository at this point
Copy the full SHA 6b2efb0View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 5298e48 - Browse repository at this point
Copy the full SHA 5298e48View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 2113fe5 - Browse repository at this point
Copy the full SHA 2113fe5View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 8649696 - Browse repository at this point
Copy the full SHA 8649696View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for d10a396 - Browse repository at this point
Copy the full SHA d10a396View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 2dc1349 - Browse repository at this point
Copy the full SHA 2dc1349View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for f52cb81 - Browse repository at this point
Copy the full SHA f52cb81View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 48844ef - Browse repository at this point
Copy the full SHA 48844efView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e7cd483 - Browse repository at this point
Copy the full SHA e7cd483View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for dfebe43 - Browse repository at this point
Copy the full SHA dfebe43View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 358ead4 - Browse repository at this point
Copy the full SHA 358ead4View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 1cb927c - Browse repository at this point
Copy the full SHA 1cb927cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e4b333e - Browse repository at this point
Copy the full SHA e4b333eView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 854cf3d - Browse repository at this point
Copy the full SHA 854cf3dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e13c821 - Browse repository at this point
Copy the full SHA e13c821View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 543e1b3 - Browse repository at this point
Copy the full SHA 543e1b3View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4110cd8 - Browse repository at this point
Copy the full SHA 4110cd8View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 008370e - Browse repository at this point
Copy the full SHA 008370eView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 5f3441c - Browse repository at this point
Copy the full SHA 5f3441cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 6b06fb8 - Browse repository at this point
Copy the full SHA 6b06fb8View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4abd77d - Browse repository at this point
Copy the full SHA 4abd77dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 33974de - Browse repository at this point
Copy the full SHA 33974deView commit details -
Driver was upstreamed in 2013 and never got a user, remove it. Signed-off-by: Dmitry Osipenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 613896d - Browse repository at this point
Copy the full SHA 613896dView commit details -
regulator: tps80031: Remove driver
Driver was upstreamed in 2013 and never got a user, remove it. Signed-off-by: Dmitry Osipenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46acfd2 - Browse repository at this point
Copy the full SHA 46acfd2View commit details -
Driver was upstreamed in 2013 and never got a user, remove it. Signed-off-by: Dmitry Osipenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa2a119 - Browse repository at this point
Copy the full SHA fa2a119View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 247ac9b - Browse repository at this point
Copy the full SHA 247ac9bView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 29ec3c7 - Browse repository at this point
Copy the full SHA 29ec3c7View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 6651c4c - Browse repository at this point
Copy the full SHA 6651c4cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 225ad6c - Browse repository at this point
Copy the full SHA 225ad6cView commit details -
dt-bindings: ARM: tegra: Document Pegatron Chagall
Document Pegatron Chagall, which is Tegra30-based tablet device. Signed-off-by: David Heidelberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 808fda2 - Browse repository at this point
Copy the full SHA 808fda2View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e9a8c1f - Browse repository at this point
Copy the full SHA e9a8c1fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 836a0bc - Browse repository at this point
Copy the full SHA 836a0bcView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 3140c87 - Browse repository at this point
Copy the full SHA 3140c87View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 6231c6f - Browse repository at this point
Copy the full SHA 6231c6fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 141076a - Browse repository at this point
Copy the full SHA 141076aView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b60cedd - Browse repository at this point
Copy the full SHA b60ceddView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for d669d57 - Browse repository at this point
Copy the full SHA d669d57View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e115832 - Browse repository at this point
Copy the full SHA e115832View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 496aadc - Browse repository at this point
Copy the full SHA 496aadcView commit details
Commits on Oct 23, 2021
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 065e825 - Browse repository at this point
Copy the full SHA 065e825View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 6a7ea4b - Browse repository at this point
Copy the full SHA 6a7ea4bView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 801510d - Browse repository at this point
Copy the full SHA 801510dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for bab5fb6 - Browse repository at this point
Copy the full SHA bab5fb6View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for f23779d - Browse repository at this point
Copy the full SHA f23779dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 2d60fcb - Browse repository at this point
Copy the full SHA 2d60fcbView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 620d479 - Browse repository at this point
Copy the full SHA 620d479View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for f5679d8 - Browse repository at this point
Copy the full SHA f5679d8View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 85da053 - Browse repository at this point
Copy the full SHA 85da053View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e00eea7 - Browse repository at this point
Copy the full SHA e00eea7View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 91517cf - Browse repository at this point
Copy the full SHA 91517cfView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4eafdca - Browse repository at this point
Copy the full SHA 4eafdcaView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for efe3a78 - Browse repository at this point
Copy the full SHA efe3a78View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 08a159f - Browse repository at this point
Copy the full SHA 08a159fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for d3362a3 - Browse repository at this point
Copy the full SHA d3362a3View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e44bbce - Browse repository at this point
Copy the full SHA e44bbceView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 764d728 - Browse repository at this point
Copy the full SHA 764d728View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 79027ab - Browse repository at this point
Copy the full SHA 79027abView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 9b670e7 - Browse repository at this point
Copy the full SHA 9b670e7View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 780f4ba - Browse repository at this point
Copy the full SHA 780f4baView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 5899011 - Browse repository at this point
Copy the full SHA 5899011View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b5e7b25 - Browse repository at this point
Copy the full SHA b5e7b25View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 137c72a - Browse repository at this point
Copy the full SHA 137c72aView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e4ddbab - Browse repository at this point
Copy the full SHA e4ddbabView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for c868905 - Browse repository at this point
Copy the full SHA c868905View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for c43d1b8 - Browse repository at this point
Copy the full SHA c43d1b8View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 491a0a2 - Browse repository at this point
Copy the full SHA 491a0a2View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 3e2f0fc - Browse repository at this point
Copy the full SHA 3e2f0fcView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for c36f68e - Browse repository at this point
Copy the full SHA c36f68eView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for fb89013 - Browse repository at this point
Copy the full SHA fb89013View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for de6a574 - Browse repository at this point
Copy the full SHA de6a574View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 8d40f2f - Browse repository at this point
Copy the full SHA 8d40f2fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4e26bfd - Browse repository at this point
Copy the full SHA 4e26bfdView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for d88ad47 - Browse repository at this point
Copy the full SHA d88ad47View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 810089f - Browse repository at this point
Copy the full SHA 810089fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 106ee44 - Browse repository at this point
Copy the full SHA 106ee44View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for abdac57 - Browse repository at this point
Copy the full SHA abdac57View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 099216a - Browse repository at this point
Copy the full SHA 099216aView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for ef09011 - Browse repository at this point
Copy the full SHA ef09011View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 6925eaa - Browse repository at this point
Copy the full SHA 6925eaaView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for d01ba4f - Browse repository at this point
Copy the full SHA d01ba4fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b6b5af2 - Browse repository at this point
Copy the full SHA b6b5af2View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for c312176 - Browse repository at this point
Copy the full SHA c312176View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 5cdc328 - Browse repository at this point
Copy the full SHA 5cdc328View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for d56c343 - Browse repository at this point
Copy the full SHA d56c343View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 547b0a7 - Browse repository at this point
Copy the full SHA 547b0a7View commit details -
ARM: dts: tegra20: Add IOMMU nodes to Host1x clients
Enable IOMMU support for Host1x clients. Signed-off-by: Dmitry Osipenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df3f3bc - Browse repository at this point
Copy the full SHA df3f3bcView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e6ede15 - Browse repository at this point
Copy the full SHA e6ede15View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 4eebebc - Browse repository at this point
Copy the full SHA 4eebebcView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 78f5ca5 - Browse repository at this point
Copy the full SHA 78f5ca5View commit details -
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>; };
Configuration menu - View commit details
-
Copy full SHA for 4216c03 - Browse repository at this point
Copy the full SHA 4216c03View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for f330f10 - Browse repository at this point
Copy the full SHA f330f10View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 3b4b2ce - Browse repository at this point
Copy the full SHA 3b4b2ceView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 6f3c8a7 - Browse repository at this point
Copy the full SHA 6f3c8a7View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b32c687 - Browse repository at this point
Copy the full SHA b32c687View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4a4074c - Browse repository at this point
Copy the full SHA 4a4074cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for cb07db4 - Browse repository at this point
Copy the full SHA cb07db4View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 27fda54 - Browse repository at this point
Copy the full SHA 27fda54View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for ad9e2b8 - Browse repository at this point
Copy the full SHA ad9e2b8View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for c34f1cb - Browse repository at this point
Copy the full SHA c34f1cbView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4e83b67 - Browse repository at this point
Copy the full SHA 4e83b67View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for ae04974 - Browse repository at this point
Copy the full SHA ae04974View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e528307 - Browse repository at this point
Copy the full SHA e528307View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 5f0a976 - Browse repository at this point
Copy the full SHA 5f0a976View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for f3dbdde - Browse repository at this point
Copy the full SHA f3dbddeView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for d7b3dd0 - Browse repository at this point
Copy the full SHA d7b3dd0View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 2189ec9 - Browse repository at this point
Copy the full SHA 2189ec9View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4b22a34 - Browse repository at this point
Copy the full SHA 4b22a34View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for fbc01ed - Browse repository at this point
Copy the full SHA fbc01edView commit details -
dt-bindings: input: Add binding for Imagis ISA1200 Haptic Driver
Signed-off-by: David Heidelberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e34c2a3 - Browse repository at this point
Copy the full SHA e34c2a3View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 11ae802 - Browse repository at this point
Copy the full SHA 11ae802View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b267bd9 - Browse repository at this point
Copy the full SHA b267bd9View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 72b6b75 - Browse repository at this point
Copy the full SHA 72b6b75View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 671f52b - Browse repository at this point
Copy the full SHA 671f52bView commit details -
input: keyboard: mcs_touchkey: LED support
This commit adds support for LED found on this touchkey controller. Signed-off-by: Sergey Larin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f41334f - Browse repository at this point
Copy the full SHA f41334fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 33ad6e3 - Browse repository at this point
Copy the full SHA 33ad6e3View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for bc91524 - Browse repository at this point
Copy the full SHA bc91524View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 408b7dc - Browse repository at this point
Copy the full SHA 408b7dcView commit details -
WIP: dt-bindings: ARM: tegra: Document Samsung I927 Captivate Glide
Document Samsung I927 Captivate Glide board. Signed-off-by: David Heidelberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1757ac - Browse repository at this point
Copy the full SHA f1757acView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 09d7ea2 - Browse repository at this point
Copy the full SHA 09d7ea2View commit details -
PM / devfreq: tegra30: Tune up Tegra124 configuration
Signed-off-by: Dmitry Osipenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f91c5e - Browse repository at this point
Copy the full SHA 8f91c5eView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for b7256c8 - Browse repository at this point
Copy the full SHA b7256c8View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 3e9673c - Browse repository at this point
Copy the full SHA 3e9673cView commit details -
Revert "cpufreq: tegra20: Improve performance during frequency transi…
…tion" This reverts commit 6fdbd8979fc9.
Configuration menu - View commit details
-
Copy full SHA for 887686b - Browse repository at this point
Copy the full SHA 887686bView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b066929 - Browse repository at this point
Copy the full SHA b066929View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4bba24d - Browse repository at this point
Copy the full SHA 4bba24dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 87837fd - Browse repository at this point
Copy the full SHA 87837fdView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 340444f - Browse repository at this point
Copy the full SHA 340444fView commit details -
dt-bindings: i2c: Add binding for i2c-hotplug-gpio
Signed-off-by: Svyatoslav Ryhel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bbf5d33 - Browse repository at this point
Copy the full SHA bbf5d33View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4abfb74 - Browse repository at this point
Copy the full SHA 4abfb74View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 1a8d19c - Browse repository at this point
Copy the full SHA 1a8d19cView commit details -
dt-bindings: misc: Add DT schema for asus-dockram
Signed-off-by: Svyatoslav Ryhel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 679a7e0 - Browse repository at this point
Copy the full SHA 679a7e0View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 0a0016c - Browse repository at this point
Copy the full SHA 0a0016cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 6e3437a - Browse repository at this point
Copy the full SHA 6e3437aView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 966ce41 - Browse repository at this point
Copy the full SHA 966ce41View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 240a9a0 - Browse repository at this point
Copy the full SHA 240a9a0View commit details -
leds: Add driver for Asus Transformer LEDs
Add driver for Asus Transformer built-in LEDs. Signed-off-by: Michał Mirosław <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97b7527 - Browse repository at this point
Copy the full SHA 97b7527View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4e2c5a4 - Browse repository at this point
Copy the full SHA 4e2c5a4View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e9e9a74 - Browse repository at this point
Copy the full SHA e9e9a74View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8d5c9d - Browse repository at this point
Copy the full SHA e8d5c9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dd17dd - Browse repository at this point
Copy the full SHA 6dd17ddView commit details -
dt-bindings: mfd: Add binding for Cypress CG7153AM Embedded Controller
Signed-off-by: Svyatoslav Ryhel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8739497 - Browse repository at this point
Copy the full SHA 8739497View commit details -
power/supply: Add driver for Pegatron Chagall battery
Add battery driver for Pegatron Chagall Android tablet. Signed-off-by: Svyatoslav Ryhel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4ae584 - Browse repository at this point
Copy the full SHA d4ae584View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf4cfd - Browse repository at this point
Copy the full SHA 4cf4cfdView commit details -
HACK: drm: panel: simple: Disable non-continuous mode for vvx10f004b00
Signed-off-by: Dmitry Osipenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d12ddc - Browse repository at this point
Copy the full SHA 4d12ddcView commit details -
Revert "HACK: drm: panel: simple: Disable non-continuous mode for vvx…
…10f004b00" This reverts commit f8286fe.
Configuration menu - View commit details
-
Copy full SHA for 57d53d7 - Browse repository at this point
Copy the full SHA 57d53d7View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for e285dc5 - Browse repository at this point
Copy the full SHA e285dc5View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for c107b2a - Browse repository at this point
Copy the full SHA c107b2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc2ccd1 - Browse repository at this point
Copy the full SHA dc2ccd1View commit details -
WIP: staging: p4wifi: Add sec_jack driver
Broken wakeup_source, FIXME later.
Configuration menu - View commit details
-
Copy full SHA for c5df75a - Browse repository at this point
Copy the full SHA c5df75aView commit details -
WIP: staging: p4wifi: Add misc p4wifi init functions
- system_rev - reboot mode - charging mode v2: - disable write to hardcoded eMMC, to prevent possible corruption
Configuration menu - View commit details
-
Copy full SHA for 35a0d15 - Browse repository at this point
Copy the full SHA 35a0d15View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 9958e7a - Browse repository at this point
Copy the full SHA 9958e7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3817bc3 - Browse repository at this point
Copy the full SHA 3817bc3View commit details -
iio: ak8975: Add AK8975C device id
Signed-off-by: David Heidelberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8423794 - Browse repository at this point
Copy the full SHA 8423794View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 51f8105 - Browse repository at this point
Copy the full SHA 51f8105View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 0dff649 - Browse repository at this point
Copy the full SHA 0dff649View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d2d503b - Browse repository at this point
Copy the full SHA d2d503bView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 1980c15 - Browse repository at this point
Copy the full SHA 1980c15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 827c7b7 - Browse repository at this point
Copy the full SHA 827c7b7View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for d2ca155 - Browse repository at this point
Copy the full SHA d2ca155View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c49c94d - Browse repository at this point
Copy the full SHA c49c94dView commit details -
WIP: dt-bindings: ARM: tegra: Document Lenovo IdeaTab A2109A
Document Lenovo IdeaTab A2109A board. Signed-off-by: David Heidelberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5b0e53 - Browse repository at this point
Copy the full SHA a5b0e53View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 22142af - Browse repository at this point
Copy the full SHA 22142afView commit details -
XXX: usb: phy: tegra: Ensure that clock is disabled on suspend
Ensure that clock is disabled on suspend to catch LPM programming bugs.
Configuration menu - View commit details
-
Copy full SHA for 4a773ee - Browse repository at this point
Copy the full SHA 4a773eeView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 874ec34 - Browse repository at this point
Copy the full SHA 874ec34View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for db980f4 - Browse repository at this point
Copy the full SHA db980f4View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for bac6270 - Browse repository at this point
Copy the full SHA bac6270View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 50d8d85 - Browse repository at this point
Copy the full SHA 50d8d85View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e63dc4d - Browse repository at this point
Copy the full SHA e63dc4dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e252476 - Browse repository at this point
Copy the full SHA e252476View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 9ce8abd - Browse repository at this point
Copy the full SHA 9ce8abdView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 9242f20 - Browse repository at this point
Copy the full SHA 9242f20View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 17ea56b - Browse repository at this point
Copy the full SHA 17ea56bView commit details -
WIP: dt-bindings: ARM: tegra: Document Microsoft Surface RT
Document Microsoft Surface RT board. Signed-off-by: David Heidelberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ad9d9c - Browse repository at this point
Copy the full SHA 3ad9d9cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for a684f0a - Browse repository at this point
Copy the full SHA a684f0aView commit details -
dt-bindings: ARM: tegra: Document Tegra20 QEMU
Document Tegra20 QEMU board. Signed-off-by: David Heidelberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8c2b03 - Browse repository at this point
Copy the full SHA f8c2b03View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 3ae845c - Browse repository at this point
Copy the full SHA 3ae845cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e27f5ee - Browse repository at this point
Copy the full SHA e27f5eeView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 9ff1899 - Browse repository at this point
Copy the full SHA 9ff1899View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for d371fcb - Browse repository at this point
Copy the full SHA d371fcbView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 2c3892e - Browse repository at this point
Copy the full SHA 2c3892eView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 6e0f62d - Browse repository at this point
Copy the full SHA 6e0f62dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 6cd8af5 - Browse repository at this point
Copy the full SHA 6cd8af5View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 7a4c81c - Browse repository at this point
Copy the full SHA 7a4c81cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 65bd632 - Browse repository at this point
Copy the full SHA 65bd632View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 92fa568 - Browse repository at this point
Copy the full SHA 92fa568View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 40964ac - Browse repository at this point
Copy the full SHA 40964acView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 1b39b3f - Browse repository at this point
Copy the full SHA 1b39b3fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for ead9b64 - Browse repository at this point
Copy the full SHA ead9b64View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 0aa8aae - Browse repository at this point
Copy the full SHA 0aa8aaeView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 452725e - Browse repository at this point
Copy the full SHA 452725eView commit details -
dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03
LQ101R1SX03 is compatible with LQ101R1SX01, document it. Signed-off-by: Anton Bambura <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c5f091 - Browse repository at this point
Copy the full SHA 8c5f091View commit details -
drm/panel: sharp: lq101r1sx01: Support LQ101R1SX03
LQ101R1SX03 is compatible with LQ101R1SX01, add compatible to the driver. Signed-off-by: Anton Bambura <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a4b761a - Browse repository at this point
Copy the full SHA a4b761aView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b7e660a - Browse repository at this point
Copy the full SHA b7e660aView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4795469 - Browse repository at this point
Copy the full SHA 4795469View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 14dec0c - Browse repository at this point
Copy the full SHA 14dec0cView commit details -
ARM: tegra: Enable video decoder on Tegra114
Add Video Decoder Engine node to Tegra114 device-tree. Signed-off-by: Anton Bambura <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e48ecb2 - Browse repository at this point
Copy the full SHA e48ecb2View commit details
Commits on Oct 24, 2021
-
fixup! ARM: tegra: Add device-tree for tegra20-glide Samsung SGH-I927
Signed-off-by: David Heidelberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6378636 - Browse repository at this point
Copy the full SHA 6378636View commit details -
fixup! WIP: ARM: tegra: Add device-tree for Samsung Galaxy Tab 10.1
Signed-off-by: David Heidelberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75039fb - Browse repository at this point
Copy the full SHA 75039fbView commit details