From patchwork Mon Mar 20 23:53:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 9635601 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 9E2BD60132 for ; Mon, 20 Mar 2017 23:55:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8CD1D26E3A for ; Mon, 20 Mar 2017 23:55:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80A5827031; Mon, 20 Mar 2017 23:55:25 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1BE1026E3A for ; Mon, 20 Mar 2017 23:55:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=2q3VL+qy6yOJ8PBOZwG5WpViuwTMnexWUKTxf1WA8Eo=; b=oyiwTwS96LHCm9d4uWPKLvtAHp g+qn0ubFsYtUZA0PYsTanVVzzj9SiU/EiozCQwJ9nL4864H04PXykiaGGy/G18U/gWdk8t8sbdPeX U29I6IoeXrbNpUEZfx+XWYirPh/XPsDAH7EVsYRQzUfyI4CLkW46S1w7V9QPDIKp2DfahFmBvaoHu fuEXSjsXR9lUjwPz6Arel31+pPcfbyReWnADTuV2ZBdhLrHeG4F8L2x5VSxhIZtN83ojr1ClMSmys sFCL+d2iIM0SUOFly6c8Ud1OXSKowQX/czj776BrLpHK/Q9yWsyDjf94h0FJtM2OZYKpYMq/YxunP paG/sV3Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cq792-0004wR-NH; Mon, 20 Mar 2017 23:55:24 +0000 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cq78A-0002xZ-QN for linux-arm-kernel@lists.infradead.org; Mon, 20 Mar 2017 23:54:35 +0000 Received: by mail-pf0-x22a.google.com with SMTP id o126so72348876pfb.3 for ; Mon, 20 Mar 2017 16:54:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AX5k1O/BsrSD7e/ggBS3JrYAYY5PYVqFBv9uP8WI0Oc=; b=n4xlS8sGj08l0bhEU8VtTIi8cYRKQKqLF12oVdFc3PaRkJ3hF6qjapL7wMrcjMQcnB NXPfbQzGkE/xpmUP/1uPG58zAcU4hbomqN6NWUyMpN9ZgjzaYy+yY8JOYIUz3zyMR1U8 vvU7MuUlx/Gd39SZH8XgFgfw9Tz1y2LCDWDVg= 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:in-reply-to :references; bh=AX5k1O/BsrSD7e/ggBS3JrYAYY5PYVqFBv9uP8WI0Oc=; b=D4fQv7xMmhcOpHB0sqWB9N3L2//4mXcxI2JiAW95ehRDU93BTc0lkikJHl5wadaV64 aBZsxRaysVM7K/NcxOytSkZ/o1QV2Y+4HG46uQwyCS9q51QCJvlFr1Rl0qL4kw+KNriN 3sUZ/idwwBlmbbOSPm+q+36lB6M+Mxvlh0Frnf+vHrx7U0nBdkO/CfxYcV/Xr0P2Sg+c /SQzwwyuejnjzYm1Inu53G4q/EdtMDNZpAbj51uD8qrweHBoJYxQGJ4JofQpIUWaT2J8 46FR6i28k0U5wnPMgKRTwWY8ocGJH+HLJ/1qLynvipXLFVgh6wQ7yb0gBQiBqLvayOKu AQWw== X-Gm-Message-State: AFeK/H2x+/rNyXKPpEueAY15jmzFnEn4WtGGGJj4qpZNCF0GdQQ/8CUXiC+jAmHn47lmAdja X-Received: by 10.99.42.78 with SMTP id q75mr34062828pgq.144.1490054049806; Mon, 20 Mar 2017 16:54:09 -0700 (PDT) Received: from ban.mtv.corp.google.com ([172.22.64.120]) by smtp.gmail.com with ESMTPSA id e16sm27956917pfb.102.2017.03.20.16.54.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Mar 2017 16:54:09 -0700 (PDT) From: Brian Norris To: Heiko Stuebner Subject: [PATCH v3 4/4] arm64: dts: rockchip: add regulator info for Kevin digitizer Date: Mon, 20 Mar 2017 16:53:44 -0700 Message-Id: <20170320235344.126298-5-briannorris@chromium.org> X-Mailer: git-send-email 2.12.0.367.g23dc2f6d3c-goog In-Reply-To: <20170320235344.126298-1-briannorris@chromium.org> References: <20170320235344.126298-1-briannorris@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170320_165431_041374_A773D4A0 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. 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: devicetree@vger.kernel.org, Brian Norris , Doug Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Chris Zhong , Stephen Barber , linux-arm-kernel@lists.infradead.org, Caesar Wang MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We need to enable this regulator before the digitizer can be used. Wacom recommended waiting for 100 ms before talking to the HID. Signed-off-by: Brian Norris --- v3: * reintroduced into patch set; bindings are in linux-next --- arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts index 2f720cf2fd07..f4714c4606f3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts @@ -232,6 +232,9 @@ ap_i2c_dig: &i2c2 { pinctrl-names = "default"; pinctrl-0 = <&cpu1_dig_irq_l &cpu1_dig_pdct_l>; + vdd-supply = <&p3_3v_dig>; + post-power-on-delay-ms = <100>; + interrupt-parent = <&gpio2>; interrupts = <4 IRQ_TYPE_LEVEL_LOW>;