From patchwork Tue Feb 20 08:12:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Shields X-Patchwork-Id: 10229543 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2F0A4602DC for ; Tue, 20 Feb 2018 08:13:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 151EC2854A for ; Tue, 20 Feb 2018 08:13:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 09BD128555; Tue, 20 Feb 2018 08:13:10 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B0CE2854A for ; Tue, 20 Feb 2018 08:13:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750871AbeBTINJ (ORCPT ); Tue, 20 Feb 2018 03:13:09 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:36767 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbeBTINI (ORCPT ); Tue, 20 Feb 2018 03:13:08 -0500 Received: by mail-pf0-f193.google.com with SMTP id 68so1384875pfx.3 for ; Tue, 20 Feb 2018 00:13:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zTv7pYtlimYlugNwtUDoO03WnQCsBWVCktQ/+LhlpAg=; b=ronOgPAtHj5+VMAp5Z8GqIWbwsoKvURswuFYzd36LECcpRb6/PEZMxC+7KUEamOB9J 4N/yHdbTtl0ZAt+lRo+0fdVFK/Nrlv7DRBLTqpbC3hPwXyedf2Hbb2f4RI4SVtmOK5f9 efYb2i3mBzw/otq2CMlnnbdGjl6d684uFARiVKH8sGUjxi0lFA/YKHRWsrO+6YQnnpo9 k1IXRne2j9w817whTDpI9/sOmAb4ExF4y02CZPWXAvIc3EiFTFkkaqc81K2AOKHdrxXQ 60uk6YTWQwwtN7W6F6Sm0F67B/Mf+dW2btVgT650dH8IsTCJTKox6lf9gtIttxwkpLRF AJKg== X-Gm-Message-State: APf1xPAuGeo0qoNXuMcYLEu1iAlx7ppXN/PswWCcgrjeGSxDQ9htLqX9 mR7w8ycjJ8FUt7wWrJQPFApFCPjYzLw= X-Google-Smtp-Source: AH8x226NWZ65HSf5ozliPbEHuLIm9EE5g/9wd/vEoijr+tp2rTr8CxowoT0C+cmQpBHxrBh7pSgX6Q== X-Received: by 10.98.231.26 with SMTP id s26mr8619809pfh.210.1519114387428; Tue, 20 Feb 2018 00:13:07 -0800 (PST) Received: from archbox.home (27-32-42-49.static.tpgi.com.au. [27.32.42.49]) by smtp.gmail.com with ESMTPSA id w10sm53247809pgr.57.2018.02.20.00.13.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 00:13:06 -0800 (PST) From: Simon Shields To: linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski , Kukjin Kim , Marek Szyprowski , Simon Shields Subject: [PATCH] ARM: dts: add touchscreen node to exynos4412-n710x Date: Tue, 20 Feb 2018 19:12:33 +1100 Message-Id: <20180220081233.8584-1-simon@lineageos.org> X-Mailer: git-send-email 2.16.2 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds support for the MMS152 found on n710x boards. Signed-off-by: Simon Shields --- arch/arm/boot/dts/exynos4412-n710x.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-n710x.dts b/arch/arm/boot/dts/exynos4412-n710x.dts index 7d289c257920..eb402a0d6651 100644 --- a/arch/arm/boot/dts/exynos4412-n710x.dts +++ b/arch/arm/boot/dts/exynos4412-n710x.dts @@ -39,6 +39,26 @@ status = "okay"; }; +&i2c_3 { + samsung,i2c-sda-delay = <100>; + samsung,i2c-slave-addr = <0x10>; + samsung,i2c-max-bus-freq = <400000>; + pinctrl-0 = <&i2c3_bus>; + pinctrl-names = "default"; + status = "okay"; + + mms152-touchscreen@48 { + compatible = "melfas,mms152"; + reg = <0x48>; + interrupt-parent = <&gpm2>; + interrupts = <3 IRQ_TYPE_EDGE_FALLING>; + x-size = <720>; + y-size = <1280>; + avdd-supply = <&ldo23_reg>; + vdd-supply = <&ldo24_reg>; + }; +}; + &ldo13_reg { regulator-name = "VCC_1.8V_LCD"; regulator-always-on;