mbox series

[v3,00/16] Allwinner A100 Initial support

Message ID 20200708071942.22595-1-frank@allwinnertech.com
Headers show
Series Allwinner A100 Initial support | expand

Message

Frank Lee July 8, 2020, 7:19 a.m. UTC
This patch set adds initial support for allwinner a100 soc,
which is a 64-bit tablet chip.

v3:
-Add pmu and nmi support
-Add read data mask for calibration
-Code style
-Some trivial things in yaml files

v2:
-Some naming consistency
-Repair email address
-Fix mmc clock
-Don't export system clock
-Fix checkpatch warning
-Drop unneeded pin function, convert to jtag_gpu and i2s_x

Frank Lee (16):
  dt-bindings: clk: sunxi-ccu: add compatible string for A100 CCU and
    R-CCU
  clk: sunxi-ng: add support for the Allwinner A100 CCU
  dt-bindings: pinctrl: sunxi: Add A100 pinctrl bindings
  dt-bindings: pinctrl: sunxi: make gpio banks supplies required
  pinctrl: sunxi: add support for the Allwinner A100 pin controller
  dt-bindings: nvmem: SID: add binding for A100's SID controller
  dt-bindings: thermal: sun8i: Add binding for A100's THS controller
  thermal: sun8i: add TEMP_CALIB_MASK for calibration data in
    sun50i_h6_ths_calibrate
  thermal: sun8i: Add A100's THS controller support
  mfd: axp20x: Allow the AXP803 to be probed by I2C
  dt-bindings: irq: sun7i-nmi: fix dt-binding for a80 nmi
  dt-bindings: irq: sun7i-nmi: Add binding for A100's NMI controller
  dt-bindings: i2c: mv64xxx: Add compatible for the A100 i2c node.
  arm64: allwinner: A100: add the basical Allwinner A100 DTSI file
  dt-bindings: arm: sunxi: Add Allwinner A100 Perf1 Board bindings
  arm64: allwinner: A100: add support for Allwinner Perf1 board

 Documentation/devicetree/bindings/arm/sunxi.yaml   |    5 +
 .../bindings/clock/allwinner,sun4i-a10-ccu.yaml    |    7 +-
 .../bindings/i2c/marvell,mv64xxx-i2c.yaml          |    3 +
 .../allwinner,sun7i-a20-sc-nmi.yaml                |    5 +-
 .../bindings/nvmem/allwinner,sun4i-a10-sid.yaml    |    3 +
 .../pinctrl/allwinner,sun4i-a10-pinctrl.yaml       |   75 +-
 .../bindings/thermal/allwinner,sun8i-a83t-ths.yaml |    6 +-
 arch/arm64/boot/dts/allwinner/Makefile             |    1 +
 .../dts/allwinner/sun50i-a100-allwinner-perf1.dts  |  180 +++
 arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi     |  364 ++++++
 drivers/clk/sunxi-ng/Kconfig                       |   10 +
 drivers/clk/sunxi-ng/Makefile                      |    2 +
 drivers/clk/sunxi-ng/ccu-sun50i-a100-r.c           |  214 ++++
 drivers/clk/sunxi-ng/ccu-sun50i-a100-r.h           |   21 +
 drivers/clk/sunxi-ng/ccu-sun50i-a100.c             | 1276 ++++++++++++++++++++
 drivers/clk/sunxi-ng/ccu-sun50i-a100.h             |   56 +
 drivers/mfd/axp20x-i2c.c                           |    2 +
 drivers/pinctrl/sunxi/Kconfig                      |   10 +
 drivers/pinctrl/sunxi/Makefile                     |    2 +
 drivers/pinctrl/sunxi/pinctrl-sun50i-a100-r.c      |  105 ++
 drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c        |  708 +++++++++++
 drivers/thermal/sun8i_thermal.c                    |   16 +-
 include/dt-bindings/clock/sun50i-a100-ccu.h        |  116 ++
 include/dt-bindings/clock/sun50i-a100-r-ccu.h      |   23 +
 include/dt-bindings/reset/sun50i-a100-ccu.h        |   68 ++
 include/dt-bindings/reset/sun50i-a100-r-ccu.h      |   18 +
 26 files changed, 3262 insertions(+), 34 deletions(-)
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-a100-r.c
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-a100-r.h
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-a100.c
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-a100.h
 create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-a100-r.c
 create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c
 create mode 100644 include/dt-bindings/clock/sun50i-a100-ccu.h
 create mode 100644 include/dt-bindings/clock/sun50i-a100-r-ccu.h
 create mode 100644 include/dt-bindings/reset/sun50i-a100-ccu.h
 create mode 100644 include/dt-bindings/reset/sun50i-a100-r-ccu.h

Comments

Corentin Labbe July 8, 2020, 7:45 a.m. UTC | #1
On Wed, Jul 08, 2020 at 03:19:26PM +0800, Frank Lee wrote:
> This patch set adds initial support for allwinner a100 soc,
> which is a 64-bit tablet chip.
> 

Hello

Does a product already exists with it ? I couldnt found any.
Does a datasheet is availlable ?

Regards
Maxime Ripard July 10, 2020, 2:28 p.m. UTC | #2
Hi,

On Wed, Jul 08, 2020 at 03:19:26PM +0800, Frank Lee wrote:
> This patch set adds initial support for allwinner a100 soc,
> which is a 64-bit tablet chip.
> 
> v3:
> -Add pmu and nmi support
> -Add read data mask for calibration
> -Code style
> -Some trivial things in yaml files
> 
> v2:
> -Some naming consistency
> -Repair email address
> -Fix mmc clock
> -Don't export system clock
> -Fix checkpatch warning
> -Drop unneeded pin function, convert to jtag_gpu and i2s_x
> 
> Frank Lee (16):
>   dt-bindings: clk: sunxi-ccu: add compatible string for A100 CCU and
>     R-CCU
>   clk: sunxi-ng: add support for the Allwinner A100 CCU
>   dt-bindings: pinctrl: sunxi: Add A100 pinctrl bindings
>   dt-bindings: pinctrl: sunxi: make gpio banks supplies required
>   pinctrl: sunxi: add support for the Allwinner A100 pin controller
>   dt-bindings: nvmem: SID: add binding for A100's SID controller
>   dt-bindings: thermal: sun8i: Add binding for A100's THS controller
>   thermal: sun8i: add TEMP_CALIB_MASK for calibration data in
>     sun50i_h6_ths_calibrate
>   thermal: sun8i: Add A100's THS controller support
>   mfd: axp20x: Allow the AXP803 to be probed by I2C
>   dt-bindings: irq: sun7i-nmi: fix dt-binding for a80 nmi
>   dt-bindings: irq: sun7i-nmi: Add binding for A100's NMI controller

it doesn't look like those patches went through?

>   dt-bindings: i2c: mv64xxx: Add compatible for the A100 i2c node.
>   arm64: allwinner: A100: add the basical Allwinner A100 DTSI file
>   dt-bindings: arm: sunxi: Add Allwinner A100 Perf1 Board bindings
>   arm64: allwinner: A100: add support for Allwinner Perf1 board

On a more general topic, which bootloader have you used to test this?
The one from Allwinner's BSP I assume?

Maxime
Frank Lee July 13, 2020, 2:39 a.m. UTC | #3
HI,

>>   dt-bindings: irq: sun7i-nmi: fix dt-binding for a80 nmi
>>   dt-bindings: irq: sun7i-nmi: Add binding for A100's NMI controller
>
>it doesn't look like those patches went through?

Due to sending too many emails at once, it seems that some emails have
been filtered by the mailbox, and I just reissued them.

>
>>   dt-bindings: i2c: mv64xxx: Add compatible for the A100 i2c node.
>>   arm64: allwinner: A100: add the basical Allwinner A100 DTSI file
>>   dt-bindings: arm: sunxi: Add Allwinner A100 Perf1 Board bindings
>>   arm64: allwinner: A100: add support for Allwinner Perf1 board
>
>On a more general topic, which bootloader have you used to test this?
>The one from Allwinner's BSP I assume?

Yeah, there is no bringup on the mainline BootLoader yet.

If nothing happens, the next edition will be released today.
We hope that A100 will be integrated as soon as possible.

MBR,
Yangtao
Frank Lee July 13, 2020, 2:41 a.m. UTC | #4
> On Wed, Jul 08, 2020 at 03:19:26PM +0800, Frank Lee wrote:
>>  This patch set adds initial support for allwinner a100 soc,
>>  which is a 64-bit tablet chip.
> > 
> 
> Hello
> 
> Does a product already exists with it ? I couldnt found any.
> Does a datasheet is availlable ?
> 

The product is still in development, A133 is actually a high performance version of A100.

Yangtao