[OpenWrt-Devel] [PATCH 0/5] ipq806x: add frequency scaling support

Mathieu Olivari mathieu at codeaurora.org
Wed May 20 23:37:43 EDT 2015


Currently, the IPQ is underclocked and running at whatever frequency was
previously set in the bootloader. This change is done to get it to run
up to max speed (1.4GHz). Different speed requiring different voltage,
we also add support for the power regulators.

Most of these patches are cherry-picked from linux-next and LKML, with a
couple of fixes and backports here and there.

Mathieu Olivari (5):
  ipq806x: refresh kernel patches
  ipq806x: disable i2c device on gsbi4
  ipq806x: add power regulators support
  ipq806x: add & enable cpufreq support
  ipq806x: enable cpu idle support in kernel conf

 target/linux/ipq806x/config-3.18                   |  33 +-
 target/linux/ipq806x/config-4.0                    |  33 +-
 ...atchdog-qcom-use-timer-devicetree-binding.patch |  11 +-
 ...m-add-description-of-KPSS-WDT-for-IPQ8064.patch |   5 -
 .../ipq806x/patches-3.18/022-add-db149-dts.patch   |   8 -
 ...M-dts-ipq806x-Disable-i2c-device-on-gsbi4.patch |  53 ++
 ...1-ARM-qcom-add-USB-nodes-to-ipq806x-ap148.patch |   2 +-
 ...qcom-gsbi-Add-support-for-ADM-CRCI-muxing.patch |  15 +-
 ...CI-qcom-Document-PCIe-devicetree-bindings.patch |   3 -
 ...-qcom-add-pcie-nodes-to-ipq806x-platforms.patch |   2 +-
 ...-mfd-qcom-rpm-Driver-for-the-Qualcomm-RPM.patch | 654 +++++++++++++++++++++
 .../121-mfd-qcom_rpm-Add-support-for-IPQ8064.patch |  71 +++
 ...tree-bindings-Add-Qualcomm-RPM-DT-binding.patch | 256 ++++++++
 ...etree-qcom_rpm-Document-IPQ8064-resources.patch |  42 ++
 ...rpm-add-support-for-RPM-controller-SMB208.patch |  63 ++
 ...com-rpm-Add-missing-state-flag-in-call-to.patch |  30 +
 .../patches-3.18/126-add-rpm-to-ipq8064-dts.patch  |  87 +++
 ...-set_parent-doing-the-wrong-thing-when-IN.patch |  60 ++
 ...-clk-Add-__clk_mux_determine_rate_closest.patch | 120 ++++
 ..._unregister_-divider-gate-mux-to-close-me.patch | 115 ++++
 ...-Add-Krait-L2-register-accessor-functions.patch | 144 +++++
 ...ux-Split-out-register-accessors-for-reuse.patch | 192 ++++++
 ...ates-to-downstream-clocks-during-set_rate.patch | 129 ++++
 .../136-clk-Add-safe-switch-hook.patch             | 170 ++++++
 ...dd-support-for-High-Frequency-PLLs-HFPLLs.patch | 351 +++++++++++
 .../138-clk-qcom-Add-HFPLL-driver.patch            | 206 +++++++
 .../139-clk-qcom-Add-IPQ806X-s-HFPLLs.patch        | 127 ++++
 ...140-clk-qcom-Add-support-for-Krait-clocks.patch | 271 +++++++++
 .../141-clk-qcom-Add-KPSS-ACC-GCC-driver.patch     | 205 +++++++
 ...lk-qcom-Add-Krait-clock-controller-driver.patch | 435 ++++++++++++++
 ...-module-to-register-cpufreq-on-Krait-CPUs.patch | 304 ++++++++++
 ...m-Add-necessary-DT-data-for-Krait-cpufreq.patch | 100 ++++
 ...ufreq-Add-a-cpufreq-krait-based-on-cpufre.patch | 461 +++++++++++++++
 .../300-arch-arm-force-ZRELADDR-on-arch-qcom.patch |  12 +-
 .../patches-3.18/700-add-gmac-dts-suport.patch     |  10 +-
 .../001-spi-qup-Add-DMA-capabilities.patch         |  12 +-
 ...atchdog-qcom-use-timer-devicetree-binding.patch |  11 +-
 ...m-add-description-of-KPSS-WDT-for-IPQ8064.patch |   5 -
 .../ipq806x/patches-4.0/022-add-db149-dts.patch    |  10 +-
 ...M-dts-ipq806x-Disable-i2c-device-on-gsbi4.patch |  53 ++
 ...CI-qcom-Document-PCIe-devicetree-bindings.patch |   3 -
 ...-qcom-add-pcie-nodes-to-ipq806x-platforms.patch |   2 +-
 .../121-mfd-qcom_rpm-Add-support-for-IPQ8064.patch |  71 +++
 ...etree-qcom_rpm-Document-IPQ8064-resources.patch |  42 ++
 .../patches-4.0/126-add-rpm-to-ipq8064-dts.patch   |  87 +++
 ...-Add-Krait-L2-register-accessor-functions.patch | 144 +++++
 ...ux-Split-out-register-accessors-for-reuse.patch | 192 ++++++
 ...ates-to-downstream-clocks-during-set_rate.patch | 130 ++++
 .../patches-4.0/136-clk-Add-safe-switch-hook.patch | 164 ++++++
 ...dd-support-for-High-Frequency-PLLs-HFPLLs.patch | 351 +++++++++++
 .../138-clk-qcom-Add-HFPLL-driver.patch            | 206 +++++++
 .../139-clk-qcom-Add-IPQ806X-s-HFPLLs.patch        | 127 ++++
 ...140-clk-qcom-Add-support-for-Krait-clocks.patch | 271 +++++++++
 .../141-clk-qcom-Add-KPSS-ACC-GCC-driver.patch     | 205 +++++++
 ...lk-qcom-Add-Krait-clock-controller-driver.patch | 435 ++++++++++++++
 ...-module-to-register-cpufreq-on-Krait-CPUs.patch | 304 ++++++++++
 ...m-Add-necessary-DT-data-for-Krait-cpufreq.patch | 100 ++++
 ...ufreq-Add-a-cpufreq-krait-based-on-cpufre.patch | 461 +++++++++++++++
 .../300-arch-arm-force-ZRELADDR-on-arch-qcom.patch |  14 +-
 .../patches-4.0/700-add-gmac-dts-suport.patch      |  10 +-
 60 files changed, 8082 insertions(+), 108 deletions(-)
 create mode 100644 target/linux/ipq806x/patches-3.18/023-ARM-dts-ipq806x-Disable-i2c-device-on-gsbi4.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/120-mfd-qcom-rpm-Driver-for-the-Qualcomm-RPM.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/121-mfd-qcom_rpm-Add-support-for-IPQ8064.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/122-mfd-devicetree-bindings-Add-Qualcomm-RPM-DT-binding.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/123-mfd-devicetree-qcom_rpm-Document-IPQ8064-resources.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/124-regulator-rpm-add-support-for-RPM-controller-SMB208.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/125-regulator-qcom-rpm-Add-missing-state-flag-in-call-to.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/126-add-rpm-to-ipq8064-dts.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/130-clk_mux-Fix-set_parent-doing-the-wrong-thing-when-IN.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/131-clk-Add-__clk_mux_determine_rate_closest.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/132-clk-Add-clk_unregister_-divider-gate-mux-to-close-me.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/133-ARM-Add-Krait-L2-register-accessor-functions.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/134-clk-mux-Split-out-register-accessors-for-reuse.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/135-clk-Avoid-sending-high-rates-to-downstream-clocks-during-set_rate.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/136-clk-Add-safe-switch-hook.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/137-clk-qcom-Add-support-for-High-Frequency-PLLs-HFPLLs.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/138-clk-qcom-Add-HFPLL-driver.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/139-clk-qcom-Add-IPQ806X-s-HFPLLs.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/140-clk-qcom-Add-support-for-Krait-clocks.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/141-clk-qcom-Add-KPSS-ACC-GCC-driver.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/142-clk-qcom-Add-Krait-clock-controller-driver.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/143-cpufreq-Add-module-to-register-cpufreq-on-Krait-CPUs.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/144-ARM-dts-qcom-Add-necessary-DT-data-for-Krait-cpufreq.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/145-cpufreq-Add-a-cpufreq-krait-based-on-cpufre.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/023-ARM-dts-ipq806x-Disable-i2c-device-on-gsbi4.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/121-mfd-qcom_rpm-Add-support-for-IPQ8064.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/123-mfd-devicetree-qcom_rpm-Document-IPQ8064-resources.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/126-add-rpm-to-ipq8064-dts.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/133-ARM-Add-Krait-L2-register-accessor-functions.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/134-clk-mux-Split-out-register-accessors-for-reuse.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/135-clk-Avoid-sending-high-rates-to-downstream-clocks-during-set_rate.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/136-clk-Add-safe-switch-hook.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/137-clk-qcom-Add-support-for-High-Frequency-PLLs-HFPLLs.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/138-clk-qcom-Add-HFPLL-driver.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/139-clk-qcom-Add-IPQ806X-s-HFPLLs.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/140-clk-qcom-Add-support-for-Krait-clocks.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/141-clk-qcom-Add-KPSS-ACC-GCC-driver.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/142-clk-qcom-Add-Krait-clock-controller-driver.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/143-cpufreq-Add-module-to-register-cpufreq-on-Krait-CPUs.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/144-ARM-dts-qcom-Add-necessary-DT-data-for-Krait-cpufreq.patch
 create mode 100644 target/linux/ipq806x/patches-4.0/145-cpufreq-Add-a-cpufreq-krait-based-on-cpufre.patch

-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list