From patchwork Sat Jun 23 11:09:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10483529 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 50E84604D3 for ; Sat, 23 Jun 2018 11:09:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4242D28E24 for ; Sat, 23 Jun 2018 11:09:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 365A828E38; Sat, 23 Jun 2018 11:09:25 +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 E506B28E24 for ; Sat, 23 Jun 2018 11:09:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751654AbeFWLJW (ORCPT ); Sat, 23 Jun 2018 07:09:22 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:54458 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751613AbeFWLJV (ORCPT ); Sat, 23 Jun 2018 07:09:21 -0400 Received: by mail-it0-f66.google.com with SMTP id 76-v6so6227167itx.4; Sat, 23 Jun 2018 04:09: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; bh=NFx9LY6q473yXbqJiGk2HQviV1WLoiMOj/RYXID/2h4=; b=kKZjx9Qblv7JDnLumvMNPsKCg7iiJBezhZTuwtD+/PMlglEuWhkI7vdcDoxXUoFRj5 pduaKip2dCdVJgTcDd3sFriF9//nO3oIkZDc6npIFh7FBWeW7j5C/cyksSSpUvqXQ/Ce XI6vdxeblscaZi7Ut5woLo5HKZLVM3RJIOWt3jRjxZzq/3LLKfiQIhcIoVHbBC+SQnqv vzOwW+3bYcqz0isPqnsghadb+xue/xAnKbd/F954imdldvWiN1/SPFYd64nTYZYnocPx 1aEwz1Bf53ID9ksqE6SsFEwbObp+vcG/t3M+OLeKcJMs2JUTLZYm5nCfC3+tQyEX+9hB FP2g== 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=NFx9LY6q473yXbqJiGk2HQviV1WLoiMOj/RYXID/2h4=; b=qo2anDNotkeR4tOf9B13FdcdsmhO8Gnf5HvCs6xeK0EEKXEqTEetXxl6FrusQ/h0FC GaFDsR9pSiysKWw0gUjjAIKQIGRQjkFjEPt2BdpNhO7u4QStunKv56gqzKC3kvacW83D zl1802pB2oGcHXFUIKGMJ0tAGR1AoN3Gh/wPdNE97bmJQ1/3yvjRMXa43llqydmEewX1 cemyUymTmuEpi04iw3p4IEQYTpTFCFEy2mEpBeVYnSDFVFeSdNBw9H6WEgMq7RNTRULQ b3blapfke69RB7/xCsZB5w24aRfMqRI7eOt9dK/MYhb8EBhPjVtapZ0uQipgtJzZ2LfA Zylw== X-Gm-Message-State: APt69E2GO6op3p3+GJSRbJzM5ppJhc9SQuOYGzJqO7FsGbbNBunHiQxQ x9ujQEZ3yTdfl2b0KBipw3w= X-Google-Smtp-Source: ADUXVKIAquBSrUTksmkM7fxG9lBFuTHCxBGE/H+imtBWVoHrszgxXoN8R3GtltUDuWWhC38tGDElgA== X-Received: by 2002:a24:b046:: with SMTP id b6-v6mr1398070itj.48.1529752160076; Sat, 23 Jun 2018 04:09:20 -0700 (PDT) Received: from localhost.localdomain (c-75-73-34-135.hsd1.mn.comcast.net. [75.73.34.135]) by smtp.gmail.com with ESMTPSA id 81-v6sm785492itv.39.2018.06.23.04.09.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jun 2018 04:09:19 -0700 (PDT) From: Adam Ford To: t-kristo@ti.com, linux-clk@vger.kernel.org, sboyd@codeaurora.org, mturquette@baylibre.com Cc: linux-omap@vger.kernel.org, tony@atomide.com, Adam Ford , stable@vger.kernel.org Subject: [PATCH] clk: ti: omap3: Fix am3517 mdio clock alias Date: Sat, 23 Jun 2018 06:09:12 -0500 Message-Id: <20180623110912.20633-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 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 A previous patch removed OMAP clock aliases that were perceived to be unnecessary. Unfortunately, it broke the ethernet on the am3517-evm. This patch renables the MDIO clock. Fixes: 0ed266d7ae5e ("clk: ti: omap3: cleanup unnecessary clock aliases") Cc: stable@vger.kernel.org #4.16+ Signed-off-by: Adam Ford Tested-by: Derald D. Woods diff --git a/drivers/clk/ti/clk-3xxx.c b/drivers/clk/ti/clk-3xxx.c index 8aa5f5793835..f84734bd0aa7 100644 --- a/drivers/clk/ti/clk-3xxx.c +++ b/drivers/clk/ti/clk-3xxx.c @@ -254,6 +254,8 @@ static struct ti_dt_clk omap36xx_am35xx_omap3430es2plus_clks[] = { }; static struct ti_dt_clk am35xx_clks[] = { + DT_CLK("davinci_emac.0", NULL, "emac_ick"), + DT_CLK("davinci_mdio.0", NULL, "emac_fck"), DT_CLK(NULL, "hsotgusb_ick", "hsotgusb_ick_am35xx"), DT_CLK(NULL, "hsotgusb_fck", "hsotgusb_fck_am35xx"), DT_CLK(NULL, "uart4_ick", "uart4_ick_am35xx"),