All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: Heiko Stuebner <heiko@sntech.de>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	linux-rockchip@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	kernel@collabora.com
Subject: Re: [PATCHv2 1/1] dt-bindings: power: rockchip: Increase pm_qos number
Date: Thu, 10 Nov 2022 14:44:49 -0600	[thread overview]
Message-ID: <20221110204449.GA948154-robh@kernel.org> (raw)
In-Reply-To: <20221107180231.73663-1-sebastian.reichel@collabora.com>

On Mon, Nov 07, 2022 at 07:02:31PM +0100, Sebastian Reichel wrote:
> On RK3588 some power domains require multiple qos blocks to be
> saved. The maximum required number for RK3588 is 8 (for VDPU).
> 
> Acked-by: Heiko Stuebner <heiko@sntech.de>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> ---
> Changes since PATCHv1:
>  * https://lore.kernel.org/all/20221021171405.86509-1-sebastian.reichel@collabora.com/
>  * add minItems: 1
>  * add Ack from Heiko
> ---
>  .../devicetree/bindings/power/rockchip,power-controller.yaml   | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> index 0d5e999a58f1..dc877416e1fd 100644
> --- a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> +++ b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> @@ -134,7 +134,8 @@ $defs:
>        pm_qos:
>          $ref: /schemas/types.yaml#/definitions/phandle-array

phandle-array is really a matrix of N entries of phandle+args. This 
should have worked as-is as N is not set here. Maybe somewhere else? Or 
could be a tooling bug. If you do want to define 1-8 entries of phandles 
with no args, that would be:

minItems: 1
maxItems: 8
items:
  maxItems: 1


>          items:
> -          maxItems: 1
> +          minItems: 1
> +          maxItems: 8
>          description: |
>            A number of phandles to qos blocks which need to be saved and restored
>            while power domain switches state.
> -- 
> 2.35.1
> 
> 

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: Heiko Stuebner <heiko@sntech.de>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	linux-rockchip@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	kernel@collabora.com
Subject: Re: [PATCHv2 1/1] dt-bindings: power: rockchip: Increase pm_qos number
Date: Thu, 10 Nov 2022 14:44:49 -0600	[thread overview]
Message-ID: <20221110204449.GA948154-robh@kernel.org> (raw)
In-Reply-To: <20221107180231.73663-1-sebastian.reichel@collabora.com>

On Mon, Nov 07, 2022 at 07:02:31PM +0100, Sebastian Reichel wrote:
> On RK3588 some power domains require multiple qos blocks to be
> saved. The maximum required number for RK3588 is 8 (for VDPU).
> 
> Acked-by: Heiko Stuebner <heiko@sntech.de>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> ---
> Changes since PATCHv1:
>  * https://lore.kernel.org/all/20221021171405.86509-1-sebastian.reichel@collabora.com/
>  * add minItems: 1
>  * add Ack from Heiko
> ---
>  .../devicetree/bindings/power/rockchip,power-controller.yaml   | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> index 0d5e999a58f1..dc877416e1fd 100644
> --- a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> +++ b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> @@ -134,7 +134,8 @@ $defs:
>        pm_qos:
>          $ref: /schemas/types.yaml#/definitions/phandle-array

phandle-array is really a matrix of N entries of phandle+args. This 
should have worked as-is as N is not set here. Maybe somewhere else? Or 
could be a tooling bug. If you do want to define 1-8 entries of phandles 
with no args, that would be:

minItems: 1
maxItems: 8
items:
  maxItems: 1


>          items:
> -          maxItems: 1
> +          minItems: 1
> +          maxItems: 8
>          description: |
>            A number of phandles to qos blocks which need to be saved and restored
>            while power domain switches state.
> -- 
> 2.35.1
> 
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: Heiko Stuebner <heiko@sntech.de>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	linux-rockchip@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	kernel@collabora.com
Subject: Re: [PATCHv2 1/1] dt-bindings: power: rockchip: Increase pm_qos number
Date: Thu, 10 Nov 2022 14:44:49 -0600	[thread overview]
Message-ID: <20221110204449.GA948154-robh@kernel.org> (raw)
In-Reply-To: <20221107180231.73663-1-sebastian.reichel@collabora.com>

On Mon, Nov 07, 2022 at 07:02:31PM +0100, Sebastian Reichel wrote:
> On RK3588 some power domains require multiple qos blocks to be
> saved. The maximum required number for RK3588 is 8 (for VDPU).
> 
> Acked-by: Heiko Stuebner <heiko@sntech.de>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> ---
> Changes since PATCHv1:
>  * https://lore.kernel.org/all/20221021171405.86509-1-sebastian.reichel@collabora.com/
>  * add minItems: 1
>  * add Ack from Heiko
> ---
>  .../devicetree/bindings/power/rockchip,power-controller.yaml   | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> index 0d5e999a58f1..dc877416e1fd 100644
> --- a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> +++ b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> @@ -134,7 +134,8 @@ $defs:
>        pm_qos:
>          $ref: /schemas/types.yaml#/definitions/phandle-array

phandle-array is really a matrix of N entries of phandle+args. This 
should have worked as-is as N is not set here. Maybe somewhere else? Or 
could be a tooling bug. If you do want to define 1-8 entries of phandles 
with no args, that would be:

minItems: 1
maxItems: 8
items:
  maxItems: 1


>          items:
> -          maxItems: 1
> +          minItems: 1
> +          maxItems: 8
>          description: |
>            A number of phandles to qos blocks which need to be saved and restored
>            while power domain switches state.
> -- 
> 2.35.1
> 
> 

  reply	other threads:[~2022-11-10 20:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 18:02 [PATCHv2 1/1] dt-bindings: power: rockchip: Increase pm_qos number Sebastian Reichel
2022-11-07 18:02 ` Sebastian Reichel
2022-11-07 18:02 ` Sebastian Reichel
2022-11-10 20:44 ` Rob Herring [this message]
2022-11-10 20:44   ` Rob Herring
2022-11-10 20:44   ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221110204449.GA948154-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=kernel@collabora.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=sebastian.reichel@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.