From patchwork Thu Oct 19 00:52:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 116327 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp6671875qgn; Wed, 18 Oct 2017 17:53:51 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RHwxYrKVbPndUuDRVZE+TXSzjzSv7SC1PhyZCzlNB2fcm/Wg1IK5tA3ozpA+EJMv8wUKQC X-Received: by 10.84.241.15 with SMTP id a15mr4470366pll.388.1508374430927; Wed, 18 Oct 2017 17:53:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508374430; cv=none; d=google.com; s=arc-20160816; b=Qkc7AJo2P+RsBKNzP9bUBSdhBr6y/L7zZIFAeu5m5v//7SZ/Dg3fkweVkgYiWHGSnu uBk/NNJ0Gd0f2YqQXz5IhRLNS8o5mU9yXnnZWzYsKfv3/6mGnQ5Bjx+HV+Hq0Dale2Me sMli/h7lu2QcALMeqVQVN5jwtMVq4DifDFt8+6bJXnDIPEWgbc+Jh3OuWhbL0vHHJp1S c/BKz2ylEDcPfKOKJu9l2ggxsPaYLkiIIPlrIibKLQtNme3QQpJwj5AfdHaSxmNj5JaM MrbCa/mXzSpmow3+NQ8kfY/8B7hJpAURPYNNUsMwTiPSi8+6MUAVWrgdRsoptb+KlL+6 truA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=vxJTgZLKfNKjJ7jrAtUaiPdUP1u9liLrE3RNMsyLzPk=; b=Qe0QNWgE3Io4M2LAdL3i5+GLdIznHhQUd/3WdFtRiTGa6MQ6CFhsNVYL5SlliGbfn7 XtsF8LznOU81Kf+IkMI1Oya2gqIV7LeTHOnU7JbGrUa5xTFC6CsY2xCl8SWkg+bsnBBO lWEKsxk+b1XACOJwyzvOVcRYeWpTmbA60YRftqIKVnkjZAtrONo0oqxo2pGK6mjwz+2u aiz+RK2rgm4OxS2UImKop5nRDD/DKI1jPuw2nNR1ligieID4KgqTVJi3c8e+ljo7snA+ HDME9Db/LeP/SWDC0lvnyr1uzWe+ODjBIqz4ZZOdR6/oN65Q/EbgYQNHj9xNW3IDnGFY Kgsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=znDV/XGY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si5347127plv.485.2017.10.18.17.53.50; Wed, 18 Oct 2017 17:53:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=znDV/XGY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751498AbdJSAxs (ORCPT + 27 others); Wed, 18 Oct 2017 20:53:48 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:44049 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829AbdJSAxq (ORCPT ); Wed, 18 Oct 2017 20:53:46 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id v9J0qour019061; Thu, 19 Oct 2017 09:52:50 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v9J0qour019061 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508374371; bh=vxJTgZLKfNKjJ7jrAtUaiPdUP1u9liLrE3RNMsyLzPk=; h=From:To:Cc:Subject:Date:From; b=znDV/XGYZN+o7SpC2zBo//RIbSldfYz06piOZdwlebqikW6tqI49qULXvXTy8zn83 FMNn5Y1o6jEFF1SXHi5OFE0WrzQDy99Ku3bswOpows2HAy6AGlfUKC5dhL40gy04dC 6IN5FG3sMBxZqOoHvBFIJxIwLfiSovwcajQZnpM/dSsahvgCD1thuTb2OO8wQEZxSm 7tp9p/YpUPSVYmy8tRCLR7w22mOZB0jiJGJmoOAJF31R5DDig6LIVTXdpSR/7EtOp0 rMK2ybVbblzY8lGVPjCUOcgwPyL/2eWyA6RNdipED39xfnH0onEave7jn3TApo/sCi MBf3tSpdZ+JzQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-clk@vger.kernel.org Cc: Masahiro Yamada , Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] clk: uniphier: fix parent of miodmac clock data Date: Thu, 19 Oct 2017 09:52:46 +0900 Message-Id: <1508374366-27171-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The "miodmac" is not a child of "stdmac". They are independent from each other. Fix it. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/clk-uniphier-mio.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/drivers/clk/uniphier/clk-uniphier-mio.c b/drivers/clk/uniphier/clk-uniphier-mio.c index 16e4d30..badc478 100644 --- a/drivers/clk/uniphier/clk-uniphier-mio.c +++ b/drivers/clk/uniphier/clk-uniphier-mio.c @@ -13,6 +13,8 @@ * GNU General Public License for more details. */ +#include + #include "clk-uniphier.h" #define UNIPHIER_MIO_CLK_SD_FIXED \ @@ -73,15 +75,12 @@ #define UNIPHIER_MIO_CLK_USB2_PHY(idx, ch) \ UNIPHIER_CLK_GATE("usb2" #ch "-phy", (idx), "usb2", 0x20 + 0x200 * (ch), 29) -#define UNIPHIER_MIO_CLK_DMAC(idx) \ - UNIPHIER_CLK_GATE("miodmac", (idx), "stdmac", 0x20, 25) - const struct uniphier_clk_data uniphier_ld4_mio_clk_data[] = { UNIPHIER_MIO_CLK_SD_FIXED, UNIPHIER_MIO_CLK_SD(0, 0), UNIPHIER_MIO_CLK_SD(1, 1), UNIPHIER_MIO_CLK_SD(2, 2), - UNIPHIER_MIO_CLK_DMAC(7), + UNIPHIER_CLK_GATE("miodmac", 7, NULL, 0x20, 25), UNIPHIER_MIO_CLK_USB2(8, 0), UNIPHIER_MIO_CLK_USB2(9, 1), UNIPHIER_MIO_CLK_USB2(10, 2),