how to achieve the flow control line function on un-Qualcomm platform in bluesleep.c?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Dear

In bluesleep.c use msm_hs_set_mctrl() to achieve the flow control line function,but this is qualcomm platform's function, can't look its code.Who has the bluesleep.c sample of un-qualcomm platform ?

the msm code as following and the bluesleep.c in the attachment:

static void hsuart_power(int on)

{

    if (test_bit(BT_SUSPEND, &flags))

        return;

    if (on) {

        msm_hs_request_clock_on(bsi->uport);

       msm_hs_set_mctrl(bsi->uport, TIOCM_RTS);

    } else {

        msm_hs_set_mctrl(bsi->uport, 0);

        msm_hs_request_clock_off(bsi->uport);

    }

}

0 Likes
1 Solution

The BCM20732, BCM20736 and BCM20737 (SoC and SiP module versions are the products supported here in the community forum.

View solution in original post

4 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

bluesleep.c? Who created/distributes this software? I'm not sure at this point I understand how this relates to the Cypress BCM2073X product line represented here in this forum.

0 Likes
Anonymous
Not applicable

It's BCM2071x product code.In this forum,we just only discuss BCM2073x product,right?

0 Likes

The BCM20732, BCM20736 and BCM20737 (SoC and SiP module versions are the products supported here in the community forum.

Anonymous
Not applicable

OK, It seems I get a wrong advice from Cypress guys.

0 Likes