]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
cpufreq: brcmstb-avs-cpufreq: add debugfs support
authorMarkus Mayer <mmayer@broadcom.com>
Thu, 27 Oct 2016 21:05:36 +0000 (14:05 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 1 Nov 2016 05:07:38 +0000 (06:07 +0100)
commit33de45c133b40a129a880c175af4c2bb39dafc88
treed507a18bc093e6e71c8e86fdaa34a8cf95ed01ba
parentde322e085995b9417582d6f72229dadb5c09d163
cpufreq: brcmstb-avs-cpufreq: add debugfs support

In order to aid debugging, we add a debugfs interface to the driver
that allows direct interaction with the AVS co-processor.

The debugfs interface provides a means for reading all and writing some
of the mailbox registers directly from the shell prompt and enables a
user to execute the communications protocol between ARM CPU and AVS CPU
step-by-step.

This interface should be used for debugging purposes only.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/brcmstb-avs-cpufreq.c