From patchwork Fri May 4 21:00:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10381707 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 E4D5160159 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 D4C2029578 for ; Fri, 4 May 2018 21:00:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9D2B2957C; 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 6689B29578 for ; Fri, 4 May 2018 21:00:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751612AbeEDVAV (ORCPT ); Fri, 4 May 2018 17:00:21 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:36164 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751629AbeEDVAU (ORCPT ); Fri, 4 May 2018 17:00:20 -0400 Received: by mail-io0-f193.google.com with SMTP id d73-v6so27165242iog.3 for ; Fri, 04 May 2018 14:00:20 -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:in-reply-to:references; bh=ykoyyntiot0liIWMWYyQj32K7/VLlf6ReHAyF5Nvo0I=; b=izdEUKwGgHmUbfNP4hfXnXXl2yWyHcjZe1/VmakTiqx+Oq6C9ppre6Q61tc3WC6UPq 4Lyn+A4Cib/Q1NllfcfBoFN7a8bZpi9ug3rqZSOc7fHMSv9riDdBLw2VLKe1PKC7MytU p9reuGnu+bdmfJE1UOnlWiqCjHFXXDeZkLBL7X8rQUzrMd6ACRI8SyfQp11UThfKZbDC jUNMBlT/iGQR5g8EqXmmlXfK58nckB87goILZwCGxat329d5LVT0zifco7p6vYBqCH1r oJttBwujfTkmvKybsrvmXzEi9lNefRgvC6JZ1VnnFLapTnCnDK2lJaKNyT4tqxcWq8dL 1hag== 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=ykoyyntiot0liIWMWYyQj32K7/VLlf6ReHAyF5Nvo0I=; b=fdgl2hJeFz0pmMZGQryNkoKzPlOROBERdf0NgOHxTWWKSPupIFlCw9bR/RUb4+JjM9 gaMChMtthuJ4SQ3DskRLrQgbo3xJBD3aVtIo55EleFxCBYsXmG7q0lQvJ4QmESCUlL/z +C7gQIRJbropyeu1SUobhMqxgiFvIhw7hX2yavhZ3WHKUtaK10CjWwA2r+LEZYbeCA0X H28AGfq/+ne9xz54kxp3GD2PpmSDr2itjrJkua8ryR7MSINhhYxlLRTE+7DhTwTZvl1o XCz6r6RFnVTM/7/tKajLQBukqTF9DSHaGwENj37DDlhb1Kdn+M/uClMKq7CZRsMWoDeH Ej2Q== X-Gm-Message-State: ALQs6tD6SIDcq8eJfJuYrA1PgzCyot/a3QFeAFX4pydSBBSUULEiPOyj 2udkQNtnQoaAZyCnNZz0/JmY6g== X-Google-Smtp-Source: AB8JxZpkAfqxejmxGXLgQf7GxwX45SvSF+dFo7huT1uM/f+RQ3yE4YMct6HevxHnSiCUXvNU/oMHuQ== X-Received: by 2002:a6b:c585:: with SMTP id v127-v6mr32381453iof.85.1525467619557; Fri, 04 May 2018 14:00:19 -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:19 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: adam.ford@logicpd.com, Adam Ford Subject: [PATCH] ARM: dts: logicpd-som-lv: Add fixed 26MHz clock as fck for twl 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 Date: Fri, 4 May 2018 16:00:11 -0500 Message-Id: <20180504210011.14733-2-aford173@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180504210011.14733-1-aford173@gmail.com> References: <20180504210011.14733-1-aford173@gmail.com> 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 Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/logicpd-som-lv.dtsi b/arch/arm/boot/dts/logicpd-som-lv.dtsi index a92c34f4eb68..0f7f7824f915 100644 --- a/arch/arm/boot/dts/logicpd-som-lv.dtsi +++ b/arch/arm/boot/dts/logicpd-som-lv.dtsi @@ -35,6 +35,13 @@ reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; /* gpio_4 */ #phy-cells = <0>; }; + + /* fixed 26MHz oscillator */ + hfclk_26m: oscillator { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <26000000>; + }; }; &gpmc { @@ -79,6 +86,8 @@ 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 {