From patchwork Fri Dec 14 11:23:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 153815 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1940543ljp; Fri, 14 Dec 2018 03:23:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/U5kZGjOhYjsuEvdjqtNlGbVSuS/VxwMzAnp96NJhqI+ydYQ7NVeJu9XUErK9b9D+S1cJOB X-Received: by 2002:a62:ce0e:: with SMTP id y14mr2568007pfg.100.1544786622703; Fri, 14 Dec 2018 03:23:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544786622; cv=none; d=google.com; s=arc-20160816; b=fW1sHzF/+KOned2srIUGtTGWNRg4SF6ag4R03DROs7MNB39eBXhDhxqUts6H3M4XoH cbP5K+tXhZK1ujtqdi4zCXqaSR0EERqMcGsOY8HK5b+1SxOQv1ctvcfXOdKzmvqJKYWO zPKZkus+6dEIk/jC69h2K8Bdu8y0xvY0PLYKnRVnq6CEnmbuSmRJqs91xjacoQtl6yOy ZxFsqSa/bNUYJhjrJaO8o0ZVptkcQUCqMfOd8BGod8JvCLYaLGPKOJyPLAGhSDYHhpGs hDNGnzyoAPWxC5wqGaRzqiIFIopXiYUI13jwkJQc6rmTRbNYA1hpdfalZhNLBWmlrEQQ vr3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=epbmtGt12QR0wVeShTLHrwP6ABNmZg30gHon8hIB+4o=; b=eXu1jEgsaU3sSZqOUfmt7s0Gs8SjYX0bmGgK9Oz9wmh6Sr51murcqgvnbNcd/ZmbwR o2I3NId58jDgwyuIFT5Ls20OSAdeZMkdMzfSUlZgz5qn7cPzP3MZo4bW5S4e1RPesXEy 6zXW03B5Y2wpp97xoQYIxA6ptZ2a2JbXWgIJ4d7OCtWgcnIXiczj8asP4by6oZeXg33/ M+pOAgHERMdJu6O5rzfDNrin8BRNeJyCZYWdIklClOFx29Zu79MIG7Z4hTJ2E31U1jS/ kCnd0rgf41r2YY81daeIbtRAFXl3yMNr1aWodooE0uD7CYmNKnWI/Wd6urqYcNKCE9MN +/vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=USdGdRHy; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b36si4034486pla.354.2018.12.14.03.23.42; Fri, 14 Dec 2018 03:23:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=USdGdRHy; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728656AbeLNLXm (ORCPT + 3 others); Fri, 14 Dec 2018 06:23:42 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:48916 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728731AbeLNLXl (ORCPT ); Fri, 14 Dec 2018 06:23:41 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181214112339euoutp02ba44c112db9f04b016834a6e33a4727c~wLz7-S1hP1467114671euoutp02e; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181214112339euoutp02ba44c112db9f04b016834a6e33a4727c~wLz7-S1hP1467114671euoutp02e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1544786619; bh=epbmtGt12QR0wVeShTLHrwP6ABNmZg30gHon8hIB+4o=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=USdGdRHyiPuCEAmg9MOGKF1uCAcL9NRKeV7Ypf49oILIA2/K1MU07eiplyqdbm6n2 G5vDTSshSgD67LnK9+/Aw+GkOHGvActmi82+nG4ypsnSTPd1nYOPQFzl7yU6FwLzkL LSLiSpjSsCd+fcX5zGoluM+08wXe+3liuhu0c/a8= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181214112339eucas1p14d76596619abf3e7ad70f4bd54247658~wLz7kzLik2323823238eucas1p1Y; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 38.F5.04441.AB2931C5; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181214112338eucas1p1dcf77ad7d62abcc6ceb505cbc7dbd200~wLz64xMeY2322223222eucas1p1W; Fri, 14 Dec 2018 11:23:38 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-ca-5c1392baa31f Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id BA.87.04284.AB2931C5; Fri, 14 Dec 2018 11:23:38 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PJQ00L9B4Z6IX10@eusync4.samsung.com>; Fri, 14 Dec 2018 11:23:38 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Beomho Seo , Seung-Woo Kim , Sylwester Nawrocki Subject: [PATCH 1/4] mfd: exynos-lpass: Enable UART module support Date: Fri, 14 Dec 2018 12:23:22 +0100 Message-id: <20181214112325.9551-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181214112325.9551-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPIsWRmVeSWpSXmKPExsWy7djPc7q7JwnHGExawmKxccZ6VovTn7ax W5w/v4HdYsb5fUwWa4/cZbc4/Kad1WLG5JdsDuwem1Z1snn0bVnF6PF5k1wAcxSXTUpqTmZZ apG+XQJXxvNr/9gLFnFVPNio2cB4m6OLkZNDQsBE4uDl82xdjFwcQgIrGCUe75nCAuF8ZpTo P3mTEaaq+f8/JojEMkaJKbuPM0M4DUwSi372soJUsQkYSnS97WIDsUUEVCU+ty1gByliFuhh kpgxeSdQBweHsICTxMHvKSAmC1DNuTM5IOW8AjYSj9auZoFYJi+xesMBZhCbU8BWYl7rHlaQ MRICX1klbj8+xw5R5CKxd+9NZghbWOLV8S1QcRmJzo6DTBANzYwS7TNmsUM4PYwSW+fsYIOo spY4fPwi2NXMAnwSk7ZNBztOQoBXoqNNCKLEQ6LzxSmolycwSlzY8IZtAqPkAkaGVYziqaXF uempxYZ5qeV6xYm5xaV56XrJ+bmbGIHRdvrf8U87GL9eSjrEKMDBqMTDmzFJKEaINbGsuDL3 EKMEB7OSCG9Yq3CMEG9KYmVValF+fFFpTmrxIUZpDhYlcd5qhgfRQgLpiSWp2ampBalFMFkm Dk6pBsblM+rzXzHlXTh6TP1o/mNx52NGn9Xup62YYjuJZdFu93U+776+rLnvxey4q+vcDd18 xf7p65IZS5kkHRpivR65hu58fGd7+ZRT180Y91g/YnhycPEHz/nHDKw3x2U82+PyTOPF3Eul /M8bzv1mWNqwy/Zhl9Lc/3etj5916X4SeCHZRYrtnNQOJZbijERDLeai4kQAAK8l2bICAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFJMWRmVeSWpSXmKPExsVy+t/xa7q7JgnHGCx6r2KxccZ6VovTn7ax W5w/v4HdYsb5fUwWa4/cZbc4/Kad1WLG5JdsDuwem1Z1snn0bVnF6PF5k1wAcxSXTUpqTmZZ apG+XQJXxvNr/9gLFnFVPNio2cB4m6OLkZNDQsBEovn/P6YuRi4OIYEljBKbN79hBUkICTQx SVybKgNiswkYSnS97WIDsUUEVCU+ty1gB2lgFuhjkuh4O425i5GDQ1jASeLg9xQQkwWo5tyZ HJByXgEbiUdrV7NA7JKXWL3hADOIzSlgKzGvdQ/UKhuJ3k+XmScw8ixgZFjFKJJaWpybnlts qFecmFtcmpeul5yfu4kRGCLbjv3cvIPx0sbgQ4wCHIxKPLwHpgjFCLEmlhVX5h5ilOBgVhLh DWsVjhHiTUmsrEotyo8vKs1JLT7EKM3BoiTOe96gMkpIID2xJDU7NbUgtQgmy8TBKdXAKKBd cZB/2cluv3W3hRSPuRsm3LufOlHSeb/AGdu2uUlvOnmVtMz5EjcZLTvzODlsilzVw3qBq9Oi 8mdrzeiaeWZ3SvsW9bvlDOf3tEqLGKUc95Z1mWO+tJv3lW+hojf3nuMrs+e/OvU+zOC+5dvQ OyckdT/K9xvmK5xyCZC6PTeL26DXZcN8JZbijERDLeai4kQA7fcapg0CAAA= X-CMS-MailID: 20181214112338eucas1p1dcf77ad7d62abcc6ceb505cbc7dbd200 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181214112338eucas1p1dcf77ad7d62abcc6ceb505cbc7dbd200 References: <20181214112325.9551-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org From: Beomho Seo This patch enables support for UART module in Exynos Audio SubSystem. There are boards (for example TM2), which use it for communication with bluetooth chip. Signed-off-by: Beomho Seo [mszyprow: rephrased commit message, added UART reset] Signed-off-by: Marek Szyprowski --- drivers/mfd/exynos-lpass.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.17.1 Reviewed-by: Sylwester Nawrocki diff --git a/drivers/mfd/exynos-lpass.c b/drivers/mfd/exynos-lpass.c index ca829f85672f..2713de989f05 100644 --- a/drivers/mfd/exynos-lpass.c +++ b/drivers/mfd/exynos-lpass.c @@ -82,11 +82,13 @@ static void exynos_lpass_enable(struct exynos_lpass *lpass) LPASS_INTR_SFR | LPASS_INTR_DMA | LPASS_INTR_I2S); regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, - LPASS_INTR_SFR | LPASS_INTR_DMA | LPASS_INTR_I2S); + LPASS_INTR_SFR | LPASS_INTR_DMA | LPASS_INTR_I2S | + LPASS_INTR_UART); exynos_lpass_core_sw_reset(lpass, LPASS_I2S_SW_RESET); exynos_lpass_core_sw_reset(lpass, LPASS_DMA_SW_RESET); exynos_lpass_core_sw_reset(lpass, LPASS_MEM_SW_RESET); + exynos_lpass_core_sw_reset(lpass, LPASS_UART_SW_RESET); } static void exynos_lpass_disable(struct exynos_lpass *lpass) From patchwork Fri Dec 14 11:23:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 153816 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1940552ljp; Fri, 14 Dec 2018 03:23:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/XWk8hBpzkkGWK+NElM1f5J/y928rolTBnO1qz56zobgM5JMA5BAfMI8BxXBAtIdTx9iDc/ X-Received: by 2002:a63:1c61:: with SMTP id c33mr2308332pgm.354.1544786622985; Fri, 14 Dec 2018 03:23:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544786622; cv=none; d=google.com; s=arc-20160816; b=n0jJK+G1gJpuw69DNMy8lbEhRdPCC2TOkTjo5HIVVtasCtodCtwfLr40qjrN9fofAP 7prLYGeJizBJDgMgaFFZG7GAb5S6mirRuGr1kr49x4WCgyMdB7fOsiUC8SL7PJ9lce2R NbQuO5xJj7XLo4nxIN6tr0ZLkXj79x4ceTylDfdnYYkSqbpRC7e3erMuBBbyjvpI6J95 lKlxtMPVt4ysSGCYPE3oLpEvmIDgBa85YmhkEAq6tmEXH+YfqfcWhIVZ/DYx741BEbL9 8i41DrtSdiAG6GFTCrZW+1WlvukeUPyZ/vcilY9uE31aIaZKCQzs0PRzGjlqi5+yLT6B DsjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=AKUsgv6gspXAloJymujKie5fq7hFCRFBHPM2TOJW0T4=; b=F5HuKuQvwClldDjlX5bhrSgqw0AKYzrppWjGlCj/zBBgSB3H91eEvxhs8GtCvbIGk0 6M6tqOR7X2mEzXdLUHdEczY81CjEccPolBTZPI6lPOdFcWgck/WxjC/eJ28aTURLGusD nWWt8bK49X4oCW6fuYAtcnd0LAgFwlgdLrcLVb1ZOBGoNFcrBQnuFen/41q5pyMh0YHE FuqJZ2QPTsMznCclobHObSbQ4EkNubLAt3YDzspAMWl3mSdeUv8pURU8vO9QUGcFhBkF 1RRMTddgflNnXJ5IwhyomM7IRfNHf5tZQmJW93TyevhAKw8CI6lpES/MTKO1cHVaVYjK SHwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=kwz5kLLA; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b36si4034486pla.354.2018.12.14.03.23.42; Fri, 14 Dec 2018 03:23:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=kwz5kLLA; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728731AbeLNLXm (ORCPT + 3 others); Fri, 14 Dec 2018 06:23:42 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:34812 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728415AbeLNLXm (ORCPT ); Fri, 14 Dec 2018 06:23:42 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181214112341euoutp01b0287030ddd6f8b4e02f57214a5395d9~wLz9Kymwe3145231452euoutp01B; Fri, 14 Dec 2018 11:23:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181214112341euoutp01b0287030ddd6f8b4e02f57214a5395d9~wLz9Kymwe3145231452euoutp01B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1544786621; bh=AKUsgv6gspXAloJymujKie5fq7hFCRFBHPM2TOJW0T4=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=kwz5kLLAkiZz0ijL/bjj7wL0C+4ckkDUqsZF7Pp6E2ARTT0jiowVfP04mO0MoOJdP Piuhz/e+73q67DxwGoLEr5GaYz4oFP/N+39dvg6tf/3Y2GlFSfXxZxenqIZ3WSJuGH 9J99bF4MQxqKcvumdL01dakI4MGRMjab/6pTwsvo= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181214112340eucas1p1de6eb810566a7dd618f33acf856fd072~wLz8Z5ikJ0779207792eucas1p1R; Fri, 14 Dec 2018 11:23:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id BF.18.04294.BB2931C5; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181214112339eucas1p248fb077055355697ef6d1a69732df4cc~wLz7jzh7e1459614596eucas1p2g; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) X-AuditID: cbfec7f4-84fff700000010c6-a5-5c1392bb101a Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id EE.1C.04128.BB2931C5; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PJQ00L9B4Z6IX10@eusync4.samsung.com>; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Beomho Seo , Seung-Woo Kim , Sylwester Nawrocki Subject: [PATCH 2/4] tty: serial: samsung: Properly set flags in autoCTS mode Date: Fri, 14 Dec 2018 12:23:23 +0100 Message-id: <20181214112325.9551-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181214112325.9551-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIIsWRmVeSWpSXmKPExsWy7djPc7q7JwnHGKxYbmOxccZ6VovTn7ax W5w/v4HdYsb5fUwWa4/cZbc4/Kad1WLG5JdsDuwem1Z1snn0bVnF6PF5k1wAcxSXTUpqTmZZ apG+XQJXxvwf69kLlnBVXDm3mLmB8TRHFyMnh4SAicSnuR+Yuhi5OIQEVjBKXF80Hcr5zChx 53cHG0zVxgN7WEBsIYFljBJnWowhihqYJA58f8kKkmATMJToetsF1iAioCrxuW0BO0gRs0AP k8SMyTuZQRLCAv4S/9uegU1iASr6e+w0O4jNK2AjsetCAzvENnmJ1RsOgNVzCthKzGvdwwoy SELgK6vE4i0TGSGKXCTO/PgJZQtLvDq+BapZRuLy5G4WiIZmRon2GbPYIZweRomtc3ZAPWQt cfj4RbC7mQX4JCZtmw60jgMozivR0SYEUeIhMevjXUaIPycwSlzZ+ot1AqPkAkaGVYziqaXF uempxUZ5qeV6xYm5xaV56XrJ+bmbGIERd/rf8S87GHf9STrEKMDBqMTDmzFJKEaINbGsuDL3 EKMEB7OSCG9Yq3CMEG9KYmVValF+fFFpTmrxIUZpDhYlcd5qhgfRQgLpiSWp2ampBalFMFkm Dk6pBsbU91IH16/8eTLeviz/23aunzu7W0PD6i//vKfc/0T4sfIaL2am9YXFxpvc/5d9cGls YuZXOu67y/tp2STLE4oFW6pu+frLXgsLrpE4F+xxZOXVS9ODRS80brI1db65qqKwJPXvtZeX 9834PInFIGoO1w3JjFtPBRqfv2ztfa2QxDz1DOee5rVKLMUZiYZazEXFiQC/tGYOtAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHJMWRmVeSWpSXmKPExsVy+t/xa7q7JwnHGOz6zWyxccZ6VovTn7ax W5w/v4HdYsb5fUwWa4/cZbc4/Kad1WLG5JdsDuwem1Z1snn0bVnF6PF5k1wAcxSXTUpqTmZZ apG+XQJXxvwf69kLlnBVXDm3mLmB8TRHFyMnh4SAicTGA3tYuhi5OIQEljBK9L27xAjhNDFJ nN74gwmkik3AUKLrbRcbiC0ioCrxuW0BO0gRs0Afk0TH22nMIAlhAV+Jhe2TwBpYgIr+HjvN DmLzCthI7LrQwA6xTl5i9YYDYPWcArYS81r3sILYQkA1vZ8uM09g5FnAyLCKUSS1tDg3PbfY SK84Mbe4NC9dLzk/dxMjMFS2Hfu5ZQdj17vgQ4wCHIxKPLwHpgjFCLEmlhVX5h5ilOBgVhLh DWsVjhHiTUmsrEotyo8vKs1JLT7EKM3BoiTOe96gMkpIID2xJDU7NbUgtQgmy8TBKdXAePCx z5bMewHfZCwvaq61+/ph683+h689VM0vHAuIV9oY/36x2HQpEZ0mec0Cxx9HFZhOfv3g6MNg /s1iV+9WqR228rvv7K0/tPtXheQEQ9Nm6ZnmiuyrQmKz3q+LME7NPRO7fAl3wcPSNb+M/iZV duxfMFVrwtsbDi2CvseXvvs1UfDeSX8lZyWW4oxEQy3mouJEAG3S7oMRAgAA X-CMS-MailID: 20181214112339eucas1p248fb077055355697ef6d1a69732df4cc X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181214112339eucas1p248fb077055355697ef6d1a69732df4cc References: <20181214112325.9551-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org From: Beomho Seo Commit 391f93f2ec9f ("serial: core: Rework hw-assited flow control support") has changed the way the autoCTS mode is handled. According to that change, serial drivers which enable H/W autoCTS mode must set UPSTAT_AUTOCTS to prevent the serial core from inadvertently disabling TX. This patch adds proper handling of UPSTAT_AUTOCTS flag. Signed-off-by: Beomho Seo [mszyprow: rephrased commit message] Signed-off-by: Marek Szyprowski --- drivers/tty/serial/samsung.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1 diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index da1bd4bba8a9..2a49b6d876b8 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -1365,11 +1365,14 @@ static void s3c24xx_serial_set_termios(struct uart_port *port, wr_regl(port, S3C2410_ULCON, ulcon); wr_regl(port, S3C2410_UBRDIV, quot); + port->status &= ~UPSTAT_AUTOCTS; + umcon = rd_regl(port, S3C2410_UMCON); if (termios->c_cflag & CRTSCTS) { umcon |= S3C2410_UMCOM_AFC; /* Disable RTS when RX FIFO contains 63 bytes */ umcon &= ~S3C2412_UMCON_AFC_8; + port->status = UPSTAT_AUTOCTS; } else { umcon &= ~S3C2410_UMCOM_AFC; } From patchwork Fri Dec 14 11:23:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 153818 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1940561ljp; Fri, 14 Dec 2018 03:23:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/XOBKv9ElkgTXjq9LyLrzNAFTaczMgpw0vBUb50bi/IUkW4JNdcwL010ymPnPmk8WQGC5a5 X-Received: by 2002:a63:4611:: with SMTP id t17mr2329371pga.119.1544786623541; Fri, 14 Dec 2018 03:23:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544786623; cv=none; d=google.com; s=arc-20160816; b=l6ePRLt15wCMddMGcTilfEIkOPWrqTicYbDGSpm47Jy8TnNhY2TYgnZjyD7kzY/nAh rgdw5fnU+NV90fFs3NtEw1h5SoMpWnXRhCBll/7r+ZkG9MCwvliBRH8JzoqdkkvwETU0 5zs6rBvHi4zaD/TIFzzcDLPXh0L+gZ1aPQHBM4M3eLjpZ5slIbj1phaluaHahrO8xBGV 5jmOGMC3HeX7lLg/9D4zMe+ZC1NmiDgiACn5Xf7rvKzaiESXUmvvTjWn143WYr4WCu9E wJui2Nw4UXquVS8W3vMtVRw9DvN65XITzVMUrtkzp1qVUyPfIxqk8xmqGwwaQxTXs/1i AnBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=jvAUlilNmzd+AU7UdE4TPhi5W8/jx5JGRVZQCh47OGo=; b=eMnjguDvuLx4MKPbocS4zOk47nrZP9T/E+If4/5I7SkRJkSIQqpBwCcWib2H7UUm9x 3g+jgm3bbk9ymMWeTzlASNyEktvkS3HUQ0u9L/Acl28V5mfZi771dnunmwa0+NTg0Dwg ZIaFjjZBGj/7rq+rSWZCYQ4HPjoJzoY9n5BtlpsDxWQ+zvcY3sUnwDm3LCdr9QDhjGpy sHOoXvkLf7wNHU3duSuvSJUz1E40os8qeQP2pxJDS05XgrBGGPdPMLbOb/SUBs2ajHup EeJl5pcQCwj37lsfGm0/V44Pp+oS+hdIje4WJw1r17McMeH66boSnsRs2kynlLaA72ub pMlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=AO24Tn5y; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b36si4034486pla.354.2018.12.14.03.23.43; Fri, 14 Dec 2018 03:23:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=AO24Tn5y; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728415AbeLNLXm (ORCPT + 3 others); Fri, 14 Dec 2018 06:23:42 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:34808 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728881AbeLNLXm (ORCPT ); Fri, 14 Dec 2018 06:23:42 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181214112340euoutp01437f1cdea9fba3f23f79dcc8deaabbea~wLz9DDxyQ3143431434euoutp01C; Fri, 14 Dec 2018 11:23:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181214112340euoutp01437f1cdea9fba3f23f79dcc8deaabbea~wLz9DDxyQ3143431434euoutp01C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1544786620; bh=jvAUlilNmzd+AU7UdE4TPhi5W8/jx5JGRVZQCh47OGo=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=AO24Tn5yJMBAIjb2tngpV9gJR0mZHFuOoiwb8MEdSfECft4oSd8h1+1Y+x7MD3NPI 0yGwMeYgYr0HsK4B9bZWEWV9H16IBBn/3813E7IJeF81ygjC5Ng8pSCqVzgg3t9YLD NFpUhUsgRdqr/oKkDlVTm+hjAN4TDhG+R7I1zrI8= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181214112340eucas1p2755de2be211aff78f087ea1422a9066e~wLz8anoSx1463214632eucas1p2h; Fri, 14 Dec 2018 11:23:40 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id B9.F5.04441.BB2931C5; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181214112339eucas1p243f3db31e60fd928ea7a3e37b86a5b22~wLz7uJtV71465714657eucas1p2U; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-ce-5c1392bb2a8a Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 6F.1C.04128.BB2931C5; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PJQ00L9B4Z6IX10@eusync4.samsung.com>; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Beomho Seo , Seung-Woo Kim , Sylwester Nawrocki Subject: [PATCH 3/4] tty: serial: samsung: Increase maximum baudrate Date: Fri, 14 Dec 2018 12:23:24 +0100 Message-id: <20181214112325.9551-4-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181214112325.9551-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIIsWRmVeSWpSXmKPExsWy7djP87q7JwnHGKxpsbXYOGM9q8XpT9vY Lc6f38BuMeP8PiaLtUfuslscftPOajFj8ks2B3aPTas62Tz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEro+3BW5aC1RwVTz6uZW9gbGHvYuTgkBAwkTjXJdzFyMUhJLCCUeLwpF+MEM5nRonf Le9Yuxg5wYo+9z5jg0gsY5Q4erYBqqqBSeLA95dgVWwChhJdb7vYQGwRAVWJz20L2EGKmAV6 mCRmTN7JDJIQFnCRONzVBlbEAlS0ZuoFJhCbV8BGYsHGvYwQ6+QlVm84AFbPKWArMa91DyvI IAmBr6wS348+ZYEocpF4c2YGG4QtLPHq+BZ2CFtG4vLkbhaIhmZGifYZs9ghnB5Gia1zdkB1 WEscPn4R7G5mAT6JSdumM0OCg1eio00IosRD4sGD/VB/TmCU+PRyGfMERskFjAyrGMVTS4tz 01OLDfNSy/WKE3OLS/PS9ZLzczcxAiPu9L/jn3Ywfr2UdIhRgINRiYc3Y5JQjBBrYllxZe4h RgkOZiUR3rBW4Rgh3pTEyqrUovz4otKc1OJDjNIcLErivNUMD6KFBNITS1KzU1MLUotgskwc nFINjKLC14TjjrlPci3dzRKRFPXYcvbFjWXBStyZZV5PU6IKJr/Lc7l0QKzizaXXjy1414d/ 953UU+05adrJhbvyRNavWyresKXd/YnW+8rN0XNlxX6EsngvXnb729kDm2rf6y3Y9ujIrXb5 OexqwfJfbdesSn2yRmJXSUrGymqeVWvU9/Qnlrr1/1diKc5INNRiLipOBABH0wGZtAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHJMWRmVeSWpSXmKPExsVy+t/xa7q7JwnHGMy4KW2xccZ6VovTn7ax W5w/v4HdYsb5fUwWa4/cZbc4/Kad1WLG5JdsDuwem1Z1snn0bVnF6PF5k1wAcxSXTUpqTmZZ apG+XQJXRtuDtywFqzkqnnxcy97A2MLexcjJISFgIvG59xlbFyMXh5DAEkaJH4enM0I4TUwS pzf+YAKpYhMwlOh628UGYosIqEp8blvADlLELNDHJNHxdhozSEJYwEXicFcbWBELUNGaqRfA mnkFbCQWbNzLCLFOXmL1hgNg9ZwCthLzWvewgthCQDW9ny4zT2DkWcDIsIpRJLW0ODc9t9hI rzgxt7g0L10vOT93EyMwVLYd+7llB2PXu+BDjAIcjEo8vAemCMUIsSaWFVfmHmKU4GBWEuEN axWOEeJNSaysSi3Kjy8qzUktPsQozcGiJM573qAySkggPbEkNTs1tSC1CCbLxMEp1cDYobz+ XFH9c4PbH39H+PQzbTIIulKbv8r5gdKGLv49theWbFM8K6bH2XvjYqd9ZWhniI6M7T79736n 762ys9A3n9jMd1PznUmmm/nuGxNmRc1Z+GM5y2vhvbanjIsnLapdaXh/b7RJ3QyfHbrf527s rZ/c+UooV+VR8PGQA622u3/9YnuhM6tEiaU4I9FQi7moOBEA6//sdBECAAA= X-CMS-MailID: 20181214112339eucas1p243f3db31e60fd928ea7a3e37b86a5b22 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181214112339eucas1p243f3db31e60fd928ea7a3e37b86a5b22 References: <20181214112325.9551-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org From: Seung-Woo Kim This driver can be used to communicate with Bluetooth chip in high-speed UART mode, so increase the maximum baudrate to 3Mbps. Signed-off-by: Seung-Woo Kim [mszyprow: rephrased commit message] Signed-off-by: Marek Szyprowski --- drivers/tty/serial/samsung.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index 2a49b6d876b8..9fc3559f80d9 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -1287,7 +1287,7 @@ static void s3c24xx_serial_set_termios(struct uart_port *port, * Ask the core to calculate the divisor for us. */ - baud = uart_get_baud_rate(port, termios, old, 0, 115200*8); + baud = uart_get_baud_rate(port, termios, old, 0, 3000000); quot = s3c24xx_serial_getclk(ourport, baud, &clk, &clk_sel); if (baud == 38400 && (port->flags & UPF_SPD_MASK) == UPF_SPD_CUST) quot = port->custom_divisor; From patchwork Fri Dec 14 11:23:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 153817 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1940556ljp; Fri, 14 Dec 2018 03:23:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xgdmdx0w244SPJAtgI/I1FbRSk/hfRKeoCcT03xKaJlEd06l+DhTzb0kAvrG3LYJ7m0z3o X-Received: by 2002:a17:902:1126:: with SMTP id d35mr2335982pla.1.1544786623263; Fri, 14 Dec 2018 03:23:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544786623; cv=none; d=google.com; s=arc-20160816; b=mGQQj6fyQ4eLORhq1O1Iuey4IZwmfChsqhV9IKg8mcFd4XEpmLrASjq2/R5V7dNUqV Fl1ShI6/4l5XAoI0H4UmqFxDAcF98OH/I5BLbN32p4DYk2l4F6J40dNh9w3TS9qFkApI ODRYUH+LOIwheQe40tStdr08QBguD3+KIRNLmEqv1ANEzNi9MZk+gGUHcFZSDSFSv5m3 LcBYjCC1ZmaLojOhP4J7FWNmyD5epaZ/SpK2F83c8UhHZzW0EofE0lq/KkUl4IyU8AJH /UHPzsXIFzRk+qNJwkOcmUPN2UFFZAjlk66To2Glr1aWhzm6r5FIo18dN0CaprYVib1M aKqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=0FWSvMwPOmMdRNz3JtGp6Ji4fysLQt8HrzqwtmH+LV4=; b=JnpxGEuiXxpJQjPPcbv4iVulFDpUs1qip7u941xY+lW3Jzk9jt3I0iIb4tvxI57u84 UFdcgPIGMgjYyphzJVlOeqwMa0pGbpWosU4b4ar/0SHXtsEiM0CvcnBKW+6Oh0C8vWdJ 7AQcR5q+5rKfnT6D/eldzUuq5Np02V+ElJZyMYyob54XPH8xIAg8A3HULYpG6AI8pFPt DlTvgO/N4zQVyu2K0j59Eg+7kCJSC6Qs9vmlo5+APWYYbcTAn7bmgsEWTi3eM9kj6mvU k/XjANsL//XghHpbS9Bxd1ErBMMX7Rs6ViKFRb2PdIB8ru6MZBt3eHuWYsW3liuofOwO pWAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=YkbwXcSD; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b36si4034486pla.354.2018.12.14.03.23.43; Fri, 14 Dec 2018 03:23:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=YkbwXcSD; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727540AbeLNLXm (ORCPT + 3 others); Fri, 14 Dec 2018 06:23:42 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:48930 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729129AbeLNLXm (ORCPT ); Fri, 14 Dec 2018 06:23:42 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181214112341euoutp0275995d338fac3c4a7fec62318f36a039~wLz9WAvgf1524215242euoutp02s; Fri, 14 Dec 2018 11:23:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181214112341euoutp0275995d338fac3c4a7fec62318f36a039~wLz9WAvgf1524215242euoutp02s DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1544786621; bh=0FWSvMwPOmMdRNz3JtGp6Ji4fysLQt8HrzqwtmH+LV4=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=YkbwXcSDj5WB2R3C05628M1tV0vmW2tXKEbQPMt5lCD4L8Hyvm+VudOQ9TljzCWOp Fzd9sUuQX3MbeRJT+yTLsWSud3Jl8iJWzknie870OjIZkY/YN/IzG944yVMMvHFNi+ TsoIQyOYke+BH4qyIrB7wlfpyhJFPonLhmgMm3TQ= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181214112340eucas1p1f134969f46348d723613f382bce7d943~wLz8zgBF82323423234eucas1p1K; Fri, 14 Dec 2018 11:23:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id DB.81.04806.CB2931C5; Fri, 14 Dec 2018 11:23:40 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181214112339eucas1p1638bc5ed680007d1d34123eebdb7073b~wLz8C5EXE1728417284eucas1p1o; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) X-AuditID: cbfec7f5-34dff700000012c6-12-5c1392bcea64 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 8B.87.04284.BB2931C5; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PJQ00L9B4Z6IX10@eusync4.samsung.com>; Fri, 14 Dec 2018 11:23:39 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Beomho Seo , Seung-Woo Kim , Sylwester Nawrocki Subject: [PATCH 4/4] arm64: dts: exynos: Add Bluetooth chip to TM2(e) boards Date: Fri, 14 Dec 2018 12:23:25 +0100 Message-id: <20181214112325.9551-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181214112325.9551-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIIsWRmVeSWpSXmKPExsWy7djPc7p7JgnHGJxsF7XYOGM9q8XpT9vY Lc6f38BuMeP8PiaLtUfuslscftPOajFj8ks2B3aPTas62Tz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEr48Wm04wFTzgqrjzdxdbAuJq9i5GTQ0LARGL3lWdMXYxcHEICKxgl2vZ9Z4FwPjNK 9Dx9zghT9eDeC2aIxDKgxP6/rBBOA5PEge8vWUGq2AQMJbredrGB2CICqhKf2xawgxQxC/Qw ScyYvJMZJCEs4CMxr+EomM0CVLT4zyewQ3gFbCRWT+qFWicvsXrDAbAaTgFbiXmte8C2SQh8 ZZXYOuUeM0SRi8Sxhv9MELawxKvjW6A+kpHo7DjIBNHQzCjRPmMWO4TTwyixdc4ONogqa4nD xy+C3c0swCcxadt0oKkcQHFeiY42IQjTQ+LcZh6INycwSjS9W80+gVFyASPDKkbx1NLi3PTU YuO81HK94sTc4tK8dL3k/NxNjMCIO/3v+NcdjPv+JB1iFOBgVOLhPTFbKEaINbGsuDL3EKME B7OSCG9Yq3CMEG9KYmVValF+fFFpTmrxIUZpDhYlcd5qhgfRQgLpiSWp2ampBalFMFkmDk6p BsYogXohzor5qvPvyDjtunBd7stUlguX9+6J/mQhsqWm3PDeG5cjazoTNzvaX/3ecn+SaHdo 3P2zPrei26xaD0Wksf7/ku/WfCf024L+100zJr/XjBZ6/O1YjN2TZLPgTV9rzMyjNgv8ip4s Zzc398xb17dHr2VqXqybfymJ70nk+ivTlp//4TNPiaU4I9FQi7moOBEARrZ1Y7QCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHJMWRmVeSWpSXmKPExsVy+t/xa7q7JwnHGKw6ZGyxccZ6VovTn7ax W5w/v4HdYsb5fUwWa4/cZbc4/Kad1WLG5JdsDuwem1Z1snn0bVnF6PF5k1wAcxSXTUpqTmZZ apG+XQJXxotNpxkLnnBUXHm6i62BcTV7FyMnh4SAicSDey+Yuxi5OIQEljBKfH1xkA3CaWKS OL3xBxNIFZuAoUTX2y42EFtEQFXic9sCdpAiZoE+JomOt9OYQRLCAj4S8xqOgtksQEWL/3wC W8ErYCOxelIvI8Q6eYnVGw6A1XAK2ErMa93DCmILAdX0frrMPIGRZwEjwypGkdTS4tz03GJD veLE3OLSvHS95PzcTYzAUNl27OfmHYyXNgYfYhTgYFTi4T0wRShGiDWxrLgy9xCjBAezkghv WKtwjBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHe8waVUUIC6YklqdmpqQWpRTBZJg5OqQZGuwnn eFyZljNnTNzMtu1o1rrqC3euuEQ62c3/Z3quhGtvTo3QAZFJfAqfJpyJ8Mrv+Oi7Y/qvR27T e/UmlKSkZ3Jc2jhzWvHdM3Prbd0/xa1rPWC5OUgzUOSUpr+HeKHgh+b5U6ScP29v1b3KZ7Gs YtFrxpOijz5VKadM3rjs7fzwDu91v9/MV2Ipzkg01GIuKk4EANCZt5IRAgAA X-CMS-MailID: 20181214112339eucas1p1638bc5ed680007d1d34123eebdb7073b X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181214112339eucas1p1638bc5ed680007d1d34123eebdb7073b References: <20181214112325.9551-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org TM2(e) boards have a Broadcom Bluetooth chip connected to 3rd UART port. Add a device tree node describing it and its resources (control GPIO lines and clock). Signed-off-by: Marek Szyprowski --- .../boot/dts/exynos/exynos5433-tm2-common.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index f3ed4c078ba5..d88e2f0e179a 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -1202,6 +1202,20 @@ status = "okay"; }; +&serial_3 { + status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + max-speed = <3000000>; + shutdown-gpios = <&gpd4 0 GPIO_ACTIVE_HIGH>; + device-wakeup-gpios = <&gpr3 7 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpa2 2 GPIO_ACTIVE_HIGH>; + clocks = <&s2mps13_osc S2MPS11_CLK_BT>; + clock-names = "extclk"; + }; +}; + &spi_1 { cs-gpios = <&gpd6 3 GPIO_ACTIVE_HIGH>; status = "okay";