Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp7043217ybn; Mon, 30 Sep 2019 07:50:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxg62o+M+ShJ9Z8j1bgtpLkTWV9H5H936oYDet0GuT+T6bP6WyfOcVI9W7qmRR9Cc8zEVcq X-Received: by 2002:aa7:cf86:: with SMTP id z6mr19581193edx.230.1569855005388; Mon, 30 Sep 2019 07:50:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569855005; cv=none; d=google.com; s=arc-20160816; b=ux6kpXzQ/QJNB9f9c6MH+bCFyubx1yUTQmVxhRR3QTLRLUdSU3hkx1STWC0j5nyqMY o7Vk/aJExD1yAm9ylANcQor/FbDLfvuDBtd/JNj+ZzopxrMXW8iuMFWKN4YdZwoY8t0w 2zPJPHYqfHX/R8voSKqrk7h0olzRJ0e5z4AfFsHmHgqVeYR27Ii+HnDkZ0Lgvm5iq/8d U6rlmnB7WHoG26x/nN+AND6hWfQixnHiMTTFX6uVSGtGWNnkO1WIsZeXamd8glyufnZL Q1pXRX0CnXrLJd5L7YA/7SgU5MBfeM94SPf8Uyh2Rm4Lg4F0Z2Gyg13160JWr+X4502E BoUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=u7ckPEielE0COPIH48zXj6aZ3G/8patmlJ6fYKZv6f8=; b=BJf2m+iVV2yuSztjE/LZCLxAXccgw8PEzKP50jr/rxM6gZCK0CdCJzaxJ3Wti0FQ4E hyZkO9DwPU5c9TMf4jtPmh++w6Xo2Q4RKvl7uUfdZ/HPAC6kRT3z73HxSAiF3VX/9Chg zPtmHEutS8Th10bFMZKFS07LNk2j5qy7XI4lsqgXpfdrcy7YJMpFlXtv2Cahvqp5v+BM MfK+ZTsrhlLMXfLyXj5wnIhaAAf/1YZcs+HwoL5yynsE9U3nhBK8wh1x7RFaCJFONbYD bHEmIPCNVJBSJruoUW2SGV1f96jRIpU87eQ1KGTCMEf1+ZsMcd/3BYmK4S/Bl0AFdYz3 F+aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=zdodmSE9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h34si7278223ede.247.2019.09.30.07.49.39; Mon, 30 Sep 2019 07:50:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=zdodmSE9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731656AbfI3OqN (ORCPT + 99 others); Mon, 30 Sep 2019 10:46:13 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:57900 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730809AbfI3OqN (ORCPT ); Mon, 30 Sep 2019 10:46:13 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x8UEfUkC017751; Mon, 30 Sep 2019 16:45:58 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : mime-version : content-type : content-transfer-encoding; s=STMicroelectronics; bh=u7ckPEielE0COPIH48zXj6aZ3G/8patmlJ6fYKZv6f8=; b=zdodmSE9H3b/b7Xd/OA5GtPen95vb0u77yQMhu0ifkJ0pEYPUCTJ0xEgUBfCGRzrVlQB lonjHgT+wu83yBAPJahKOiap0EJTyk7PQS2jffjJy49t5zbhphiLUmVeeMGo9TY1DAhf 0XBcso5YZg3qeCSh4cv7VIHFHQXpzhtY+uLCaRV41eHEPKJxZXTgXab4CAuj3Vl4G2+E Bj/6ewts6HTpreJlaHvflTbY63hWkWHE+0QfjZJ0QQZZ0qHfMOv7b8RnaHrY57IXspSJ iikOB5/zEo4aDJi+6c3i4VFU1uBWtNMukhduCsh6LNq1p+NQyT+n68YajRdyI+smKt5u YQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com with ESMTP id 2v9w00ut72-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 30 Sep 2019 16:45:58 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id C2C4D4D; Mon, 30 Sep 2019 14:45:53 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas21.st.com [10.75.90.44]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 793062D0559; Mon, 30 Sep 2019 16:45:53 +0200 (CEST) Received: from SAFEX1HUBCAS24.st.com (10.75.90.95) by SAFEX1HUBCAS21.st.com (10.75.90.44) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 30 Sep 2019 16:45:53 +0200 Received: from localhost (10.201.23.97) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 30 Sep 2019 16:45:52 +0200 From: =?UTF-8?q?Yannick=20Fertr=C3=A9?= To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland , , , , , Benjamin Gaignard , =?UTF-8?q?Yannick=20Fertr=C3=A9?= , Philippe Cornu , Fabrice Gasnier Subject: [PATCH] ARM: dts: stm32: add focaltech touchscreen on stm32mp157c-dk2 board Date: Mon, 30 Sep 2019 16:45:51 +0200 Message-ID: <1569854751-22337-1-git-send-email-yannick.fertre@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.201.23.97] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-09-30_09:2019-09-25,2019-09-30 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable focaltech ft6236 touchscreen on STM32MP157C-DK2 board. This device supports 2 different addresses (0x2a and 0x38) depending on the display board version (MB1407). Signed-off-by: Yannick Fertré --- arch/arm/boot/dts/stm32mp157c-dk2.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts index 20ea601..527bb75 100644 --- a/arch/arm/boot/dts/stm32mp157c-dk2.dts +++ b/arch/arm/boot/dts/stm32mp157c-dk2.dts @@ -61,6 +61,29 @@ }; }; +&i2c1 { + touchscreen@2a { + compatible = "focaltech,ft6236"; + reg = <0x2a>; + interrupts = <2 2>; + interrupt-parent = <&gpiof>; + interrupt-controller; + touchscreen-size-x = <480>; + touchscreen-size-y = <800>; + status = "okay"; + }; + touchscreen@38 { + compatible = "focaltech,ft6236"; + reg = <0x38>; + interrupts = <2 2>; + interrupt-parent = <&gpiof>; + interrupt-controller; + touchscreen-size-x = <480>; + touchscreen-size-y = <800>; + status = "okay"; + }; +}; + <dc { status = "okay"; -- 2.7.4