Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1217900
| Path | csiph.com!news.mixmin.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!tfh-berlin.DE!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Doug Anderson <dianders@chromium.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ARM: dts: rk3288: pull up cts lines |
| Date | Thu, 03 Sep 2015 01:00:02 +0200 |
| Message-ID | <q4pay-24f-3@gated-at.bofh.it> (permalink) |
| References | <q4oHw-1ws-29@gated-at.bofh.it> |
| X-Original-To | Alexandru M Stan <amstan@chromium.org> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=wgZ0be2h/sDrJVkw2HlHQn48xwjAX8KrH/+BojWzOUE=; b=NPCjsujAUA6Pa1lpVYc1HP6he17Q89ks/+SIQRqkzC9v2d82oVvCjtMnvlDyIDKGc5 88LwN/svzKfPPfacQVJlEFJwoK1sQihXx8yhNvqdywMmNdNHZslPHmRhOZ0FeJzncfLs +syz3+dZ8itlKLn86GxmBM7UXYXy9o1E22x0nYYFpu77SYEHAGuDzPcbwUrbCA9R54Ou bn6xgmFkleb4hC8auKArypUph5Kd71sS5Hl3tyGkavVgPg98ZsS1yxqYAvEnoaruyiH9 kOg9kuOxUUs3jpL9qSOM7VBojbQNvF7K7kMyn4vDTSfASZkXK9LBjRW4WF5cV73o80K/ RX2g== |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=wgZ0be2h/sDrJVkw2HlHQn48xwjAX8KrH/+BojWzOUE=; b=dmYPCJGITT8xjTBPdGcVOKlvB0hpVIKR1kxoKPBrprov9WZdh5kIpLapOGxznGZYbC soheMT9zOTC7FRm4ZOsiJrFXrl3w0fvQvN3PnggPGWJadtrVJNmYXeN9mygUU0AQZJWC sqBJQkwzAiHNapoqpSaNFEkFDN4oZ8mk7A44g= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=wgZ0be2h/sDrJVkw2HlHQn48xwjAX8KrH/+BojWzOUE=; b=bheatXKsOVAIP0uj7dc8G9sJki59n+jpHrzolRGNfUzzbhZ4bMJ/bT4jFn/OrETmK7 8kRtiYkQ4eZsnWiZAy03kBRTgwkMHGuU4b8rX2eQy//uEf1HhRU20zcXlme/P1pa88gH k9IvOtKar+umU2lXhK5RO0WChGuEkLlpdgmsheKrYxM8fsTXMspHA8xJq7boroVw2I4g lcPJXr0GuuYK+i7cf3I7+1oX9A24CZ9BCB8fT2ddFbntChTXIsRDDCJv3JLmSykCCt63 40NF2QeWfKNIz7A6tErmbAGZYL6Tam2sqZ/Wh1rr2Gif/Rkrq+E912OetLvbjj7gBNih u9lA== |
| X-Gm-Message-State | ALoCoQnSO/TI+kexF1F77WmcKZmHs15nye2UAYm0vCR6ATz0ujF+zyi6lea5eUT/ASI5pVw1BObo |
| MIME-Version | 1.0 |
| X-Received | by 10.170.80.130 with SMTP id w124mr7103293ykw.122.1441234650599; Wed, 02 Sep 2015 15:57:30 -0700 (PDT) |
| X-Google-Sender-Auth | 29dwPGLQHB4-4Yt9zaAbAdWTqG0 |
| Content-Type | text/plain; charset=UTF-8 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 46 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Heiko Stuebner <heiko@sntech.de>, Jeffy Chen <jeffy.chen@rock-chips.com>, Caesar Wang <wxt@rock-chips.com>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "open list:ARM/Rockchip SoC..." <linux-rockchip@lists.infradead.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Neil Hendin <nhendin@chromium.org> |
| X-Original-Date | Wed, 2 Sep 2015 15:57:30 -0700 |
| X-Original-Message-ID | <CAD=FV=WEc4tSn7HhFkVWRJwb7Z33Kq4u3ubsYKb2xyJLAQrVPg@mail.gmail.com> |
| X-Original-References | <1441232406-32628-1-git-send-email-amstan@chromium.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1217900 |
Show key headers only | View raw
Alex,
On Wed, Sep 2, 2015 at 3:20 PM, Alexandru M Stan <amstan@chromium.org> wrote:
> The flow control lines from a user accessible UART are optional,
> the user might not have anything connected to those pins.
> In order to prevent random interrupts happening and noise affecting
> that pin it should be pulled up.
>
> Note that the default state for those pins on the rk3288 is pulled up,
> so this patch merely restores them.
>
> Suggested-by: Neil Hendin <nhendin@chromium.org>
> Signed-off-by: Alexandru M Stan <amstan@chromium.org>
> ---
> arch/arm/boot/dts/rk3288.dtsi | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
> index 906e938..a059367 100644
> --- a/arch/arm/boot/dts/rk3288.dtsi
> +++ b/arch/arm/boot/dts/rk3288.dtsi
> @@ -1211,11 +1211,11 @@
> };
>
> uart0_cts: uart0-cts {
> - rockchip,pins = <4 18 RK_FUNC_1 &pcfg_pull_none>;
> + rockchip,pins = <4 18 RK_FUNC_1 &pcfg_pull_up>;
> };
>
> uart0_rts: uart0-rts {
> - rockchip,pins = <4 19 RK_FUNC_1 &pcfg_pull_none>;
> + rockchip,pins = <4 19 RK_FUNC_1 &pcfg_pull_up>;
I would probably do just CTS. That would match the TX / RX lines
where the RX is pulled but not the TX.
You might also mention in the commit message that this really should
be safe since we're already doing something similar for RX.
-Doug
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] ARM: dts: rk3288: pull up cts lines Alexandru M Stan <amstan@chromium.org> - 2015-09-03 00:30 +0200 Re: [PATCH] ARM: dts: rk3288: pull up cts lines Doug Anderson <dianders@chromium.org> - 2015-09-03 01:00 +0200
csiph-web