All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Stephen Boyd <sboyd@kernel.org>, Johan Jonker <jbx6244@gmail.com>,
	heiko@sntech.de
Cc: robh+dt@kernel.org, krzk+dt@kernel.org, mturquette@baylibre.com,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] dt-bindings: clock: convert rockchip,rk3188-cru.txt to YAML
Date: Fri, 25 Mar 2022 08:31:25 +0100	[thread overview]
Message-ID: <bf438af8-5969-73e4-009d-cb7d93095a5e@kernel.org> (raw)
In-Reply-To: <20220325005130.C45A3C340EC@smtp.kernel.org>

On 25/03/2022 01:51, Stephen Boyd wrote:
> Quoting Johan Jonker (2022-03-24 12:51:36)
>> Hi Heiko, Krzysztof,
>>
>> Question for the Rockchip clock maintainer:
>> What clock should be used here and other SoCs with several clock parents
>> in the tree?
>>
>> The clock.yaml produces a lot off notifications like:
>>
>> /arch/arm/boot/dts/rk3036-evb.dtb: clock-controller@20000000: 'clocks'
>> is a dependency of 'assigned-clocks'
> 
> 'clocks' is not a dependency of 'assigned-clocks'. The dt-schema should
> be fixed to remove that requirement.

If the driver does not have any clock inputs ("clocks" property), why
does it care about some clock frequencies and parents?

The clocks is the logical dependency of assigned-clocks, because
otherwise hardware description is not complete.

What should be here for Rockhip? We had similar cases like this for many
drivers, I was fixing some of Exynos as well. In my case usually the
root/external clock was missing, so I supplied is as input clock to the
clock controller.


Best regards,
Krzysztof

WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Stephen Boyd <sboyd@kernel.org>, Johan Jonker <jbx6244@gmail.com>,
	heiko@sntech.de
Cc: robh+dt@kernel.org, krzk+dt@kernel.org, mturquette@baylibre.com,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] dt-bindings: clock: convert rockchip, rk3188-cru.txt to YAML
Date: Fri, 25 Mar 2022 08:31:25 +0100	[thread overview]
Message-ID: <bf438af8-5969-73e4-009d-cb7d93095a5e@kernel.org> (raw)
In-Reply-To: <20220325005130.C45A3C340EC@smtp.kernel.org>

On 25/03/2022 01:51, Stephen Boyd wrote:
> Quoting Johan Jonker (2022-03-24 12:51:36)
>> Hi Heiko, Krzysztof,
>>
>> Question for the Rockchip clock maintainer:
>> What clock should be used here and other SoCs with several clock parents
>> in the tree?
>>
>> The clock.yaml produces a lot off notifications like:
>>
>> /arch/arm/boot/dts/rk3036-evb.dtb: clock-controller@20000000: 'clocks'
>> is a dependency of 'assigned-clocks'
> 
> 'clocks' is not a dependency of 'assigned-clocks'. The dt-schema should
> be fixed to remove that requirement.

If the driver does not have any clock inputs ("clocks" property), why
does it care about some clock frequencies and parents?

The clocks is the logical dependency of assigned-clocks, because
otherwise hardware description is not complete.

What should be here for Rockhip? We had similar cases like this for many
drivers, I was fixing some of Exynos as well. In my case usually the
root/external clock was missing, so I supplied is as input clock to the
clock controller.


Best regards,
Krzysztof

_______________________________________________
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: Krzysztof Kozlowski <krzk@kernel.org>
To: Stephen Boyd <sboyd@kernel.org>, Johan Jonker <jbx6244@gmail.com>,
	heiko@sntech.de
Cc: robh+dt@kernel.org, krzk+dt@kernel.org, mturquette@baylibre.com,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] dt-bindings: clock: convert rockchip, rk3188-cru.txt to YAML
Date: Fri, 25 Mar 2022 08:31:25 +0100	[thread overview]
Message-ID: <bf438af8-5969-73e4-009d-cb7d93095a5e@kernel.org> (raw)
In-Reply-To: <20220325005130.C45A3C340EC@smtp.kernel.org>

On 25/03/2022 01:51, Stephen Boyd wrote:
> Quoting Johan Jonker (2022-03-24 12:51:36)
>> Hi Heiko, Krzysztof,
>>
>> Question for the Rockchip clock maintainer:
>> What clock should be used here and other SoCs with several clock parents
>> in the tree?
>>
>> The clock.yaml produces a lot off notifications like:
>>
>> /arch/arm/boot/dts/rk3036-evb.dtb: clock-controller@20000000: 'clocks'
>> is a dependency of 'assigned-clocks'
> 
> 'clocks' is not a dependency of 'assigned-clocks'. The dt-schema should
> be fixed to remove that requirement.

If the driver does not have any clock inputs ("clocks" property), why
does it care about some clock frequencies and parents?

The clocks is the logical dependency of assigned-clocks, because
otherwise hardware description is not complete.

What should be here for Rockhip? We had similar cases like this for many
drivers, I was fixing some of Exynos as well. In my case usually the
root/external clock was missing, so I supplied is as input clock to the
clock controller.


Best regards,
Krzysztof

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

  reply	other threads:[~2022-03-25  7:31 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-24 13:32 [PATCH v1] dt-bindings: clock: convert rockchip,rk3188-cru.txt to YAML Johan Jonker
2022-03-24 13:32 ` [PATCH v1] dt-bindings: clock: convert rockchip, rk3188-cru.txt " Johan Jonker
2022-03-24 13:32 ` Johan Jonker
2022-03-24 14:28 ` [PATCH v1] dt-bindings: clock: convert rockchip,rk3188-cru.txt " Krzysztof Kozlowski
2022-03-24 14:28   ` [PATCH v1] dt-bindings: clock: convert rockchip, rk3188-cru.txt " Krzysztof Kozlowski
2022-03-24 14:28   ` Krzysztof Kozlowski
2022-03-24 19:51   ` [PATCH v1] dt-bindings: clock: convert rockchip,rk3188-cru.txt " Johan Jonker
2022-03-24 19:51     ` [PATCH v1] dt-bindings: clock: convert rockchip, rk3188-cru.txt " Johan Jonker
2022-03-24 19:51     ` Johan Jonker
2022-03-25  0:51     ` [PATCH v1] dt-bindings: clock: convert rockchip,rk3188-cru.txt " Stephen Boyd
2022-03-25  0:51       ` [PATCH v1] dt-bindings: clock: convert rockchip, rk3188-cru.txt " Stephen Boyd
2022-03-25  0:51       ` Stephen Boyd
2022-03-25  7:31       ` Krzysztof Kozlowski [this message]
2022-03-25  7:31         ` Krzysztof Kozlowski
2022-03-25  7:31         ` Krzysztof Kozlowski
2022-03-31 22:37         ` [PATCH v1] dt-bindings: clock: convert rockchip,rk3188-cru.txt " Stephen Boyd
2022-03-31 22:37           ` [PATCH v1] dt-bindings: clock: convert rockchip, rk3188-cru.txt " Stephen Boyd
2022-03-31 22:37           ` Stephen Boyd
2022-04-13 21:44           ` [PATCH v1] dt-bindings: clock: convert rockchip,rk3188-cru.txt " Rob Herring
2022-04-13 21:44             ` [PATCH v1] dt-bindings: clock: convert rockchip, rk3188-cru.txt " Rob Herring
2022-04-13 21:44             ` Rob Herring
2022-03-25  7:36     ` [PATCH v1] dt-bindings: clock: convert rockchip,rk3188-cru.txt " Krzysztof Kozlowski
2022-03-25  7:36       ` [PATCH v1] dt-bindings: clock: convert rockchip, rk3188-cru.txt " Krzysztof Kozlowski
2022-03-25  7:36       ` Krzysztof Kozlowski

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=bf438af8-5969-73e4-009d-cb7d93095a5e@kernel.org \
    --to=krzk@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=jbx6244@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    /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.