diff mbox series

[1/3] docs: dt: writing-schema: clarify that schema should describe hardware

Message ID 20240212150524.81819-1-krzysztof.kozlowski@linaro.org
State Accepted
Headers show
Series [1/3] docs: dt: writing-schema: clarify that schema should describe hardware | expand

Checks

Context Check Description
robh/checkpatch success
robh/patch-applied success

Commit Message

Krzysztof Kozlowski Feb. 12, 2024, 3:05 p.m. UTC
The 'title' and 'description' fields in Devicetree schema is supposed to
describe hardware, not the binding itself.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/writing-schema.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rob Herring (Arm) Feb. 13, 2024, 4:22 p.m. UTC | #1
On Mon, 12 Feb 2024 16:05:22 +0100, Krzysztof Kozlowski wrote:
> The 'title' and 'description' fields in Devicetree schema is supposed to
> describe hardware, not the binding itself.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/writing-schema.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/writing-schema.rst b/Documentation/devicetree/bindings/writing-schema.rst
index 0a6cf19a1459..2e5575e6a4e5 100644
--- a/Documentation/devicetree/bindings/writing-schema.rst
+++ b/Documentation/devicetree/bindings/writing-schema.rst
@@ -31,7 +31,7 @@  $schema
   Indicates the meta-schema the schema file adheres to.
 
 title
-  A one-line description on the contents of the binding schema.
+  A one-line description of the hardware being described in the binding schema.
 
 maintainers
   A DT specific property. Contains a list of email address(es)
@@ -39,7 +39,7 @@  maintainers
 
 description
   Optional. A multi-line text block containing any detailed
-  information about this binding. It should contain things such as what the block
+  information about this hardware. It should contain things such as what the block
   or device does, standards the device conforms to, and links to datasheets for
   more information.