log报错: DMA mask not set
问题:DMA mask not set
网上也没找到相关的解决方法,小白求助。
核心板:core-3568j
行业版:aio-3568j
所驱动芯片:瑞芯微rk628d
dts代码如下:其中部分代码参考子rk官方提供的节点配置以及安卓内核中部分其他主板的rk628驱动dts
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2020 Rockchip Electronics Co., Ltd.
*
*/
#include "rk3568-firefly-aioj.dtsi"
/*
* Select one of the three
* using single camera xc7160 ----> rk3568-firefly-aioj-cam-8ms1m.dtsi
* using dual camera gc2053/gc2093 ----> rk3568-firefly-aioj-cam-2ms2m.dtsi
* using hdmi-in module rk628d ----> rk3568-firefly-aioj-tf-hdmi-mipi-rk628.dtsi
*/
#include "rk3568-firefly-aioj-cam-8ms1m.dtsi"
//#include "rk3568-firefly-aioj-cam-2ms2m.dtsi"
//#include "rk3568-firefly-aioj-tf-hdmi-mipi-rk628.dtsi"
/ {
model = "AIO-3568J HDMI (Android)";
compatible = "rockchip,rk3568-firefly-aioj", "rockchip,rk3568";
};
&route_hdmi {
status = "okay";
connect = <&vp0_out_hdmi>;
};
&i2c4{
clock-frequency = <400000>;
status = "okay";
rk628: rk628@50{
reg = <0x50>;
interrupt-parent = <&gpio3>;
interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>;
reset-gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>;
status = "okay";
};
};
#include <arm/rk628.dtsi>
&rk628_combtxphy{
status = "okay";
};
&rk628_combrxphy{
status = "okay";
};
&rk628_csi {
status = "okay";
/** If the hpd output level is inverted on the circuit, * the following configuration needs to be enabled. */
/* hpd-output-inverted; */
plugin-det-gpios = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>; //
//power-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "RK628-CSI";
rockchip,camera-module-lens-name = "NC";
port {
hdmiin_out0: endpoint {
remote-endpoint = <&mipi_in>;
data-lanes = <1 2 3 4>;
};
};
};
&csi2_dphy_hw {
status = "okay";
};
&csi2_dphy0 {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&hdmiin_out0>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
csidphy0_out: endpoint@0 {
reg = <0>;
remote-endpoint = <&isp0_in>;
};
};
};
};
&rkisp {
status = "okay";
};
&rkisp_mmu {
status = "okay";
};
&rkisp_vir0 {
status = "okay";
port {
#address-cells = <1>;
#size-cells = <0>;
isp0_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&csidphy0_out>;
};
};
};
好像是这个的问题,有人知道这个是怎么回事码 配置的引脚是否被复用或其它模块申请了? zyk 发表于 2022-4-26 14:30
配置的引脚是否被复用或其它模块申请了?
确实,问题已经解决了,应该是i2c先挂在了其他模块了
页:
[1]