From patchwork Mon Jun 3 01:04:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Masney X-Patchwork-Id: 10972087 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 B30AB13AD for ; Mon, 3 Jun 2019 01:05:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0F1626255 for ; Mon, 3 Jun 2019 01:05:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94F1527FA8; Mon, 3 Jun 2019 01:05: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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable 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 3923A26255 for ; Mon, 3 Jun 2019 01:05: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: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:In-Reply-To:References: List-Owner; bh=apUGU4jIRecJxRPFpZ5vUQL5s1+M5DbThfKT0Ej8ofs=; b=BUtd1Hi5UrLVa1 +dy/KUb5RTtsO7R5olQo3KbpyE1yl3kM45P9mTvZmoXBLb9RAy2Owfy5WvVJ+bowKaoNkNzJDs/dt 94/EA9BQZ0enKdZr5WZPML927DQZxYGkPGtAp08ADhth3Ov0cziP2kRaBzhETSyoL/gyMf8GOuyhY XtFNDKpFNDTlY9eW0IHyqDwb5EeY6DSx+ZPjLGnUB5BB/f/GEjcl0YLrGlEHNd5TVokJX0ICx23MG SjyK+Dm7DWmkRKnszFko3X5w1UaBKKn5lDXnahYGvLw9SYglVMxYrh1p6k22Ja3qHVHdLcc+Eyusf MgTy1i7EHuHH2ltYVr8A==; 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 1hXbPb-0003cx-DE; Mon, 03 Jun 2019 01:05:19 +0000 Received: from onstation.org ([52.200.56.107]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hXbPR-0002vu-9k for linux-arm-kernel@lists.infradead.org; Mon, 03 Jun 2019 01:05:11 +0000 Received: from localhost.localdomain (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 2291B3E915; Mon, 3 Jun 2019 01:05:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1559523906; bh=sdl01qJ2uFOVm96mhhb77dF76U7n3aLmtqmCIxvMuGg=; h=From:To:Cc:Subject:Date:From; b=q4ARI7oZzDH/xdYeYGt65b39aYt9kSD8yB9o8pg+0AcOVD/pb2SiHcs1F2Y0xbMbe EIxkS9G7djE+H8pljVmDB5+oHYQ1pc4LDSSFyU5AptIdTGTtMpW9xm+3nII9MbhZ0W L76/ZwhPTA7Z62mFSXn05PGefAusaqjWrvDhXTh4= From: Brian Masney To: agross@kernel.org Subject: [PATCH 1/2] ARM: dts: qcom: msm8974-hammerhead: add touchscreen support Date: Sun, 2 Jun 2019 21:04:54 -0400 Message-Id: <20190603010455.17060-1-masneyb@onstation.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190602_180509_455067_605EC1A5 X-CRM114-Status: GOOD ( 10.68 ) 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: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Marek , linux-arm-msm@vger.kernel.org, linus.walleij@linaro.org, linux@armlinux.org.uk, bjorn.andersson@linaro.org, david.brown@linaro.org, absahu@codeaurora.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, miquel.raynal@bootlin.com, frank.rowand@sony.com 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: Jonathan Marek Add support for the Synaptics RMI4 touchscreen that is found on the Nexus 5. Signed-off-by: Jonathan Marek Signed-off-by: Brian Masney Reviewed-by: Linus Walleij --- This is to be applied on top of the display patch series: https://lore.kernel.org/lkml/20190531094619.31704-1-masneyb@onstation.org/ .../qcom-msm8974-lge-nexus5-hammerhead.dts | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts index c92ea01e3918..06c33bd71620 100644 --- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts @@ -280,6 +280,16 @@ }; }; + i2c2_pins: i2c2 { + mux { + pins = "gpio6", "gpio7"; + function = "blsp_i2c2"; + + drive-strength = <2>; + bias-disable; + }; + }; + i2c3_pins: i2c3 { mux { pins = "gpio10", "gpio11"; @@ -326,6 +336,25 @@ bias-disable; }; }; + + touch_pin: touch { + int { + pins = "gpio5"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + input-enable; + }; + + reset { + pins = "gpio8"; + function = "gpio"; + + drive-strength = <2>; + bias-pull-up; + }; + }; }; sdhci@f9824900 { @@ -468,6 +497,41 @@ }; }; + i2c@f9924000 { + status = "ok"; + + clock-frequency = <355000>; + qcom,src-freq = <50000000>; + + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins>; + + synaptics@70 { + compatible = "syna,rmi4-i2c"; + reg = <0x70>; + + interrupts-extended = <&msmgpio 5 IRQ_TYPE_EDGE_FALLING>; + vdd-supply = <&pm8941_l22>; + vio-supply = <&pm8941_lvs3>; + + pinctrl-names = "default"; + pinctrl-0 = <&touch_pin>; + + #address-cells = <1>; + #size-cells = <0>; + + rmi4-f01@1 { + reg = <0x1>; + syna,nosleep-mode = <1>; + }; + + rmi4-f12@12 { + reg = <0x12>; + syna,sensor-type = <1>; + }; + }; + }; + i2c@f9925000 { status = "ok"; pinctrl-names = "default"; From patchwork Mon Jun 3 01:04:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Masney X-Patchwork-Id: 10972085 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 BAD4314DB for ; Mon, 3 Jun 2019 01:05:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA35A26255 for ; Mon, 3 Jun 2019 01:05:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E45126E47; Mon, 3 Jun 2019 01:05:18 +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=-5.2 required=2.0 tests=BAYES_00,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 5733427FA8 for ; Mon, 3 Jun 2019 01:05:18 +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=bw1DccbqvALxPSAtUdHiVITytFsewV/W1A6N6cGrFT8=; b=nlVJGtjnUBIPY6 3eWRaBuKqGnsMl6gdbcIDLeP1w+9u8JqryVerh3TU1ji6N7qkNGmIGSqe9hxdmEf4XTH08Vs1lfeL sk0XQuGH6cwhsgrhoCqdTdmLuO54i1NHCxNYLniAf6nzpuVMrWEh4lYFt3rio9ERTTqMPC7kXayIV fe1cixRwzQE0jrgZs8uR7ph1wEbPHzik1SDAlFZAgqam4csB7u0DFca4H2+X5w7lOm2jTWE+s0yjJ RVXONsminWpbvw7REf1EHcjPxl1I1lwQQq1STpbpdyDfqtXNhRGcHdEJqspxi6P6aPlfiY4XcTwPU DeTGmdhfIt8gdMbs+YoQ==; 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 1hXbPU-0003WA-V2; Mon, 03 Jun 2019 01:05:12 +0000 Received: from onstation.org ([52.200.56.107]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hXbPR-0002ws-9r for linux-arm-kernel@lists.infradead.org; Mon, 03 Jun 2019 01:05:11 +0000 Received: from localhost.localdomain (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 28C293E917; Mon, 3 Jun 2019 01:05:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1559523906; bh=f5ufiraj1tVlQYSRkabyq0re0Yb8FrTeaMF6chCEqeA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WcIvSSlmboU/L5lvCKn6rtjeztsqP8arSNxATzuL54sVPjo5oME5Lcm1ui2a0brdW 2nxEUDH3H4pFjQcP+VrESWySa0ENV4LpgBMFDscXIsHdRp2PHQSqaU2PQiS7R4vb8e pui51mH6Z4wlP/bWbcPha0dgthbIXr1YnlKih/ZY= From: Brian Masney To: agross@kernel.org Subject: [PATCH 2/2] ARM: qcom_defconfig: add support for USB networking Date: Sun, 2 Jun 2019 21:04:55 -0400 Message-Id: <20190603010455.17060-2-masneyb@onstation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190603010455.17060-1-masneyb@onstation.org> References: <20190603010455.17060-1-masneyb@onstation.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190602_180509_454202_35B1B419 X-CRM114-Status: GOOD ( 10.19 ) 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: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linus.walleij@linaro.org, linux@armlinux.org.uk, bjorn.andersson@linaro.org, david.brown@linaro.org, absahu@codeaurora.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, miquel.raynal@bootlin.com, frank.rowand@sony.com 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 Add support for USB networking as a module to qcom_defconfig since its a useful feature to have for development purposes. Signed-off-by: Brian Masney --- This is to be applied on top of the display patch series: https://lore.kernel.org/lkml/20190531094619.31704-1-masneyb@onstation.org/ arch/arm/configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index 4f02636f832e..f26103eae564 100644 --- a/arch/arm/configs/qcom_defconfig +++ b/arch/arm/configs/qcom_defconfig @@ -186,6 +186,7 @@ CONFIG_USB_CONFIGFS_NCM=y CONFIG_USB_CONFIGFS_ECM=y CONFIG_USB_CONFIGFS_F_FS=y CONFIG_USB_ULPI_BUS=y +CONFIG_USB_ETH=m CONFIG_MMC=y CONFIG_MMC_BLOCK_MINORS=32 CONFIG_MMC_ARMMMCI=y