162306a36Sopenharmony_ciAmlogic Meson Power Controller (deprecated) 262306a36Sopenharmony_ci=========================================== 362306a36Sopenharmony_ci 462306a36Sopenharmony_ciThe Amlogic Meson SoCs embeds an internal Power domain controller. 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciVPU Power Domain 762306a36Sopenharmony_ci---------------- 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciThe Video Processing Unit power domain is controlled by this power controller, 1062306a36Sopenharmony_cibut the domain requires some external resources to meet the correct power 1162306a36Sopenharmony_cisequences. 1262306a36Sopenharmony_ciThe bindings must respect the power domain bindings as described in the file 1362306a36Sopenharmony_cipower-domain.yaml 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciDevice Tree Bindings: 1662306a36Sopenharmony_ci--------------------- 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciRequired properties: 1962306a36Sopenharmony_ci- compatible: should be one of the following : 2062306a36Sopenharmony_ci - "amlogic,meson-gx-pwrc-vpu" for the Meson GX SoCs 2162306a36Sopenharmony_ci - "amlogic,meson-g12a-pwrc-vpu" for the Meson G12A SoCs 2262306a36Sopenharmony_ci- #power-domain-cells: should be 0 2362306a36Sopenharmony_ci- amlogic,hhi-sysctrl: phandle to the HHI sysctrl node 2462306a36Sopenharmony_ci- resets: phandles to the reset lines needed for this power demain sequence 2562306a36Sopenharmony_ci as described in ../reset/reset.txt 2662306a36Sopenharmony_ci- clocks: from common clock binding: handle to VPU and VAPB clocks 2762306a36Sopenharmony_ci- clock-names: from common clock binding: must contain "vpu", "vapb" 2862306a36Sopenharmony_ci corresponding to entry in the clocks property. 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ciParent node should have the following properties : 3162306a36Sopenharmony_ci- compatible: "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd" 3262306a36Sopenharmony_ci- reg: base address and size of the AO system control register space. 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciExample: 3562306a36Sopenharmony_ci------- 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ciao_sysctrl: sys-ctrl@0 { 3862306a36Sopenharmony_ci compatible = "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd"; 3962306a36Sopenharmony_ci reg = <0x0 0x0 0x0 0x100>; 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci pwrc_vpu: power-controller-vpu { 4262306a36Sopenharmony_ci compatible = "amlogic,meson-gx-pwrc-vpu"; 4362306a36Sopenharmony_ci #power-domain-cells = <0>; 4462306a36Sopenharmony_ci amlogic,hhi-sysctrl = <&sysctrl>; 4562306a36Sopenharmony_ci resets = <&reset RESET_VIU>, 4662306a36Sopenharmony_ci <&reset RESET_VENC>, 4762306a36Sopenharmony_ci <&reset RESET_VCBUS>, 4862306a36Sopenharmony_ci <&reset RESET_BT656>, 4962306a36Sopenharmony_ci <&reset RESET_DVIN_RESET>, 5062306a36Sopenharmony_ci <&reset RESET_RDMA>, 5162306a36Sopenharmony_ci <&reset RESET_VENCI>, 5262306a36Sopenharmony_ci <&reset RESET_VENCP>, 5362306a36Sopenharmony_ci <&reset RESET_VDAC>, 5462306a36Sopenharmony_ci <&reset RESET_VDI6>, 5562306a36Sopenharmony_ci <&reset RESET_VENCL>, 5662306a36Sopenharmony_ci <&reset RESET_VID_LOCK>; 5762306a36Sopenharmony_ci clocks = <&clkc CLKID_VPU>, 5862306a36Sopenharmony_ci <&clkc CLKID_VAPB>; 5962306a36Sopenharmony_ci clock-names = "vpu", "vapb"; 6062306a36Sopenharmony_ci }; 6162306a36Sopenharmony_ci}; 6262306a36Sopenharmony_ci 6362306a36Sopenharmony_ci 64