From: Maxime Coquelin <maxime.coquelin-qxv4g6HH51o@public.gmane.org> To: arnd-r2nGTMty4D4@public.gmane.org, olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org, Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Cc: maxime.coquelin-qxv4g6HH51o@public.gmane.org, kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Subject: [PATCH 1/3] ARM: dts: stih407: Enable PWM nodes only board level Date: Wed, 23 Sep 2015 21:37:27 +0200 [thread overview] Message-ID: <1443037049-6167-2-git-send-email-maxime.coquelin@st.com> (raw) In-Reply-To: <1443037049-6167-1-git-send-email-maxime.coquelin-qxv4g6HH51o@public.gmane.org> The PWM may not be used on some boards, so enable them only the board file. Signed-off-by: Maxime Coquelin <maxime.coquelin-qxv4g6HH51o@public.gmane.org> --- arch/arm/boot/dts/stih407-family.dtsi | 6 ++++-- arch/arm/boot/dts/stihxxx-b2120.dtsi | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index ae05277..9975e8f 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -585,7 +585,6 @@ /* COMMS PWM Module */ pwm0: pwm@9810000 { compatible = "st,sti-pwm"; - status = "okay"; #pwm-cells = <2>; reg = <0x9810000 0x68>; pinctrl-names = "default"; @@ -593,12 +592,13 @@ clock-names = "pwm"; clocks = <&clk_sysin>; st,pwm-num-chan = <1>; + + status = "disabled"; }; /* SBC PWM Module */ pwm1: pwm@9510000 { compatible = "st,sti-pwm"; - status = "okay"; #pwm-cells = <2>; reg = <0x9510000 0x68>; pinctrl-names = "default"; @@ -609,6 +609,8 @@ clock-names = "pwm"; clocks = <&clk_sysin>; st,pwm-num-chan = <4>; + + status = "disabled"; }; }; }; diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index f589fe4..ab029f7 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -27,6 +27,14 @@ }; }; + pwm0: pwm@9810000 { + status = "okay"; + }; + + pwm1: pwm@9510000 { + status = "okay"; + }; + i2c@9842000 { status = "okay"; }; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: maxime.coquelin@st.com (Maxime Coquelin) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] ARM: dts: stih407: Enable PWM nodes only board level Date: Wed, 23 Sep 2015 21:37:27 +0200 [thread overview] Message-ID: <1443037049-6167-2-git-send-email-maxime.coquelin@st.com> (raw) In-Reply-To: <1443037049-6167-1-git-send-email-maxime.coquelin@st.com> The PWM may not be used on some boards, so enable them only the board file. Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com> --- arch/arm/boot/dts/stih407-family.dtsi | 6 ++++-- arch/arm/boot/dts/stihxxx-b2120.dtsi | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index ae05277..9975e8f 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -585,7 +585,6 @@ /* COMMS PWM Module */ pwm0: pwm at 9810000 { compatible = "st,sti-pwm"; - status = "okay"; #pwm-cells = <2>; reg = <0x9810000 0x68>; pinctrl-names = "default"; @@ -593,12 +592,13 @@ clock-names = "pwm"; clocks = <&clk_sysin>; st,pwm-num-chan = <1>; + + status = "disabled"; }; /* SBC PWM Module */ pwm1: pwm at 9510000 { compatible = "st,sti-pwm"; - status = "okay"; #pwm-cells = <2>; reg = <0x9510000 0x68>; pinctrl-names = "default"; @@ -609,6 +609,8 @@ clock-names = "pwm"; clocks = <&clk_sysin>; st,pwm-num-chan = <4>; + + status = "disabled"; }; }; }; diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index f589fe4..ab029f7 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -27,6 +27,14 @@ }; }; + pwm0: pwm at 9810000 { + status = "okay"; + }; + + pwm1: pwm at 9510000 { + status = "okay"; + }; + i2c at 9842000 { status = "okay"; }; -- 1.9.1
next prev parent reply other threads:[~2015-09-23 19:37 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-23 19:37 [PATCH 0/3] ARM: dts: Various STi DT clean-ups Maxime Coquelin 2015-09-23 19:37 ` Maxime Coquelin [not found] ` <1443037049-6167-1-git-send-email-maxime.coquelin-qxv4g6HH51o@public.gmane.org> 2015-09-23 19:37 ` Maxime Coquelin [this message] 2015-09-23 19:37 ` [PATCH 1/3] ARM: dts: stih407: Enable PWM nodes only board level Maxime Coquelin 2015-09-23 19:37 ` [PATCH 2/3] ARM: dts: stih407/410: Tidy up display nodes Maxime Coquelin 2015-09-23 19:37 ` Maxime Coquelin 2015-09-23 19:37 ` [PATCH 3/3] ARM: dts: stih410: Enable USB2.0 and related PHY nodes at board level Maxime Coquelin 2015-09-23 19:37 ` Maxime Coquelin [not found] ` <1443037049-6167-4-git-send-email-maxime.coquelin-qxv4g6HH51o@public.gmane.org> 2015-09-24 6:58 ` [STLinux Kernel] " Patrice Chotard 2015-09-24 6:58 ` Patrice Chotard [not found] ` <56039EFC.9010405-qxv4g6HH51o@public.gmane.org> 2015-09-29 8:56 ` Maxime Coquelin 2015-09-29 8:56 ` Maxime Coquelin 2015-09-27 22:45 ` [STLinux Kernel] [PATCH 0/3] ARM: dts: Various STi DT clean-ups Peter Griffin 2015-09-27 22:45 ` Peter Griffin 2015-09-30 9:15 ` Maxime Coquelin 2015-09-30 9:15 ` Maxime Coquelin
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=1443037049-6167-2-git-send-email-maxime.coquelin@st.com \ --to=maxime.coquelin-qxv4g6hh51o@public.gmane.org \ --cc=arnd-r2nGTMty4D4@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \ --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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.