mbox series

[v3,00/19] arm64: dts: allwinner: A64 boards DT updates

Message ID 20180730123137.923-1-andre.przywara@arm.com (mailing list archive)
Headers show
Series arm64: dts: allwinner: A64 boards DT updates | expand

Message

Andre Przywara July 30, 2018, 12:31 p.m. UTC
Hi,

only smaller changes compared to v2, addressing the comments on the
ML. This fixes Ethernet for the Nano Pi A64 and removes the DT nodes
for the non-existent BT part of this board. Also some fixes for the
OrangePi as requested by Maxime.

Please note:
I am leaving for a three weeks holiday in a few hours, so won't be
able to respond or work on this.
Maxime, if you feel like you want to merge some parts, feel free to pick
some patches and/or make adjustments. Otherwise I will be picking this
up once I am back end of August.

Cheers,
Andre.

-----------------------------------------
While starring at some DTs while copying the kernel DTs into the U-Boot
tree, I realised that some boards seem to get more love than others.
Fix up some issues I found by inspection on some boards:
Patch 1 adds L2 cache nodes, to avoid a message on the boot console.
Patch 2 adds a separate DT file for the Pine64-LTS board, which from the
software point of view is very much a SOPine + baseboard.
Patch 3 till 12 fix various Orange Pi Win issues, which Samuel posted
before [1]. According to Maxime's comment and with Samuel's permission,
I split them up and integrated them here.
There were reports from people about the Olinuxino board having issues,
so patches 13-15 attempt to fix them.
The NanoPi-A64 also hasn't been updated in a while: enable the Ethernet
and the WiFi/Bluetooth chip, fix a voltage issue and add the LED in the
last four patches.

I don't have the OrangePi, Olinuxino or NanoPi-A64, so can't test these
boards. So even though I have carefully checked the changes against the
available schematics, I would really love to see some testing and
confirmation from owners of these systems.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2018-May/576897.html

Changelog v2..v3:
- fix NanoPi A64 Ethernet PHY address
- remove BT nodes from NanoPi A64
- amend voltage regulator names for OPi-Win
- more precise commit messages for OPi-Win
- add preliminary serdev BT node

Changelog v1..v2:
- add Samuel's Orange Pi Win series (split up)
- add Martin's Tested-by: for the DRAM voltage fix
- add supply property and alias for Olinuxino Ethernet
- fix Olinuxino USB supply issues (AXP VBus, id_det GPIO, bus 0/1 mix-up)
- drop NanoPi-A64 PortE voltage change (clashes with CSI pins)
- fix NanoPi-A64 WiFi node (better node name, no compatible string)

Andre Przywara (10):
  arm64: dts: allwinner: a64: Add L2 cache nodes
  arm64: dts: allwinner: a64: Add Pine64-LTS device tree file
  arm64: dts: allwinner: a64: Orange Pi Win: Add serdev BT node
  arm64: dts: allwinner: a64: Olinuxino: fix DRAM voltage
  arm64: dts: allwinner: a64: Olinuxino: add Ethernet nodes
  arm64: dts: allwinner: a64: Olinuxino: enable USB
  arm64: dts: allwinner: a64: NanoPi-A64: Fix DCDC1 voltage
  arm64: dts: allwinner: a64: NanoPi-A64: Add Ethernet
  arm64: dts: allwinner: a64: NanoPi-A64: Add Wifi chip
  arm64: dts: allwinner: a64: NanoPi-A64: Add blue status LED

Samuel Holland (9):
  arm64: dts: allwinner: a64: Orange Pi Win: Fix SD card node
  arm64: dts: allwinner: a64: Orange Pi Win: Enable USB hub regulator
  arm64: dts: allwinner: a64: Orange Pi Win: Enable USB OTG socket
  arm64: dts: allwinner: a64: Orange Pi Win: Add Ethernet node
  arm64: dts: allwinner: a64: Orange Pi Win: Add UARTs
  arm64: dts: allwinner: a64: Orange Pi Win: Add LED node
  arm64: dts: allwinner: a64: Orange Pi Win: Add SDIO node
  arm64: dts: allwinner: a64: Orange Pi Win: Add SPI flash node
  arm64: dts: allwinner: a64: Orange Pi Win: Adjust CSI power rails

 arch/arm64/boot/dts/allwinner/Makefile             |   1 +
 .../boot/dts/allwinner/sun50i-a64-nanopi-a64.dts   |  55 ++++++++-
 .../boot/dts/allwinner/sun50i-a64-olinuxino.dts    |  70 ++++++++++-
 .../boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 136 ++++++++++++++++++++-
 .../boot/dts/allwinner/sun50i-a64-pine64-lts.dts   |  13 ++
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi      |   9 ++
 6 files changed, 274 insertions(+), 10 deletions(-)
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-lts.dts

Comments

Maxime Ripard July 31, 2018, 12:30 p.m. UTC | #1
On Mon, Jul 30, 2018 at 01:31:18PM +0100, Andre Przywara wrote:
> Hi,
> 
> only smaller changes compared to v2, addressing the comments on the
> ML. This fixes Ethernet for the Nano Pi A64 and removes the DT nodes
> for the non-existent BT part of this board. Also some fixes for the
> OrangePi as requested by Maxime.
> 
> Please note:
> I am leaving for a three weeks holiday in a few hours, so won't be
> able to respond or work on this.
> Maxime, if you feel like you want to merge some parts, feel free to pick
> some patches and/or make adjustments. Otherwise I will be picking this
> up once I am back end of August.

Apart from the serdev patch,
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>

Maxime
Chen-Yu Tsai Aug. 7, 2018, 5:55 a.m. UTC | #2
On Tue, Jul 31, 2018 at 8:30 PM, Maxime Ripard
<maxime.ripard@bootlin.com> wrote:
> On Mon, Jul 30, 2018 at 01:31:18PM +0100, Andre Przywara wrote:
>> Hi,
>>
>> only smaller changes compared to v2, addressing the comments on the
>> ML. This fixes Ethernet for the Nano Pi A64 and removes the DT nodes
>> for the non-existent BT part of this board. Also some fixes for the
>> OrangePi as requested by Maxime.
>>
>> Please note:
>> I am leaving for a three weeks holiday in a few hours, so won't be
>> able to respond or work on this.
>> Maxime, if you feel like you want to merge some parts, feel free to pick
>> some patches and/or make adjustments. Otherwise I will be picking this
>> up once I am back end of August.
>
> Apart from the serdev patch,
> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>

I queued up all patches except the serdev patch for 4.20.

I did a few fix ups, notably to the "Orange Pi Win USB OTG" and "NanoPi-A64
WiFi" patches. Please check the result here:

    https://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git/log/?h=sunxi/dt64-for-4.20

ChenYu