Re: [PATCH v3 0/4] Add DTs for all Apple M1 (t8103) devices

From: Hector Martin
Date: Fri Nov 26 2021 - 00:41:24 EST


On 23/11/2021 07.58, Janne Grunau wrote:
Hej All,

this series extends the device tree files and bindings to all current
Apple M1 devices. Specifically it adds DTs for following devices:
- MacBook Air (M1, 2020)
- Macbook Pro (13-inch, M1, 2020)
- iMac (24-inch, M1, 2021)

It also adds i2c and cd321x devices nodes. Bindings and code changes for
those were merged for 5.16 without adding devices to the device tree.
Patches are include in a single series for dependencies

Changes since v2:
- split i2c and cd321x changes into 2 commit
- add i2c4 used by MacBooc Pros (j293, 13-inch, M1, 2020)
- add hpm2 and hpm3 for the additional USB-C ports on j456 iMac
(24-inch, M1, 2021) models

Series depends for functionality and dtbs verification on
"[PATCH 0/3] Apple Arm patform device tree and bindings fixes".

thanks,
Janne

The series is available as branch from:
https://github.com/jannau/linux/tree/apple_m1/dt-for-5.17_v3

Janne Grunau (4):
dt-bindings: arm: apple: Add iMac (24-inch 2021) to Apple bindings
arm64: dts: apple: Add missing M1 (t8103) devices
arm64: dts: apple: t8103: Add i2c nodes
arm64: dts: apple: t8103: Add cd321x nodes

.../devicetree/bindings/arm/apple.yaml | 6 +-
arch/arm64/boot/dts/apple/Makefile | 4 +
arch/arm64/boot/dts/apple/t8103-j274.dts | 33 +------
arch/arm64/boot/dts/apple/t8103-j293.dts | 41 +++++++++
arch/arm64/boot/dts/apple/t8103-j313.dts | 33 +++++++
arch/arm64/boot/dts/apple/t8103-j456.dts | 59 ++++++++++++
arch/arm64/boot/dts/apple/t8103-j457.dts | 47 ++++++++++
arch/arm64/boot/dts/apple/t8103-jxxx.dtsi | 67 ++++++++++++++
arch/arm64/boot/dts/apple/t8103.dtsi | 92 +++++++++++++++++++
9 files changed, 352 insertions(+), 30 deletions(-)
create mode 100644 arch/arm64/boot/dts/apple/t8103-j293.dts
create mode 100644 arch/arm64/boot/dts/apple/t8103-j313.dts
create mode 100644 arch/arm64/boot/dts/apple/t8103-j456.dts
create mode 100644 arch/arm64/boot/dts/apple/t8103-j457.dts
create mode 100644 arch/arm64/boot/dts/apple/t8103-jxxx.dtsi


Whole series is:

Tested-by: Hector Martin <marcan@xxxxxxxxx>

on j274, j313, j456.

Thanks! If you spin up a v4 with the minor comments addressed, I'll be happy to merge it :)

--
Hector Martin (marcan@xxxxxxxxx)
Public Key: https://mrcn.st/pub