Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1592473 > unrolled thread
| Started by | Sebastian Reichel <sre@kernel.org> |
|---|---|
| First post | 2017-03-04 13:10 +0100 |
| Last post | 2017-03-07 17:50 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 02/10] ARM: dts: N900: Add bluetooth Sebastian Reichel <sre@kernel.org> - 2017-03-04 13:10 +0100
Re: [PATCH 02/10] ARM: dts: N900: Add bluetooth Tony Lindgren <tony@atomide.com> - 2017-03-06 17:10 +0100
Re: [PATCH 02/10] ARM: dts: N900: Add bluetooth Tony Lindgren <tony@atomide.com> - 2017-03-07 17:40 +0100
Re: [PATCH 02/10] ARM: dts: N900: Add bluetooth Rob Herring <robh+dt@kernel.org> - 2017-03-07 17:50 +0100
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Date | 2017-03-04 13:10 +0100 |
| Subject | [PATCH 02/10] ARM: dts: N900: Add bluetooth |
| Message-ID | <thgFz-sD-9@gated-at.bofh.it> |
Add bcm2048 node and its system clock to the N900 device tree file.
Apart from that a reference to the new clock has been added to
wl1251 (which uses it, too).
Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
arch/arm/boot/dts/omap3-n900.dts | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index b64cfda8dbb7..473230d28782 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -155,6 +155,13 @@
compatible = "nokia,n900-ir";
pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
};
+
+ /* controlled (enabled/disabled) directly by bcm2048 and wl1251 */
+ vctcxo: vctcxo {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <38400000>;
+ };
};
&omap3_pmx_core {
@@ -162,8 +169,10 @@
uart2_pins: pinmux_uart2_pins {
pinctrl-single,pins = <
- OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx */
+ OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts */
+ OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT | MUX_MODE0) /* uart2_rts */
OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx */
+ OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx */
>;
};
@@ -920,6 +929,8 @@
interrupt-parent = <&gpio2>;
interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */
+
+ clocks = <&vctcxo>;
};
};
@@ -937,9 +948,17 @@
};
&uart2 {
- interrupts-extended = <&intc 73 &omap3_pmx_core OMAP3_UART2_RX>;
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
+
+ bcm2048: bluetooth {
+ compatible = "nokia,brcm,bcm2048";
+ reset-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>; /* 91 */
+ host-wakeup-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* 101 */
+ bluetooth-wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* 37 */
+ clocks = <&vctcxo>;
+ clock-names = "sysclk";
+ };
};
&uart3 {
--
2.11.0
[toc] | [next] | [standalone]
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2017-03-06 17:10 +0100 |
| Message-ID | <ti3mW-2d9-9@gated-at.bofh.it> |
| In reply to | #1592473 |
* Sebastian Reichel <sre@kernel.org> [170304 04:00]: > Add bcm2048 node and its system clock to the N900 device tree file. > Apart from that a reference to the new clock has been added to > wl1251 (which uses it, too). > > Signed-off-by: Sebastian Reichel <sre@kernel.org> Picking this patch into omap-for-v4.12/dt thanks. Regards, Tony
[toc] | [prev] | [next] | [standalone]
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2017-03-07 17:40 +0100 |
| Message-ID | <tiqjw-1Hb-23@gated-at.bofh.it> |
| In reply to | #1593494 |
* Rob Herring <robh+dt@kernel.org> [170307 08:34]: > On Mon, Mar 6, 2017 at 10:08 AM, Tony Lindgren <tony@atomide.com> wrote: > > * Sebastian Reichel <sre@kernel.org> [170304 04:00]: > >> Add bcm2048 node and its system clock to the N900 device tree file. > >> Apart from that a reference to the new clock has been added to > >> wl1251 (which uses it, too). > >> > >> Signed-off-by: Sebastian Reichel <sre@kernel.org> > > > > Picking this patch into omap-for-v4.12/dt thanks. > > The binding is not yet settled. Oh sorry I thought the binding was already done. Will revert. Regards, Tony
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh+dt@kernel.org> |
|---|---|
| Date | 2017-03-07 17:50 +0100 |
| Message-ID | <tiqjw-1Hb-25@gated-at.bofh.it> |
| In reply to | #1593494 |
On Mon, Mar 6, 2017 at 10:08 AM, Tony Lindgren <tony@atomide.com> wrote: > * Sebastian Reichel <sre@kernel.org> [170304 04:00]: >> Add bcm2048 node and its system clock to the N900 device tree file. >> Apart from that a reference to the new clock has been added to >> wl1251 (which uses it, too). >> >> Signed-off-by: Sebastian Reichel <sre@kernel.org> > > Picking this patch into omap-for-v4.12/dt thanks. The binding is not yet settled. Rob
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web