* [PATCH] dt-bindings: nvmem: add nvmem-cell-cells property
@ 2023-05-05 9:19 Peng Fan (OSS)
2023-05-05 10:33 ` Rob Herring
2023-05-05 16:11 ` Rob Herring
0 siblings, 2 replies; 3+ messages in thread
From: Peng Fan (OSS) @ 2023-05-05 9:19 UTC (permalink / raw)
To: srinivas.kandagatla, robh+dt, krzysztof.kozlowski+dt
Cc: devicetree, linux-kernel, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
The driver has been using this property, so add it.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/nvmem/nvmem.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
index 75bb93dda9df..3fc3982da102 100644
--- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml
+++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
@@ -67,6 +67,9 @@ patternProperties:
description:
Size in bit within the address range specified by reg.
+ "#nvmem-cell-cells":
+ const: 1
+
additionalProperties: true
examples:
--
2.37.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: nvmem: add nvmem-cell-cells property
2023-05-05 9:19 [PATCH] dt-bindings: nvmem: add nvmem-cell-cells property Peng Fan (OSS)
@ 2023-05-05 10:33 ` Rob Herring
2023-05-05 16:11 ` Rob Herring
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-05-05 10:33 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: robh+dt, linux-kernel, krzysztof.kozlowski+dt,
srinivas.kandagatla, Peng Fan, devicetree
On Fri, 05 May 2023 17:19:06 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> The driver has been using this property, so add it.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> Documentation/devicetree/bindings/nvmem/nvmem.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:
./Documentation/devicetree/bindings/nvmem/nvmem.yaml:71:10: [warning] wrong indentation: expected 8 but found 9 (indentation)
dtschema/dtc warnings/errors:
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230505091906.1820081-1-peng.fan@oss.nxp.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: nvmem: add nvmem-cell-cells property
2023-05-05 9:19 [PATCH] dt-bindings: nvmem: add nvmem-cell-cells property Peng Fan (OSS)
2023-05-05 10:33 ` Rob Herring
@ 2023-05-05 16:11 ` Rob Herring
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-05-05 16:11 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: srinivas.kandagatla, krzysztof.kozlowski+dt, devicetree,
linux-kernel, Peng Fan
On Fri, May 05, 2023 at 05:19:06PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> The driver has been using this property, so add it.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> Documentation/devicetree/bindings/nvmem/nvmem.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> index 75bb93dda9df..3fc3982da102 100644
> --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> @@ -67,6 +67,9 @@ patternProperties:
> description:
> Size in bit within the address range specified by reg.
>
> + "#nvmem-cell-cells":
> + const: 1
I don't think we can globally set this to 1. You should have a specific
nvmem layout that uses and defines it.
Rob
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-05 16:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-05 9:19 [PATCH] dt-bindings: nvmem: add nvmem-cell-cells property Peng Fan (OSS)
2023-05-05 10:33 ` Rob Herring
2023-05-05 16:11 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).