mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
0f69a9b1be119fe6b865033952ab5ca8cd216bc4
This patch register gpio id notifier to support USB2PHY to get extcon
message from extcon-usb-gpio.c driver. The extcon-gpio-usb.c driver
returns the state based on the ID and Vbus pin values as shown below.
State | ID | VBUS
----------------------------------------
[1] USB | H | H
[2] none | H | L
[3] USB-HOST | L | H
[4] USB-HOST | L | L
There is no need to control usb bvalid when USB_HOST state is true.
When USB_HOST state is true, we need to configure the iddig related
registers to trigger the controller's ID interrupt and set the
controller to HOST mode. When USB_HOST state is false, we need to
restore the register configuration.
Change-Id: Ia17fa67f5a26b2e5d989ede23ee6243cdc52f05f
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Signed-off-by: William Wu <william.wu@rock-chips.com>
…
…
Merge tag 'mm-hotfixes-stable-2022-12-10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
…
…
…
…
…
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%