Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yureka Lilian <yureka@cyberchaos.dev>
To: Sven Peter <sven@kernel.org>,
	Yureka Lilian <yureka@cyberchaos.dev>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Lorenzo Pieralisi <lpieralisi@kernel.org>,
	Janne Grunau <j@jannau.net>, Neal Gompa <neal@gompa.dev>,
	Hector Martin <marcan@marcan.st>,
	Thomas Gleixner <tglx@kernel.org>, Radu Rendec <radu@rendec.net>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	Guenter Roeck <linux@roeck-us.net>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	linux-watchdog@vger.kernel.org
Subject: Re: [PATCH 6/6] arm64: dts: apple: Add minimal MacBook Neo device tree
Date: Fri, 4 Sep 2026 22:57:47 +0200	[thread overview]
Message-ID: <859274b6-2863-4a6c-ad2c-bbb93b4c7f2b@cyberchaos.dev> (raw)
In-Reply-To: <027b6019-9a2c-4f3a-8c64-c9836857b471@kernel.org>

On 9/4/26 22:34, Sven Peter wrote:
> Hi,
>
>
> On 04.09.26 21:49, Yureka Lilian wrote:
>> Added a device tree for the MacBook Neo, which uses the t8140 SoC
>> (A18 Pro) also found in the iPhone 16 Pro.
>>
>> The device tree has a minimal set of devices limited to CPU cores,
>> interrupt controller, watchdog, serial and framebuffer.
>>
>> Using the macOS 26.6.2 iBoot/firmware, the machine reliably boots
>> on a single core using the stock kernel.
>> Booting with smp requires avoiding the wfi and wfit instructions
>> in the idle loop and `delay()` respectively, since those instructions
>> cause a loss of architectural state on the secondary cores.
>>
>> Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
>
> [...]
>
>> +
>> +    memory@800000000 {
>
> this doesn't fit the reg you use below.
>
>> +        device_type = "memory";
>> +        reg = <0x100 0 0x2 0>; /* To be filled by loader */
>> +    };
>
> [....]
>
>> +
>> +        aic: interrupt-controller@301000000 {
>> +            compatible = "apple,t8140-aic3", "apple,t8122-aic3";
>> +            #interrupt-cells = <3>;
>> +            interrupt-controller;
>> +            reg = <0x00000003 0x01000000 0x00000000 0x1cc000>,
>> +                  <0x00000003 0x01040000 0x00000000 0x4000>;
>
> please be consistent and use 0x3 and 0x0 here like for the rest.
>
>
>
> Sven


Thanks for the review!

I've applied the suggestions to my branch.


- Yureka



      reply	other threads:[~2026-09-04 20:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-04 19:49 [PATCH 0/6] Initial Apple Silicon A18 Pro device trees and dt-bindings Yureka Lilian
2026-09-04 19:49 ` [PATCH 1/6] dt-bindings: arm: cpus: Add Apple A18 Pro CPU core compatibles Yureka Lilian
2026-09-04 19:49 ` [PATCH 2/6] dt-bindings: arm: apple: apple,pmgr: Add t8140 compatible Yureka Lilian
2026-09-04 20:30   ` Sven Peter
2026-09-04 20:54     ` Yureka Lilian
2026-09-04 19:49 ` [PATCH 3/6] dt-bindings: arm: power: apple,pmgr-pwrstate: " Yureka Lilian
2026-09-04 19:49 ` [PATCH 4/6] dt-bindings: interrupt-controller: apple,aic2: Add apple,t8140 compatible Yureka Lilian
2026-09-05  8:25   ` Nick Chan
2026-09-04 19:49 ` [PATCH 5/6] dt-bindings: watchdog: apple,wdt: Add t8140 compatible Yureka Lilian
2026-09-04 19:49 ` [PATCH 6/6] arm64: dts: apple: Add minimal MacBook Neo device tree Yureka Lilian
2026-09-04 20:34   ` Sven Peter
2026-09-04 20:57     ` Yureka Lilian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=859274b6-2863-4a6c-ad2c-bbb93b4c7f2b@cyberchaos.dev \
    --to=yureka@cyberchaos.dev \
    --cc=asahi@lists.linux.dev \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=j@jannau.net \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lpieralisi@kernel.org \
    --cc=marcan@marcan.st \
    --cc=neal@gompa.dev \
    --cc=radu@rendec.net \
    --cc=robh@kernel.org \
    --cc=sven@kernel.org \
    --cc=tglx@kernel.org \
    --cc=wim@linux-watchdog.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox