[PATCH 01/18] dt-bindings: vendor-prefixes: add AAPL prefix

Arnd Bergmann arnd at kernel.org
Mon Feb 8 14:59:20 EST 2021


On Mon, Feb 8, 2021 at 7:12 PM Krzysztof Kozlowski <krzk at kernel.org> wrote:
 On Mon, Feb 08, 2021 at 11:32:15AM -0600, Rob Herring wrote:
> > On Mon, Feb 08, 2021 at 11:27:30AM +0100, Krzysztof Kozlowski wrote:
> so hardly an argument for backwards consistency, within the kernel.
>
> On the other hand, some DTs for iPhones mention "apple", not APPL:
> https://www.theiphonewiki.com/wiki/D211AP/Device_Tree
> https://www.theiphonewiki.com/wiki/D331AP/Device_Tree
> https://gist.github.com/bazad/1faef1a6fe396b820a43170b43e38be1
>
> Although I am not sure how reliable are the sources.

For reference, these are the examples I see in the device tree dump for the
mac mini:

      AAPL,unit-string = "00000000";
      AAPL,slot-name = "Slot- 1";
      device_type = "AAPL,display-crossbar";
      device_type = "AAPL,atc-dpxbar";
      device_type = "AAPL,atc-dpphy";
      device_type = "AAPL,atc-dpin";

In addition, every node has a AAPL,phandle property (corresponding to
linux,phandle), and some have a AAPL,unit-string.

As in the iphones, only the cpu nodes do use "apple,".

       Arnd



More information about the linux-arm-kernel mailing list