From patchwork Thu Sep 1 23:53:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 9310159 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 23BAC60756 for ; Thu, 1 Sep 2016 23:54:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17DFB29598 for ; Thu, 1 Sep 2016 23:54:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BDE42959F; Thu, 1 Sep 2016 23:54:12 +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 9DA4B29598 for ; Thu, 1 Sep 2016 23:54:11 +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 1bfbo9-00010F-4p; Thu, 01 Sep 2016 23:54:09 +0000 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bfbo6-0000wi-8N for linux-rockchip@lists.infradead.org; Thu, 01 Sep 2016 23:54:07 +0000 Received: by mail-pa0-x231.google.com with SMTP id hb8so34408736pac.2 for ; Thu, 01 Sep 2016 16:53:43 -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; bh=kQautWLCuhQxcAKoY0lnhgTuz+oY8Nwwrn613dDMDt4=; b=LTC3vR7Xqcx60gGZyem4YcDgnpYJ8FsgbQl7yME2GGstRn3P8GwSe+YFhUD0zXmdCJ UlzqNZ1o8+UXTu2N19kqbhPAn2QYaKl99UYa8jWTrf/DILNlptJaf18Y9AO89BQMXKOE iJXWcDF/uC+zYZA/tSbhJJNe2rnzsgE9Ji6B0= 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; bh=kQautWLCuhQxcAKoY0lnhgTuz+oY8Nwwrn613dDMDt4=; b=PohExzcnqXFFp5IfAcMVG43L5a8JPlKFUbQRiuL1rwIW8+udxGPWsYUOP8ctThop2m U2dfMQYOuLKlDlcokHvikyq1B98UzxDrN/yJMkfBQ7cSCwX6HrWm2pbG4uYQ13kFrMRD GFmdsju2rEWjyOZWh+kYqIbldrxQoBAAfx3lXwp+onHbuOSVMIRu2orc/5e6BXlaLHQw M234py/TW7giQKG+FbF0TUyx3jyH81XiwKIzyJByKqqEd3fzOetCv7JTDyXP0DLc1LbP i/TGSSsW5Pdxi6MrWPa+4bEI1vkSiHQ30hPmyXQMMgmKkyWO4B9glgli37uhMZ1nBRnj V76Q== X-Gm-Message-State: AE9vXwM5ZNdEaJE1TDeCPHEnGatqIUpU8u0C9QG0MQh1YSDERdao+BP+oWe7aYYR2zvUZuhs X-Received: by 10.66.9.42 with SMTP id w10mr31379197paa.34.1472774022605; Thu, 01 Sep 2016 16:53:42 -0700 (PDT) Received: from chromelab4.mtv.corp.google.com ([100.98.62.8]) by smtp.gmail.com with ESMTPSA id x9sm8428347pfd.70.2016.09.01.16.53.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Sep 2016 16:53:40 -0700 (PDT) From: Douglas Anderson To: Heiko Stuebner Subject: [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399 Date: Thu, 1 Sep 2016 16:53:22 -0700 Message-Id: <1472774002-25986-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160901_165406_350430_A8995B0B X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, briannorris@chromium.org, zhengxing@rock-chips.com, yamada.masahiro@socionext.com, catalin.marinas@arm.com, tonie.xie@rock-chips.com, will.deacon@arm.com, Douglas Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, zhangqing@rock-chips.com, david.wu@rock-chips.com, jay.xu@rock-chips.com, linux-arm-kernel@lists.infradead.org, wxt@rock-chips.com 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 On some rk3399 boards GPIO0_A0 is hooked up to a 32 kHz clock. This can be used as the source for various clocks in the system. Add a pinmux so boards can get this pin properly configured. Signed-off-by: Douglas Anderson --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 62d450935a57..13e2a440fe43 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1171,6 +1171,12 @@ drive-strength = <13>; }; + clock { + clk_32k: clk-32k { + rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>; + }; + }; + i2c0 { i2c0_xfer: i2c0-xfer { rockchip,pins =