| |
| Required parent device properties: |
| - compatible: |
| - "hisilicon,hi6xxx-mtcmos-driver" |
| - hisilicon,mtcmos-steady-us: The time to wait for power steady |
| - hisilicon,mtcmos-sc-on-base: address of hi6220 soc control register |
| |
| Required child device properties: |
| - regulator-name: The name of mtcmos |
| - hisilicon,ctrl-regs: offset of ctrl-regs |
| - hisilicon,ctrl-data: the bit to ctrl the regulator |
| |
| Example: |
| mtcmos { |
| compatible = "hisilicon,hi6220-mtcmos-driver"; |
| hisilicon,mtcmos-steady-us = <10>; |
| hisilicon,mtcmos-sc-on-base = <0xf7800000>; |
| |
| mtcmos1: regulator@a1{ |
| regulator-name = "G3D_PD_VDD"; |
| hisilicon,ctrl-regs = <0x830 0x834 0x83c>; |
| hisilicon,ctrl-data = <1 0x1>; |
| }; |
| mtcmos2: regulator@a2{ |
| regulator-name = "SOC_MED"; |
| hisilicon,ctrl-regs = <0x830 0x834 0x83c>; |
| hisilicon,ctrl-data = <2 0x1>; |
| }; |
| }; |