Devicetree
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Rob Herring <robh@kernel.org>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Marek Vasut <marex@denx.de>, Jonathan Cameron <jic23@kernel.org>,
	Sebastian Reichel <sebastian.reichel@collabora.com>
Subject: Re: [PATCH v2] dt-bindings: incomplete-devices: document devices without bindings
Date: Fri, 12 Jul 2024 11:41:03 +0200	[thread overview]
Message-ID: <73038a80-ce58-4967-a258-d6befe23c777@linaro.org> (raw)
In-Reply-To: <CAL_Jsq+WdctoTMNoakiY5kh4nDoNx5h522s76LoHyD_yKYvvSg@mail.gmail.com>

On 11/07/2024 15:01, Rob Herring wrote:
>> +
>> +properties:
>> +  compatible:
>> +    oneOf:
>> +      - description:
>> +          Rejected compatibles in Devicetree, but used in ACPI-based devices
>> +          with non-updatable firmware/ACPI tables (via ACPI PRP0001)
>> +        enum:
>> +          - broadcom,bcm5241
>> +          - ltr,ltrf216a
>> +
>> +      - description: Incorrect compatibles used on Macintosh devices
> 
> They were correct at the time. Rules/standards evolve though. I would
> just say 'Legacy" rather than "Incorrect".

ack

> 
>> +        enum:
>> +          - adm1030
>> +          - bmac+
>> +          - heathrow-media-bay
>> +          - keylargo-media-bay
>> +          - lm87cimt
>> +          - MAC,adm1030
>> +          - MAC,ds1775
>> +          - max6690
>> +          - ohare-media-bay
>> +          - ohare-swim3
>> +          - smu-sat
>> +          - swim3
>> +
>> +      - description: Incorrect compatibles used on other PowerPC devices
>> +        enum:
>> +          - 1682m-rng
>> +          - IBM,lhca
>> +          - IBM,lhea
>> +          - IBM,lhea-ethernet
> 
>> +          - mpc5200b-fec-phy
>> +          - mpc5200-serial
>> +          - mpc5200-sram
> 
> Tell Grant he needs to document these. ;) JK
> 
>> +          - ohci-bigendian
>> +          - ohci-le
>> +          - ohci-littledian
> 
> Given the typo, I think we can just drop this one from the driver.

Sure, I'll send a patch. It could affect some ancient user, though...
Although I really wonder if any of these PowerPC boxes are still alive.

> 
>> +
>> +      - description: Incorrect compatibles used on SPARC devices
>> +        enum:
>> +          - bq4802
>> +          - ds1287
>> +          - isa-m5819p
>> +          - isa-m5823p
>> +          - m5819
>> +          - sab82532
>> +          - SUNW,bbc-beep
>> +          - SUNW,bbc-i2c
>> +          - SUNW,CS4231
>> +          - SUNW,ebus-pic16f747-env
>> +          - SUNW,kt-cwq
>> +          - SUNW,kt-mau
>> +          - SUNW,n2-cwq
>> +          - SUNW,n2-mau
>> +          - SUNW,niusl
>> +          - SUNW,smbus-beep
>> +          - SUNW,sun4v-console
>> +          - SUNW,sun4v-pci
>> +          - SUNW,vf-cwq
>> +          - SUNW,vf-mau
>> +
>> +      - description: Incomplete and incorrect compatibles for unknown devices
>> +        enum:
>> +          - electra-cf
>> +          - i2cpcf,8584
>> +          - virtio,uml
>> +
>> +      - description: Linux kernel unit tests and sample code
>> +        enum:
>> +          - audio-graph-card2-custom-sample
>> +          - compat1
>> +          - compat2
>> +          - compat3
>> +          - linux,spi-loopback-test
>> +          - mailbox-test
>> +          - regulator-virtual-consumer
>> +          - unittest-gpio
>> +          - unittest-pci
> 
> We recently added "test" as a vendor prefix and don't complain if
> "test,.*" compatible is not documented. It's on my todo to change
> these. So I'd drop the unittest ones.

Ack

Best regards,
Krzysztof


  reply	other threads:[~2024-07-12  9:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-11  8:59 [PATCH v2] dt-bindings: incomplete-devices: document devices without bindings Krzysztof Kozlowski
2024-07-11 13:01 ` Rob Herring
2024-07-12  9:41   ` Krzysztof Kozlowski [this message]
2024-07-15  9:57     ` Geert Uytterhoeven
2024-07-15 11:54       ` Krzysztof Kozlowski
2024-07-15 12:05       ` Rob Herring

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=73038a80-ce58-4967-a258-d6befe23c777@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marex@denx.de \
    --cc=robh@kernel.org \
    --cc=sebastian.reichel@collabora.com \
    /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