Nokia N950 modem support
Subsystems (6)
Sebastian Reichel
maintainercover Nokia N950 modem support
Hi,
This patchset adds support for the N950 modem. Afterwards it can be used with ofono in the same way, that the N900's modem can be used [0].
In addition to the kernel patchset, ofono must be modified slightly, though. The cbs interface from the N950 modem seems to be broken resulting in modem reset. The below ofono patch is enough to get it running for the N950.
[0] https://lkml.org/lkml/2014/5/10/167
-- Sebastian
plugins/n900.c +1 -1
@@ -507,7 +507,7 @@ static void n900_post_online(struct ofono_modem *modem)ofono_netreg_create (modem,0 ,"isimodem" , isi->modem);ofono_sms_create (modem,0 ,"isimodem" , isi->modem); -ofono_cbs_create (modem,0 ,"isimodem" , isi->modem); +//ofono_cbs_create(modem, 0, "isimodem", isi->modem); ofono_ussd_create (modem,0 ,"isimodem" , isi->modem);ofono_call_settings_create (modem,0 ,"isimodem" , isi->modem);ofono_call_barring_create (modem,0 ,"isimodem" , isi->modem);
---
Sebastian Reichel (5):
ARM: OMAP2+: hwmod data: Add SSI data for omap36xx
ARM: dts: OMAP3-N950-N9: Enable SSI module
HSI: nokia-modem: add n950 and n9 support
HSI: ssi-protocol: Use handshake logic from n950
ARM: dts: OMAP3-N950-N9: Enable modem
.../devicetree/bindings/hsi/nokia-modem.txt | 12 ++-- arch/arm/boot/dts/omap3-n9.dts | 4 ++ arch/arm/boot/dts/omap3-n950-n9.dtsi | 64 ++++++++++++++++++++++ arch/arm/boot/dts/omap3-n950.dts | 4 ++ arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 13 +++-- drivers/hsi/clients/nokia-modem.c | 2 + drivers/hsi/clients/ssi_protocol.c | 16 ++---- 7 files changed, 93 insertions(+), 22 deletions(-)
Signature · 6 lines
2.7.0.rc3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Sebastian Reichel
maintainerPATCH 1/5 ARM: OMAP2+: hwmod data: Add SSI data for omap36xx
This patch enables Synchronous Serial Interface (SSI) hwmod support for OMAP36xx SoCs (used by Nokia N950/N9).
--- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +7 -6
@@ -3625,14 +3625,14 @@ static struct omap_hwmod_class_sysconfig omap34xx_ssi_sysc = { .sysc_fields = &omap_hwmod_sysc_type1, }; -static struct omap_hwmod_class omap34xx_ssi_hwmod_class = { +static struct omap_hwmod_class omap3xxx_ssi_hwmod_class = { .name ="ssi" , .sysc = &omap34xx_ssi_sysc, }; -static struct omap_hwmod omap34xx_ssi_hwmod = { +static struct omap_hwmod omap3xxx_ssi_hwmod = { .name ="ssi" , - .class = &omap34xx_ssi_hwmod_class, + .class = &omap3xxx_ssi_hwmod_class, .clkdm_name ="core_l4_clkdm" , .main_clk ="ssi_ssr_fck" , .prcm = {
@@ -3647,9 +3647,9 @@ static struct omap_hwmod omap34xx_ssi_hwmod = { };/* L4 CORE -> SSI */ -static struct omap_hwmod_ocp_if omap34xx_l4_core__ssi = { +static struct omap_hwmod_ocp_if omap3xxx_l4_core__ssi = { .master = &omap3xxx_l4_core_hwmod, - .slave = &omap34xx_ssi_hwmod, + .slave = &omap3xxx_ssi_hwmod, .clk ="ssi_ick" , .user =OCP_USER_MPU |OCP_USER_SDMA , };
@@ -3802,7 +3802,7 @@ static struct omap_hwmod_ocp_if *omap34xx_hwmod_ocp_ifs[] __initdata = { &omap3xxx_sad2d__l3, &omap3xxx_l4_core__mmu_isp, &omap3xxx_l3_main__mmu_iva, - &omap34xx_l4_core__ssi, + &omap3xxx_l4_core__ssi, NULL };
@@ -3826,6 +3826,7 @@ static struct omap_hwmod_ocp_if *omap36xx_hwmod_ocp_ifs[] __initdata = { &omap3xxx_sad2d__l3, &omap3xxx_l4_core__mmu_isp, &omap3xxx_l3_main__mmu_iva, + &omap3xxx_l4_core__ssi, NULL };
Signature · 6 lines
2.7.0.rc3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 1/5] ARM: OMAP2+: hwmod data: Add SSI data for omap36xx
Quoted 4 lines · Sebastian Reichel
This patch enables Synchronous Serial Interface (SSI) hwmod support for OMAP36xx SoCs (used by Nokia N950/N9).
Signed-off-by Sebastian Reichel <[email protected]>
Quoted 62 lines
--- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +7
-6@@ -3625,14 +3625,14 @@ static struct omap_hwmod_class_sysconfig omap34xx_ssi_sysc = { .sysc_fields = &omap_hwmod_sysc_type1, }; -static struct omap_hwmod_class omap34xx_ssi_hwmod_class = { +static struct omap_hwmod_class omap3xxx_ssi_hwmod_class = { .name ="ssi" , .sysc = &omap34xx_ssi_sysc, }; -static struct omap_hwmod omap34xx_ssi_hwmod = { +static struct omap_hwmod omap3xxx_ssi_hwmod = { .name ="ssi" , - .class = &omap34xx_ssi_hwmod_class, + .class = &omap3xxx_ssi_hwmod_class, .clkdm_name ="core_l4_clkdm" , .main_clk ="ssi_ssr_fck" , .prcm = {@@ -3647,9 +3647,9 @@ static struct omap_hwmod omap34xx_ssi_hwmod = { };/* L4 CORE -> SSI */ -static struct omap_hwmod_ocp_if omap34xx_l4_core__ssi = { +static struct omap_hwmod_ocp_if omap3xxx_l4_core__ssi = { .master = &omap3xxx_l4_core_hwmod, - .slave = &omap34xx_ssi_hwmod, + .slave = &omap3xxx_ssi_hwmod, .clk ="ssi_ick" , .user =OCP_USER_MPU |OCP_USER_SDMA , };@@ -3802,7 +3802,7 @@ static struct omap_hwmod_ocp_if *omap34xx_hwmod_ocp_ifs[] __initdata = { &omap3xxx_sad2d__l3, &omap3xxx_l4_core__mmu_isp, &omap3xxx_l3_main__mmu_iva, - &omap34xx_l4_core__ssi, + &omap3xxx_l4_core__ssi, NULL };@@ -3826,6 +3826,7 @@ static struct omap_hwmod_ocp_if *omap36xx_hwmod_ocp_ifs[] __initdata = { &omap3xxx_sad2d__l3, &omap3xxx_l4_core__mmu_isp, &omap3xxx_l3_main__mmu_iva, + &omap3xxx_l4_core__ssi, NULL };Signature · 6 lines
2.7.0.rc3 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Aaro Koskinen
maintainerRe: [PATCH 1/5] ARM: OMAP2+: hwmod data: Add SSI data for omap36xx
Hi,
Quoted 7 lines · Aaro Koskinen
Quoted 4 lines · Sebastian Reichel
This patch enables Synchronous Serial Interface (SSI) hwmod support for OMAP36xx SoCs (used by Nokia N950/N9).
Signed-off-by Sebastian Reichel <[email protected]>Tested-by Aaro Koskinen <[email protected]>
This applies to whole series (1/5). I was able to use gprs data connection to connect to internet with N950 + v4.5-rc1 + these patches.
Thanks,
A.
Paul Walmsley
maintainerRe: [PATCH 1/5] ARM: OMAP2+: hwmod data: Add SSI data for omap36xx
In reply to Aaro KoskinenQuoted 7 lines · Aaro Koskinen
Quoted 4 lines · Sebastian Reichel
This patch enables Synchronous Serial Interface (SSI) hwmod support for OMAP36xx SoCs (used by Nokia N950/N9).
Signed-off-by Sebastian Reichel <[email protected]>Tested-by Aaro Koskinen <[email protected]>
Thanks, queued for v4.6.
- Paul
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Sebastian Reichel
maintainerPATCH 2/5 ARM: dts: OMAP3-N950-N9: Enable SSI module
In reply to Sebastian ReichelThe Nokia N950 and Nokia N9 have a modem attached to their first ssi port. This change adds all necessary information to initialize the SSI module, but does not yet add the modem information.
--- arch/arm/boot/dts/omap3-n950-n9.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
arch/arm/boot/dts/omap3-n950-n9.dtsi +24 -0
@@ -44,6 +44,19 @@ 0x132 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3 */ >; }; + + ssi_pins: pinmux_ssi_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE1) /* ssi1_dat_tx */ + OMAP3_CORE1_IOPAD(0x217e, PIN_OUTPUT | MUX_MODE1) /* ssi1_flag_tx */ + OMAP3_CORE1_IOPAD(0x2180, PIN_INPUT_PULLUP | MUX_MODE1) /* ssi1_rdy_tx */ + OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | WAKEUP_EN | MUX_MODE4) /* ssi1_wake_tx (cawake) */ + OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT | MUX_MODE1) /* ssi1_dat_rx */ + OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT | MUX_MODE1) /* ssi1_flag_rx */ + OMAP3_CORE1_IOPAD(0x2188, PIN_OUTPUT | MUX_MODE1) /* ssi1_rdy_rx */ + OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | MUX_MODE1) /* ssi1_wake */ + >; + }; }; &i2c1 {
@@ -191,3 +204,14 @@ }; }; }; + +&ssi_port1 { + pinctrl-names = "default"; + pinctrl-0 = <&ssi_pins>; + + ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ +}; + +&ssi_port2 { + status = "disabled"; +};
Signature · 6 lines
2.7.0.rc3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Tony Lindgren
maintainerRe: [PATCH 2/5] ARM: dts: OMAP3-N950-N9: Enable SSI module
Quoted 6 lines · Sebastian Reichel
The Nokia N950 and Nokia N9 have a modem attached to their first ssi port. This change adds all necessary information to initialize the SSI module, but does not yet add the modem information.
Signed-off-by Sebastian Reichel <[email protected]>
Picking this patch into omap-for-v4.6/dt thanks.
Tony
Sebastian Reichel
maintainerPATCH 3/5 HSI: nokia-modem: add n950 and n9 support
In reply to Sebastian ReichelThe Nokia N950 and Nokia N9 also have a SSI connected modem, which use the same protocols as the Nokia N900, but with slightly other GPIO setup and increased link speed (96000 kbps instead of 55000 kbps).
Since it's unclear, if the N950 and the N9 use exactly the same modem, each of them gets their own compatible string.
--- Documentation/devicetree/bindings/hsi/nokia-modem.txt | 12 +++++++----- drivers/hsi/clients/nokia-modem.c | 2 ++ 2 files changed, 9 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/hsi/nokia-modem.txt +7 -5
@@ -7,6 +7,8 @@ properties are needed by the Nokia modem HSI client: Required properties: - compatible: Should be one of "nokia,n900-modem" + "nokia,n950-modem" + "nokia,n9-modem" - hsi-channel-names: Should contain the following strings "mcsaab-control" "speech-control"
@@ -15,11 +17,11 @@ Required properties: - gpios: Should provide a GPIO handler for each GPIO listed in gpio-names - gpio-names: Should contain the following strings - "cmt_apeslpx" - "cmt_rst_rq" - "cmt_en" - "cmt_rst" - "cmt_bsi" + "cmt_apeslpx" (for n900, n950, n9) + "cmt_rst_rq" (for n900, n950, n9) + "cmt_en" (for n900, n950, n9) + "cmt_rst" (for n900) + "cmt_bsi" (for n900) - interrupts: Should be IRQ handle for modem's reset indication Example:
drivers/hsi/clients/nokia-modem.c +2 -0
@@ -281,6 +281,8 @@ static int nokia_modem_remove(struct device *dev)#ifdef CONFIG_OF static const struct of_device_id nokia_modem_of_match[] = { { .compatible ="nokia,n900-modem" , }, + { .compatible ="nokia,n950-modem" , }, + { .compatible ="nokia,n9-modem" , }, {}, };MODULE_DEVICE_TABLE (of, nokia_modem_of_match);
Signature · 1 line
2.7.0.rc3
Re: [PATCH 3/5] HSI: nokia-modem: add n950 and n9 support
Quoted 3 lines · Sebastian Reichel
The Nokia N950 and Nokia N9 also have a SSI connected modem, which use the same protocols as the Nokia N900, but with slightly other GPIO setup and increased link
"slightly other" does not make sense.
Quoted 11 lines
speed (96000 kbps instead of 55000 kbps).
Since it's unclear, if the N950 and the N9 use exactly the same modem, each of them gets their own compatible string.
Signed-off-by Sebastian Reichel <[email protected]>--- Documentation/devicetree/bindings/hsi/nokia-modem.txt | 12 +++++++----- drivers/hsi/clients/nokia-modem.c | 2 ++ 2 files changed, 9 insertions(+), 5 deletions(-)
Otherwise,
Sebastian Reichel
maintainerRe: [PATCH 3/5] HSI: nokia-modem: add n950 and n9 support
Hi Rob,
Quoted 7 lines · Rob Herring
Quoted 4 lines · Sebastian Reichel
The Nokia N950 and Nokia N9 also have a SSI connected modem, which use the same protocols as the Nokia N900, but with slightly other GPIO setup and increased link speed (96000 kbps instead of 55000 kbps).
"slightly other" does not make sense.
I meant to write "slightly different", but how about:
The Nokia N950 and Nokia N9 also have a SSI connected modem, which use the same protocols as the Nokia N900, but with increased link speed (96000 kbps instead of 55000 kbps) and with less GPIOs.
Quoted 10 lines
Quoted 9 lines
Since it's unclear, if the N950 and the N9 use exactly the same modem, each of them gets their own compatible string.
Signed-off-by Sebastian Reichel <[email protected]>--- Documentation/devicetree/bindings/hsi/nokia-modem.txt | 12 +++++++----- drivers/hsi/clients/nokia-modem.c | 2 ++ 2 files changed, 9 insertions(+), 5 deletions(-)
Quoted 3 lines
Otherwise,
Acked-by Rob Herring <[email protected]>
Thanks for the review.
-- Sebastian
Sebastian Reichel
maintainerRe: [PATCH 3/5] HSI: nokia-modem: add n950 and n9 support
In reply to Sebastian ReichelHi,
Quoted 8 lines · Sebastian Reichel
The Nokia N950 and Nokia N9 also have a SSI connected modem, which use the same protocols as the Nokia N900, but with slightly other GPIO setup and increased link speed (96000 kbps instead of 55000 kbps).
Since it's unclear, if the N950 and the N9 use exactly the same modem, each of them gets their own compatible string.
I queued this patch with the modified commit message:
-- Sebastian
Sebastian Reichel
maintainerPATCH 4/5 HSI: ssi-protocol: Use handshake logic from n950
In reply to Sebastian ReichelWhen using the ssi-protocol driver with the Nokia N950, the following error is thrown during modem powered up sequence.
[13852.274993] port0: SSI error: 0x01 [13852.279205] ssi-protocol ssi-protocol: RX error detected [13852.284820] ssi-protocol ssi-protocol: Main state: 1 [13852.290069] ssi-protocol ssi-protocol: Recv state: 0 [13852.295288] ssi-protocol ssi-protocol: Send state: 0 [13852.300537] ssi-protocol ssi-protocol: CMT Offline [13852.305603] ssi-protocol ssi-protocol: Wake test 1 [13852.310638] ssi-protocol ssi-protocol: Data RX id: 0 [13852.315887] ssi-protocol ssi-protocol: Data TX id: 0 [13856.001464] ssi-protocol ssi-protocol: Watchdog trigerred [13856.007293] ssi-protocol ssi-protocol: Main state: 1 [13856.012542] ssi-protocol ssi-protocol: Recv state: 0 [13856.017761] ssi-protocol ssi-protocol: Send state: 0 [13856.023010] ssi-protocol ssi-protocol: CMT Offline [13856.028045] ssi-protocol ssi-protocol: Wake test 0 [13856.033111] ssi-protocol ssi-protocol: Data RX id: 0 [13856.038330] ssi-protocol ssi-protocol: Data TX id: 0
This patch fixes the issue by using the handshake setup from the Nokia N950 kernel. The new handshake sequence also works with the N900, so there is no need to differentiate between both modems.
--- drivers/hsi/clients/ssi_protocol.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-)
drivers/hsi/clients/ssi_protocol.c +5 -11
@@ -521,13 +521,7 @@ static void ssip_start_rx(struct hsi_client *cl)* high transition. Therefore we need to ignore the sencond UP event. */ if ((ssi->main_state !=ACTIVE ) || (ssi->recv_state ==RECV_READY )) { -if (ssi->main_state ==INIT ) { - ssi->main_state =HANDSHAKE ; -spin_unlock (&ssi->lock); -ssip_send_bootinfo_req_cmd (cl); - }else { -spin_unlock (&ssi->lock); - } +spin_unlock (&ssi->lock);return ; }ssip_set_rxstate (ssi,RECV_READY );
@@ -671,6 +665,7 @@ static void ssip_rx_bootinforeq(struct hsi_client *cl, u32 cmd)ssip_error (cl);/* Fall through */ case INIT : +case HANDSHAKE :spin_lock (&ssi->lock); ssi->main_state =HANDSHAKE ;if (!ssi->waketest) {
@@ -688,9 +683,6 @@ static void ssip_rx_bootinforeq(struct hsi_client *cl, u32 cmd) msg->complete = ssip_release_cmd;hsi_async_write (cl, msg);break ; -case HANDSHAKE : -/* Ignore */ -break ;default :dev_dbg (&cl->device,"Wrong state M(%d)\n" , ssi->main_state);break ;
@@ -939,9 +931,11 @@ static int ssip_pn_open(struct net_device *dev) ssi->waketest =1 ;ssi_waketest (cl,1 );/* FIXME: To be removed */ } - ssi->main_state =INIT ; + ssi->main_state =HANDSHAKE ;spin_unlock_bh (&ssi->lock); +ssip_send_bootinfo_req_cmd (cl); +return 0 ; }
Signature · 1 line
2.7.0.rc3
Sebastian Reichel
maintainerRe: [PATCH 4/5] HSI: ssi-protocol: Use handshake logic from n950
Hi,
Quoted 21 lines · Sebastian Reichel
When using the ssi-protocol driver with the Nokia N950, the following error is thrown during modem powered up sequence.
[13852.274993] port0: SSI error: 0x01 [13852.279205] ssi-protocol ssi-protocol: RX error detected [13852.284820] ssi-protocol ssi-protocol: Main state: 1 [13852.290069] ssi-protocol ssi-protocol: Recv state: 0 [13852.295288] ssi-protocol ssi-protocol: Send state: 0 [13852.300537] ssi-protocol ssi-protocol: CMT Offline [13852.305603] ssi-protocol ssi-protocol: Wake test 1 [13852.310638] ssi-protocol ssi-protocol: Data RX id: 0 [13852.315887] ssi-protocol ssi-protocol: Data TX id: 0 [13856.001464] ssi-protocol ssi-protocol: Watchdog trigerred [13856.007293] ssi-protocol ssi-protocol: Main state: 1 [13856.012542] ssi-protocol ssi-protocol: Recv state: 0 [13856.017761] ssi-protocol ssi-protocol: Send state: 0 [13856.023010] ssi-protocol ssi-protocol: CMT Offline [13856.028045] ssi-protocol ssi-protocol: Wake test 0 [13856.033111] ssi-protocol ssi-protocol: Data RX id: 0 [13856.038330] ssi-protocol ssi-protocol: Data TX id: 0
Quoted 4 lines
This patch fixes the issue by using the handshake setup from the Nokia N950 kernel. The new handshake sequence also works with the N900, so there is no need to differentiate between both modems.
I queued this patch with Aaro's Tested-By:
-- Sebastian
Sebastian Reichel
maintainerPATCH 5/5 ARM: dts: OMAP3-N950-N9: Enable modem
In reply to Sebastian ReichelThe Nokia N950 and Nokia N9 have a modem attached to their first ssi port. This change adds the modem to the SSI port.
--- arch/arm/boot/dts/omap3-n9.dts | 4 ++++ arch/arm/boot/dts/omap3-n950-n9.dtsi | 40 ++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-n950.dts | 4 ++++ 3 files changed, 48 insertions(+)
arch/arm/boot/dts/omap3-n9.dts +4 -0
@@ -53,3 +53,7 @@ }; }; }; + +&modem { + compatible = "nokia,n9-modem"; +};
arch/arm/boot/dts/omap3-n950-n9.dtsi +40 -0
@@ -57,6 +57,22 @@ OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | MUX_MODE1) /* ssi1_wake */ >; }; + + modem_pins1: pinmux_modem_core1_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x207a, PIN_INPUT | WAKEUP_EN | MUX_MODE4) /* gpio_34 (ape_rst_rq) */ + OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE4) /* gpio_88 (cmt_rst_rq) */ + OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE4) /* gpio_93 (cmt_apeslpx) */ + >; + }; +}; + +&omap3_pmx_core2 { + modem_pins2: pinmux_modem_core2_pins { + pinctrl-single,pins = < + OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* gpio_23 (cmt_en) */ + >; + }; }; &i2c1 {
@@ -210,6 +226,30 @@ pinctrl-0 = <&ssi_pins>; ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ + + modem: hsi-client { + pinctrl-names = "default"; + pinctrl-0 = <&modem_pins1 &modem_pins2>; + + hsi-channel-ids = <0>, <1>, <2>, <3>; + hsi-channel-names = "mcsaab-control", + "speech-control", + "speech-data", + "mcsaab-data"; + hsi-speed-kbps = <96000>; + hsi-mode = "frame"; + hsi-flow = "synchronized"; + hsi-arb-mode = "round-robin"; + + interrupts-extended = <&gpio2 2 IRQ_TYPE_EDGE_RISING>; /* gpio 34 */ + + gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>, /* gpio 93 */ + <&gpio3 24 GPIO_ACTIVE_HIGH>, /* gpio 88 */ + <&gpio1 23 GPIO_ACTIVE_HIGH>; /* gpio 23 */ + gpio-names = "cmt_apeslpx", + "cmt_rst_rq", + "cmt_en"; + }; }; &ssi_port2 {
arch/arm/boot/dts/omap3-n950.dts +4 -0
@@ -53,3 +53,7 @@ }; }; }; + +&modem { + compatible = "nokia,n950-modem"; +};
Signature · 1 line
2.7.0.rc3
Tony Lindgren
maintainerRe: [PATCH 5/5] ARM: dts: OMAP3-N950-N9: Enable modem
Quoted 4 lines · Sebastian Reichel
The Nokia N950 and Nokia N9 have a modem attached to their first ssi port. This change adds the modem to the SSI port.
Signed-off-by Sebastian Reichel <[email protected]>
Applying this also into omap-for-v4.6/dt thanks.
Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Sebastian Reichel
maintainerHi,
Quoted 3 lines · Sebastian Reichel
This patchset adds support for the N950 modem.
[...]
All of the patches are more or less mergable independent of each other, so I suggest the following merging scheme:
Quoted 2 lines
Sebastian Reichel (5):
ARM: OMAP2+: hwmod data: Add SSI data for omap36xx
This one should go in via Paul Walmsley.
Quoted 2 lines
HSI: nokia-modem: add n950 and n9 support
HSI: ssi-protocol: Use handshake logic from n950
I already took those via the HSI tree.
Quoted 2 lines
ARM: dts: OMAP3-N950-N9: Enable SSI module
ARM: dts: OMAP3-N950-N9: Enable modem
The DTS changes can go in via Tony's tree.
-- Sebastian