From patchwork Fri May 4 21:00:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10381705 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 3A1E060159 for ; Fri, 4 May 2018 21:00:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2817829578 for ; Fri, 4 May 2018 21:00:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1CEB82957C; Fri, 4 May 2018 21:00:22 +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=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6FD729578 for ; Fri, 4 May 2018 21:00:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751630AbeEDVAU (ORCPT ); Fri, 4 May 2018 17:00:20 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:43905 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751582AbeEDVAT (ORCPT ); Fri, 4 May 2018 17:00:19 -0400 Received: by mail-io0-f196.google.com with SMTP id t23-v6so27130247ioc.10 for ; Fri, 04 May 2018 14:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=n1HwIPavDyh70VGFYN61cOB+RTHNlzBrmHzTu6NW4jw=; b=fHQOscTwaDuIaP7pluuhfcsuvQdyX9Fp/ebMJVaXEdNV020I4wV8jSfcRT2+FvJwOr ymi4cD1PyubCJG3gVBXRMp+M4T9tqVRGWDO8lOFl43hsIxffswYjvGUDsMsbqcPuotY2 DJfZCDTpLifUzEvgJbj9x6CavlYXBLB284t19tvZB7s7eM2xZD57BOCaWf3WcYH07HYi gqwEwJ2C3wjOdbXU96M8YRHpTbFcrHhh0pRs0JPAU8BFmPrJt42EAN2XAlqWhk/rSBed G/ZmHjb6Y0rAqrvRIHtIKMjHnt/n1S3PIZRehRFLfj943BRlosre5KZNbyKVyDs1yeCT SNQw== 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; bh=n1HwIPavDyh70VGFYN61cOB+RTHNlzBrmHzTu6NW4jw=; b=grraFAtAKOpzGvvnrO7/V8kVr93O7R1WQYHN46PJaNmueC8zAS67slchqITHz1U+8E Muj187EPTF9wUXwE/M4A5OOFnOhbNle0VlYIE2/QqTeJYI+ultsIcUp4NP3LlXbnXSyo 1DGPLDZA0PmAW4xJhOkT9NEDvJVIYZMTHFEcIpY6tUnJqiuBJgKFVsjZL63pWh/CCkbX e7Ky/Y4T4Rjrp4z7MlK0smoa3oV9gHchQqdCbYICK33T0VARfLokOJL6OtaMxyzYIGk5 aLwB+OxKtdI9gL2mAH/CgYpdtppoKpDc8p969Q0pObRasDRBUOiV0/G+W3dRzHridKp2 +BGw== X-Gm-Message-State: ALQs6tAYcDJ5xUknuifcja2GMzsNgPy7+KF/0xmQOLKzHL4oIRj5c+7L hNihDq1IIADEbm0ScFQmSwzoeQ== X-Google-Smtp-Source: AB8JxZpTHqtdveebvTeflWUGnCP7xyfh/j+6uvXLqF0XEULKiiglcrpTHK19bnVcUS4KQwXXB5/MDA== X-Received: by 2002:a6b:dd16:: with SMTP id f22-v6mr30590670ioc.7.1525467618877; Fri, 04 May 2018 14:00:18 -0700 (PDT) Received: from localhost.localdomain (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id e37-v6sm8947587ioj.80.2018.05.04.14.00.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 14:00:18 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: adam.ford@logicpd.com, Adam Ford Subject: [PATCH] ARM: dts: logicpd-torpedo: Add fixed 26MHz clock as fck for twl Date: Fri, 4 May 2018 16:00:10 -0500 Message-Id: <20180504210011.14733-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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: Adam Ford diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi index 3e174e474d3d..7d2302e8706c 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi @@ -30,6 +30,13 @@ linux,default-trigger = "none"; }; }; + + /* fixed 26MHz oscillator */ + hfclk_26m: oscillator { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <26000000>; + }; }; &gpmc { @@ -74,6 +81,9 @@ reg = <0x48>; interrupts = <7>; /* SYS_NIRQ cascaded to intc */ interrupt-parent = <&intc>; + clocks = <&hfclk_26m>; + clock-names = "fck"; + twl_audio: audio { compatible = "ti,twl4030-audio"; codec {