Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp867655ybt; Wed, 1 Jul 2020 12:00:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyHGTwTJYHqb+4ga8X7alWyoUEZ3ITXDL48Kr2NLfcbD0BcjNkt7fUy10KiJ9NMIT0p3Hq X-Received: by 2002:a17:906:594c:: with SMTP id g12mr24111517ejr.255.1593630044867; Wed, 01 Jul 2020 12:00:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593630044; cv=none; d=google.com; s=arc-20160816; b=nVRwa8OA76Vrk3DM3ms7u8ADcM71NIYQSL+LPpMssuC5SfSrknrvLjFYGobRsbp5je 1t4xuCB5dq37Tq/q7qezR9JZKceKyO6y8qgOfFmb2uPsKtiq9zgNqImrU5VzFYwBwlIC P/y1w6Jmzam6JCUVy8R3y35QBv7P36WuOAx6ABq9UlPyn9NFpmVk8o/+EGuIWt65iN9l WVFl7/0A9T7XzmcTdMVCHIJuJTohdsrwSnj7QP8u95hClHIB7HbyHhdAj/knNZmmnCT3 lcK62dFgaJMoE9V7RBOAFFNisdixb7noQQAcPyC23X18oD7M5oWjVKdQLpuy1q+J0Zuh nwmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=L/bMfZrOLWHLHm+xME5vGZ1QnwmJM8CE541HAp4XC3E=; b=DrOoxgk17bgOM5p6w/3oJb6/2l2ipAzHE3dg+jMRLkyhQT0Oo4cQ22TmMoBNTxQ464 zdEqXFbYpYd3uw6+y7Iz1fMK80g03UtrXSY7Wc5ZKwevmpVRP2IKymxz5EGuYtx7ahD1 4HpGJndpWluFkYrafyO6sv0+M+E5y7P/GxKHUOa1+5Txbi9WXBq58xYxWHeDMqQHEfUd ZUheDohDO8nYjiWlTVrXuuqE4w4Gmy5GXDLnb4PKYnICwkPgNHfuGmhExCd8XdX81zbL L5jzdfhhfO+o/Uiv6B9zdJ1Z38HJL2NGSWJLhdsUTyYvRbj6gkigfy7vX42hmU2M02GX Ou5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=E5fTkIrR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s23si4420196eji.327.2020.07.01.12.00.20; Wed, 01 Jul 2020 12:00:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=E5fTkIrR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726129AbgGAS5o (ORCPT + 99 others); Wed, 1 Jul 2020 14:57:44 -0400 Received: from vps.xff.cz ([195.181.215.36]:55362 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725812AbgGAS5o (ORCPT ); Wed, 1 Jul 2020 14:57:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1593629862; bh=6Z4SBIMcF6Jx3VXG/1PL+4vEJ0Qm28Mfr5ilIHdjHfw=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=E5fTkIrR8oXuyozxosnFCsaP3zz8CaqTTmyfOX7Qq/Tk1+H7X2JPzVkAmx/hn4E1N E9MS+7jieub7R3oXm9FLKUWyQ6aaFFHZhZvJ1zUkhYtTjLtfyZyqb+LQ+fQ8SO9+LR 6KtgZTk1FZE7J7E43U5231hKWXwLus06UJbm15vw= Date: Wed, 1 Jul 2020 20:57:41 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Icenowy Zheng Cc: linux-sunxi@googlegroups.com, Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Guido =?utf-8?Q?G=C3=BCnther?= , Purism Kernel Team , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Samuel Holland , Martijn Braam , Luca Weiss , Bhushan Shah Subject: Re: [PATCH v6 13/13] arm64: dts: sun50i-a64-pinephone: Add touchscreen support Message-ID: <20200701185741.z5cga3b7z4gmba6u@core.my.home> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Icenowy Zheng , linux-sunxi@googlegroups.com, Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Guido =?utf-8?Q?G=C3=BCnther?= , Purism Kernel Team , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Samuel Holland , Martijn Braam , Luca Weiss , Bhushan Shah References: <20200701103126.1512615-1-megous@megous.com> <20200701103126.1512615-14-megous@megous.com> <78C72279-99DB-4FDE-81B3-1CF6BEF80BBF@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <78C72279-99DB-4FDE-81B3-1CF6BEF80BBF@aosc.io> X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Icenowy, On Wed, Jul 01, 2020 at 08:01:14PM +0800, Icenowy Zheng wrote: > > > 于 2020年7月1日 GMT+08:00 下午6:31:26, Ondrej Jirman 写到: > >Pinephone has a Goodix GT917S capacitive touchscreen controller on > >I2C0 bus. Add support for it. > > > >Signed-off-by: Ondrej Jirman > >Acked-by: Linus Walleij > >--- > > .../dts/allwinner/sun50i-a64-pinephone.dtsi | 19 +++++++++++++++++++ > > 1 file changed, 19 insertions(+) > > > >diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi > >b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi > >index 85a7aa5efd32..2d5694446d17 100644 > >--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi > >+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi > >@@ -123,6 +123,25 @@ &ehci1 { > > status = "okay"; > > }; > > > >+&i2c0 { > >+ pinctrl-names = "default"; > >+ pinctrl-0 = <&i2c0_pins>; > >+ status = "okay"; > >+ > >+ touchscreen@5d { > >+ compatible = "goodix,gt917s", "goodix,gt911"; > > Please drop gt911 here. GT917S belong to the GT1x product line, not the same line with GT911. > > You will see this in the driver. Right. I'll do so in v8. thnk you and regards, o. > >+ reg = <0x5d>; > >+ interrupt-parent = <&pio>; > >+ interrupts = <7 4 IRQ_TYPE_LEVEL_HIGH>; /* PH4 */ > >+ irq-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ > >+ reset-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */ > >+ AVDD28-supply = <®_ldo_io0>; > >+ VDDIO-supply = <®_ldo_io0>; > >+ touchscreen-size-x = <720>; > >+ touchscreen-size-y = <1440>; > >+ }; > >+}; > >+ > > &i2c1 { > > status = "okay"; > >