kernel - yocto 上的 ADV7513 - 内核 4.14
问题描述
我正在使用 yocto rocko / Linux 4.14.24 开发 IMX6QP,我正在尝试使用 ADV7513。我的 CPU 板是karo TX6QP。
在我的硬盘上:DISP0_output (IPU1) -> adv7513_in -> hdmi 连接器
内核配置:
CONFIG_DRM = y
CONFIG_DRM_I2C_ADV7511 = m
dtb:在 I2C 部分:
hdmi@39 {
compatible = "adi,adv7513";
reg = <0x39>;
interrupt-parent = <&gpio4>;
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
pd-gpio = <&gpio3 18 GPIO_ACTIVE_HIGH>;
adi,input-depth = <8>;
adi,input-colorspace = "rgb";
adi,input-clock = "1x";
adi,input-style = <1>;
adi,input-justification = "evenly";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 { /* DISP out */
reg = <0>;
adv7513_in: endpoint {
remote-endpoint = <&ipu1_di0_disp0>;
};
};
port@1 { /* HDMI out */
reg = <1>;
adv7513_out: endpoint {
remote-endpoint = <&hdmi_con>;
};
};
};
};
在主要部分:
hdmi-out0 {
status = "okay";
compatible = "hdmi-connector";
type = "a";
port {
hdmi_con: endpoint {
remote-endpoint = <&adv7513_out>;
};
};
};
ADV7513 未启动,因为它未绑定:从未调用函数“adv7511_bridge_attach”。
如何在 DISP 输出上绑定编码器?
任何想法 ?
rBeal
解决方案
问题是 ipu1 和 adv7511 的绑定。解决了:
display: disp0 {
compatible = "fsl,imx-parallel-display";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_disp0_2>;
interface-pix-fmt = "rgb24";
bits-per-pixel = <32>;
bus-width = <24>;
status = "okay";
port@0 {
reg = <0>;
lcd_in: endpoint {
remote-endpoint = <&ipu1_di0_disp0>;
};
};
port@1 {
reg = <1>;
lcd_out: endpoint {
remote-endpoint = <&adv7511_in>;
};
};
ipu1 现在绑定在 adv7511 上。
解决了
推荐阅读
- python - 将余弦平方拟合到python中的点
- angular - CDK 无限滚动结束检查
- android - 我在哪里可以找到 AAR 中的 Proguard 规则?
- android - SQLite、MongoDB 和 React-Native 的组合可能吗?
- ruby - col 如何在 Ruby 代码中获取其值:Array.new(cells) { |col| PolarCell.new(行,列)}
- visual-studio-code - Visual Studio Code 等待和弦的第二个键。(Ctrl + A)
- c# - Xamarin Forms,HttpClient 类 - GetStringAsync 和 GetAsync 返回空值并快速退出函数
- git - git'在angular2中不被识别为内部或外部命令、可运行程序或批处理文件
- laravel - 如何将徽标保存到公用文件夹中
- matrix - 为什么 Julia 在某些情况下不能识别 NaN?