From patchwork Wed Mar 27 00:18:37 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: 10872333 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 440B913B5 for ; Wed, 27 Mar 2019 00:20:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B77928D54 for ; Wed, 27 Mar 2019 00:20:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F93C28D5E; Wed, 27 Mar 2019 00:20:45 +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 CBBCB28D54 for ; Wed, 27 Mar 2019 00:20:44 +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=/FteT0PnDNwqbwUEcNQpRvagT6NzCbtj+5b5ydtjgAU=; b=NsPMHDyLijb2Ru NGTUm3SAPbG8O+Uo2mUscHw8kWeqbeXyjRMGW6ulRZyXFaLP9leiIdTdeVsRj/Z5ul3c0WnknXBXh uwfhOJGGWzeKFuwCyc0+afPFRZRoECq/T/BgCj03uEoXxQFNuPk7lnGC84WJ5+TdfNuVtjQk6/4Cw BS68QfxcLOcjHAdReoAJk2jpYY/l9LoLsLhDm0dlnT6VoXP4iEFFRB/oiPycIGEDHuDWGREKoJkbt D1nMG+yRUz2ZDGsWqTOp7RdmuMqtMUJ4LFg/0lWMMsgyH5TqLjLrkbDPCoEPqS3lFWbjMwHnucRAD NYodbSl1nJKPIK9QTMnw==; 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 1h8wJ1-0005eU-F3; Wed, 27 Mar 2019 00:20:35 +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 1h8wHV-0002oG-VN for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 00:19:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1553645935; bh=hix23JteI8Gnawnkk7CYam4uCur8J7Owg3iSq2HxzIA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pmBv5ZmVMA7kiI5p7tz9w4OXo9RlP+/ytJFPEfwQwWXSqJp5ZSI5Xr2aRs1ZPDhl2 DopIrtI5bv4FhwXhUeFDeqieRH9BjW/Pm2VoAu2qXsp/LtEhgSO/4BleubOIQJg5n6 GAr4ZVaJm/HdwWLR9fQ3efbyfUREIkpxyGpf56Ag= 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 1/7] ARM: dts: sun8i: tbs-a711: Enable bluetooth Date: Wed, 27 Mar 2019 01:18:37 +0100 Message-Id: <20190327001843.2420-2-megous@megous.com> In-Reply-To: <20190327001843.2420-1-megous@megous.com> References: <20190327001843.2420-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_171902_159010_8A506E5F X-CRM114-Status: UNSURE ( 8.84 ) 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 has a bcm20702a1 bluetooth chip (part of AP6210 WiFi/BT module) connected to UART1. Add node for the blutooth chip. The driver needs brcm/BCM20702A1.hcd firmware file to run. 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..6aae70c89a1e 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -406,7 +406,20 @@ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts; status = "okay"; + + bluetooth { + compatible = "brcm,bcm20702a1"; + clocks = <&ac100_rtc 1>; + clock-names = "lpo"; + vbat-supply = <®_vbat>; + vddio-supply = <®_dldo1>; + device-wakeup-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */ + host-wakeup-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */ + shutdown-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ + max-speed = <1500000>; + }; }; &usb_otg { From patchwork Wed Mar 27 00:18:38 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: 10872331 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 BDF541669 for ; Wed, 27 Mar 2019 00:20:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5869287BB for ; Wed, 27 Mar 2019 00:20:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9963B28C10; Wed, 27 Mar 2019 00:20:30 +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 53A63287BB for ; Wed, 27 Mar 2019 00:20:30 +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=bi3WXizgFV3WU0qWzJW3q5XK09GWasnRSaNZQ26m6O4=; b=quJ0Hm4A7u0NQw mIYZe0wj1BeGkjmowuedcZsw/MWE3oS98PNQSXoBaJsR1aHr6CghmZEeA08xAWt3f7sPc/YC4+DAM Pi5eVQ3HlwPQqJA9vNGYAWoZubQPumR45PUhPlhNVNy+cYvMM2zFpF1GTm1pdCg1yhrhjAVONZkbb ygxteRGUOLfdU1QHvKrWXuTnant7SiYZHDAGQas7KS0z517QlBHb+AdIn+RhDT0F3GGEkF4VoG+ha 2Qr5eFhOZcHmYwBzMeM91fG0xFreY8qn2omHhXBfhw++lDGqocit6ykU3D3xry0ItpcJGsS70PKK8 A7qP1Ncx8656pS6aKYSw==; 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 1h8wIq-0005P7-Fs; Wed, 27 Mar 2019 00:20:24 +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 1h8wHX-0002pD-Qi for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 00:19:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1553645935; bh=e0nnK3rTomZ/ylsbcx/9arI5/NLZs1j94ZDpFtu3D0I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fYNU1kDGlQjGU/t9NjO/hEQoxy/v5tKR7aYDUKpUoMcM3lHzZrVXsdu55Ha9WBO9P sfSVQZNX0cRFzTPbJI8SALaFZfrLTHrRsVes5rEmhnrZoHS7jTdnRuMd9emUaLeOSH 9po1tgXfC/tlKwUFBtQoZ9i5J8zHTob5+UFyWde0= 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 2/7] ARM: dts: sun8i: tbs-a711: Add node for BMA250 accelerometer Date: Wed, 27 Mar 2019 01:18:38 +0100 Message-Id: <20190327001843.2420-3-megous@megous.com> In-Reply-To: <20190327001843.2420-1-megous@megous.com> References: <20190327001843.2420-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_171904_145877_7784A4B0 X-CRM114-Status: UNSURE ( 8.91 ) 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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts index 6aae70c89a1e..347fc0c31fa4 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -156,6 +156,21 @@ status = "okay"; }; +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; + clock-frequency = <400000>; + status = "okay"; + + /* Accelerometer */ + bma250@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 Wed Mar 27 00:18:39 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: 10872327 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 47108186E for ; Wed, 27 Mar 2019 00:20:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DB82287BB for ; Wed, 27 Mar 2019 00:20:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2152F28C10; Wed, 27 Mar 2019 00:20:01 +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 9BFA5287BB for ; Wed, 27 Mar 2019 00:20:00 +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=MCj4VAvEYYtweWustdN1tyuyocnxzaCih3Cuk2h1CQw=; b=aUCY8uej73tcji BQrigDs8wAnVFivl14rXPmk1+mPeY3+PqUS+/m7RiMW2lLsMzapyi/L8SOmuVBYMPoi/Hmi35OUfQ czDS9Y7e1swbS6m8g93h+tMtOFmkWdVD7SBMGMnvH6VEStHTHgeEDCtyi8GPtOdVNXDml3EMIRZKz MDWh+DIxNRt4h28Rll3RHyE92ewAx0Mi+/oWsaOkP6O4BTLBC+niuBae3umdA2A1T+IIxW2VaL8GS kx+Q67a0bUdTjy6D8o2crBAqE0P0utGg4EWyUfQjPREA4hL9gn5AQsbDTlIL6kWomNu49NiH/kziS NgfRcNvc0MK+k31XHYlA==; 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 1h8wIP-0003lZ-PE; Wed, 27 Mar 2019 00:19:57 +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 1h8wHU-0002ny-MS for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 00:19:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1553645935; bh=/nOga8bOYXjgFoiwANB3x24IlAmM6uUBGPD5umeU/zk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aLYCmoev6V5jEI/5KnXTFqW/BqHzLiFf14MwjFdAhSsbwl9urNkN7Ym+m6JZlkiJ1 L8cfVAS4erhtjT1XDXrTKXxukWmsKQYRZD60wLHwCPKakAStZVBi5Dl1mDHIulj/Mx s3397J5enIC0BGfZdMz/x8P7EfU/KCzEo5h+NVY8= 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 3/7] ARM: dts: sun8i: a83t: Add nodes for UART2-UART4 Date: Wed, 27 Mar 2019 01:18:39 +0100 Message-Id: <20190327001843.2420-4-megous@megous.com> In-Reply-To: <20190327001843.2420-1-megous@megous.com> References: <20190327001843.2420-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_171901_108762_60A8D682 X-CRM114-Status: UNSURE ( 7.79 ) 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 A83T has 5 UART interfaces, but only the first two have their nodes defined in sun8i-a83t.dtsi. Add nodes for the missing interfaces. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t.dtsi | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index fcb7ef5ce2df..e5c39eef1c29 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -873,6 +873,39 @@ status = "disabled"; }; + uart2: serial@1c28800 { + compatible = "snps,dw-apb-uart"; + reg = <0x01c28800 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&ccu CLK_BUS_UART2>; + resets = <&ccu RST_BUS_UART2>; + status = "disabled"; + }; + + uart3: serial@1c28c00 { + compatible = "snps,dw-apb-uart"; + reg = <0x01c28c00 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&ccu CLK_BUS_UART3>; + resets = <&ccu RST_BUS_UART3>; + status = "disabled"; + }; + + uart4: serial@1c29000 { + compatible = "snps,dw-apb-uart"; + reg = <0x01c29000 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&ccu CLK_BUS_UART4>; + resets = <&ccu RST_BUS_UART4>; + status = "disabled"; + }; + i2c0: i2c@1c2ac00 { compatible = "allwinner,sun8i-a83t-i2c", "allwinner,sun6i-a31-i2c"; From patchwork Wed Mar 27 00:18:40 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: 10872323 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 6B28D922 for ; Wed, 27 Mar 2019 00:19:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E386285DD for ; Wed, 27 Mar 2019 00:19:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D28328705; Wed, 27 Mar 2019 00:19:16 +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 90F74285DD for ; Wed, 27 Mar 2019 00:19:15 +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=z7Hd9CzDiSGT77wTo/ZtYXCWlDn7DkHcy/LZLDxt5NQ=; b=mg8lL4zZyUHAvS IZDhErobKmpl3Eb0PVuIH8CsHVYwmRpmkLvkaL6QNgGb0JI9YfhzisavONxseMO4kS7f6oDZ9kEM1 mQhv0Zm6wog+/0hVB/JYazvq1UtjLKdUsZNYDSnG4aNfZpfuszHbwcal5W0ER+GLFdLOOZUNjQmeA oWtjuMR3GL/uOJJZNl+mtVKCcm5vEI0VQnzsu/wkKpRTeNhOvtwvpFrnmgCDA1l6hVFzLcYT6Whq2 1QerkghK22AjrSOgAAcGK95wOUL1CewVYKy/dbl9Y/4n1ksWsLG64BfObrqx7TwoRFVZmgwHPUPpL 0AsT7AtsoldAPMkaK5Rw==; 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 1h8wHg-0002y5-6A; Wed, 27 Mar 2019 00:19:12 +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 1h8wHU-0002o4-Ru for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 00:19:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1553645935; bh=E8uWpOFzEjJM8nhIfTxupeHnnF3WRKAcFA/nvriz9Xc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y0Bqi4xfon/fAYsTeu7GTYJ6214T+D4w+fnTGBUzsF4PJAblbHYbxnrvBQmgHlqB+ W3oKmfGhTjDwZZQDpm3csUHwlvK9YudY7fLAoiL5X+PJnRSD2+BV03wTdL0NChoKZm d97ebePFYlGVLORkV9mBhcFpXf/4yxO6fKjKvx00= 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 4/7] ARM: dts: sun8i: a83t: Add UART2 PB pins Date: Wed, 27 Mar 2019 01:18:40 +0100 Message-Id: <20190327001843.2420-5-megous@megous.com> In-Reply-To: <20190327001843.2420-1-megous@megous.com> References: <20190327001843.2420-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_171901_108771_6C67CD74 X-CRM114-Status: UNSURE ( 7.29 ) 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index e5c39eef1c29..921cfb30ab46 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -768,6 +768,11 @@ pins = "PG8", "PG9"; function = "uart1"; }; + + uart2_pb_pins: uart2-pb-pins { + pins = "PB0", "PB1"; + function = "uart2"; + }; }; timer@1c20c00 { From patchwork Wed Mar 27 00:18:41 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: 10872325 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 EEDB41708 for ; Wed, 27 Mar 2019 00:19:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D300B287BB for ; Wed, 27 Mar 2019 00:19:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C207328C0C; Wed, 27 Mar 2019 00:19:43 +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 7040B287BB for ; Wed, 27 Mar 2019 00:19:43 +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=gpNI4Vbbr3Zhum Nah9PvHWaKJ3Cm8Xduyp205eLvOB3tRg7Mmvmwn5Pn/YMX6v9hRC69kNWSU+ktYBCbqHIYNQ1/Yf0 RjyKiDVfxeM5rNCBUjQ/mA6TgXiXy24Fikr26GTRJDnw8n2dWTX7rbfmf80vbehIHCdGshRQ7bZcC uftsMi/XXY4HpfSNSbhOE8rSFI/WXQMc6pIbvB7Di8EJw7ZC1C09eO2RGZ+3MYFvoAq0ugm9hzAnE pBZfOEW7KTOnbDmk1ZNyWr0/fSXkUy+pGzuSZzcXV0XoydUqvkBbX2xprK7ipYEhJIri7GKF9Ol8h HpSL0b0PB2UJ9338/bpg==; 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 1h8wI7-0003UP-Qa; Wed, 27 Mar 2019 00:19:39 +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 1h8wHX-0002p7-C2 for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 00:19:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1553645935; bh=3YIZXT9GyH/9ALbi8NHunTbQp5Nx8/5Bd1EDvonk1yI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IZJySXYWqzn0BpBmntjpUGxmrvYYF662KhzxL4Uw9d1GIBkU9tn/mqy/kFGMwsQyJ TcyOxdGBPjd+/eGjuWMg29gNzt4iHkrdSocQp8+XMyOVq5zcQ4jc1Pushv5jdw02wC nMVGW2SqAX2MHA4h8upE0U3II19yZzk53R2YUdo0= 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 5/7] gnss: Add u-blox,neo-6m compatible Date: Wed, 27 Mar 2019 01:18:41 +0100 Message-Id: <20190327001843.2420-6-megous@megous.com> In-Reply-To: <20190327001843.2420-1-megous@megous.com> References: <20190327001843.2420-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_171903_572319_FF3F93FF X-CRM114-Status: UNSURE ( 8.18 ) 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 Wed Mar 27 00:18:42 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: 10872335 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 24E8813B5 for ; Wed, 27 Mar 2019 00:20:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0604C28D54 for ; Wed, 27 Mar 2019 00:20:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE4A328D5E; Wed, 27 Mar 2019 00:20:50 +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 A72EF28D54 for ; Wed, 27 Mar 2019 00:20:50 +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=lma9mHng8asQPI pQPbXDgJi/vGJLgjryIzj+PQJBbTK6tqc+YlG74N81VcVusrAkZrBZ3uxyP+YgaaybtiXukjjm2W+ y3C7WJwZmzyOJehIcN7D5YkCLN0YhFd6X/tcMh8LihonXFtUicHxwXKGWuzGSp6xFB/kkPw8a3lQk atGUB7lef8Cbxe6Ksw5DO0Gwsw2Li6nxrRcoSaLkrhMTRLVUgyG3ZSzoZTuQV+klYZ50kXPZFtR6w +bH7AhgVjtyyNrE4fYtw6NbBHlQ3AW76tFDjhbakuYsAw3HXYoEQzfpsdc+ArdQATGFKx5U2amP7Z rlZ1Prlr6H0mgT55B9wA==; 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 1h8wJB-0005rv-6v; Wed, 27 Mar 2019 00:20:45 +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 1h8wHX-0002p6-9n for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 00:19:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1553645936; bh=UzU+qsNACtfxcYu/73bvogl1+uKb4UDhIEXNrk+9P9U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gRH4vPr/SU/IcJ6p/gDJrwcDsUfdZW9C8p9BARKASolUnGWiefwuJBu3wxpKnaBov Gibb7/R02rM5KnhcBd5BCv6QZM/w5/akd3TEDua8cQn7kd/s0FXPeRJRNs8bBAVH7A eIVbfxfwHynecSb8Mj1H0LnuQi139D8FsY+xlM8Q= 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 6/7] dt-bindings: gnss: Add u-blox,neo-6m compatible Date: Wed, 27 Mar 2019 01:18:42 +0100 Message-Id: <20190327001843.2420-7-megous@megous.com> In-Reply-To: <20190327001843.2420-1-megous@megous.com> References: <20190327001843.2420-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_171903_492953_09496142 X-CRM114-Status: UNSURE ( 6.93 ) 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 Wed Mar 27 00:18:43 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: 10872329 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 2EA7E1669 for ; Wed, 27 Mar 2019 00:20:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11A70287BB for ; Wed, 27 Mar 2019 00:20:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0069F28C14; Wed, 27 Mar 2019 00:20:25 +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 8DBC6287BB for ; Wed, 27 Mar 2019 00:20:25 +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=imT3F/XQkCioi/q4qDqlaNIswhKJHCwLxArYqss7QuY=; b=lvTTDaKG8WiaUc JR84gyqPtlndjH0xxq1D4Od5D7Oece/u2AhJLGQZJkbhyPIp1itQSFTuF4VrBizeZPm9UsX2zHQQs wYvdb5J+lnoa2chQP12PhkWXqERaebGRgqqUxcco11t1P7m+NkSHNfbkjQRzSTLyp/8fWBd4g2sA8 ppinToDB4JIE2A+VqFo3pNIazwbNlCEemGtGsHOOx21NNzS7hIdgyJ2PlX4k7LSgtfGAwBGxqeHpG 1j3NesuKOzHgDR9C8RN1dnsiraU7TNXBp14uCN2RqekK9GZ1um5ke9dShmJUCWVXDivCv8yPsuei0 PjpdX+1lKq89asCY8QQg==; 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 1h8wId-0004LT-0P; Wed, 27 Mar 2019 00:20:11 +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 1h8wHX-0002pE-Uv for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 00:19:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1553645936; bh=ssSXd7+PNEzjyd8ROSpyiTVASiF6qcXHM3EkfZjFTjA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jvQ4WquIZXqo6TUZoICIs6JgkcaMt065YrKIkytcBAvCnz1WZgDFaj5Z+UWTMruNT xAPQwa+etxyIzJlnPOXHNKQ8ms//MppRc1KK8jjOqaz3C4eQuP5kIVhEmErZV1M2gD RA8WS8qfRpo1twklVa78E7hDZnltxAEKd29zCTPc= 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 7/7] ARM: dts: sun8i: tbs-a711: Enable UART2 (for NEO-6M GPS module) Date: Wed, 27 Mar 2019 01:18:43 +0100 Message-Id: <20190327001843.2420-8-megous@megous.com> In-Reply-To: <20190327001843.2420-1-megous@megous.com> References: <20190327001843.2420-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_171904_278132_A9A77687 X-CRM114-Status: UNSURE ( 8.18 ) 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 347fc0c31fa4..f9e7f5d3eff5 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"; @@ -437,6 +444,20 @@ }; }; +&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";