HomeFreeBSD

MFC r346334, r346787-r346789, r347017

Description

MFC r346334, r346787-r346789, r347017

r346334:
arm: allwinner: Fix audio for Allwinner H3/H5

Due to three conditions the codec driver for Allwinner A10/A20 and H3/H5 did not work properly here:

Wrong bit position for the analog audio reset
Hardware Reset of codec was not de-asserted correctly
Linux DTS file did not contain the address of the analog register the way as the driver was expecting it.

This patch proposes fixes for those three parts.

Submitted by: freebsdnewbie@freenet.de (Manuel Stühn)
Differential Revision: https://reviews.freebsd.org/D19910

r346787:
arm64: allwinner: Add compatible strings for clock devices used on both Allwinner H3 and H5

Allwinner H3 and H5 share many internal components, that's why they can
use the same drivers.
This patch adds the compatible strings to enable clock drivers
probing on Allwinner NanoPI NEO2 device.

Tested on: NanoPi NEO2 (by submitter), OrangePi PC2 (by manu)
Submitted by: Manuel Stühn (freebsdnewbie@freenet.de)
Differential Revision: https://reviews.freebsd.org/D20069

r346788:
arm64: allwinner: ccu_de2: Remove H5 compatible

We don't have the display engine driver commited in FreeBSD yet so it is
useless to expose the clocks yet (and also it have not been tested on H5).

Reported by: Manuel Stühn (freebsdnewbie@freenet.de)
PR: 237571

r346789:
arm: allwinner: a10: Correct pin functions

PB20 and PB21 alternate function 1 is i2c2 not i2c1

Reported by: Horiki Mori (yamori813@yahoo.co.jp)
PR: 237401

r347017:
arm64: Add support for NanoPI NEO2

Add overlay files and activate devicetree file for NanoPi NEO2 featuring
Allwinner H5 ARM64 core.
To enable sound, dma and codec drivers are enabled for build.

Submitted by: Manuel Stühn (freebsdnewbie@freenet.de)
Differential Revision: https://reviews.freebsd.org/D20129

Details

Committed
manuAug 5 2019, 6:27 PM
Differential Revision
D19910: Fix audio for Allwinner H3/H5
Parents
rS350604: MFC r346298:
Branches
Unknown
Tags
Unknown