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: 9635583 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 D7D7160132 for ; Mon, 20 Mar 2017 23:54:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C979426E49 for ; Mon, 20 Mar 2017 23:54:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD9C02780C; Mon, 20 Mar 2017 23:54:36 +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 4CC6426E49 for ; Mon, 20 Mar 2017 23:54:35 +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=l5YwlWwV1cvON1ddPKLr83GqaX9I86E1MC2aHtcrXy8=; b=Kq5BELA64g231ge/hxyLOQnFoB dwNUQpq9hf047TGnvcTyFpJli50kmi5i8cZlmuys/BX3oTtdnrt1foEvpl+XDU9zNlcujhwSEtgj6 Mh0BvH3T4WKq5WThTkG7LBmCHIMlLKfeWvz+t6/ERpdm84rn5TwnipYhbJNLGeeYGTkUOxO0NmeTf U9KNd4YD0g7dAum9w0cj0scIrLIJ/4p7NWHphgkz7UMXqYRtS0oscsWisTiq3CEdYw3XBxlwF51k5 eOxi9t/vKi4xfO2/V8j1jJPe4552KTEuD6NFVluqkIdf+u5Ch3o5IfA9RzBFNXaeQxRhnmV2HXUQm fEpNXrPQ==; 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 1cq78B-00031g-UL; Mon, 20 Mar 2017 23:54:31 +0000 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cq788-0002xa-92 for linux-rockchip@lists.infradead.org; Mon, 20 Mar 2017 23:54:30 +0000 Received: by mail-pf0-x232.google.com with SMTP id 20so24443565pfk.2 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=Psko0tp0Lp9vyv8w0fp4wR9vwjC7KHP7MfFwJrGjLUP17o6Cm5VdGvydUjFCFaHsbN rHc9UcXW8lNqFdlWr0z0vm3eW9hk1ZzEBp4+vX0kYaJPN0fMLrcVs5JXuvq/EYD4aWuy 6/q0acIbeJOYY+UuZ8LoYegdaWVEPGhXXrH7EubQwhII3/z/lUWFLgz1IyD5y1JeguFw nsIIt/GT/CICC1j133WNigtuy07iNcSvTWFcua0xGhqHC7QE7ZLS6x+UmOagRUYB/aLU /AyreDG3VEy6VnEXKndM8UJDgj0S3/Msop2ae1oXV0lwzs0fF4WVSMGjRVIIIjA5gmdD XAJg== X-Gm-Message-State: AFeK/H3UdBapqK6NRgiI2xUdfIprFLh8M9RpkeBcERh1xPYasvPDCiVNqZygA3i8hOOW6fMl 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_165428_399300_FFDBA689 X-CRM114-Status: UNSURE ( 8.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms 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-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=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>;