From: Alexander Stein <alexander.stein@mailbox.org> To: Rob Herring <robh+dt@kernel.org>, Neil Armstrong <narmstrong@baylibre.com>, Kevin Hilman <khilman@baylibre.com>, Jerome Brunet <jbrunet@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com> Cc: Alexander Stein <alexander.stein@mailbox.org>, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH 1/1] arm64: dts: meson-g12b-odroid-n2: move assigned-clocks Date: Sat, 18 Dec 2021 15:26:32 +0100 [thread overview] Message-ID: <20211218142632.15293-1-alexander.stein@mailbox.org> (raw) dtschema expects a 'clocks' property if 'assigned-clocks' is used, but 'sound' node does not. So move the MPLL[0-2] clock settings &clkc_audio which actually use them. This fixes the dtschema warning: arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dt.yaml: sound: 'clocks' is a dependency of 'assigned-clocks' Signed-off-by: Alexander Stein <alexander.stein@mailbox.org> --- .../boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi index 9c05c83453f5..85257507206c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi @@ -252,14 +252,6 @@ sound { "U19 INR", "ACODEC LORP", "Lineout", "U19 OUTL", "Lineout", "U19 OUTR"; - - assigned-clocks = <&clkc CLKID_MPLL2>, - <&clkc CLKID_MPLL0>, - <&clkc CLKID_MPLL1>; - assigned-clock-parents = <0>, <0>, <0>; - assigned-clock-rates = <294912000>, - <270950400>, - <393216000>; status = "okay"; dai-link-0 { @@ -365,6 +357,13 @@ &cecb_AO { }; &clkc_audio { + assigned-clocks = <&clkc CLKID_MPLL2>, + <&clkc CLKID_MPLL0>, + <&clkc CLKID_MPLL1>; + assigned-clock-parents = <0>, <0>, <0>; + assigned-clock-rates = <294912000>, + <270950400>, + <393216000>; status = "okay"; }; -- 2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Alexander Stein <alexander.stein@mailbox.org> To: Rob Herring <robh+dt@kernel.org>, Neil Armstrong <narmstrong@baylibre.com>, Kevin Hilman <khilman@baylibre.com>, Jerome Brunet <jbrunet@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com> Cc: Alexander Stein <alexander.stein@mailbox.org>, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH 1/1] arm64: dts: meson-g12b-odroid-n2: move assigned-clocks Date: Sat, 18 Dec 2021 15:26:32 +0100 [thread overview] Message-ID: <20211218142632.15293-1-alexander.stein@mailbox.org> (raw) dtschema expects a 'clocks' property if 'assigned-clocks' is used, but 'sound' node does not. So move the MPLL[0-2] clock settings &clkc_audio which actually use them. This fixes the dtschema warning: arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dt.yaml: sound: 'clocks' is a dependency of 'assigned-clocks' Signed-off-by: Alexander Stein <alexander.stein@mailbox.org> --- .../boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi index 9c05c83453f5..85257507206c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi @@ -252,14 +252,6 @@ sound { "U19 INR", "ACODEC LORP", "Lineout", "U19 OUTL", "Lineout", "U19 OUTR"; - - assigned-clocks = <&clkc CLKID_MPLL2>, - <&clkc CLKID_MPLL0>, - <&clkc CLKID_MPLL1>; - assigned-clock-parents = <0>, <0>, <0>; - assigned-clock-rates = <294912000>, - <270950400>, - <393216000>; status = "okay"; dai-link-0 { @@ -365,6 +357,13 @@ &cecb_AO { }; &clkc_audio { + assigned-clocks = <&clkc CLKID_MPLL2>, + <&clkc CLKID_MPLL0>, + <&clkc CLKID_MPLL1>; + assigned-clock-parents = <0>, <0>, <0>; + assigned-clock-rates = <294912000>, + <270950400>, + <393216000>; status = "okay"; }; -- 2.34.1 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic
next reply other threads:[~2021-12-18 14:26 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-18 14:26 Alexander Stein [this message] 2021-12-18 14:26 ` [PATCH 1/1] arm64: dts: meson-g12b-odroid-n2: move assigned-clocks Alexander Stein 2021-12-18 15:03 ` Jerome Brunet 2021-12-18 15:03 ` Jerome Brunet 2021-12-19 9:56 ` Alexander Stein 2021-12-19 9:56 ` Alexander Stein 2021-12-21 10:54 ` Jerome Brunet 2021-12-21 10:54 ` Jerome Brunet
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=20211218142632.15293-1-alexander.stein@mailbox.org \ --to=alexander.stein@mailbox.org \ --cc=devicetree@vger.kernel.org \ --cc=jbrunet@baylibre.com \ --cc=khilman@baylibre.com \ --cc=linux-amlogic@lists.infradead.org \ --cc=martin.blumenstingl@googlemail.com \ --cc=narmstrong@baylibre.com \ --cc=robh+dt@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: linkBe 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.