^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/power/pd-samsung.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: Samsung Exynos SoC Power Domains
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Krzysztof Kozlowski <krzk@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) description: |+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Exynos processors include support for multiple power domains which are used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) to gate power to one or more peripherals on the processor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) allOf:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - $ref: power-domain.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) enum:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) - samsung,exynos4210-pd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - samsung,exynos5433-pd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) deprecated: true
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) clock-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) deprecated: true
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) label:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Human readable string with domain name. Will be visible in userspace
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) to let user to distinguish between multiple domains in SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) "#power-domain-cells":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) const: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) power-domains:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) - "#power-domain-cells"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) unevaluatedProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) lcd0_pd: power-domain@10023c80 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) compatible = "samsung,exynos4210-pd";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) reg = <0x10023c80 0x20>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) #power-domain-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) label = "LCD0";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) mfc_pd: power-domain@10044060 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) compatible = "samsung,exynos4210-pd";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) reg = <0x10044060 0x20>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) #power-domain-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) label = "MFC";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) };