From patchwork Mon Apr 1 11:56:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 10879787 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0C31314DE for ; Mon, 1 Apr 2019 11:57:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF9A328827 for ; Mon, 1 Apr 2019 11:57:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDCDC28833; Mon, 1 Apr 2019 11:57:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=2.0 tests=BAYES_00,DKIM_ADSP_DISCARD, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9119F28827 for ; Mon, 1 Apr 2019 11:57:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pBuUf9w5977HAy38P1XgYXC3vG1i0FX0Uekx7XLqBUc=; b=H+cDTS+FhJyzJf SjRFe5N6E4idlSbcveW1qvzRt8mx3Y4cLSbrNQuAz0W5rNle45MOW18PfnD0x87r3qRVX6kpJ3cJd Fy9yYd4/Fjjc6NMbSXuzpWpnGzPHIXpRgczTr2qWUzE4frjKHA9piQPOV4ILlqOxQfsFGUmx9OH8s Pa4RiW2dihIyNX40eag8yv/lPh4lI9eLWSiImoptobVJb3NDnQrmj1DKHdOtSGaqkix3mij0douYT k6gTRAG1A6wjaT5cwkq4zmK8Vpcl+R6J8350HGcPc/BzWDicF835/AFy1PUsBIXZct/D7sAaJEI4L wg9lc+5ulsXyt1BvkX/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAvZ0-00030Z-Sn; Mon, 01 Apr 2019 11:57:18 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAvY6-0001tX-6Z for linux-arm-kernel@lists.infradead.org; Mon, 01 Apr 2019 11:56:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1554119779; bh=xsDRRopunoJOnvYG1WzHSSCPeJDvYoOT7KX/78WCQRc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RHr+r7m5OJVShrRXZn9+dKGcPPG1kUnyr+2nN+1lbdq87p+Wg+gV2g6npRM7nrri9 TpTHs3f9vSlpBpRheDzJjnib+pg8eZlbNcc+cZCtye9we94w6NAiOr3RkOgkn+HRDm CNKoIjaEDkgm94CyEYZ3lmkTQPpKj8lPvp4j0+wM= From: megous@megous.com To: maxime.ripard@free-electrons.com, wens@csie.org, robh@kernel.org, johan@kernel.org, mark.rutland@arm.com Subject: [PATCH v2 1/5] ARM: dts: sun8i: tbs-a711: Add node for BMA250 accelerometer Date: Mon, 1 Apr 2019 13:56:12 +0200 Message-Id: <20190401115616.21337-2-megous@megous.com> In-Reply-To: <20190401115616.21337-1-megous@megous.com> References: <20190401115616.21337-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190401_045622_404698_8F33ECC4 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ondrej Jirman , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ondrej Jirman A711 tablet has BMA250 accelerometer connected to I2C1 bus. Enable both the I2C1 bus and add the accelerometer device to it. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts index 1e840ab5a541..d70fe04b66f0 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -156,6 +156,19 @@ status = "okay"; }; +&i2c1 { + clock-frequency = <400000>; + status = "okay"; + + /* Accelerometer */ + accelerometer@18 { + compatible = "bosch,bma250"; + reg = <0x18>; + interrupt-parent = <&pio>; + interrupts = <7 10 IRQ_TYPE_EDGE_RISING>; /* PH10 / EINT10 */ + }; +}; + &mmc0 { vmmc-supply = <®_dcdc1>; pinctrl-names = "default"; From patchwork Mon Apr 1 11:56:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 10879783 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D9AED1575 for ; Mon, 1 Apr 2019 11:56:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDC7B28803 for ; Mon, 1 Apr 2019 11:56:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B1DE82879C; Mon, 1 Apr 2019 11:56:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=2.0 tests=BAYES_00,DKIM_ADSP_DISCARD, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 763BD287B7 for ; Mon, 1 Apr 2019 11:56:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t0BKvLGcE8cQuJCsu9mwRBCdVRdh9lU8hZCJxj1dbk4=; b=FVPGZndI+4Sf57 i18TPmesyMKRxpD5MT06VwZYem0lECbidS3O8kch/nWi39E7esLhcKn0Ry3Gp2GLiV54h0htdxI3T X8KhoZfF/woYL315kqKK7UjBVm+ESNc7WNFu8c8n3crQL7J1WtjnBVheF4ZDqOekqkV4J3NFRFSHW 9+swPqWrz1SJtfXSyuMeFjZbL25L9cCdP5UMPokNJ5Cdb1dWwHZw7Fi1Dq3uhiGf8Oy1+cK2XerPh o1svpBOi5CpM6CrK9d1/CpHjoxOyjG0XnboaQB9tH2Zia3UUHMBd8eaM6rtoOK0AiANSSzZKbiCgq QFLYYrvfJQ07roO8wNtw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAvYY-0002Py-4M; Mon, 01 Apr 2019 11:56:50 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAvY6-0001tY-6Z for linux-arm-kernel@lists.infradead.org; Mon, 01 Apr 2019 11:56:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1554119780; bh=h7WWXjDTQhcdYdV4DjZ7htty8GUP8qIjlco+q4zG0wQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JM+1QK0BZKbhUQGq+fEMWGoQvL1fEsMfB0cBqFkcgXm1pKm0lT6q3N8t5xA6VWeFG 1idMBBGW8qf2x+fcpyr6+NFYTDPj+znJOVXsL2hXQ8IuxrJLnnX6y/CJCwiMw2Q/H+ +deg+MINfR/KidlMBRzjiNHnifgTFXjMV5QjvhKw= From: megous@megous.com To: maxime.ripard@free-electrons.com, wens@csie.org, robh@kernel.org, johan@kernel.org, mark.rutland@arm.com Subject: [PATCH v2 2/5] ARM: dts: sun8i: a83t: Add UART2 PB pins Date: Mon, 1 Apr 2019 13:56:13 +0200 Message-Id: <20190401115616.21337-3-megous@megous.com> In-Reply-To: <20190401115616.21337-1-megous@megous.com> References: <20190401115616.21337-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190401_045622_407163_6CD7D3BB X-CRM114-Status: UNSURE ( 7.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ondrej Jirman , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ondrej Jirman Add pin definitions for UART2 PB pins. These are used on TBS-A711 tablet. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index fcb7ef5ce2df..0176049d9815 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -768,6 +768,12 @@ pins = "PG8", "PG9"; function = "uart1"; }; + + /omit-if-no-ref/ + uart2_pb_pins: uart2-pb-pins { + pins = "PB0", "PB1"; + function = "uart2"; + }; }; timer@1c20c00 { From patchwork Mon Apr 1 11:56:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 10879781 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EB09314DE for ; Mon, 1 Apr 2019 11:56:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD50428797 for ; Mon, 1 Apr 2019 11:56:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C19A41FF82; Mon, 1 Apr 2019 11:56:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=2.0 tests=BAYES_00,DKIM_ADSP_DISCARD, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5D4DB287FE for ; Mon, 1 Apr 2019 11:56:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ui9/Cua7bfYUyoJQQ/vm8N4niDuA7uXcozvuTFEXr10=; b=Gt+PPjgkH4Wo5a qzoyn2ZaOpFai9NiibqppIqHKcjcQJqLKp+h6x7UL7YokQRAHk0MegF1EoN5YjqNyIy8WjqCf13h2 fkULrZu6ILRIIJ2BluU3c6I1FFEu2PGRIOjAubBgaQGEYnGc5sAcPlXmY8gadXLh+ikJXQ1Eu8yDc JWctKnZyl4dny+retf3z/S6ZE61PK0659UgpTHjv6OvgnlFQ646q2SqH3VLlBB/Or/biJwDUOf/iE 4/O0TvpSgB2WS7l1oGty0WHUglA1b+HEuicdDApp8NXM6O/nMX2d8ry2tk67Q8+PW51soOJ1WLWO1 4vboYxjb18ESY9i/Tq0w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAvYF-000233-OL; Mon, 01 Apr 2019 11:56:31 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAvY6-0001tZ-6W for linux-arm-kernel@lists.infradead.org; Mon, 01 Apr 2019 11:56:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1554119780; bh=3YIZXT9GyH/9ALbi8NHunTbQp5Nx8/5Bd1EDvonk1yI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=emTFDqejVR4OOi47teowr3WeTVrmJEg+wcACIJVmO2evs6KMJiY+BU9VNTbAGexxA xPLMeeaU+HspmOJ2RHNHqi3zGgKf4GidmszjM/SITPeYFcu0uU4vnsm50SoZkdQZ+k 4LqyLmKvR1FSmBlwdSnl53kh2/W5eZW6d92/dmHI= From: megous@megous.com To: maxime.ripard@free-electrons.com, wens@csie.org, robh@kernel.org, johan@kernel.org, mark.rutland@arm.com Subject: [PATCH v2 3/5] gnss: Add u-blox,neo-6m compatible Date: Mon, 1 Apr 2019 13:56:14 +0200 Message-Id: <20190401115616.21337-4-megous@megous.com> In-Reply-To: <20190401115616.21337-1-megous@megous.com> References: <20190401115616.21337-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190401_045622_398824_4F09F324 X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ondrej Jirman , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ondrej Jirman Add compatible for u-blox NEO-6M GPS module. Signed-off-by: Ondrej Jirman --- drivers/gnss/ubx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gnss/ubx.c b/drivers/gnss/ubx.c index 12568aebb7f6..1ada2fad1d4e 100644 --- a/drivers/gnss/ubx.c +++ b/drivers/gnss/ubx.c @@ -132,6 +132,7 @@ static void ubx_remove(struct serdev_device *serdev) static const struct of_device_id ubx_of_match[] = { { .compatible = "u-blox,neo-8" }, { .compatible = "u-blox,neo-m8" }, + { .compatible = "u-blox,neo-6m" }, {}, }; MODULE_DEVICE_TABLE(of, ubx_of_match); From patchwork Mon Apr 1 11:56:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 10879777 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 54B3E14DE for ; Mon, 1 Apr 2019 11:56:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35438287B4 for ; Mon, 1 Apr 2019 11:56:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 338D8287FA; Mon, 1 Apr 2019 11:56:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=2.0 tests=BAYES_00,DKIM_ADSP_DISCARD, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E94EF287FE for ; Mon, 1 Apr 2019 11:56:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zBMyyQYf3CcMTspzX93N+aWy7pZQTRs65IZJuikG4MU=; b=bzapHvyAiSbSUN IZ7auYD3FdBz8Dt3u9XlaT5GTG8INoYdIygHMsFFfolkMav2RuA6CqpP+S2gn0AG+kaz9QECVs2uX +EZt6aL6KGUgXA6qaEUPT2+tgrZJdhutQXbHQ95kpL09ztKL6rN1ZthFUnQvajsts58vxQLYMcSNJ T85sMoAs8IlWtaDfkD3puKc9ok6ZhA3LAYRnwEudC+sMzysODwEhsV4YZlHqnHE4BqTI7Qm0bzeU7 ryl6mhi2OjqRtwHISVu7o959fyLaStyy3rBTNG26Cicl7Xq/6EX2qFqyt6JHY27XnymQl3rkIqbHp nUp8gx0LHi4wRLTYGdCw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAvY9-0001v8-Rw; Mon, 01 Apr 2019 11:56:25 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAvY6-0001ta-6X for linux-arm-kernel@lists.infradead.org; Mon, 01 Apr 2019 11:56:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1554119780; bh=UzU+qsNACtfxcYu/73bvogl1+uKb4UDhIEXNrk+9P9U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LqUspOxqbbnBdGmBafSPr/+6oLO93uvcI6aTFFFfsf7PjEZ0M3kU4fY1ADHXmykD0 YTS3v+BQVQ7fsfuYtnwksobYJE7xsEa4n/8NJltQHtctHK+d14J1HCej6XA+Kk+NNt s/D2VeGDz9bPX+EFWV9CoAPsQco5H3K0FKx+WAZ0= From: megous@megous.com To: maxime.ripard@free-electrons.com, wens@csie.org, robh@kernel.org, johan@kernel.org, mark.rutland@arm.com Subject: [PATCH v2 4/5] dt-bindings: gnss: Add u-blox,neo-6m compatible Date: Mon, 1 Apr 2019 13:56:15 +0200 Message-Id: <20190401115616.21337-5-megous@megous.com> In-Reply-To: <20190401115616.21337-1-megous@megous.com> References: <20190401115616.21337-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190401_045622_402031_0041EC7F X-CRM114-Status: UNSURE ( 6.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ondrej Jirman , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ondrej Jirman Add compatible for u-blox NEO-6M GPS module. Signed-off-by: Ondrej Jirman Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/gnss/u-blox.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gnss/u-blox.txt b/Documentation/devicetree/bindings/gnss/u-blox.txt index e475659cb85f..7cdefd058fe0 100644 --- a/Documentation/devicetree/bindings/gnss/u-blox.txt +++ b/Documentation/devicetree/bindings/gnss/u-blox.txt @@ -9,6 +9,7 @@ Required properties: - compatible : Must be one of + "u-blox,neo-6m" "u-blox,neo-8" "u-blox,neo-m8" From patchwork Mon Apr 1 11:56:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 10879791 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 356811575 for ; Mon, 1 Apr 2019 11:57:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16CF12870B for ; Mon, 1 Apr 2019 11:57:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0ADE728803; Mon, 1 Apr 2019 11:57:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=2.0 tests=BAYES_00,DKIM_ADSP_DISCARD, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9835128806 for ; Mon, 1 Apr 2019 11:57:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GpJ3D0lbViDOM0our1tjhoC+Pk/80RUREQ1/MPLVsy8=; b=MlwCAEt0MSUy7f YbV+kGxyFot+xayelok2GlzWxsPhboMw84rZMnbhetOP+LFmL4aE945ifCV+7xU6cf6Jg8JZ8z/H2 cjrgXSDaY3rLmmTeEDP5CXgKONBfJqhI4yuv5Y9YnoZJx3+//6vvU6vAn1GxyXJBANxrtXVDHaIuC y1cP2Yyz/CPgvLxNHHYfmFELw0yOjUvxmObK1EpO91nkzueLLN6uTNXgWjjLp3j99/7xqYqJVKdLs KfG6yABKl7Wcrg6JM5Xc3/FYMntV8nvn4pGs6hnb9dFcnvLt3RQJUTh3bw7jIHS8t415Gi/0M2SYi mZFGe0VdeaDwuq3EFnHw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAvZD-0003If-Az; Mon, 01 Apr 2019 11:57:31 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAvY8-0001ug-SW for linux-arm-kernel@lists.infradead.org; Mon, 01 Apr 2019 11:56:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1554119780; bh=hhF1qepjMux1hFRYfmsYEogKzg6tvv/0wEv22DWszBY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pUZFrc1u8SJBnT84ySmexh3x5zZChB9nRS5LsNUrIO1q/L8EjMw8AZUo8GaNR+PRY OJ4k+3G28gu4SMBuWNFDCbjzOKh45EukN2I4DdeR5fioq75vYJlLgq9Zuwxkm7YkM7 pcqqnYJ+6l237El4xl0z8Y/VdoWycqNTG9uGCOIs= From: megous@megous.com To: maxime.ripard@free-electrons.com, wens@csie.org, robh@kernel.org, johan@kernel.org, mark.rutland@arm.com Subject: [PATCH v2 5/5] ARM: dts: sun8i: tbs-a711: Enable UART2 (for NEO-6M GPS module) Date: Mon, 1 Apr 2019 13:56:16 +0200 Message-Id: <20190401115616.21337-6-megous@megous.com> In-Reply-To: <20190401115616.21337-1-megous@megous.com> References: <20190401115616.21337-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190401_045625_072535_462A9A98 X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ondrej Jirman , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ondrej Jirman TBS A711 tablet contains u-blox NEO-6M module connected to UART2. Enable UART2 to gain access to the module from userspace. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts index d70fe04b66f0..fd170bc45927 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -98,6 +98,13 @@ }; }; + reg_gps: reg-gps { + compatible = "regulator-fixed"; + regulator-name = "gps"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + }; + reg_vbat: reg-vbat { compatible = "regulator-fixed"; regulator-name = "vbat"; @@ -422,6 +429,20 @@ status = "okay"; }; +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pb_pins>; + status = "okay"; + + gnss { + compatible = "u-blox,neo-6m"; + + v-bckp-supply = <®_rtc_ldo>; + vcc-supply = <®_gps>; + current-speed = <9600>; + }; +}; + &usb_otg { dr_mode = "otg"; status = "okay";