mbox series

[U-Boot,v5,0/4] Add support for Pinebook

Message ID 20181106042431.21595-1-anarsoul@gmail.com
Headers show
Series Add support for Pinebook | expand

Message

Vasily Khoruzhick Nov. 6, 2018, 4:24 a.m. UTC
This series adds support for the Pinebook, an allwinner A64 laptop
produced by Pine64. It also adds support for mmc delay calibration,
R_I2C controller, and addresses the issue with activating video
bridge when any of GPIOs is missing.

This series depends on André's "sunxi: A64/H3/H5 DT updates"

v2: - sync sun50i-a64.dtsi with linux instead of adding missing nodes
    - take sun50i-a64-pinebook.dts from linux
    - don't introduce new Kconfig for A64 MMC calibration
    - improve code in video bridge uclass to check for presensce of
      GPIO instead of ingoring EINVAL errors
v3: - enable calibration for H6 as well
    - init ret variable in video_bridge_set_active()
    - fix order of dts files Makefile
    - split anx6345 binding into sun50i-a64-pinebook-u-boot.dts
    - drop speaker_amp node from pinebook dts
    - drop unnecessary options from defconfig
v4: - sync device tree files with linux-next
v5: - drop patch to sync device tree files with linux-next

Vasily Khoruzhick (4):
  mmc: sunxi: add support for automatic delay calibration
  dm: video: bridge: don't fail to activate bridge if reset or sleep
    GPIO is missing
  sun50i: A64: add support for R_I2C controller
  sunxi: DT: add support for Pinebook

 arch/arm/dts/Makefile                        |   1 +
 arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi |  15 +
 arch/arm/dts/sun50i-a64-pinebook.dts         | 294 +++++++++++++++++++
 arch/arm/include/asm/arch-sunxi/gpio.h       |   1 +
 arch/arm/include/asm/arch-sunxi/mmc.h        |   6 +-
 arch/arm/mach-sunxi/Kconfig                  |   1 +
 board/sunxi/board.c                          |   6 +
 configs/pinebook_defconfig                   |  22 ++
 drivers/mmc/sunxi_mmc.c                      |  21 +-
 drivers/video/bridge/video-bridge-uclass.c   |  16 +-
 10 files changed, 376 insertions(+), 7 deletions(-)
 create mode 100644 arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi
 create mode 100644 arch/arm/dts/sun50i-a64-pinebook.dts
 create mode 100644 configs/pinebook_defconfig

Comments

Jagan Teki Nov. 13, 2018, 4:41 p.m. UTC | #1
On Tue, Nov 6, 2018 at 9:55 AM Vasily Khoruzhick <anarsoul@gmail.com> wrote:
>
> This series adds support for the Pinebook, an allwinner A64 laptop
> produced by Pine64. It also adds support for mmc delay calibration,
> R_I2C controller, and addresses the issue with activating video
> bridge when any of GPIOs is missing.
>
> This series depends on André's "sunxi: A64/H3/H5 DT updates"
>
> v2: - sync sun50i-a64.dtsi with linux instead of adding missing nodes
>     - take sun50i-a64-pinebook.dts from linux
>     - don't introduce new Kconfig for A64 MMC calibration
>     - improve code in video bridge uclass to check for presensce of
>       GPIO instead of ingoring EINVAL errors
> v3: - enable calibration for H6 as well
>     - init ret variable in video_bridge_set_active()
>     - fix order of dts files Makefile
>     - split anx6345 binding into sun50i-a64-pinebook-u-boot.dts
>     - drop speaker_amp node from pinebook dts
>     - drop unnecessary options from defconfig
> v4: - sync device tree files with linux-next
> v5: - drop patch to sync device tree files with linux-next
>
> Vasily Khoruzhick (4):
>   mmc: sunxi: add support for automatic delay calibration
>   dm: video: bridge: don't fail to activate bridge if reset or sleep
>     GPIO is missing
>   sun50i: A64: add support for R_I2C controller
>   sunxi: DT: add support for Pinebook

Applied to u-boot-sunxi/master