Commit 91117063a36f2c830cb9c22a984477b892bff6ce
1 parent
802e949e84
Exists in
pitx_8mp_lf-5.10.y
Add ppp and RS485 support
Showing 5 changed files with 62 additions and 4 deletions Side-by-side Diff
arch/arm64/boot/dts/embedian/Makefile
arch/arm64/boot/dts/embedian/imx8mp-pitx-lvds-rs485.dts
1 | +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | |
2 | +/* | |
3 | + * Copyright 2021 Embedian, Inc. | |
4 | + */ | |
5 | + | |
6 | +#include "imx8mp-pitx-common.dtsi" | |
7 | +#include "imx8mp-pitx-lvds.dtsi" | |
8 | + | |
9 | +/ { | |
10 | + model = "Embedian i.MX8MPlus pITX-iMX8M-PLUS SBC LVDS and RS485"; | |
11 | +}; | |
12 | + | |
13 | +&uart2 { | |
14 | + pinctrl-names = "default"; | |
15 | + pinctrl-0 = <&pinctrl_uart2>; | |
16 | + assigned-clocks = <&clk IMX8MP_CLK_UART2>; | |
17 | + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; | |
18 | + /delete-property/ fsl,uart-has-rtscts; | |
19 | + linux,rs485-enabled-at-boot-time; | |
20 | + rs485-rx-during-tx; | |
21 | + rts-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>; | |
22 | + status = "okay"; | |
23 | +}; |
arch/arm64/boot/dts/embedian/imx8mp-pitx-rs485.dts
1 | +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | |
2 | +/* | |
3 | + * Copyright 2021 Embedian, Inc. | |
4 | + */ | |
5 | + | |
6 | +#include "imx8mp-pitx-common.dtsi" | |
7 | + | |
8 | +/ { | |
9 | + model = "Embedian i.MX8MPlus pITX-iMX8M-PLUS SBC HDMI and RS485"; | |
10 | +}; | |
11 | + | |
12 | +&uart2 { | |
13 | + pinctrl-names = "default"; | |
14 | + pinctrl-0 = <&pinctrl_uart2>; | |
15 | + assigned-clocks = <&clk IMX8MP_CLK_UART2>; | |
16 | + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; | |
17 | + /delete-property/ fsl,uart-has-rtscts; | |
18 | + linux,rs485-enabled-at-boot-time; | |
19 | + rs485-rx-during-tx; | |
20 | + rts-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>; | |
21 | + status = "okay"; | |
22 | +}; |
arch/arm64/configs/pitxmx8mplus_defconfig
... | ... | @@ -2466,8 +2466,17 @@ |
2466 | 2466 | CONFIG_PCS_LYNX=y |
2467 | 2467 | # end of PCS device drivers |
2468 | 2468 | |
2469 | -# CONFIG_PPP is not set | |
2469 | +CONFIG_PPP=y | |
2470 | +CONFIG_PPP_BSDCOMP=y | |
2471 | +CONFIG_PPP_DEFLATE=y | |
2472 | +CONFIG_PPP_FILTER=y | |
2473 | +CONFIG_PPP_MPPE=y | |
2474 | +CONFIG_PPP_MULTILINK=y | |
2475 | +CONFIG_PPPOE=y | |
2476 | +CONFIG_PPP_ASYNC=y | |
2477 | +CONFIG_PPP_SYNC_TTY=y | |
2470 | 2478 | # CONFIG_SLIP is not set |
2479 | +CONFIG_SLHC=y | |
2471 | 2480 | CONFIG_USB_NET_DRIVERS=y |
2472 | 2481 | # CONFIG_USB_CATC is not set |
2473 | 2482 | # CONFIG_USB_KAWETH is not set |
... | ... | @@ -5282,7 +5291,7 @@ |
5282 | 5291 | # |
5283 | 5292 | # USB Device Class drivers |
5284 | 5293 | # |
5285 | -CONFIG_USB_ACM=m | |
5294 | +CONFIG_USB_ACM=y | |
5286 | 5295 | # CONFIG_USB_PRINTER is not set |
5287 | 5296 | # CONFIG_USB_WDM is not set |
5288 | 5297 | # CONFIG_USB_TMC is not set |
... | ... | @@ -5422,7 +5431,8 @@ |
5422 | 5431 | # CONFIG_USB_SERIAL_TI is not set |
5423 | 5432 | # CONFIG_USB_SERIAL_CYBERJACK is not set |
5424 | 5433 | # CONFIG_USB_SERIAL_XIRCOM is not set |
5425 | -# CONFIG_USB_SERIAL_OPTION is not set | |
5434 | +CONFIG_USB_SERIAL_WWAN=y | |
5435 | +CONFIG_USB_SERIAL_OPTION=y | |
5426 | 5436 | # CONFIG_USB_SERIAL_OMNINET is not set |
5427 | 5437 | # CONFIG_USB_SERIAL_OPTICON is not set |
5428 | 5438 | # CONFIG_USB_SERIAL_XSENS_MT is not set |
... | ... | @@ -7626,7 +7636,7 @@ |
7626 | 7636 | CONFIG_ARCH_HAS_FAST_MULTIPLIER=y |
7627 | 7637 | CONFIG_ARCH_USE_SYM_ANNOTATIONS=y |
7628 | 7638 | CONFIG_INDIRECT_PIO=y |
7629 | -CONFIG_CRC_CCITT=m | |
7639 | +CONFIG_CRC_CCITT=y | |
7630 | 7640 | CONFIG_CRC16=y |
7631 | 7641 | CONFIG_CRC_T10DIF=y |
7632 | 7642 | CONFIG_CRC_ITU_T=y |
drivers/gpu/drm/panel/panel-simple.c