[6.7,fix,2/2] dt-bindings: eeprom: at24: allow NVMEM cells based on old syntax

Message ID 20231024171253.19976-2-zajec5@gmail.com
State New
Headers
Series [6.7,fix,1/2] dt-bindings: nvmem: SID: allow NVMEM cells based on old syntax |

Commit Message

Rafał Miłecki Oct. 24, 2023, 5:12 p.m. UTC
  From: Rafał Miłecki <rafal@milecki.pl>

This binding supported NVMEM cells as subnodes and that syntax is used
by few in-kenel DTS files. Modify binding to allow it.

Reported-by: Rob Herring <robh@kernel.org>
Fixes: c5330723d5a0 ("dt-bindings: nvmem: move deprecated cells binding to its own file")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 Documentation/devicetree/bindings/eeprom/at24.yaml | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Rob Herring Oct. 25, 2023, 2:05 p.m. UTC | #1
On Tue, Oct 24, 2023 at 07:12:53PM +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> This binding supported NVMEM cells as subnodes and that syntax is used
> by few in-kenel DTS files. Modify binding to allow it.
> 
> Reported-by: Rob Herring <robh@kernel.org>
> Fixes: c5330723d5a0 ("dt-bindings: nvmem: move deprecated cells binding to its own file")
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---
>  Documentation/devicetree/bindings/eeprom/at24.yaml | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Rob Herring <robh@kernel.org>
  
Bartosz Golaszewski Oct. 25, 2023, 2:52 p.m. UTC | #2
On Tue, Oct 24, 2023 at 7:13 PM Rafał Miłecki <zajec5@gmail.com> wrote:
>
> From: Rafał Miłecki <rafal@milecki.pl>
>
> This binding supported NVMEM cells as subnodes and that syntax is used
> by few in-kenel DTS files. Modify binding to allow it.
>
> Reported-by: Rob Herring <robh@kernel.org>
> Fixes: c5330723d5a0 ("dt-bindings: nvmem: move deprecated cells binding to its own file")
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---
>  Documentation/devicetree/bindings/eeprom/at24.yaml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml
> index 6385b05a1e62..b6864d0ee81e 100644
> --- a/Documentation/devicetree/bindings/eeprom/at24.yaml
> +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml
> @@ -12,6 +12,7 @@ maintainers:
>
>  allOf:
>    - $ref: /schemas/nvmem/nvmem.yaml
> +  - $ref: /schemas/nvmem/nvmem-deprecated-cells.yaml
>
>  select:
>    properties:
> --
> 2.35.3
>

Do you want it to go through the at24 and subsequently i2c tree?

Otherwise if someone else will pick it up:

Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
  

Patch

diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml
index 6385b05a1e62..b6864d0ee81e 100644
--- a/Documentation/devicetree/bindings/eeprom/at24.yaml
+++ b/Documentation/devicetree/bindings/eeprom/at24.yaml
@@ -12,6 +12,7 @@  maintainers:
 
 allOf:
   - $ref: /schemas/nvmem/nvmem.yaml
+  - $ref: /schemas/nvmem/nvmem-deprecated-cells.yaml
 
 select:
   properties: