/[base]
ViewVC logotype

Revision 350605


Jump to revision: Previous Next
Author: manu
Date: Mon Aug 5 18:27:25 2019 UTC (4 years, 10 months ago)
Changed paths: 13
Log Message:
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


Changed paths

Path Details
Directorystable/12/ modified , props changed
Directorystable/12/sys/arm/allwinner/a10/a10_padconf.c modified , text changed
Directorystable/12/sys/arm/allwinner/a10_codec.c modified , text changed
Directorystable/12/sys/arm/allwinner/aw_rtc.c modified , text changed
Directorystable/12/sys/arm/allwinner/aw_syscon.c modified , text changed
Directorystable/12/sys/arm/allwinner/clkng/ccu_de2.c modified , text changed
Directorystable/12/sys/arm64/conf/GENERIC modified , text changed
Directorystable/12/sys/conf/files.arm64 modified , text changed
Directorystable/12/sys/dts/arm64/overlays/sun50i-h5-nanopi-neo2-opp.dtso
(Copied from head/sys/dts/arm64/overlays/sun50i-h5-nanopi-neo2-opp.dtso, r347017)
added
Directorystable/12/sys/dts/arm64/overlays/sun50i-h5-opp.dtso
(Copied from head/sys/dts/arm64/overlays/sun50i-h5-opp.dtso, r347017)
added
Directorystable/12/sys/dts/arm64/overlays/sun50i-h5-sid.dtso
(Copied from head/sys/dts/arm64/overlays/sun50i-h5-sid.dtso, r347017)
added
Directorystable/12/sys/dts/arm64/overlays/sun50i-h5-ths.dtso
(Copied from head/sys/dts/arm64/overlays/sun50i-h5-ths.dtso, r347017)
added
Directorystable/12/sys/modules/dtb/allwinner/Makefile modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27