Hi,
I use Jetson Nano [developer kit version] eMMC module,BSP version:R32.7.4.
My device tree configuration is as follows:
uartb {
compatible = “wkmic,wk2114_uart”;
pinctrl-names = “default”;
reg =<0>;
spi-max-frequency =<10000000>;
reset-gpio=<&gpio TEGRA_GPIO(G, 2) GPIO_ACTIVE_HIGH>;
irq-gpio=<&gpio TEGRA_GPIO(J, 7) IRQ_TYPE_LEVEL_LOW>;
status = “okay”;
};
The following error occurred recently when adding the wk2114_uart driver to the device tree using Jetson Nano [developer kit version]:
[ 345.279079] wk2xxx_uart: loading out-of-tree module taints kernel.
[ 345.288556] wk2xxx_init: UART driver for UART to serial chip WK2114, etc.
[ 345.295615] wk2xxx_init: V2.4 On 2022.09.24
[ 345.300704] wk2xxx_probe!!–devm_kzalloc–
[ 345.305063] wk2xxx_probe!!–dev_set_drvdata–
[ 345.309582] wk2xxx_probe!!–platform_get_resource ok–
[ 345.314827] wk2xxxuart 3.uartb: invalid resource
[ 345.319496] wk2xxx_probe!!–devm_ioremap_resource ok–, base: 00000000fe0311d9
[ 345.327231] wk2xxxuart: probe of 3.uartb failed with error -22
[ 347.404676] configfs-gadget gadget: Wrong NDP SIGN
I’m not sure if it’s right to use uartb or if I should switch to spi, but I’m not sure how much to use spi either