Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934101AbcLTWz6 (ORCPT ); Tue, 20 Dec 2016 17:55:58 -0500 Received: from smtp-out-so.shaw.ca ([64.59.136.138]:37248 "EHLO smtp-out-so.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752433AbcLTWzx (ORCPT ); Tue, 20 Dec 2016 17:55:53 -0500 X-Authority-Analysis: v=2.2 cv=UeUhcOaN c=1 sm=1 tr=0 a=6xzog4CasRozao6qlzTIAw==:117 a=6xzog4CasRozao6qlzTIAw==:17 a=n5n_aSjo0skA:10 a=Q-fNiiVtAAAA:8 a=D19gQVrFAAAA:8 a=h7mTeIGu8Xylyq5y9yUA:9 a=Fp8MccfUoT0GBdDC_Lng:22 a=W4TVW4IDbPiebHqcZpNg:22 From: Markus Mayer To: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Viresh Kumar , "Rafael J . Wysocki" , Arnd Bergmann Cc: Markus Mayer , Broadcom Kernel List , Linux Clock List , Power Management List , Device Tree List , ARM Kernel List , Linux Kernel Mailing List Subject: [PATCH v4 0/2] cpufreq: brcmstb-cpufreq: CPUfreq driver for older Broadcom STB SoCs Date: Tue, 20 Dec 2016 14:55:28 -0800 Message-Id: <20161220225530.96699-1-code@mmayer.net> X-Mailer: git-send-email 2.10.2 X-CMAE-Envelope: MS4wfE2vkQPqhLSwmdcsJHHpZm087joA2LxodmxOE8aMehrS+zY9rbtp79UiHeYAf9CXrib8cHsc3Dsasb/XahqMiAnkWfeb3pHwLM4sVgTjrsj/LFaXMG8Q +pk+OJ7ousbTgn0X2B7Q12/hrgGvyy7biwj9BdPP9qmBVBSosTOHNtXNbYsmMQj7f1XjkzvyQ0xwYrb44J9+phYCKnv50nD2/d/C73ZGmqnPntc5tOpM6ldJ JzSIoqoe5THpKYHcckNu+lzbUj3cE4CEtBGi3Hge6YSJOR9Nbiuxmn1IvryGbhxdUHSZKl9cUiC/KPB0PK4XG7B3tAoPvSgxw3QUCBDcCSIXn9BNsJ0ZK8EQ NH37AVs89RRS6511S7za0rBQHXbpaow0lgm85hOztb3RwcoXLLe3z2PNC/ZKleRmSRR/76YqE4EtiUrmGtPay6oo6dn8G4Ayq+e1gX96qXSeuUkd4V5+3Rtu BGFM1ovhLw9XfI73Aey9sN58zmZC/xMPnallSs1vr3yPsUXDuQ51QIcMSzP8pPhHXrdy7ek31LJrYtI6p3FAlVwgDUPX2zk+xD1TUAkjOdXzeijh5FjeVpil NybBNvj9bWHOWdAOzrXVHtbAJjAskFIybtEO7YmCYjGqxN9RY5Q76Re7uH99K+uUb2A= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1326 Lines: 32 From: Markus Mayer This CPUfreq driver provides basic frequency scaling for older Broadcom STB SoCs that do not use AVS firmware with DVFS support. There is no support for voltage scaling. v3 of this patch can be found here: https://lkml.org/lkml/2016/11/22/747 Changes since v3: - added binding document - got rid of calls to __clk_lookup(), using devm_clk_get() instead - re-worked clock lookup code a bit, along with switching to devm_clk_get() - get_frequencies() became a void function, removing the need for some error checking - fixed CONFIG_ARM_BRCM_AVS_CPUFREQ typo - fixed MODULE_DEVICE_TABLE declaration Markus Mayer (2): dt-bindings: brcm: clocks: add binding for brcmstb-cpu-clk-div cpufreq: brcmstb-cpufreq: CPUfreq driver for older Broadcom STB SoCs .../bindings/clock/brcm,brcmstb-cpu-clk-div.txt | 83 +++++ MAINTAINERS | 1 + drivers/cpufreq/Kconfig.arm | 12 + drivers/cpufreq/Makefile | 1 + drivers/cpufreq/brcmstb-cpufreq.c | 377 +++++++++++++++++++++ 5 files changed, 474 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/brcm,brcmstb-cpu-clk-div.txt create mode 100644 drivers/cpufreq/brcmstb-cpufreq.c -- 2.7.4