mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
14cf391f07d6b75476e207b4baf1b7314ecfe700
DPTX may use tcphy0 or tcphy1. If hardware design support
both tcphy0 and tcphy1, then each phy port need a hpd line.
For example, tcphy0 port use GPIO1B5 and tcphy1 port use
GPIO1B6, it should config dts as follow:
&cdn_dp {
...
pinctrl-names = "default";
pinctrl-0 = <&cnd_dp_hpd>;
hpd-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>,
<&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>;
phys = <&tcphy0_dp>, <&tcphy1_dp>;
...
};
&pinctrl {
...
dp {
cdn_dp_hpd: cdn-dp-hpd {
rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_down>,
<1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
};
};
...
};
If only 1 phy port can be used for DPTX, For example, using
tcphy0 and GPIO1B5 as hpd pin. It should config dts as follow:
&cdn_dp {
...
pinctrl-names = "default";
pinctrl-0 = <&cnd_dp_hpd>;
hpd-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
phys = <&tcphy0_dp>;
...
};
&pinctrl {
...
dp {
cdn_dp_hpd: cdn-dp-hpd {
rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_down>;
};
};
...
};
Change-Id: Id1acc428431bb13d7074e9daaab2fcca2ac2782e
Signed-off-by: Zhang Yubing <yubing.zhang@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%