[PATCH v2 0/6] meson: add clk and adc support for JetHub D1 (j100)
Vyacheslav Bocharov
adeep at lexina.in
Fri Apr 22 07:29:08 CEST 2022
Prepare to use ADC channel 1 in JetHub D1 (j100) to check the hardware
revision of the board.
- add support for AXG in saradc driver
- add simple clk-ao driver for AXG (base is taken from g12a)
- enable saradc in dts and board config file
- fix typo in the g12a-clk-ao driver name
- move clk->id check to .request function for g12a-clk-ao driver
- enable saradc in dts/board config for JetHub D1 (j100)
>From v1:
- move clk-id check to .request function for axg/g12a-ao clk driver
Vyacheslav Bocharov (6):
clk: meson: add minimal driver for axg-ao clocks
clk: meson: fix driver name for g12a-ao clocks
clk: meson: update driver for g12a-ao clocks
adc: meson-saradc: add AXG variant
board: amlogic: jethub j100: enable saradc in dts
board: amlogic: jethub j100: enable saradc in config
.../arm/dts/meson-axg-jethome-jethub-j100.dts | 5 ++
configs/jethub_j100_defconfig | 5 ++
drivers/adc/meson-saradc.c | 2 +
drivers/clk/meson/Makefile | 1 +
drivers/clk/meson/axg-ao.c | 89 +++++++++++++++++++
drivers/clk/meson/g12a-ao.c | 14 ++-
6 files changed, 112 insertions(+), 4 deletions(-)
create mode 100644 drivers/clk/meson/axg-ao.c
--
2.30.2
More information about the U-Boot
mailing list