From: Patrice CHOTARD <patrice.chotard@st.com>
To: Rob Herring <robh@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>,
"linux@armlinux.org.uk" <linux@armlinux.org.uk>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH v2 09/12] ARM: dts: STi: Add fake reg property for sound related nodes
Date: Tue, 13 Feb 2018 12:54:56 +0000 [thread overview]
Message-ID: <99afc3f9-d0b4-b13c-ac97-4347f25aa000@st.com> (raw)
In-Reply-To: <CABGGiszvx=Nyeq+KTt9uHGwSabxsJuEfvG01H4NyrBtB40atoA@mail.gmail.com>
Hi Rob
On 02/12/2018 04:40 PM, Rob Herring wrote:
> On Mon, Feb 12, 2018 at 8:43 AM, <patrice.chotard@st.com> wrote:
>> From: Patrice Chotard <patrice.chotard@st.com>
>>
>> Add fake reg property to sound, simple-audio-card, dai-link and
>> sti_sasg_codec nodes, this allows to fix the following warning
>> when compiling dtb with W=1 option:
>>
>> arch/arm/boot/dts/stih407-b2120.dtb: Warning (unit_address_vs_reg):
>> Node /soc/sound/simple-audio-card,dai-link@0 has a unit name, but no reg property
>> arch/arm/boot/dts/stih407-b2120.dtb: Warning (unit_address_vs_reg):
>> Node /soc/sound/simple-audio-card,dai-link@1 has a unit name, but no reg property
>> arch/arm/boot/dts/stih407-b2120.dtb: Warning (unit_address_vs_reg):
>> Node /soc/sound/simple-audio-card,dai-link@2 has a unit name, but no reg property
>> arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
>> Node /soc/sti-sasg-codec missing or empty reg/ranges property
>>
>> arch/arm/boot/dts/stih410-b2120.dtb: Warning (unit_address_vs_reg):
>> Node /soc/sound/simple-audio-card,dai-link@0 has a unit name, but no reg property
>> arch/arm/boot/dts/stih410-b2120.dtb: Warning (unit_address_vs_reg):
>> Node /soc/sound/simple-audio-card,dai-link@1 has a unit name, but no reg property
>> arch/arm/boot/dts/stih410-b2120.dtb: Warning (unit_address_vs_reg):
>> Node /soc/sound/simple-audio-card,dai-link@2 has a unit name, but no reg property
>> arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg):
>> Node /soc/sound missing or empty reg/ranges property
>> arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
>> Node /soc/sti-sasg-codec missing or empty reg/ranges property
>>
>> arch/arm/boot/dts/stih410-b2260.dtb: Warning (unit_address_vs_reg):
>> Node /soc/sound/simple-audio-card,dai-link@0 has a unit name, but no reg property
>> arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg):
>> Node /soc/sti-sasg-codec missing or empty reg/ranges property
>> arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg):
>> Node /soc/sound missing or empty reg/ranges property
>>
>> arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
>> Node /soc/sti-sasg-codec missing or empty reg/ranges property
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
>> ---
>>
>> v2: _ add a fake reg property to node without reg property.
>>
>> arch/arm/boot/dts/stih407-family.dtsi | 3 ++-
>> arch/arm/boot/dts/stih410-b2260.dts | 5 +++--
>> arch/arm/boot/dts/stihxxx-b2120.dtsi | 11 ++++++-----
>> 3 files changed, 11 insertions(+), 8 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
>> index 5df827b00eb6..df1a3f1dc5a7 100644
>> --- a/arch/arm/boot/dts/stih407-family.dtsi
>> +++ b/arch/arm/boot/dts/stih407-family.dtsi
>> @@ -894,8 +894,9 @@
>> status = "disabled";
>> };
>>
>> - sti_sasg_codec: sti-sasg-codec {
>> + sti_sasg_codec: sti-sasg-codec@0 {
>> compatible = "st,stih407-sas-codec";
>> + reg = <0 0>;
>> #sound-dai-cells = <1>;
>> status = "disabled";
>> st,syscfg = <&syscfg_core>;
>
> This should probably be a child of syscfg to fix this. And if this
> block has a dedicated set of registers, then use reg to define those
> (even though regmap/syscon doesn't need it).
Ok, i will mode this node
>
>> diff --git a/arch/arm/boot/dts/stih410-b2260.dts b/arch/arm/boot/dts/stih410-b2260.dts
>> index 8bcd58118dba..03d05a98b7fc 100644
>> --- a/arch/arm/boot/dts/stih410-b2260.dts
>> +++ b/arch/arm/boot/dts/stih410-b2260.dts
>> @@ -181,12 +181,13 @@
>> status = "okay";
>> };
>>
>> - sound {
>> + sound: sound@0 {
>
> I'd move this up to top level.
Ok
Thanks
Patrice
>
> Rob
>
next prev parent reply other threads:[~2018-02-13 12:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-12 14:42 [PATCH v2 00/12] ARM: dts: STi: Fix DT dtc warnings patrice.chotard
2018-02-12 14:42 ` [PATCH v2 01/12] ARM: dts: STi: Fix bindings notation patrice.chotard
2018-02-12 15:19 ` Rob Herring
2018-02-12 14:43 ` [PATCH v2 02/12] ARM: dts: STi: Move leds node outside soc node patrice.chotard
2018-02-12 14:43 ` [PATCH v2 03/12] ARM: dts: STi: Add fake reg property for sti-display-subsystem patrice.chotard
2018-02-12 14:43 ` [PATCH v2 04/12] ARM: dts: STi: Add fake reg property for miphy28lp_phy patrice.chotard
2018-02-12 14:43 ` [PATCH v2 05/12] ARM: dts: STi: Add fake reg property for irq-syscfg patrice.chotard
2018-02-12 14:43 ` [PATCH v2 06/12] ARM: dts: STi: Add fake reg property for remote processors patrice.chotard
2018-02-12 14:43 ` [PATCH v2 07/12] ARM: dts: STi: Add fake reg for restart, powerdown and picophy/softreset patrice.chotard
2018-02-12 14:43 ` [PATCH v2 08/12] ARM: dts: STi: Add fake reg property for usb2_picophyX nodes patrice.chotard
2018-02-12 14:43 ` [PATCH v2 09/12] ARM: dts: STi: Add fake reg property for sound related nodes patrice.chotard
2018-02-12 15:40 ` Rob Herring
2018-02-13 12:54 ` Patrice CHOTARD [this message]
2018-02-12 14:43 ` [PATCH v2 10/12] ARM: dts: STi: Add fake reg property for clocks patrice.chotard
2018-02-12 15:22 ` Rob Herring
2018-02-13 12:58 ` Patrice CHOTARD
2018-02-12 14:43 ` [PATCH v2 11/12] ARM: dts: STi: Move clk_sysin clock ouside soc node patrice.chotard
2018-02-12 14:43 ` [PATCH v2 12/12] ARM: dts: STi: Remove unused clk_ext2f_a9 clock patrice.chotard
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=99afc3f9-d0b4-b13c-ac97-4347f25aa000@st.com \
--to=patrice.chotard@st.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®