All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] meson: add clk and adc support for JetHub D1 (j100)
@ 2022-04-24  8:21 Vyacheslav Bocharov
  2022-04-24  8:21 ` [PATCH v3 1/6] clk: meson: add minimal driver for axg-ao clocks Vyacheslav Bocharov
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Vyacheslav Bocharov @ 2022-04-24  8:21 UTC (permalink / raw)
  To: Neil Armstrong, Lukasz Majewski, Sean Anderson, u-boot, u-boot-amlogic

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
- remove unnecessary check (gate->reg == 0) in g12a-clk-ao driver
- enable saradc in dts/board config for JetHub D1 (j100)

From v2:
- remove unnecessary check (gate->reg == 0) in axg/g12a clk-ao drivers
- move j100 dts changes to -u-boot.dtsi
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

 .../meson-axg-jethome-jethub-j100-u-boot.dtsi | 10 +++
 configs/jethub_j100_defconfig                 |  5 ++
 drivers/adc/meson-saradc.c                    |  2 +
 drivers/clk/meson/Makefile                    |  1 +
 drivers/clk/meson/axg-ao.c                    | 86 +++++++++++++++++++
 drivers/clk/meson/g12a-ao.c                   | 17 ++--
 6 files changed, 114 insertions(+), 7 deletions(-)
 create mode 100644 arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi
 create mode 100644 drivers/clk/meson/axg-ao.c

-- 
2.30.2


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-04-25 12:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-24  8:21 [PATCH v3 0/6] meson: add clk and adc support for JetHub D1 (j100) Vyacheslav Bocharov
2022-04-24  8:21 ` [PATCH v3 1/6] clk: meson: add minimal driver for axg-ao clocks Vyacheslav Bocharov
2022-04-24  8:21 ` [PATCH v3 2/6] clk: meson: fix driver name for g12a-ao clocks Vyacheslav Bocharov
2022-04-24  8:21 ` [PATCH v3 3/6] clk: meson: update driver " Vyacheslav Bocharov
2022-04-25  7:21   ` Neil Armstrong
2022-04-24  8:21 ` [PATCH v3 4/6] adc: meson-saradc: add AXG variant Vyacheslav Bocharov
2022-04-24  8:21 ` [PATCH v3 5/6] board: amlogic: jethub j100: enable saradc in dts Vyacheslav Bocharov
2022-04-25  7:21   ` Neil Armstrong
2022-04-24  8:21 ` [PATCH v3 6/6] board: amlogic: jethub j100: enable saradc in config Vyacheslav Bocharov
2022-04-25  7:22   ` Neil Armstrong
2022-04-25  7:25 ` [PATCH v3 0/6] meson: add clk and adc support for JetHub D1 (j100) Neil Armstrong
2022-04-25 10:01   ` Vyacheslav
2022-04-25 10:01     ` Vyacheslav Bocharov
2022-04-25 12:31     ` Neil Armstrong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.