Thread (17 messages) 17 messages, 3 authors, 2017-02-04
STALE3449d
Revisions (2)
  1. v1 [diff vs current]
  2. v3 current

[PATCH v3 0/5] Provide real domain names for Exynos power domain driver

From: Marek Szyprowski <m.szyprowski@samsung.com>
Date: 2017-01-30 12:19:23
Also in: linux-samsung-soc

Hi!

For everyone working on power management and runtime power management it
is important to have a meaningful information about the state of the
power domains. Current Exynos power domain driver created names of the
domains based on the device tree node name. Those name
we incorrectly a bit more descriptive (like "mfc-power-domain@10023C40"
in exynos4.dtsi) than they should be (it should be fixed to
"power-domain@10023C40"). This patch series adds reading human readable
names from the 'label' property. While touching this, I've also fixes
a few obvious issues related to power domain driver code.

Patches are based on the Linux next-20170130 branch.

Best regards
Marek Szyprowski
Samsung R&D Institute Poland


Changelog:
v3:
- moved real domains names from hardcoded string in the driver to the label
  property in the device tree (suggested by Krzysztof Kozlowski)

v2:
- sorted all domains data by domain base address in the arrays in driver

v1:
- initial version


Patch summary:

Marek Szyprowski (5):
  soc: samsung: pm_domains: Use full names in subdomains registration
    log
  soc: samsung: pm_domains: Remove unused name field
  soc: samsung: pm_domains: Remove message about failed memory
    allocation
  soc: samsung: pm_domains: Read domain name from the new label property
  arm: dts: exynos: Add labels to all existing power domains

 .../devicetree/bindings/power/pd-samsung.txt       |  4 ++++
 arch/arm/boot/dts/exynos4.dtsi                     |  7 +++++++
 arch/arm/boot/dts/exynos4210.dtsi                  |  1 +
 arch/arm/boot/dts/exynos4412.dtsi                  |  1 +
 arch/arm/boot/dts/exynos5250.dtsi                  |  3 +++
 arch/arm/boot/dts/exynos5420.dtsi                  |  5 +++++
 drivers/soc/samsung/pm_domains.c                   | 24 +++++++++++++---------
 7 files changed, 35 insertions(+), 10 deletions(-)

-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help