[PATCH 00/13] add support for more devices on Meson8 and Meson8b

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sun Jun 11 03:16:31 PDT 2017


This series adds:
- USB support on Meson8 and Meson8b (it seems that some boards show an
  error when trying to initialize one of the USB2 PHYs, but we have the
  same problem on some GXBB boards. it is working fine for me - on a board
  which is not supported upstream yet)
- hardware random number generator support (Meson8 and Meson8b seem to
  have two 32-bit hardware random number generator registers, while the
  GX SoCs only have one. This is not handled by the meson-rng driver yet,
  but that can still be improved later on)
- SAR ADC support
- add reserved memory zones to fix random hangs when filling the memory
  (currently only on Meson8 until I have a Meson8b device to test if the
  same problem appears there as well)
- use the real ethernet clock on Meson8 and Meson8b to fix ethernet when
  the bootloader does not enable the gate clock
- add the SCU (Snoop Control Unit) which is needed for SMP support
- minor preparations for further .dts updates as this already exports the
  SDIO clocks (a driver for this MMC controller is work-in-progress) as
  well as the corresponding pin definitions in meson8.dtsi
- this adds the pwm_e (typically used for the 32.768 kHz LPO clock for the
  SDIO wifi chip) and pwm_f (used on some boards for the dimmable power
  LED) pins to meson8.dtsi

NOTE: the .dts changes from this series depend on my previous patch from
[0]: "ARM: dts: meson8: fix the IR receiver pins"


[0] http://lists.infradead.org/pipermail/linux-amlogic/2017-June/003983.html


Martin Blumenstingl (13):
  clk: meson8b: export the SAR ADC clocks
  clk: meson8b: export the SDIO clock
  clk: meson8b: export the gate clock for the HW random number generator
  clk: meson8b: export the USB clocks
  clk: meson8b: export the ethernet gate clock
  ARM: dts: meson8: add the PWM_E and PWM_F pins
  ARM: dts: meson8: add the pins for the SDIO controller
  ARM: dts: meson: add the SAR ADC
  ARM: dts: meson8: add reserved memory zones
  ARM: dts: meson: add the hardware random number generator
  ARM: dts: meson: add USB support on Meson8 and Meson8b
  ARM: dts: meson8b: add the SCU device node
  ARM: dts: meson: use the real ethernet clock on Meson8 and Meson8b

 arch/arm/boot/dts/meson.dtsi             |  51 +++++++++++++++
 arch/arm/boot/dts/meson8.dtsi            | 109 ++++++++++++++++++++++++++++++-
 arch/arm/boot/dts/meson8b.dtsi           |  49 ++++++++++++++
 drivers/clk/meson/meson8b.h              |  20 +++---
 include/dt-bindings/clock/meson8b-clkc.h |  10 +++
 5 files changed, 228 insertions(+), 11 deletions(-)

-- 
2.13.1




More information about the linux-amlogic mailing list