From patchwork Mon Jun 25 10:53:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10485523 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 DABAA603B5 for ; Mon, 25 Jun 2018 10:53:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2B5A287F0 for ; Mon, 25 Jun 2018 10:53:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B787C287FE; Mon, 25 Jun 2018 10:53:34 +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 6A2C8287F0 for ; Mon, 25 Jun 2018 10:53:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932191AbeFYKxc (ORCPT ); Mon, 25 Jun 2018 06:53:32 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:53419 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755242AbeFYKxb (ORCPT ); Mon, 25 Jun 2018 06:53:31 -0400 Received: by mail-it0-f68.google.com with SMTP id a195-v6so11719265itd.3; Mon, 25 Jun 2018 03:53:31 -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=bX4H52XbuI85t0fXnPm1zkX0u+VW+S0UdE8f3aXNVpo=; b=AnnbF5O64tlJLDgcacHoqL41Lm6fmmyhm1FwnhZDFZURLhpNAFqxDy1t6T3FVhtkc7 cxp6hkGV4FYgk+jwToH3VERGMhPAoqU17t0QwjE4qRJWCiMMwq2IUaNki/3qG2vOIwxj 3g9TyIpIaEg4JOeqhR1eXbC/xwyD+Kl6G3s/HOjGK6FKazkbISHvLQkNKJtjoDAD3jz8 AiOYj8uz5qIv1u41azGhn5sIedx6H9RaC7qcPn/1y6t2YKm5A/V5rNZ/7AFjwKKCt6Sc 7I2P5xVfghzG33IPd3TZ2uH3CUlHvBqj+GiiUFaW1unuhnDYErzXD9WaWyhQI2jCJU5n wpNw== 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=bX4H52XbuI85t0fXnPm1zkX0u+VW+S0UdE8f3aXNVpo=; b=MJr/une/LVbR/1ev8cZd4S8kQp/MrQQ5a45F22uS7Fx9IiM4k/JJXmeRczKkkKU7an VM9zObF/jTeWM2JCyKu0rlmOm8qdmkNEMpvutJZnwTh0xx1cy8tJeuqu11yY+Y3EeDMq Ta4RPqj9gm74wv/n1O8UfuP5zX7h2f+IwX2a/qYPvb7YGb1HKH6V1Q81NiCylCrAhDKG wZXVTLOh8jJ1zXGls5MOaIw2ZXeSyJFwFyDIk9Gb+SfsmQvOjA5JoL6xZ5iA0TGuZQoH AacuwNdea2F1zvKPgftcxBIpHgp3oj9sO6p4J0ZO30aKpe06taCR1KHE8zMBUoH6pRSM 1xbg== X-Gm-Message-State: APt69E3lIs+QENRF8aH3MWQh2vyXhPtESy8SanyYzCfrzXOhZmf4Fqvd HgHDoYTb8xh0TYCcA8Gp1YY= X-Google-Smtp-Source: AAOMgpd9HMTK/a6/m2/kZvOh4ZA/xM+EXOs5TrW4Ld8DjC0RdrS/C7NyVdTLh+sf5l23O/oX5oRDzg== X-Received: by 2002:a02:e84:: with SMTP id 126-v6mr6722256jae.113.1529924010696; Mon, 25 Jun 2018 03:53:30 -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 b130-v6sm4482225itc.38.2018.06.25.03.53.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 03:53:30 -0700 (PDT) From: Adam Ford To: adam.ford@logicpd.com Cc: t-kristo@ti.com, woods.technical@gmail.com, linux-clk@vger.kernel.org, sboyd@codeaurora.org, mturquette@baylibre.com, linux-omap@vger.kernel.org, tony@atomide.com, Adam Ford , stable@vger.kernel.org Subject: [PATCH V2] clk: ti: omap3: Fix am3517 mdio clock alias Date: Mon, 25 Jun 2018 05:53:13 -0500 Message-Id: <20180625105313.4201-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 enables the MDIO clock and EMAC clock. Fixes: 0ed266d7ae5e ("clk: ti: omap3: cleanup unnecessary clock aliases") Cc: stable@vger.kernel.org #4.16+ Signed-off-by: Adam Ford --- V2: Instead of modifying clk-3xxx.c, this patch modifie the device tree to work like the original patch intended. diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi index ca294914bbb1..4b6062b631b1 100644 --- a/arch/arm/boot/dts/am3517.dtsi +++ b/arch/arm/boot/dts/am3517.dtsi @@ -39,6 +39,8 @@ ti,davinci-ctrl-ram-size = <0x2000>; ti,davinci-rmii-en = /bits/ 8 <1>; local-mac-address = [ 00 00 00 00 00 00 ]; + clocks = <&emac_ick>; + clock-names = "ick"; }; davinci_mdio: ethernet@5c030000 { @@ -49,6 +51,8 @@ bus_freq = <1000000>; #address-cells = <1>; #size-cells = <0>; + clocks = <&emac_fck>; + clock-names = "fck"; }; uart4: serial@4809e000 {