Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp174615pxb; Mon, 31 Jan 2022 18:42:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9WpL7iE14xrCvQ3Fs/pv53hmzsdbBC5Y6lUSNBgMyUGF+exx0XQ7UrxRAPrBBrVhaPLBZ X-Received: by 2002:a05:6402:27c7:: with SMTP id c7mr23438325ede.276.1643683374336; Mon, 31 Jan 2022 18:42:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1643683374; cv=pass; d=google.com; s=arc-20160816; b=nBZbN0Bdltemb+EY8A2uG6q/E0e5fGWBjkjBBbeEtyM/VhmjcWyJxczO/vk//4iUDo NrtMu4p71eAgekl5bgl0F8fIKtqteBgNHxJ6nbFZvo6bBwa5OgFE1jTMF1nQrGt5vWJM MQ+nVAAvh4coQRcHNOQC59shPWJ8sobZXDDY2V694Iunbu1B+8X/7BnrkMEBb31i44No ynRnjGvOpNDiWPf7ySW0k6iLpNtp1EvnMQQtM03J4fykxJw4hte5ZQEGgK36fHQ7cIjE CVMCKU9QTbgaQ1HQMp76gDIf7owgKFdn1txG7O9gRIyGcOm2TH3aIHRri4MeJLH0xYl0 Mc3w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=U0FeakyisqMtlRH6+thLZICAxRW0lxiOYd4o3nyTCyM=; b=qll8fDfLzcx1h9J3GmR2tEqCsjqp9G/bPh+la8VOqz3UhD8Z7isTFp4I+1MFd9l4fb PxGUhmDpgEhHzIEyAg6c4HHP0+xvfspUXL/qPQFwMTL9UsPJa6cI9TIhFGauG3OrHghI YfyzlepklTlBqTM58MGPEhI9DEkCs/MR6DoxvRtij+DZfw4K520awvXB18/h+TRI38KR xo33id7i9zoEiJ9VGe1sOEotyQk7TrcYGlxJYUQ9oKOY7z6PY9F2NxejXL26/Pq7Zh8O LWDrXmGdBtCrqe9R2W+FWcbvOwj1PmZl09Xg7n2HsY2ekegAkU5jCAQWAmeiB8u5siDJ XCQw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=S8HLi45S; arc=pass (i=1); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sh11si8782807ejc.930.2022.01.31.18.42.30; Mon, 31 Jan 2022 18:42:54 -0800 (PST) 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=@wolfvision.net header.s=selector2 header.b=S8HLi45S; arc=pass (i=1); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352605AbiA2QZH (ORCPT + 99 others); Sat, 29 Jan 2022 11:25:07 -0500 Received: from mail-eopbgr80073.outbound.protection.outlook.com ([40.107.8.73]:23525 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1352477AbiA2QY4 (ORCPT ); Sat, 29 Jan 2022 11:24:56 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bOQy8L8dmkO9xuwy9wusbTxR741kGnP4VI5aSTsmejgFrjtrbz4kGoa4G1dSft6p6z8EvBVeWnsZewj13HvUhcv74pMMCJGjLQJeZYAPKBdzUHXEKLySkH5fDAiib38FEFfIIZgdMZwirifVvXMKisq/83jV1ee9P1ogG2PD+AjthAD49yA7szpHcDec3JzlZczbhZGOJxo4GBcsb/NOfKlbXdL9+z0Cy6JevMRXf/wEEZMiCu3RXhXd8llJc02dBDxPxE2GUi/bTW0hSUtaKlXr2fsEvISd9N007w/RkRULL67GaqjS/mO1sLSwLAf2nDwBeK62Mtgravpzq4ZJFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=U0FeakyisqMtlRH6+thLZICAxRW0lxiOYd4o3nyTCyM=; b=h+j5irMTwPLm4BrbChZ3GaRgoAnpyLFek+dYVM9o1OG7KT1Mg1o9wZ31GaI4JauaDr8J8vZquf0JFC+F5pXo4Rclg61yS64nxZD23fvj8M3vF9hRmR7PkGudJoVOvzxM6kAV414dH0qmiWlrRF0TLBSeRZyKh9kXDYPwiiBEsQI5Yc08khlwXWcjgnO3yd6wnjtettqKpDAIJNnfN/kB96SmMO67aSQegqekspNT65NP0jD8X9d+TFW7R0HN7aZm0xXci+jMSTGFzU7li0hs4R6YIuNgipPGVG3LhRnsfqUT5+OXXvD6NELfifi5Z2FiEZGQGix55Rcxly8i8hrS9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U0FeakyisqMtlRH6+thLZICAxRW0lxiOYd4o3nyTCyM=; b=S8HLi45SU0msZi+9hsTwSswP9QJQdyhTyyPlSh7IYJAmEJqadyJH0V1h+xjfyoO0gJLx/HEFa9h2LF3diHXiFTZg6OlIu5mFj1zkZFealxATwg2iuy91Q8qDvf0DMxMpvGiqzdxt2WrZRbQ5wNxoqSdmSPaKuWG+ajcpTLGGFG0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by AS8PR08MB6375.eurprd08.prod.outlook.com (2603:10a6:20b:31b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.18; Sat, 29 Jan 2022 16:24:53 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::e14f:197:5001:4c56]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::e14f:197:5001:4c56%3]) with mapi id 15.20.4930.020; Sat, 29 Jan 2022 16:24:53 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Michael Riesch , Liang Chen , sha@pengutronix.de Subject: [PATCH 2/2] arm64: dts: rockchip: add the touchscreen controller to rk3568-evb1-v10 Date: Sat, 29 Jan 2022 17:24:40 +0100 Message-Id: <20220129162440.5415-2-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220129162440.5415-1-michael.riesch@wolfvision.net> References: <20220129162440.5415-1-michael.riesch@wolfvision.net> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: ZR0P278CA0103.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:23::18) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6cfeaa16-47ab-46a2-b061-08d9e343e153 X-MS-TrafficTypeDiagnostic: AS8PR08MB6375:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1091; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vMawCHpuxOk/3J8UcfkSYCAdtKxib0zcOzGCbgaVF9IH6hzHpz/dJ0Kri0+FE5FqdO73FEIfMC1/6uP7Lj/bMzBW+wpuvEm9nm5P6YrPr8Lvpu9HGCDolpTgaGCP3WiCIFUQ+5w7M3RbbyYrxOzdhK9a/HN8r+0ZvfdOcHfVF/VYVtjhAGJrRbc5UD2jEDO65+l+GaOWtQYmYWCzhaj4DbZ0Zxi5JiUOvRQ1xQcjhv7vhz/S2bt4iE4NinWOtTkvDhfOH8Tufc0XM7FnRfWhTT5XwFZBg3E8y5gYdbvF0HQP0LdJhW7o6/vQDFObdyJY/xadfupTIWqlE7pv7NUC1C64AIybJu44bp+097wasZI0fEa7vLpJ8BfnsjXGgeIFSTfAv53BasePe/jAuaXYTIwiJbb/3tODUV/OXgRx49+datWjjGah4rpAcYjAEyteP+Hp9FCziH5BcjhI3SaIqbgmlLaTFsFAnE/yaLAL13DOP94/w+YqLvK9RgYfe3MnccU7zaxynB4QUt4s5U2mhaHnBdI5u9nu99Z/5XVYw4hTVp1npyJN18lcq+BOdbpttelW6x5sB1vCGjTSi73lEWTQbYKMa5jBrlM1YL2MS0ZZU1Mlcp6G66Du+lOaKJePR7nO7w4vwsQq0HbRZqjMOg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0802MB2426.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(508600001)(5660300002)(316002)(4326008)(66556008)(66946007)(8676002)(6486002)(54906003)(66476007)(8936002)(86362001)(6666004)(52116002)(38100700002)(36756003)(6506007)(6512007)(1076003)(186003)(2616005)(2906002)(44832011)(20210929001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Ex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q?6zvmwSGNsZAggOmU+vaRzXGmza+3jew=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 6cfeaa16-47ab-46a2-b061-08d9e343e153 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2022 16:24:53.3870 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gHuNvFfPXyA0I3AEO9lC+GrxLCYP+x7UdT+VCOkN2GEKk4U8sxvDabSWjm65dSu1zAknNECHmyyJAeXOaBLo2hAaxEpCrwxjsMIof9cQ5Hs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6375 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Rockchip RK3568 EVB1 comes with a mounted touch display featuring a Goodix GT1158 touch controller (according to the product ID register). Signed-off-by: Michael Riesch --- .../boot/dts/rockchip/rk3568-evb1-v10.dts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts index 197aaf7ee348..d8c20a23e856 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts @@ -330,6 +330,23 @@ regulator-state-mem { }; }; +&i2c1 { + status = "okay"; + + touchscreen0: goodix@14 { + compatible = "goodix,gt1151"; + reg = <0x14>; + interrupt-parent = <&gpio0>; + interrupts = ; + AVDD28-supply = <&vcc3v3_lcd0_n>; + irq-gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&touch_int &touch_rst>; + reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>; + VDDIO-supply = <&vcc3v3_lcd0_n>; + }; +}; + &mdio0 { rgmii_phy0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; @@ -366,6 +383,15 @@ pmic_int: pmic_int { <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; }; }; + + touchscreen { + touch_int: touch_int { + rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>; + }; + touch_rst: touch_rst { + rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; &pmu_io_domains { -- 2.30.2