ARM: davinci: add genpd support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | dt-bindings: soc: new driver for DaVinci genpdDocumentation/ | +13 | 3 replies | |
| 2/7 | soc: davinci: new genpd driverdrivers/ drivers/ drivers/ +2 more | +144 | 6 replies | |
| 3/7 | ARM: davinci: don't setup pm_clk if we're using genpdarch/ | +8 | 0 replies | |
| 4/7 | ARM: dts: da850: add power controller nodesarch/ | +13 | 1 reply | |
| 5/7 | ARM: dts: da850: add power-domains properties to device nodesarch/ | +33 | 1 reply | |
| 6/7 | ARM: davinci: select generic power domains for DaVinci in DT modearch/ | +1 | 0 replies | |
| 7/7 | ARM: davinci_all_defconfig: select the DaVinci genpd driver in DT modearch/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] ARM: davinci: add genpd support
From: Bartosz Golaszewski <[email protected]>
Hi Sekhar et al,
please take a look at the following patches. They add a simple genpd driver and use it in DT mode on da850 boards.
I was trying to use genpd in legacy mode too, but couldn't find neither any interfaces nor users that would do that. For now I added a check in arch/arm/mach-davinci/pm_domain.c that disables the clock pm setup if we're using genpd.
This series applies on top of and has been tested with David Lechner's for-bartosz branch. It fixes the clock look-up issues we faced with lcdc and emac.
Bartosz Golaszewski (7):
dt-bindings: soc: new driver for DaVinci genpd
soc: davinci: new genpd driver
ARM: davinci: don't setup pm_clk if we're using genpd
ARM: dts: da850: add power controller nodes
ARM: dts: da850: add power-domains properties to device nodes
ARM: davinci: select generic power domains for DaVinci in DT mode
ARM: davinci_all_defconfig: select the DaVinci genpd driver in DT mode
.../bindings/soc/ti,davinci-pm-domains.txt | 13 +++ arch/arm/boot/dts/da850.dtsi | 46 ++++++++ arch/arm/configs/davinci_all_defconfig | 2 + arch/arm/mach-davinci/Kconfig | 1 + arch/arm/mach-davinci/pm_domain.c | 9 +- drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/davinci/Kconfig | 16 +++ drivers/soc/davinci/Makefile | 1 + drivers/soc/davinci/davinci_pm_domains.c | 125 +++++++++++++++++++++ 10 files changed, 214 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/soc/ti,davinci-pm-domains.txt create mode 100644 drivers/soc/davinci/Kconfig create mode 100644 drivers/soc/davinci/Makefile create mode 100644 drivers/soc/davinci/davinci_pm_domains.c
Signature · 1 line
2.16.1