mbox series

[0/5] Meson8b: add support for the Endless Mini EC-100

Message ID 20180913202203.19636-1-martin.blumenstingl@googlemail.com
Headers show
Series Meson8b: add support for the Endless Mini EC-100 | expand

Message

Martin Blumenstingl Sept. 13, 2018, 8:21 p.m. UTC
This series adds support for the "Endless Mini" grapefruit-sized mini PC
from Endless Mobile, Inc. The internal name of this device is EC-100
(this can be found for example in the GPL kernel tree which is based on
Amlogic's 3.10 kernel: [0]).

The board is using a Meson8b (S805) SoC with various peripherals.
The biggest difference compared to boards which are based on Amlogic's
reference designs is that this board comes with an embedded micro-
controller called "EC" which makes the system LED pulse during boot
and allows powering off the board. It also comes with a 10/100 Mbit/s
Ethernet port and one USB host port.
There are two variants:
- 2GB RAM, 32GB storage, 802.11bgn and Bluetooth 4.0
- 1GB RAM, 24GB storage, neither wifi nor Bluetooth

This series contains support for the new board as well as supporting
patches for the new vendor prefix and the pin definitions in
meson8b.dtsi so various peripherals can be enabled.


[0] https://github.com/endlessm/linux-meson/blob/d628bf1242928927a41f7482ba5ef7295e01a9ff/arch/arm/boot/dts/meson8b-ec100.dts

Martin Blumenstingl (5):
  dt-bindings: add vendor prefix for "Endless Mobile, Inc."
  dt-bindings: arm: amlogic: Add the Endless Mobile Endless Mini
    (EC-100)
  ARM: dts: meson8b: add the I2C_A, PWM_C and UART_B pins
  ARM: dts: meson8b: add the RMII pins
  ARM: dts: meson8b: Add support for the Endless Mini (EC-100)

 .../devicetree/bindings/arm/amlogic.txt       |   1 +
 .../devicetree/bindings/vendor-prefixes.txt   |   1 +
 arch/arm/boot/dts/Makefile                    |   1 +
 arch/arm/boot/dts/meson8b-ec100.dts           | 248 ++++++++++++++++++
 arch/arm/boot/dts/meson8b.dtsi                |  45 ++++
 5 files changed, 296 insertions(+)
 create mode 100644 arch/arm/boot/dts/meson8b-ec100.dts

Comments

Daniel Drake Sept. 14, 2018, 6:24 a.m. UTC | #1
Hi Martin,

On Fri, Sep 14, 2018 at 4:22 AM, Martin Blumenstingl
<martin.blumenstingl@googlemail.com> wrote:
> The Endless Mini (EC-100) is a grapefruit-sized computer based on the
> Amlogic Meson8b (S805) SoC which comes in two variants.

Thanks for your work here, really happy to see this go by!

Would it be possible to adjust the compatible string to
"endless,ec100" without the hyphen to match what we've already been
shipping?

Just curious, is there now working USB and HDMI support in mainline on
this platform?

Thanks!
Daniel
Martin Blumenstingl Sept. 14, 2018, 5:22 p.m. UTC | #2
Hi Daniel,

On Fri, Sep 14, 2018 at 8:24 AM Daniel Drake <drake@endlessm.com> wrote:
>
> Hi Martin,
>
> On Fri, Sep 14, 2018 at 4:22 AM, Martin Blumenstingl
> <martin.blumenstingl@googlemail.com> wrote:
> > The Endless Mini (EC-100) is a grapefruit-sized computer based on the
> > Amlogic Meson8b (S805) SoC which comes in two variants.
>
> Thanks for your work here, really happy to see this go by!
you're welcome - actually having a EC-100 helped a lot! :)

> Would it be possible to adjust the compatible string to
> "endless,ec100" without the hyphen to match what we've already been
> shipping?
sure, I'll wait a few days if more questions come up then I'll send a v2

> Just curious, is there now working USB and HDMI support in mainline on
> this platform?
USB is working fine - you just need d9707490077bee "usb: dwc2: Fix
call location of dwc2_check_core_endianness" (which hit mainline
today) or test this against linux-next
HDMI is not supported

other topics I'm working on:
- CPU frequency scaling
- temperature sensor support in the SAR ADC driver
- ...whatever attracts my attention / interest ;)


Regards
Martin