Broadcom Stingray SOC Initial Support
Subsystems (2)
v7 cover Broadcom Stingray SOC Initial Support
This patchset adds initial support of Broadcom Stingray SOC by reusing existing Broadcom iProc device drivers.
Most of the patches in this patchset are DT patches except the Stingray clock tree support which just one patch.
This patchset is based on Linux-4.12-rc4 and it is also available at stingray-v7 branch of https://github.com/Broadcom/arm64-linux.git
Changes since v6:
- Rebased patches for Linux-4.12-rc3
- Dropped all patches except PATCH3 because these are already applied in Broadcom tree
- Dropped __init usage in clk-sr driver
- Add tab indentation for sr_clk_dt_ids in clk-sr driver
- Made various clk init functions similar to platform probe function in clk-sr driver
- Use of_device_get_match_data() instead of of_match_device() in clk-sr driver
Changes since v5:
- Rebased patches for Linux-4.12-rc3
- Update DT node names to match register offset
Changes since v4:
- Reduce number of include headers in Stingray clk driver
Changes since v3:
- Rebased patches for Linux-4.12-rc1
- Updated PATCH3 to have all clocks except genpll3 to be registered via platform driver probe
Changes since v2:
- Remove default bootargs from chosen DT node
- Remove "linux" prefix from stdout DT attribute of chosen DT node
- Remove use of GIC_CPU_MASK_xxx() for PPIs
Changes since v1:
- Rebased patches for Linux-4.12-rc1
- Removed unwanted /memreserve/ from bcm958742-base.dtsi
- Use ranges DT property to clear view of memory-layout
- Make bcm-sr.h part of clock DT bindings patch
Sandeep Tripathy (1):
clk: bcm: Add clocks for Stingray SOC
drivers/clk/bcm/Kconfig | 8 ++ drivers/clk/bcm/Makefile | 1 + drivers/clk/bcm/clk-sr.c | 327 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 336 insertions(+) create mode 100644 drivers/clk/bcm/clk-sr.c
Signature · 1 line
2.7.4
PATCH v7 1/1 clk: bcm: Add clocks for Stingray SOC
From: Sandeep Tripathy <[email protected]>
This patch adds support for Stingray clocks in iproc ccf. The Stingray SOC has various plls based on iproc pll architecture.
--- drivers/clk/bcm/Kconfig | 8 ++ drivers/clk/bcm/Makefile | 1 + drivers/clk/bcm/clk-sr.c | 327 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 336 insertions(+) create mode 100644 drivers/clk/bcm/clk-sr.c
drivers/clk/bcm/Kconfig +8 -0
@@ -46,3 +46,11 @@ config CLK_BCM_NS2 default ARCH_BCM_IPROC help Enable common clock framework support for the Broadcom Northstar 2 SoC + +config CLK_BCM_SR + bool "Broadcom Stingray clock support" + depends on ARCH_BCM_IPROC || COMPILE_TEST + select COMMON_CLK_IPROC + default ARCH_BCM_IPROC + help + Enable common clock framework support for the Broadcom Stingray SoC
drivers/clk/bcm/Makefile +1 -0
@@ -10,3 +10,4 @@ obj-$(CONFIG_ARCH_BCM_53573) += clk-bcm53573-ilp.o obj-$(CONFIG_CLK_BCM_CYGNUS) += clk-cygnus.o obj-$(CONFIG_CLK_BCM_NSP) += clk-nsp.o obj-$(CONFIG_CLK_BCM_NS2) += clk-ns2.o +obj-$(CONFIG_CLK_BCM_SR) += clk-sr.o
drivers/clk/bcm/clk-sr.c new file +327 -0
327 lines not on this page · raw message
Signature · 1 line
2.7.4
Stephen Boyd
AppliedRe: [PATCH v7 1/1] clk: bcm: Add clocks for Stingray SOC
Quoted 11 lines · Anup Patel
From: Sandeep Tripathy <[email protected]>
This patch adds support for Stingray clocks in iproc ccf. The Stingray SOC has various plls based on iproc pll architecture.
Signed-off-by Sandeep Tripathy <[email protected]>Signed-off-by Anup Patel <[email protected]>Reviewed-by Ray Jui <[email protected]>Reviewed-by Scott Branden <[email protected]>---
Applied to clk-next
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project