页次: 1
[ 1.207374] i2c /dev entries driver
[ 1.211108] sun8i-v3s-pinctrl 1c20800.pinctrl: unknown pin E21
[ 1.217028] sun8i-v3s-pinctrl 1c20800.pinctrl: unknown pin E22
[ 1.224095] input: ns2009_ts as /devices/platform/soc/1c2b000.i2c/i2c-0/0-0048/input/input0
[ 1.233918] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
设备树是
&pio
{
i2c1_pins: i2c1-pins {
pins = "E21", "E22";
function = "i2c1";
};
}
&i2c1 {
pinctrl-0 = <&i2c1_pins>;
status = "okay";
ns2009: ns2009@48 {
compatible = "nsiway,ns2009";
reg = <0x48>;
};
};
内核是用5.2的
页次: 1