From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_RHS_DOB,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E263C10F0E for ; Thu, 18 Apr 2019 11:24:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DEA76214DA for ; Thu, 18 Apr 2019 11:24:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qOUf7ro9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DEA76214DA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kZSsvJ9BIioggHPddhnsjThCss6jflInNr4AA/KBYC4=; b=qOUf7ro9I9Lv9gcUOcffHzgfR ODQ2FA5liSlr04UhpEJQFl+8Kc1LsQxuUMvK9/pRD8AR7RD0uUBqyUDZS26MS68zWJelDVPETNO/I 8sJdRMjXEXLeMbj3tpmPOTbasUXnsNYWS5yP/piyq4Rq+kHhrdtWy9ZuTeDkbv59ievoBLzYkCldj WEavfmlQ4W0ddQ3/d4J+IGl2o0IwJaqBp4SlXlgSOl1xLgw85vqyT4nKl2teQ2oWyUCVh47ag259T XOsBqQ7b4qnzsYlb8EDpJviG6uWW3+Oj7eG3XylObnS8u+3UZFyyj5QTADPj5++61VQviSs+erqcr 1e20YPwXQ==; 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 1hH59K-0004tq-Pt; Thu, 18 Apr 2019 11:24:14 +0000 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hH59H-0004tN-CR for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2019 11:24:13 +0000 X-Originating-IP: 90.88.160.238 Received: from localhost (aaubervilliers-681-1-42-238.w90-88.abo.wanadoo.fr [90.88.160.238]) (Authenticated sender: maxime.ripard@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 37E1B6000E; Thu, 18 Apr 2019 11:23:57 +0000 (UTC) Date: Thu, 18 Apr 2019 13:23:57 +0200 From: Maxime Ripard To: Jagan Teki Subject: Re: [PATCH v2 1/2] arm64: dts: allwinner: a64-amarula-relic: Add GT5663 CTP node Message-ID: <20190418112357.qic227rdwordmzyh@flea> References: <20190418083543.11695-1-jagan@amarulasolutions.com> MIME-Version: 1.0 In-Reply-To: <20190418083543.11695-1-jagan@amarulasolutions.com> User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190418_042411_573520_E3C5767B X-CRM114-Status: GOOD ( 16.03 ) 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 , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai , Rob Herring , Michael Trimarchi , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============8601311207088076560==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============8601311207088076560== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="a2pbzqfiss63fc44" Content-Disposition: inline --a2pbzqfiss63fc44 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 18, 2019 at 02:05:42PM +0530, Jagan Teki wrote: > Add Goodix GT5663 capacitive touch controller node on > Amarula A64-Relic board. > > The CTP connected to board with, > - SDA, SCK from i2c1 > - GPIO-LD0 as AVDD28 supply > - PH4 gpio as interrupt pin > - PH8 gpio as reset pin > - X axis is inverted > - Y axis is inverted > > Signed-off-by: Jagan Teki > --- > Changes for v2: > - drop i2c1, bias-pull-up > > .../allwinner/sun50i-a64-amarula-relic.dts | 25 +++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts > index 3575db216016..3819ce396073 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts > @@ -49,6 +49,24 @@ > bias-pull-up; > }; > > +&i2c1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c1_pins>; That's the default already > + status = "okay"; > + > + touchscreen@5d { > + compatible = "goodix,gt5663"; > + reg = <0x5d>; > + AVDD28-supply = <®_ldo_io0>; /* VCC-CTP: GPIO0-LDO */ > + interrupt-parent = <&pio>; > + interrupts = <7 4 IRQ_TYPE_EDGE_FALLING>; > + irq-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* CTP-INT: PH4 */ > + reset-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; /* CTP-RST: PH8 */ > + touchscreen-inverted-x; > + touchscreen-inverted-y; > + }; > +}; > + > &mmc1 { > pinctrl-names = "default"; > pinctrl-0 = <&mmc1_pins>; > @@ -212,6 +230,13 @@ > regulator-name = "vdd-cpus"; > }; > > +®_ldo_io0 { > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; The name of that regulator is AVDD28, which indicates that it would be a 2.8V regulator? Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --a2pbzqfiss63fc44 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXLheTQAKCRDj7w1vZxhR xcuMAQDENJX3u2tb51Ouqd0KaweSmp82cNl08J3eeEk3EXwx1AD/ZbROxKtQ4oO7 zIxGGqxjWWXz43UJCj2XnFglwPybcAI= =KSHf -----END PGP SIGNATURE----- --a2pbzqfiss63fc44-- --===============8601311207088076560== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============8601311207088076560==--