mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-27 22:51:31 +00:00
8529728f25
It turns out that the wcn3990 can float the gpio lines during bootup, etc which will result in the uart core thinking there is incoming data. This results in the bluetooth stack getting garbage. By applying a bias to match what wcn3990 would drive, the issue is corrected. Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com> Link: https://lore.kernel.org/r/20191021161921.31825-1-jeffrey.l.hugo@gmail.com [bjorn: Moved board specific pinctrl states to the end] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
108 lines
1.9 KiB
Text
108 lines
1.9 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/* Copyright (c) 2018, The Linux Foundation. All rights reserved. */
|
|
|
|
&tlmm {
|
|
sdc2_clk_on: sdc2_clk_on {
|
|
config {
|
|
pins = "sdc2_clk";
|
|
bias-disable; /* NO pull */
|
|
drive-strength = <16>; /* 16 mA */
|
|
};
|
|
};
|
|
|
|
sdc2_clk_off: sdc2_clk_off {
|
|
config {
|
|
pins = "sdc2_clk";
|
|
bias-disable; /* NO pull */
|
|
drive-strength = <2>; /* 2 mA */
|
|
};
|
|
};
|
|
|
|
sdc2_cmd_on: sdc2_cmd_on {
|
|
config {
|
|
pins = "sdc2_cmd";
|
|
bias-pull-up; /* pull up */
|
|
drive-strength = <10>; /* 10 mA */
|
|
};
|
|
};
|
|
|
|
sdc2_cmd_off: sdc2_cmd_off {
|
|
config {
|
|
pins = "sdc2_cmd";
|
|
bias-pull-up; /* pull up */
|
|
drive-strength = <2>; /* 2 mA */
|
|
};
|
|
};
|
|
|
|
sdc2_data_on: sdc2_data_on {
|
|
config {
|
|
pins = "sdc2_data";
|
|
bias-pull-up; /* pull up */
|
|
drive-strength = <10>; /* 10 mA */
|
|
};
|
|
};
|
|
|
|
sdc2_data_off: sdc2_data_off {
|
|
config {
|
|
pins = "sdc2_data";
|
|
bias-pull-up; /* pull up */
|
|
drive-strength = <2>; /* 2 mA */
|
|
};
|
|
};
|
|
|
|
sdc2_cd_on: sdc2_cd_on {
|
|
mux {
|
|
pins = "gpio95";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio95";
|
|
bias-pull-up; /* pull up */
|
|
drive-strength = <2>; /* 2 mA */
|
|
};
|
|
};
|
|
|
|
sdc2_cd_off: sdc2_cd_off {
|
|
mux {
|
|
pins = "gpio95";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio95";
|
|
bias-pull-up; /* pull up */
|
|
drive-strength = <2>; /* 2 mA */
|
|
};
|
|
};
|
|
|
|
blsp1_uart3_on: blsp1_uart3_on {
|
|
tx {
|
|
pins = "gpio45";
|
|
function = "blsp_uart3_a";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
};
|
|
|
|
rx {
|
|
pins = "gpio46";
|
|
function = "blsp_uart3_a";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
};
|
|
|
|
cts {
|
|
pins = "gpio47";
|
|
function = "blsp_uart3_a";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
};
|
|
|
|
rfr {
|
|
pins = "gpio48";
|
|
function = "blsp_uart3_a";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
};
|
|
};
|
|
};
|