@@ -41,6 +41,14 @@ and a `library <https://github.com/EVerest/everest-core/tree/main/lib/everest/ca
4141which uses the CAN interface. This might help as a starting point.
4242
4343
44+ How can I access the GPIOs under Linux?
45+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46+
47+ Since the GPIO sysfs interface /sys/class/gpio has been deprecated since Linux 4.8,
48+ we recommend the usage of chardev GPIO and libgpiod. The modification of the bias
49+ settings via libgpiod is not yet implemented, so it needs to be done via device tree.
50+
51+
4452What is the difference between CHSTOP_IN and SAFETY_ESTOPx?
4553^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4654
@@ -50,6 +58,61 @@ for timing critical use cases. Currently there is no EVerest module, which is ab
5058In order to realize realtime emergency stop behavior use the SAFETY_ESTOPx signals, which are connected to the safety processor.
5159
5260
61+ Is there a Linux command to check for connection related CAN issues?
62+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
63+
64+ Yes
65+
66+ .. code-block :: console
67+
68+ root@chargesom:/# ip -details -statistic link show can0
69+
70+
71+ How can I list the available UARTs?
72+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73+
74+ All UARTs of the i.MX93 are handled by the fsl-lpuart driver, so the following
75+ command should list all available UARTs. Please keep in mind that Linux starts
76+ counting from zero (ttyLP0 = UART1, ...).
77+
78+ .. code-block :: console
79+
80+ root@chargesom:/# cat /proc/tty/driver/fsl-lpuart
81+ serinfo:1.0 driver revision:
82+ 0: uart:FSL_LPUART mmio:0x44380010 irq:17 tx:9932 rx:0 RTS|CTS|DTR|DSR|CD
83+ 2: uart:FSL_LPUART mmio:0x42570010 irq:18 tx:12966 rx:26572 RTS|CTS|DTR|DSR|CD
84+ 3: uart:FSL_LPUART mmio:0x42580010 irq:19 tx:936 rx:617 RTS|CTS|DTR|DSR|CD
85+ 4: uart:FSL_LPUART mmio:0x42590010 irq:20 tx:0 rx:0 CTS|DSR|CD
86+
87+
88+ How can I print the current pin/pad control settings (e.g. bias, drive strength)?
89+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
90+
91+ The current PAD control settings are available under Linux only via debugfs,
92+ but this requires an equivalent pinctrl setting within the device tree:
93+
94+ .. code-block :: console
95+
96+ root@chargesom:/# cat /sys/kernel/debug/pinctrl/443c0000.pinctrl/pinconf-pins
97+ Pin config settings per pin
98+ Format: pin (name): configs
99+ pin 0 (IMX93_IOMUXC_DAP_TDI): 0x31e
100+ ...
101+
102+
103+ Which LVDS displays have been tested with the Charge SOM EVB?
104+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105+
106+ The `Distec DD-0700-MC01 <https://www.fortec-integrated.de/en/products/tft-components/tft-displays/detail/fortec-integrated/dd-0700-mc01/ >`_
107+ (7 inch, 800x480 resolution) has been tested with the Charge SOM EVB.
108+
109+
110+ I like to create my own DT overlay. Is there an example?
111+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
112+
113+ Yes, please have a look at this `commit <https://github.com/chargebyte/linux/commit/125a587a0cf7e8d9db1fdddf9383a67c2b46d107 >`_ .
114+
115+
53116Where can I find the device tree sources of the Charge SOM?
54117^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
55118
0 commit comments