mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
ODROID-G12: Add to dtbo for otg.
Change-Id: I6aae8f62570f7aebdc5a53094c14abf52022eac0
This commit is contained in:
@@ -15246,3 +15246,8 @@ F: include/linux/amlogic/media/video_sink/v4lvideo_ext.h
|
||||
AMLOGIC POWER DOMAIN DRIVER
|
||||
M: Zhiqiang Liang <zhiqiang.liang@amlogic.com>
|
||||
F: drivers/amlogic/power/power_domain.c
|
||||
|
||||
HARDKERNEL USB OTG OVERLAY
|
||||
M: Chris KIM <codewalker@hardkenrle.com>
|
||||
F: arch/arm64/boot/dts/amlogic/overlays/odroidc4/otg_host_mode.dts
|
||||
F: arch/arm64/boot/dts/amlogic/overlays/odroidn2/otg_host_mode.dts
|
||||
|
||||
@@ -24,7 +24,7 @@ dtbo-$(CONFIG_ARCH_MESON64_ODROIDC4) += spi0.dtbo \
|
||||
gpio_shortcut.dtbo \
|
||||
esp8089.dtbo \
|
||||
fanspeed-full.dtbo \
|
||||
pwm_ef.dtbo
|
||||
otg_host_mode.dtbo
|
||||
|
||||
targets += $(dtbo-y)
|
||||
always := $(dtbo-y)
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* arch/arm64/boot/dts/amlogic/overlays/odroidc4/otg_host_mode.dts
|
||||
*
|
||||
* Copyright (C) 2017 Amlogic, Inc. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/{
|
||||
fragment@0 {
|
||||
target = <&usb3_phy_v2>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
portnum = <1>;
|
||||
otg = <0>;
|
||||
gpio-vbus-power = "";
|
||||
gpios = <>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -23,7 +23,8 @@ dtbo-$(CONFIG_ARCH_MESON64_ODROIDN2) += spi0.dtbo \
|
||||
gpio_spdif.dtbo \
|
||||
sdio.dtbo \
|
||||
gpio_shortcut.dtbo \
|
||||
codec_mm_cma.dtbo
|
||||
codec_mm_cma.dtbo \
|
||||
otg_host_mode.dtbo
|
||||
|
||||
targets += $(dtbo-y)
|
||||
always := $(dtbo-y)
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* arch/arm64/boot/dts/amlogic/overlays/odroidn2/otg_host_mode.dts
|
||||
*
|
||||
* Copyright (C) 2017 Amlogic, Inc. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/{
|
||||
fragment@0 {
|
||||
target = <&usb3_phy_v2>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
portnum = <1>;
|
||||
otg = <0>;
|
||||
gpio-vbus-power = "";
|
||||
gpios = <>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user