mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 03:50:24 +09:00
ODROID-XU3/4 is able to turn on and off the ethernet device using PMIC(Power Management Integrated Circuit). This patch added the ethernet power control driver in order to trigger the power phsically via sysfs interface. Usage: 1. Turn off(=Unplug) the ethernet device: # echo off > /sys/class/eth_power_ctrl/eth_power 2. Turn on(=Plug) the ethernet device: # echo on > /sys/class/eth_power_ctrl/eth_power Change-Id: I3f673c303eb0b59ea6311a3cd58f6cc80d183d26 Signed-off-by: Brian Kim <brian.kim@hardkernel.com>