public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] docs: dt: writing-bindings: Rephrase typical fallback (superset) usage
@ 2025-07-07  9:50 Krzysztof Kozlowski
  2025-07-07  9:50 ` [PATCH v2 2/3] docs: dt: writing-bindings: Express better expectations of "specific" Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2025-07-07  9:50 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
	linux-kernel
  Cc: Krzysztof Kozlowski, Conor Dooley

When speaking about compatibles for new devices comparing to "prior
implementations", usually we expect new device to come with more
features, thus logically it is a superset, not subset, of "prior
implementations".

Suggested-by: Conor Dooley <conor@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Changes in v2:
1. New patch, superset suggested by Conor.
---
 Documentation/devicetree/bindings/writing-bindings.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/writing-bindings.rst b/Documentation/devicetree/bindings/writing-bindings.rst
index 1ad081de2dd0..66c94b5adc87 100644
--- a/Documentation/devicetree/bindings/writing-bindings.rst
+++ b/Documentation/devicetree/bindings/writing-bindings.rst
@@ -40,9 +40,9 @@ Properties
 ==========
 
 - DO make 'compatible' properties specific. DON'T use wildcards in compatible
-  strings. DO use fallback compatibles when devices are the same as or a subset
-  of prior implementations. DO add new compatibles in case there are new
-  features or bugs.
+  strings. DO use fallback compatibles when devices are the same as or a
+  superset of prior implementations. DO add new compatibles in case there are
+  new features or bugs.
 
 - DO use a vendor prefix on device-specific property names. Consider if
   properties could be common among devices of the same class. Check other
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-07-08 12:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-07  9:50 [PATCH v2 1/3] docs: dt: writing-bindings: Rephrase typical fallback (superset) usage Krzysztof Kozlowski
2025-07-07  9:50 ` [PATCH v2 2/3] docs: dt: writing-bindings: Express better expectations of "specific" Krzysztof Kozlowski
2025-07-07 15:00   ` Conor Dooley
2025-07-08 12:22   ` Rob Herring (Arm)
2025-07-07  9:50 ` [PATCH v2 3/3] docs: dt: writing-bindings: Consistently use single-whitespace Krzysztof Kozlowski
2025-07-07 15:01   ` Conor Dooley
2025-07-08 12:22   ` Rob Herring (Arm)
2025-07-07 15:00 ` [PATCH v2 1/3] docs: dt: writing-bindings: Rephrase typical fallback (superset) usage Conor Dooley
2025-07-08 12:20 ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox