From patchwork Fri Dec 2 02:27:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 9457727 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 3D0DD60235 for ; Fri, 2 Dec 2016 02:52:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 218642846F for ; Fri, 2 Dec 2016 02:52:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 165D9284F7; Fri, 2 Dec 2016 02:52:04 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B0CAD2846F for ; Fri, 2 Dec 2016 02:51:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCdue-0001VO-Jl; Fri, 02 Dec 2016 02:49:24 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCdub-0001Kb-9n for linux-arm-kernel@bombadil.infradead.org; Fri, 02 Dec 2016 02:49:21 +0000 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]) by casper.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCdfr-0001LB-Go for linux-arm-kernel@lists.infradead.org; Fri, 02 Dec 2016 02:34:08 +0000 Received: by mail-pg0-x235.google.com with SMTP id f188so101364658pgc.3 for ; Thu, 01 Dec 2016 18:33:46 -0800 (PST) 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=U6DFxlMoeNpyIqsUVek+/9g5uMGCDqGUzsFYSA+d6NA=; b=OZ2IOqDUX2JoXZivPhxDvs/Gs0Bfz3kteERpXWqxSIEOhqA1Qs5tLsPNDmZuq/Kw2a m/ciiAglR2bQxLhPQqGNoKNRgwgj47BqBAZiamHsGkrpKiUlcyI+ysBjufFfaht9G91z +oNrs4GHjUAj5N2B4x0rVyvLDP4EF5TCHN9mk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=U6DFxlMoeNpyIqsUVek+/9g5uMGCDqGUzsFYSA+d6NA=; b=Lq/exJTG28KmsQj7Oer/6b9X+k5H+AJg0nxEAUce4UUnszZpPHoC/+Yw+87En+T3Ni MNWl30cjCu6icnSeDXXsx0xRgds5ORpHnmkyFSYAEfD8JA5ny2aDolClmcvqBh1UE+q5 tWyO/1zI5e1xE+m5jpPFoP193gIKr04vGvAPmQKAbleBj3OKiZ5dG/3tltt2wvwZKXhK eaUVHWDYA3dtrnL5s323IE6sMsRVLgkljI7csx/8zl8kiBdCJna7jfZOBWJqvqhFWoqu ymTr4kmgHAovDmPncUTrWDCK4XXU5jPcejdoPkC4guT3srjXbYwN3ginq+sH6nZbXF61 2BQA== X-Gm-Message-State: AKaTC02+6m5ztW4LCB2pYdNpDGQS91Ny09gCdcP3LpqwUXx3SABupwV/Gt1tI/RzhR+XMaAo X-Received: by 10.99.112.66 with SMTP id a2mr74571578pgn.43.1480646024708; Thu, 01 Dec 2016 18:33:44 -0800 (PST) Received: from ban.mtv.corp.google.com ([172.22.64.120]) by smtp.gmail.com with ESMTPSA id 16sm3090085pfy.4.2016.12.01.18.33.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Dec 2016 18:33:44 -0800 (PST) From: Brian Norris To: Heiko Stuebner Subject: [PATCH 9/9] arm64: dts: rockchip: add regulator info for Kevin digitizer Date: Thu, 1 Dec 2016 18:27:33 -0800 Message-Id: <1480645653-36943-10-git-send-email-briannorris@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1480645653-36943-1-git-send-email-briannorris@chromium.org> References: <1480645653-36943-1-git-send-email-briannorris@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161202_023407_719045_B5034D2A X-CRM114-Status: GOOD ( 10.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 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 --- Uses WIP bindings: [PATCH v3 1/2] devicetree: i2c-hid: Add regulator support https://patchwork.kernel.org/patch/9457493/ --- 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 66db785375a8..d260079de2ab 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>; + init-delay-ms = <100>; + interrupt-parent = <&gpio2>; interrupts = <4 IRQ_TYPE_LEVEL_LOW>;