|
|
@@ -237,7 +237,7 @@ includes the mainline board file and adds:
|
|
|
that is expected.
|
|
|
- the key expander U2 `gpio@76` (`ti,tca9539`) on i2c1, INT on PA6/PWM1
|
|
|
(level low, SoC pull-up on), and a `gpio-keys` device named `radio-keys`
|
|
|
- with the 13 keys. s1d13700-tca's `dts/radio-panel.dts` has the same table.
|
|
|
+ with the 13 keys. radio-keyboard-tca's `dts/radio-keys.dts` has the same table.
|
|
|
It avoids `#include` so that it also works with `armbian-add-overlay`, so
|
|
|
the two files cannot share a `.dtsi`. Instead `build-kernel.sh` compares the
|
|
|
compiled tables (label, U2 pin, flags, key code) and stops if they differ.
|
|
|
@@ -258,11 +258,14 @@ drivers: this board has no display output. Built in and checked by `config`:
|
|
|
- the sunxi watchdog and the sun6i RTC
|
|
|
- `FONT_6x8` for `fbcon=font:6x8`
|
|
|
|
|
|
-### Drivers for the radio panel (`$PANEL_DIR`, default `/home/k4be/git/radio/s1d13700-tca`)
|
|
|
+### Drivers for the radio panel and keys
|
|
|
|
|
|
-The panel driver and its overlay come from the s1d13700-tca repository. The
|
|
|
-application on the board, radio-ui (`/home/k4be/git/radio/radio-ui`, with
|
|
|
-s1d13700-tca as a submodule), is not built here.
|
|
|
+The panel driver and its overlay come from the s1d13700-tca repository
|
|
|
+(`$PANEL_DIR`, default `/home/k4be/git/radio/s1d13700-tca`), the key overlay
|
|
|
+from radio-keyboard-tca (`$KEYBOARD_DIR`, default
|
|
|
+`/home/k4be/git/radio/radio-keyboard-tca`). The application on the board, radio-ui
|
|
|
+(`/home/k4be/git/radio/radio-ui`, with both as submodules), is not built
|
|
|
+here.
|
|
|
|
|
|
- `s1d13700-tca` DRM driver: copied from `$PANEL_DIR/driver` into
|
|
|
`drivers/gpu/drm/tiny/s1d13700-tca/` on every build and **built in**, so
|
|
|
@@ -272,10 +275,10 @@ s1d13700-tca as a submodule), is not built here.
|
|
|
- gpio-pca953x (TCA9539, with IRQ) and gpio-keys, built in. `radio-ui drm`
|
|
|
finds the `radio-keys` evdev device by itself.
|
|
|
- i2c-dev, i2c-tiny-usb, gpio-keys-polled, evdev, uinput, backlight class
|
|
|
-- s1d13700-tca's `dts/*.dts` overlays are compiled into
|
|
|
- `/boot/opi0/<release>/overlay/` and can be enabled with `BOOT_OVERLAYS`.
|
|
|
- They aren't needed: the board DTB already has everything. `radio-panel`
|
|
|
- would add a second panel and U2 on i2c0.
|
|
|
+- the `dts/*.dts` overlays of s1d13700-tca and radio-keyboard-tca are
|
|
|
+ compiled into `/boot/opi0/<release>/overlay/` and can be enabled with
|
|
|
+ `BOOT_OVERLAYS`. They aren't needed: the board DTB already has everything.
|
|
|
+ `radio-panel` would add a second panel on i2c0, `radio-keys` a second U2.
|
|
|
|
|
|
The driver also registers the panel's backlight as
|
|
|
`/sys/class/backlight/radio-backlight` (brightness 0 or 1, on at boot), and
|