Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3809386imm; Mon, 11 Jun 2018 02:03:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLIjKTNmM2wMRV5hvFX6evxxaxDp8L8Rfzo2R0Mpq3OPo4h3WXMqLoB1O/qMt96XV+29KED X-Received: by 2002:a62:9d58:: with SMTP id i85-v6mr16614239pfd.76.1528707814534; Mon, 11 Jun 2018 02:03:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528707814; cv=none; d=google.com; s=arc-20160816; b=cx+t7GANlNVyOWDoSbuUZ4t7j6u5GIfXuV37Qvla/WzOF00gQc5+j/7ZEPwSh2e8gX h03pCT3gXpeuZZAC+UpLdFsF1qbMhgcUDUskqdFJv6w3D9IasyVEHof3fACEAybDjQGy PaT+xZ2vHtAK4C7Ov75vZ606GkUCLa0JmawdsAlEW4xjBlDz+jXQpz9ZGAO+hGXh2Co8 IrKcUtjAHy8WWvnpKqY4acyiuxlvRXfG1L4+HUdHedvBbvUQQb+/eiFgPgPgif4ljmN4 1FUIycQDSQ1e5OKlhX4VMmIpLoup+9BiKe6M0J/2hKJ+VI+YwhrEzWryQnf8PFmrOxrh 0ziA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=EAidKCBZ+2a3EqXWgXbW+ePZySVlGnhaMBmN/EdlonQ=; b=oFeAZNaAj9tT5nAHLW3fQZCJtHpvreseOQdUSjhBTKQLWzUibp00fhLVmc8Dg6ZXk1 1wTSchz3XUr+Ami+3KISCrBF0DLivHxE6FVxNB3+obeAlbR09NmghS77yZXNfFc9nF0L kX6OB+zq4uGjp4UBcHomJwM7CAYcnKkHA5csGkNtuwmdidNQKz17z5R76a4daxh/VpFf y1sZ7ycOOdHnjoV+YD0mwre/m4nQZu6jeTXhwIZkiuaGcinxKiAc9Px+jTdhqVG/CvLd 1sVqqb2N8AJY0w4aQLP3YptcJPsQN4yEwEGX5IdTtZQDlLXcOaJV3YDrkcBFSuQE72L3 F4fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=C4oY64Ld; 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 n9-v6si18457961plk.310.2018.06.11.02.03.19; Mon, 11 Jun 2018 02:03:34 -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=fail header.i=@gmail.com header.s=20161025 header.b=C4oY64Ld; 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 S932529AbeFKJC4 (ORCPT + 99 others); Mon, 11 Jun 2018 05:02:56 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:40152 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754024AbeFKJCy (ORCPT ); Mon, 11 Jun 2018 05:02:54 -0400 Received: by mail-lf0-f65.google.com with SMTP id q11-v6so29349070lfc.7; Mon, 11 Jun 2018 02:02:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=EAidKCBZ+2a3EqXWgXbW+ePZySVlGnhaMBmN/EdlonQ=; b=C4oY64LdYBxusgaqA7r4Xl5ZdbT8FlhX1/1fLNDbeVA5QmMChkDU53Wkr72Q8hccCz A8a2X+r1fViqanHXM1zI4o9jj65C1b8048N7iFLse22k75kTUTlIPa6yLQUqiTlsDq/q a5r4pJbCdoKqyOcfLG76OOHW5+outAMR6R8l7RriOLoZhu722DYM4S3Cs8CUwWJ7wwDA GOLkHggPsogstvgvFwDt5M6WlEA7mSZbe53mY4sWkrXfwTjNcE8DR8JP5ywvURLrRmpR dtYrJr08iwPyRqy9ZJbOiJcTYZuxXKsM4iCHIz6Q9+8eZ/6UMYB/RBP6UAqOgDN6zL1j 6VkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=EAidKCBZ+2a3EqXWgXbW+ePZySVlGnhaMBmN/EdlonQ=; b=FXEws7o91AcF+ym3xkZX2x9aizufJKw67r8jJ4O4TN0UUozltE3TOCrG1TEsJb0E5a Rgdb/TlVhHz2LAnj6Pl4TJ/N5igF0tp3DBdIekoGk2bQygs3StYCQmCisxI7F7VjoRd+ rpdBJirC1MzTuGKlt/qPs65qIpOL4jzr4lGRkcxfxhB9tKjYYH3jUBcPnQE2CuBEcAng jipfWK5HY811lBVdQHTniAdg1gH7hD3VOgHNocLeVwgFtr6ZsiNVk5BDR4aEZIgW80nQ yX8NBn0nnGfL7t7Wcryb5fdzPM5H8nDeCgRXlzWhcouxTc5EUjPokmCdrM4gRiFlRFfl rQ8A== X-Gm-Message-State: APt69E3hTAvfcWf61AGxi9054bhqqeA+52q01Woc1sOYq7p2ryTRa8ZQ Yp04we1DMfBv51QbO2ZsL9GiiCyHV7YQuVnRivg= X-Received: by 2002:a19:1460:: with SMTP id k93-v6mr10353795lfi.23.1528707772836; Mon, 11 Jun 2018 02:02:52 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:56c8:0:0:0:0:0 with HTTP; Mon, 11 Jun 2018 02:02:52 -0700 (PDT) In-Reply-To: <1528706663-20670-1-git-send-email-geert@linux-m68k.org> References: <1528706663-20670-1-git-send-email-geert@linux-m68k.org> From: Arnd Bergmann Date: Mon, 11 Jun 2018 11:02:52 +0200 X-Google-Sender-Auth: Mxh_Sf2EJaB4_0zemth4sa32SM4 Message-ID: Subject: Re: [PATCH 0/3] Legacy clock drivers: Normalize clk API To: Geert Uytterhoeven Cc: Greg Ungerer , Ralf Baechle , James Hogan , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Corentin Labbe , "David S . Miller" , linux-m68k , "open list:RALINK MIPS ARCHITECTURE" , Networking , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 11, 2018 at 10:44 AM, Geert Uytterhoeven wrote: > Hi all, > > When seeing commit bde4975310eb1982 ("net: stmmac: fix build failure due > to missing COMMON_CLK dependency"), I wondered why this dependency is > needed, as all implementations of the clock API should implement all > required functionality, or provide dummies. > > It turns out there were still two implementations that lacked the > clk_set_rate() function: Coldfire and AR7. > > This series contains three patches: > - The first two patches add dummies for clk_set_rate(), > clk_set_rate(), clk_set_parent(), and clk_get_parent() to the > Coldfire and AR7, like Arnd has done for other legacy clock > implementations a while ago. > - The second patch removes the COMMON_CLK dependency from the stmmac > network drivers again, as it is no longer needed. > Obviously this patch has a hard dependency on the first two patches. Yes, good idea. Acked-by: Arnd Bergmann One question: what happens on machines that don't support any CLK interface, i.e. that don't have any of COMMON_CLK/HAVE_CLK/CLKDEV_LOOKUP? I guess those are already hopelessly broken for many drivers, right? Arnd