From patchwork Thu Apr 5 16:05:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 10324887 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 D840B600CB for ; Thu, 5 Apr 2018 16:05:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7533292D1 for ; Thu, 5 Apr 2018 16:05:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB5C5292D8; Thu, 5 Apr 2018 16:05:43 +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 [198.137.202.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 3FA62292D1 for ; Thu, 5 Apr 2018 16:05:42 +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: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:In-Reply-To: References:List-Owner; bh=krYTL5FPojyfSj3PKaKRVKlQfA9LApGKauzWmqWNj1w=; b=Sno EWu9xjtGWSZL2dbXrrfEtzujRkxGvU4x89mRwQYHXN4xZ0cYFk61tk8u5fjptEH2sFcHLP6EJcidU AeLnkmWwrfaGw9KEBgoGE0J+K85TnZUN9waRevVocyxabyMx2W3B/84GcI06kvUhaE6rct5Q2p27j mhJHj7t8tF9icayOgeB2uJ2z7uIe8t6bqGTovWQF/a9DYyJIQZ/wEFIaLPLBJpm+9p8cXRX63XTYA 4LsQdPSTaarmaa3IEcvY2JdkL9eVYRVmEQlOCiu2Xt0ppReFUkzEds6+F/NzSv1Gu305RZoNCRB0R GgY9VfnkfJNo4dKxyRD3PRo+LnIQ4yQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f47OL-0007Gb-6l; Thu, 05 Apr 2018 16:05:37 +0000 Received: from mo6-p01-ob.smtp.rzone.de ([2a01:238:20a:202:5301::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f47OF-0007Dp-V8 for linux-arm-kernel@lists.infradead.org; Thu, 05 Apr 2018 16:05:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1522944319; s=strato-dkim-0002; d=goldelico.com; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=MfxIbewVg2Alce84gcyTdZof01KsRH1wQ9C9mdZSsSQ=; b=m3qr7XTdtd4kOKbJ6OL+ohO+qaZ/hcA1qpwQdY0SJCSNLP5ZRvsU7/mJTNUT2Fp6ZM HjCfiurCrCfg73G4XoRdL94j7Tg1HIn9XUeQV3YMLbqTZ57P7W6dW/q/tVN6WcCdtf6N SLl+xISMTwFRaNpBERqdrsZY96mDB8W+QgXJ/xhZKIgb+PUDpqnDk6BoOpDbq4qjnBHn qCt99Ko7w5i2sTxUWLEfzCuSytBHiltnmC/cDZUJMoRrHqb3Ka8ZtOlb6fWKb7UYrH74 EEDJTcrqZOf6DJDEQhw6ZrpRl3fPlDibBycya/LNrEl9vAXxAwEo2Num7Hn7lvbgKLVG L1mg== X-RZG-AUTH: :JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o12DNO4Ij0lfw3o0 X-RZG-CLASS-ID: mo00 Received: from localhost.localdomain (p57AE0256.dip0.t-ipconnect.de [87.174.2.86]) by smtp.strato.de (RZmta 43.1 DYNA|AUTH) with ESMTPSA id K02537u35G5HMRg (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 5 Apr 2018 18:05:17 +0200 (CEST) From: "H. Nikolaus Schaller" To: Peter Ujfalusi , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland Subject: [PATCH] ARM: dts: omap3-gta04: Add fixed 26MHz clock as fck for twl Date: Thu, 5 Apr 2018 18:05:16 +0200 Message-Id: X-Mailer: git-send-email 2.12.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180405_090532_169525_CCCFB002 X-CRM114-Status: GOOD ( 12.80 ) 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: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , letux-kernel@openphoenux.org, "H. Nikolaus Schaller" , linux-kernel@vger.kernel.org, linux-omap , Linux ARM 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 The board uses 26MHz oscillator for the twl4030 HFCLK. This way we will not depend on the bootloader to configure the CFG_BOOT:HFCLK_FREQ Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index 4170be70460e..ac830b917776 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -30,6 +30,13 @@ display0 = &lcd; }; + /* fixed 26MHz oscillator */ + hfclk_26m: oscillator { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <26000000>; + }; + gpio-keys { compatible = "gpio-keys"; @@ -312,6 +319,9 @@ interrupts = <7>; /* SYS_NIRQ cascaded to intc */ interrupt-parent = <&intc>; + clocks = <&hfclk_26m>; + clock-names = "fck"; + twl_audio: audio { compatible = "ti,twl4030-audio"; ti,enable-vibra = <1>;