linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/7] Add support for various features to i.MX6 bindings
@ 2023-06-21  9:32 Oleksij Rempel
  2023-06-21  9:32 ` [PATCH v2 1/5] dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support Oleksij Rempel
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Oleksij Rempel @ 2023-06-21  9:32 UTC (permalink / raw)
  To: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson
  Cc: Oleksij Rempel, kernel, Peng Fan, Fabio Estevam, NXP Linux Team,
	Daniel Lezcano, Thomas Gleixner, Michael Trimarchi, Mark Brown,
	Dario Binacchi, Marek Vasut, linux-clk, devicetree,
	linux-arm-kernel, linux-kernel, linux-crypto, linux-input,
	linux-mmc

changes v2:
- fix warning samples in the commit messages
- drop patches which needs more work
- address requested changes 

This patch series is aimed at addressing several dtbs_check warnings by
introducing additional support in the device tree bindings for i.MX6
series SoCs. The warnings surfaced while validating some i.MX6 boards.
The issues were predominantly around unrecognized compatibility strings
and missing properties in the device trees.

Oleksij Rempel (5):
  dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support
  dt-bindings: timer: gpt: Add i.MX6UL support
  dt-bindings: timer: gpt: Support 3rd clock for i.MX6DL
  dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks
  dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property

 Documentation/devicetree/bindings/clock/imx6ul-clock.yaml  | 6 ++++++
 .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml  | 6 ++++++
 Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml   | 1 +
 Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml    | 7 +++++++
 4 files changed, 20 insertions(+)

-- 
2.39.2


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

* [PATCH v2 1/5] dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support
  2023-06-21  9:32 [PATCH v1 0/7] Add support for various features to i.MX6 bindings Oleksij Rempel
@ 2023-06-21  9:32 ` Oleksij Rempel
  2023-06-21 20:42   ` Conor Dooley
  2023-06-22  9:11   ` Ulf Hansson
  2023-06-21  9:32 ` [PATCH v2 2/5] dt-bindings: timer: gpt: Add i.MX6UL support Oleksij Rempel
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 13+ messages in thread
From: Oleksij Rempel @ 2023-06-21  9:32 UTC (permalink / raw)
  To: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson
  Cc: Oleksij Rempel, kernel, Peng Fan, Fabio Estevam, NXP Linux Team,
	Daniel Lezcano, Thomas Gleixner, Michael Trimarchi, Mark Brown,
	Dario Binacchi, Marek Vasut, linux-clk, devicetree,
	linux-arm-kernel, linux-kernel, linux-crypto, linux-input,
	linux-mmc

Add the 'fsl,imx6ul-usdhc' value to the compatible properties list in
the fsl-imx-esdhc.yaml file. This is required to match the compatible
strings present in the 'mmc@2190000' node of 'imx6ul-prti6g.dtb'. This
commit addresses the following dtbs_check warning:
imx6ul-prti6g.dtb:0:0: /soc/bus@2100000/mmc@2190000: failed to match any schema with compatible: ['fsl,imx6ul-usdhc', 'fsl,imx6sx-usdhc']

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
index fbfd822b92707..82eb7a24c8578 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
@@ -42,6 +42,7 @@ properties:
           - enum:
               - fsl,imx6sll-usdhc
               - fsl,imx6ull-usdhc
+              - fsl,imx6ul-usdhc
           - const: fsl,imx6sx-usdhc
       - items:
           - const: fsl,imx7d-usdhc
-- 
2.39.2


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

* [PATCH v2 2/5] dt-bindings: timer: gpt: Add i.MX6UL support
  2023-06-21  9:32 [PATCH v1 0/7] Add support for various features to i.MX6 bindings Oleksij Rempel
  2023-06-21  9:32 ` [PATCH v2 1/5] dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support Oleksij Rempel
@ 2023-06-21  9:32 ` Oleksij Rempel
  2023-06-21 20:47   ` Conor Dooley
  2023-06-21  9:32 ` [PATCH v2 3/5] dt-bindings: timer: gpt: Support 3rd clock for i.MX6DL Oleksij Rempel
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 13+ messages in thread
From: Oleksij Rempel @ 2023-06-21  9:32 UTC (permalink / raw)
  To: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson
  Cc: Oleksij Rempel, kernel, Peng Fan, Fabio Estevam, NXP Linux Team,
	Daniel Lezcano, Thomas Gleixner, Michael Trimarchi, Mark Brown,
	Dario Binacchi, Marek Vasut, linux-clk, devicetree,
	linux-arm-kernel, linux-kernel, linux-crypto, linux-input,
	linux-mmc

Add 'fsl,imx6ul-gpt' compatible to resolve the following dtbs_check
warning:
imx6ull-jozacp.dtb:0:0: /soc/bus@2000000/timer@2098000: failed to match any schema with compatible: ['fsl,imx6ul-gpt', 'fsl,imx6sx-gpt']

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
index 716c6afcca1fa..685137338ac99 100644
--- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
+++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
@@ -34,6 +34,9 @@ properties:
               - fsl,imxrt1050-gpt
               - fsl,imxrt1170-gpt
           - const: fsl,imx6dl-gpt
+      - items:
+          - const: fsl,imx6ul-gpt
+          - const: fsl,imx6sx-gpt
 
   reg:
     maxItems: 1
-- 
2.39.2


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

* [PATCH v2 3/5] dt-bindings: timer: gpt: Support 3rd clock for i.MX6DL
  2023-06-21  9:32 [PATCH v1 0/7] Add support for various features to i.MX6 bindings Oleksij Rempel
  2023-06-21  9:32 ` [PATCH v2 1/5] dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support Oleksij Rempel
  2023-06-21  9:32 ` [PATCH v2 2/5] dt-bindings: timer: gpt: Add i.MX6UL support Oleksij Rempel
@ 2023-06-21  9:32 ` Oleksij Rempel
  2023-06-21 20:48   ` Conor Dooley
  2023-06-21  9:32 ` [PATCH v2 4/5] dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks Oleksij Rempel
  2023-06-21  9:32 ` [PATCH v2 5/5] dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property Oleksij Rempel
  4 siblings, 1 reply; 13+ messages in thread
From: Oleksij Rempel @ 2023-06-21  9:32 UTC (permalink / raw)
  To: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson
  Cc: Oleksij Rempel, kernel, Peng Fan, Fabio Estevam, NXP Linux Team,
	Daniel Lezcano, Thomas Gleixner, Michael Trimarchi, Mark Brown,
	Dario Binacchi, Marek Vasut, linux-clk, devicetree,
	linux-arm-kernel, linux-kernel, linux-crypto, linux-input,
	linux-mmc

Add support for a 3rd clock, 'osc_per', for i.MX6DL to the 'fsl,imxgpt'
binding to resolve the following dtbs_check warning:
imx6dl-alti6p.dtb: timer@2098000: clocks: [[2, 119], [2, 120], [2, 237]] is too long
imx6dl-alti6p.dtb: timer@2098000: clock-names: ['ipg', 'per', 'osc_per'] is too long

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
index 685137338ac99..34c62d152be81 100644
--- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
+++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
@@ -45,14 +45,18 @@ properties:
     maxItems: 1
 
   clocks:
+    minItems: 2
     items:
       - description: SoC GPT ipg clock
       - description: SoC GPT per clock
+      - description: SoC GPT osc_per clock
 
   clock-names:
+    minItems: 2
     items:
       - const: ipg
       - const: per
+      - const: osc_per
 
 required:
   - compatible
-- 
2.39.2


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

* [PATCH v2 4/5] dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks
  2023-06-21  9:32 [PATCH v1 0/7] Add support for various features to i.MX6 bindings Oleksij Rempel
                   ` (2 preceding siblings ...)
  2023-06-21  9:32 ` [PATCH v2 3/5] dt-bindings: timer: gpt: Support 3rd clock for i.MX6DL Oleksij Rempel
@ 2023-06-21  9:32 ` Oleksij Rempel
  2023-06-21 20:56   ` Conor Dooley
  2023-07-25  7:34   ` Abel Vesa
  2023-06-21  9:32 ` [PATCH v2 5/5] dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property Oleksij Rempel
  4 siblings, 2 replies; 13+ messages in thread
From: Oleksij Rempel @ 2023-06-21  9:32 UTC (permalink / raw)
  To: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson
  Cc: Oleksij Rempel, kernel, Peng Fan, Fabio Estevam, NXP Linux Team,
	Daniel Lezcano, Thomas Gleixner, Michael Trimarchi, Mark Brown,
	Dario Binacchi, Marek Vasut, linux-clk, devicetree,
	linux-arm-kernel, linux-kernel, linux-crypto, linux-input,
	linux-mmc

Extend the 'clocks' and 'clock-names' properties to support optional
'enet1_ref_pad' and 'enet2_ref_pad' clocks to resolve the following
dtbs_check warning:
imx6ul-prti6g.dtb: clock-controller@20c4000: clocks: [[17], [18], [19], [20], [21]] is too long
imx6ul-prti6g.dtb: clock-controller@20c4000: clock-names: ['ckil', 'osc', 'ipp_di0', 'ipp_di1', 'enet1_ref_pad'] is too long

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 Documentation/devicetree/bindings/clock/imx6ul-clock.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
index be54d4df5afa2..3b71ebc100bf6 100644
--- a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
@@ -28,18 +28,24 @@ properties:
     const: 1
 
   clocks:
+    minItems: 4
     items:
       - description: 32k osc
       - description: 24m osc
       - description: ipp_di0 clock input
       - description: ipp_di1 clock input
+      - description: Optional lenet1_ref_pad or enet2_ref_pad clocks
+      - description: Optional lenet1_ref_pad or enet2_ref_pad clocks
 
   clock-names:
+    minItems: 4
     items:
       - const: ckil
       - const: osc
       - const: ipp_di0
       - const: ipp_di1
+      - pattern: '^enet[12]_ref_pad$'
+      - pattern: '^enet[12]_ref_pad$'
 
 required:
   - compatible
-- 
2.39.2


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

* [PATCH v2 5/5] dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property
  2023-06-21  9:32 [PATCH v1 0/7] Add support for various features to i.MX6 bindings Oleksij Rempel
                   ` (3 preceding siblings ...)
  2023-06-21  9:32 ` [PATCH v2 4/5] dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks Oleksij Rempel
@ 2023-06-21  9:32 ` Oleksij Rempel
  2023-07-08  0:06   ` Dmitry Torokhov
  4 siblings, 1 reply; 13+ messages in thread
From: Oleksij Rempel @ 2023-06-21  9:32 UTC (permalink / raw)
  To: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson
  Cc: Oleksij Rempel, Rob Herring, kernel, Peng Fan, Fabio Estevam,
	NXP Linux Team, Daniel Lezcano, Thomas Gleixner,
	Michael Trimarchi, Mark Brown, Dario Binacchi, Marek Vasut,
	linux-clk, devicetree, linux-arm-kernel, linux-kernel,
	linux-crypto, linux-input, linux-mmc

Add a new property 'threshold' to the edt-ft5x06 touchscreen binding.
This property allows setting the "click"-threshold in the range from 0
to 255. This change addresses the following dtbs_check warning:
imx6dl-lanmcu.dtb: touchscreen@38: 'threshold' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml   | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
index ef4c841387bdd..f2808cb4d99df 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
@@ -93,6 +93,12 @@ properties:
     minimum: 1
     maximum: 255
 
+  threshold:
+    description: Allows setting the  "click"-threshold in the range from 0 to 255.
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 0
+    maximum: 255
+
   touchscreen-size-x: true
   touchscreen-size-y: true
   touchscreen-fuzz-x: true
-- 
2.39.2


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

* Re: [PATCH v2 1/5] dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support
  2023-06-21  9:32 ` [PATCH v2 1/5] dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support Oleksij Rempel
@ 2023-06-21 20:42   ` Conor Dooley
  2023-06-22  9:11   ` Ulf Hansson
  1 sibling, 0 replies; 13+ messages in thread
From: Conor Dooley @ 2023-06-21 20:42 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson,
	kernel, Peng Fan, Fabio Estevam, NXP Linux Team, Daniel Lezcano,
	Thomas Gleixner, Michael Trimarchi, Mark Brown, Dario Binacchi,
	Marek Vasut, linux-clk, devicetree, linux-arm-kernel,
	linux-kernel, linux-crypto, linux-input, linux-mmc

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

On Wed, Jun 21, 2023 at 11:32:41AM +0200, Oleksij Rempel wrote:
> Add the 'fsl,imx6ul-usdhc' value to the compatible properties list in
> the fsl-imx-esdhc.yaml file. This is required to match the compatible
> strings present in the 'mmc@2190000' node of 'imx6ul-prti6g.dtb'. This
> commit addresses the following dtbs_check warning:
> imx6ul-prti6g.dtb:0:0: /soc/bus@2100000/mmc@2190000: failed to match any schema with compatible: ['fsl,imx6ul-usdhc', 'fsl,imx6sx-usdhc']
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>

Seems harmless...
Acked-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.

> ---
>  Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> index fbfd822b92707..82eb7a24c8578 100644
> --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> @@ -42,6 +42,7 @@ properties:
>            - enum:
>                - fsl,imx6sll-usdhc
>                - fsl,imx6ull-usdhc
> +              - fsl,imx6ul-usdhc
>            - const: fsl,imx6sx-usdhc
>        - items:
>            - const: fsl,imx7d-usdhc
> -- 
> 2.39.2
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH v2 2/5] dt-bindings: timer: gpt: Add i.MX6UL support
  2023-06-21  9:32 ` [PATCH v2 2/5] dt-bindings: timer: gpt: Add i.MX6UL support Oleksij Rempel
@ 2023-06-21 20:47   ` Conor Dooley
  0 siblings, 0 replies; 13+ messages in thread
From: Conor Dooley @ 2023-06-21 20:47 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson,
	kernel, Peng Fan, Fabio Estevam, NXP Linux Team, Daniel Lezcano,
	Thomas Gleixner, Michael Trimarchi, Mark Brown, Dario Binacchi,
	Marek Vasut, linux-clk, devicetree, linux-arm-kernel,
	linux-kernel, linux-crypto, linux-input, linux-mmc

[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]

Hey Oleksij,

On Wed, Jun 21, 2023 at 11:32:42AM +0200, Oleksij Rempel wrote:
> Add 'fsl,imx6ul-gpt' compatible to resolve the following dtbs_check
> warning:
> imx6ull-jozacp.dtb:0:0: /soc/bus@2000000/timer@2098000: failed to match any schema with compatible: ['fsl,imx6ul-gpt', 'fsl,imx6sx-gpt']

hmm, "imx6ull-jozacp" but the compatible is "imx6ul-gpt".
Is that not incorrect in the first place?

Also, this diff has already made it in - it is in next as 451d69d2f1f9
("dt-bindings: imxgpt: add imx6ul compatible"), applied on 20.05.2023
or similar.

Cheers,
Conor.

> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
> index 716c6afcca1fa..685137338ac99 100644
> --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
> +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
> @@ -34,6 +34,9 @@ properties:
>                - fsl,imxrt1050-gpt
>                - fsl,imxrt1170-gpt
>            - const: fsl,imx6dl-gpt
> +      - items:
> +          - const: fsl,imx6ul-gpt
> +          - const: fsl,imx6sx-gpt
>  
>    reg:
>      maxItems: 1
> -- 
> 2.39.2
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH v2 3/5] dt-bindings: timer: gpt: Support 3rd clock for i.MX6DL
  2023-06-21  9:32 ` [PATCH v2 3/5] dt-bindings: timer: gpt: Support 3rd clock for i.MX6DL Oleksij Rempel
@ 2023-06-21 20:48   ` Conor Dooley
  0 siblings, 0 replies; 13+ messages in thread
From: Conor Dooley @ 2023-06-21 20:48 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson,
	kernel, Peng Fan, Fabio Estevam, NXP Linux Team, Daniel Lezcano,
	Thomas Gleixner, Michael Trimarchi, Mark Brown, Dario Binacchi,
	Marek Vasut, linux-clk, devicetree, linux-arm-kernel,
	linux-kernel, linux-crypto, linux-input, linux-mmc

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

On Wed, Jun 21, 2023 at 11:32:43AM +0200, Oleksij Rempel wrote:
> Add support for a 3rd clock, 'osc_per', for i.MX6DL to the 'fsl,imxgpt'
> binding to resolve the following dtbs_check warning:
> imx6dl-alti6p.dtb: timer@2098000: clocks: [[2, 119], [2, 120], [2, 237]] is too long
> imx6dl-alti6p.dtb: timer@2098000: clock-names: ['ipg', 'per', 'osc_per'] is too long
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH v2 4/5] dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks
  2023-06-21  9:32 ` [PATCH v2 4/5] dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks Oleksij Rempel
@ 2023-06-21 20:56   ` Conor Dooley
  2023-07-25  7:34   ` Abel Vesa
  1 sibling, 0 replies; 13+ messages in thread
From: Conor Dooley @ 2023-06-21 20:56 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson,
	kernel, Peng Fan, Fabio Estevam, NXP Linux Team, Daniel Lezcano,
	Thomas Gleixner, Michael Trimarchi, Mark Brown, Dario Binacchi,
	Marek Vasut, linux-clk, devicetree, linux-arm-kernel,
	linux-kernel, linux-crypto, linux-input, linux-mmc

[-- Attachment #1: Type: text/plain, Size: 1810 bytes --]

On Wed, Jun 21, 2023 at 11:32:44AM +0200, Oleksij Rempel wrote:
> Extend the 'clocks' and 'clock-names' properties to support optional
> 'enet1_ref_pad' and 'enet2_ref_pad' clocks to resolve the following
> dtbs_check warning:
> imx6ul-prti6g.dtb: clock-controller@20c4000: clocks: [[17], [18], [19], [20], [21]] is too long
> imx6ul-prti6g.dtb: clock-controller@20c4000: clock-names: ['ckil', 'osc', 'ipp_di0', 'ipp_di1', 'enet1_ref_pad'] is too long
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  Documentation/devicetree/bindings/clock/imx6ul-clock.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
> index be54d4df5afa2..3b71ebc100bf6 100644
> --- a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
> +++ b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
> @@ -28,18 +28,24 @@ properties:
>      const: 1
>  
>    clocks:
> +    minItems: 4
>      items:
>        - description: 32k osc
>        - description: 24m osc
>        - description: ipp_di0 clock input
>        - description: ipp_di1 clock input
> +      - description: Optional lenet1_ref_pad or enet2_ref_pad clocks
> +      - description: Optional lenet1_ref_pad or enet2_ref_pad clocks
                                 ^
Is the l intentional?
Otherwise,
Acked-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.

>  
>    clock-names:
> +    minItems: 4
>      items:
>        - const: ckil
>        - const: osc
>        - const: ipp_di0
>        - const: ipp_di1
> +      - pattern: '^enet[12]_ref_pad$'
> +      - pattern: '^enet[12]_ref_pad$'
>  
>  required:
>    - compatible
> -- 
> 2.39.2
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH v2 1/5] dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support
  2023-06-21  9:32 ` [PATCH v2 1/5] dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support Oleksij Rempel
  2023-06-21 20:42   ` Conor Dooley
@ 2023-06-22  9:11   ` Ulf Hansson
  1 sibling, 0 replies; 13+ messages in thread
From: Ulf Hansson @ 2023-06-22  9:11 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, kernel, Peng Fan,
	Fabio Estevam, NXP Linux Team, Daniel Lezcano, Thomas Gleixner,
	Michael Trimarchi, Mark Brown, Dario Binacchi, Marek Vasut,
	linux-clk, devicetree, linux-arm-kernel, linux-kernel,
	linux-crypto, linux-input, linux-mmc

On Wed, 21 Jun 2023 at 11:32, Oleksij Rempel <o.rempel@pengutronix.de> wrote:
>
> Add the 'fsl,imx6ul-usdhc' value to the compatible properties list in
> the fsl-imx-esdhc.yaml file. This is required to match the compatible
> strings present in the 'mmc@2190000' node of 'imx6ul-prti6g.dtb'. This
> commit addresses the following dtbs_check warning:
> imx6ul-prti6g.dtb:0:0: /soc/bus@2100000/mmc@2190000: failed to match any schema with compatible: ['fsl,imx6ul-usdhc', 'fsl,imx6sx-usdhc']
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> index fbfd822b92707..82eb7a24c8578 100644
> --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> @@ -42,6 +42,7 @@ properties:
>            - enum:
>                - fsl,imx6sll-usdhc
>                - fsl,imx6ull-usdhc
> +              - fsl,imx6ul-usdhc
>            - const: fsl,imx6sx-usdhc
>        - items:
>            - const: fsl,imx7d-usdhc
> --
> 2.39.2
>

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

* Re: [PATCH v2 5/5] dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property
  2023-06-21  9:32 ` [PATCH v2 5/5] dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property Oleksij Rempel
@ 2023-07-08  0:06   ` Dmitry Torokhov
  0 siblings, 0 replies; 13+ messages in thread
From: Dmitry Torokhov @ 2023-07-08  0:06 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Ulf Hansson, Rob Herring, kernel,
	Peng Fan, Fabio Estevam, NXP Linux Team, Daniel Lezcano,
	Thomas Gleixner, Michael Trimarchi, Mark Brown, Dario Binacchi,
	Marek Vasut, linux-clk, devicetree, linux-arm-kernel,
	linux-kernel, linux-crypto, linux-input, linux-mmc

On Wed, Jun 21, 2023 at 11:32:45AM +0200, Oleksij Rempel wrote:
> Add a new property 'threshold' to the edt-ft5x06 touchscreen binding.
> This property allows setting the "click"-threshold in the range from 0
> to 255. This change addresses the following dtbs_check warning:
> imx6dl-lanmcu.dtb: touchscreen@38: 'threshold' does not match any of the regexes: 'pinctrl-[0-9]+'
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> Reviewed-by: Rob Herring <robh@kernel.org>

Applied, thank you.

-- 
Dmitry

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

* Re: [PATCH v2 4/5] dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks
  2023-06-21  9:32 ` [PATCH v2 4/5] dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks Oleksij Rempel
  2023-06-21 20:56   ` Conor Dooley
@ 2023-07-25  7:34   ` Abel Vesa
  1 sibling, 0 replies; 13+ messages in thread
From: Abel Vesa @ 2023-07-25  7:34 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Abel Vesa, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Herbert Xu, David S. Miller, Dmitry Torokhov, Ulf Hansson,
	kernel, Peng Fan, Fabio Estevam, NXP Linux Team, Daniel Lezcano,
	Thomas Gleixner, Michael Trimarchi, Mark Brown, Dario Binacchi,
	Marek Vasut, linux-clk, devicetree, linux-arm-kernel,
	linux-kernel, linux-crypto, linux-input, linux-mmc

On 23-06-21 11:32:44, Oleksij Rempel wrote:
> Extend the 'clocks' and 'clock-names' properties to support optional
> 'enet1_ref_pad' and 'enet2_ref_pad' clocks to resolve the following
> dtbs_check warning:
> imx6ul-prti6g.dtb: clock-controller@20c4000: clocks: [[17], [18], [19], [20], [21]] is too long
> imx6ul-prti6g.dtb: clock-controller@20c4000: clock-names: ['ckil', 'osc', 'ipp_di0', 'ipp_di1', 'enet1_ref_pad'] is too long
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  Documentation/devicetree/bindings/clock/imx6ul-clock.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
> index be54d4df5afa2..3b71ebc100bf6 100644
> --- a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
> +++ b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
> @@ -28,18 +28,24 @@ properties:
>      const: 1
>  
>    clocks:
> +    minItems: 4
>      items:
>        - description: 32k osc
>        - description: 24m osc
>        - description: ipp_di0 clock input
>        - description: ipp_di1 clock input
> +      - description: Optional lenet1_ref_pad or enet2_ref_pad clocks
> +      - description: Optional lenet1_ref_pad or enet2_ref_pad clocks

s/lenet1_ref_pad/enet1_ref_pad/g

with that:

Reviewed-by: Abel Vesa <abel.vesa@linaro.org>

>  
>    clock-names:
> +    minItems: 4
>      items:
>        - const: ckil
>        - const: osc
>        - const: ipp_di0
>        - const: ipp_di1
> +      - pattern: '^enet[12]_ref_pad$'
> +      - pattern: '^enet[12]_ref_pad$'
>  
>  required:
>    - compatible
> -- 
> 2.39.2
> 

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

end of thread, other threads:[~2023-07-25  7:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-21  9:32 [PATCH v1 0/7] Add support for various features to i.MX6 bindings Oleksij Rempel
2023-06-21  9:32 ` [PATCH v2 1/5] dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support Oleksij Rempel
2023-06-21 20:42   ` Conor Dooley
2023-06-22  9:11   ` Ulf Hansson
2023-06-21  9:32 ` [PATCH v2 2/5] dt-bindings: timer: gpt: Add i.MX6UL support Oleksij Rempel
2023-06-21 20:47   ` Conor Dooley
2023-06-21  9:32 ` [PATCH v2 3/5] dt-bindings: timer: gpt: Support 3rd clock for i.MX6DL Oleksij Rempel
2023-06-21 20:48   ` Conor Dooley
2023-06-21  9:32 ` [PATCH v2 4/5] dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks Oleksij Rempel
2023-06-21 20:56   ` Conor Dooley
2023-07-25  7:34   ` Abel Vesa
2023-06-21  9:32 ` [PATCH v2 5/5] dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property Oleksij Rempel
2023-07-08  0:06   ` Dmitry Torokhov

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).