public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/5] arm64: meson: add libretech-pc support
@ 2019-12-19 18:36 Jerome Brunet
  2019-12-19 18:36 ` [PATCH 1/5] dt-bindings: leds: import common led bindings from linux v5.4 Jerome Brunet
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Jerome Brunet @ 2019-12-19 18:36 UTC (permalink / raw)
  To: u-boot

Add libretech PC platform support. This platform comes in 2 variants,
one with the s905d and the other s912.

The corresponding DT have been applied and should be merged during the
next merge window [0]

While working on these boards, I've found a problem related the mmc
clock. In some cases, the ROM code will leave the mmc clocks in such
a weird state that any access to the mmc controller would lock the
device.

Making sure the MMC clocks are properly reset and enabled is enough
to solve the problem.

[0]: https://lkml.kernel.org/r/7h5zig82ha.fsf at baylibre.com

Jerome Brunet (5):
  dt-bindings: leds: import common led bindings from linux v5.4
  mmc: meson-gx: enable input clocks
  clk: meson: reset mmc clock on probe
  arm64: dts: meson: gxl: add i2c C pins
  arm64: dts: meson: add libretech-pc support

 arch/arm/dts/Makefile                         |   2 +
 arch/arm/dts/meson-gx-libretech-pc.dtsi       | 376 ++++++++++++++++++
 .../meson-gxl-s905d-libretech-pc-u-boot.dtsi  |   7 +
 arch/arm/dts/meson-gxl-s905d-libretech-pc.dts |  17 +
 arch/arm/dts/meson-gxl-s905d.dtsi             |  12 +
 arch/arm/dts/meson-gxl.dtsi                   |  44 +-
 .../meson-gxm-s912-libretech-pc-u-boot.dtsi   |   7 +
 arch/arm/dts/meson-gxm-s912-libretech-pc.dts  |  62 +++
 configs/libretech-s905d-pc_defconfig          |  73 ++++
 configs/libretech-s912-pc_defconfig           |  73 ++++
 drivers/clk/meson/axg.c                       |   7 +
 drivers/clk/meson/g12a.c                      |   7 +
 drivers/clk/meson/gxbb.c                      |   7 +
 drivers/mmc/meson_gx_mmc.c                    |  14 +-
 include/dt-bindings/leds/common.h             |  75 ++++
 15 files changed, 772 insertions(+), 11 deletions(-)
 create mode 100644 arch/arm/dts/meson-gx-libretech-pc.dtsi
 create mode 100644 arch/arm/dts/meson-gxl-s905d-libretech-pc-u-boot.dtsi
 create mode 100644 arch/arm/dts/meson-gxl-s905d-libretech-pc.dts
 create mode 100644 arch/arm/dts/meson-gxl-s905d.dtsi
 create mode 100644 arch/arm/dts/meson-gxm-s912-libretech-pc-u-boot.dtsi
 create mode 100644 arch/arm/dts/meson-gxm-s912-libretech-pc.dts
 create mode 100644 configs/libretech-s905d-pc_defconfig
 create mode 100644 configs/libretech-s912-pc_defconfig
 create mode 100644 include/dt-bindings/leds/common.h

-- 
2.23.0

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

end of thread, other threads:[~2019-12-20 12:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-19 18:36 [PATCH 0/5] arm64: meson: add libretech-pc support Jerome Brunet
2019-12-19 18:36 ` [PATCH 1/5] dt-bindings: leds: import common led bindings from linux v5.4 Jerome Brunet
2019-12-20 10:14   ` Neil Armstrong
2019-12-19 18:36 ` [PATCH 2/5] mmc: meson-gx: enable input clocks Jerome Brunet
2019-12-20 10:15   ` Neil Armstrong
2019-12-19 18:36 ` [PATCH 3/5] clk: meson: reset mmc clock on probe Jerome Brunet
2019-12-20 10:15   ` Neil Armstrong
2019-12-20 12:06   ` Anand Moon
2019-12-19 18:36 ` [PATCH 4/5] arm64: dts: meson: gxl: add i2c C pins Jerome Brunet
2019-12-20 10:16   ` Neil Armstrong
2019-12-19 18:36 ` [PATCH 5/5] arm64: dts: meson: add libretech-pc support Jerome Brunet
2019-12-20  3:05   ` Chen-Yu Tsai
2019-12-20 10:13     ` Neil Armstrong
2019-12-20 10:17   ` Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox