• Levin Du's avatar
    arm64: dts: rockchip: add sdmmc UHS support for roc-rk3328-cc · 99165b93
    Levin Du authored
    In roc-rk3328-cc board, the signal voltage of sdmmc is supplied by the
    vcc_sdio regulator, which is a mux between 1.8V and 3.3V, controlled by
    a special output only gpio pin labeled "gpiomut_pmuio_iout",
    corresponding bit 1 of the syscon GRF_SOC_CON10.
    
    This special pin can now be reference as <&grf_gpio 0>, thanks to the
    gpio-syscon driver, which makes writing regulator-gpio possible.
    
    If the signal voltage changes, the io domain needs to change
    correspondingly.
    
    To use this feature, the following options are required in kernel config:
     - CONFIG_GPIO_SYSCON=y
     - CONFIG_POWER_AVS=y
     - CONFIG_ROCKCHIP_IODOMAIN=y
    Signed-off-by: default avatarLevin Du <djw@t-chip.com.cn>
    Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
    99165b93
rk3328-roc-cc.dts 6.14 KB