Skip to content

ARM: davinci: add genpd support

Bartosz Golaszewski linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dt-bindings: soc: new driver for DaVinci genpdDocumentation/devicetree/bindings/soc/ti,davinci-pm-domains.txt+13 -03 replies
2/7soc: davinci: new genpd driverdrivers/soc/Kconfig drivers/soc/Makefile drivers/soc/davinci/Kconfig +2 more+144 -06 replies
3/7ARM: davinci: don't setup pm_clk if we're using genpdarch/arm/mach-davinci/pm_domain.c+8 -10 replies
4/7ARM: dts: da850: add power controller nodesarch/arm/boot/dts/da850.dtsi+13 -01 reply
5/7ARM: dts: da850: add power-domains properties to device nodesarch/arm/boot/dts/da850.dtsi+33 -01 reply
6/7ARM: davinci: select generic power domains for DaVinci in DT modearch/arm/mach-davinci/Kconfig+1 -00 replies
7/7ARM: davinci_all_defconfig: select the DaVinci genpd driver in DT modearch/arm/configs/davinci_all_defconfig+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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