Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5602182ybp; Tue, 8 Oct 2019 05:39:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKFCB6kjjdI+mcESdzgVRoX0qsoAKyKXHJcM9ppszSYVQSkRTTupV382Fh5Xz2uQcs057c X-Received: by 2002:a17:907:2126:: with SMTP id qo6mr29078605ejb.256.1570538391570; Tue, 08 Oct 2019 05:39:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570538391; cv=none; d=google.com; s=arc-20160816; b=P519WpXh6ePy2nYVA5qY2kzdnSuXGItebxvObGRpwErsfW4rQlVYFH7k6z5qsEeOZE TF9s62RGDpZYV6Qrf1Q/RV77PHMXuit6dFbncCwSiuO0fo+Fzla1FkJ3N4Zs9l0Mo9HC uGhO54MBe58NVp87d+/HSOcbOR1dzZJY6u8MsWLb+2D3CVW8ott3EjQA2NW2Fp8cU2LJ yTnnKuBR5j1UBw8jNsFZit6qQbmK2mAcFUXXZunUZ+sXOYjTBBmIAn1yOiB1upJZLGVN 293pRla8m7Wy8fPa+rZGa3c1oe+N4aFLqvTTLbzmeE55SsRpcIftknFjUKIblnvbptWP +lcQ== 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 :in-reply-to:references:mime-version:dkim-signature; bh=4v0d+1p/aArXJ2yOJRd5yNu1aMPL1BHOkAquOKCrLz0=; b=n+sJOcfovCcoUBgnqWVIDaE2LSMo804bxdMt8Uj2mbV4sHOKSXuWsRV4VYPpJI6vrd vajn3hMUY0Z+X0sIa4+6GTkzpcGGyc6Qq99skf1fA1Fy24rzpmG3ZflQfqELLJItNrPy b4IhRneBsoyWB3MyF7M+c7bmgRfuxCzlbaS31Y3E14McoBrx7xTjY8LoSlIu5bnq4wyH Ylc0PLDzJNB2eLFj5h2Ewwe7gPpwDWzq1lgjWHTZdrfs2r0RF/eeiQLG3GeBox1ZiVU5 s6YrATt6231SrrEU80DJYn8IffYXw3eRlB2V91veeu/O3MnJYDL3Fqxmsnw5Wpv3xPeP aFag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=hdoPfz7i; 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 j18si8896434ejv.201.2019.10.08.05.39.28; Tue, 08 Oct 2019 05:39:51 -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=@jms.id.au header.s=google header.b=hdoPfz7i; 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 S1730876AbfJHMhO (ORCPT + 99 others); Tue, 8 Oct 2019 08:37:14 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:33272 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730605AbfJHMhN (ORCPT ); Tue, 8 Oct 2019 08:37:13 -0400 Received: by mail-qk1-f193.google.com with SMTP id x134so16562807qkb.0; Tue, 08 Oct 2019 05:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4v0d+1p/aArXJ2yOJRd5yNu1aMPL1BHOkAquOKCrLz0=; b=hdoPfz7i2ZAKAojYg3MCdn1h3u+bC0JsI4n7zh6dL6bVxNYeSc793Pmj5qltJe44fQ to9MLzW0F9Q2qJMBxS063xbPKegLPpoWtkY13KtO91GW7ABSL8Ijg3sD3+wEzdn3gUKl KdAuBnJ7Q4VRAthQ+JYQcg1M4uXtSRp5ZpLUY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4v0d+1p/aArXJ2yOJRd5yNu1aMPL1BHOkAquOKCrLz0=; b=LHvGCio9hc5uATawH+wK9itXGHh4btLNhjYg5hYAye4Ny6xvMxr3oWsA9hKdZMmroq JD9wuiEjxqBludOOwfllGhB/Lc/RxIjLcwPekD5+AvAJdPhDOI3Pa21gUsNjKHmj9IhH OZNjFXIgiIT6xRTs5pwYBZpXorypRKcC7usPo22n06KkgAZa1wJD4kjJhE+atBoPIMKQ 2MEY/U5DOKLU2rrZEkEeTLZjhKASgx38OseceCoemMMfyQq0FSDnZMq1Vxkq9syXsJ9O 8vY/eEZ/L28x4Xjc2mp2PJoQWvsRgqx45cyu8EWPlfm+EgKGkBNQIBQAE4z2PXNxXbck 89EA== X-Gm-Message-State: APjAAAXXPiUxAYN9T6pmG0Fh8NfIvMYQBoAS2DvkZyZebhe8WXEuHFlL NuQwDixU5/BbclgGag58FHVjcWCBcdaLqyCirTI= X-Received: by 2002:a37:4a54:: with SMTP id x81mr28628198qka.292.1570538232484; Tue, 08 Oct 2019 05:37:12 -0700 (PDT) MIME-Version: 1.0 References: <20191008113523.13601-1-andrew@aj.id.au> <20191008113523.13601-2-andrew@aj.id.au> In-Reply-To: <20191008113523.13601-2-andrew@aj.id.au> From: Joel Stanley Date: Tue, 8 Oct 2019 12:37:00 +0000 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: clock: Add AST2500 RMII RCLK definitions To: Andrew Jeffery Cc: linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Linux ARM , linux-aspeed , Linux Kernel Mailing List , devicetree 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 Tue, 8 Oct 2019 at 11:34, Andrew Jeffery wrote: > > The AST2500 has an explicit gate for the RMII RCLK for each of the two > MACs. > > Signed-off-by: Andrew Jeffery > --- > include/dt-bindings/clock/aspeed-clock.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/dt-bindings/clock/aspeed-clock.h b/include/dt-bindings/clock/aspeed-clock.h > index f43738607d77..64e245fb113f 100644 > --- a/include/dt-bindings/clock/aspeed-clock.h > +++ b/include/dt-bindings/clock/aspeed-clock.h > @@ -39,6 +39,8 @@ > #define ASPEED_CLK_BCLK 33 > #define ASPEED_CLK_MPLL 34 > #define ASPEED_CLK_24M 35 > +#define ASPEED_CLK_GATE_MAC1RCLK 36 > +#define ASPEED_CLK_GATE_MAC2RCLK 37 Calling these ASPEED_CLK_GATE breaks the pattern the rest of the driver has in using that name for the clocks that are registered as struct aspeed_clk_gate clocks. Do you think we should drop the GATE_ to match the existing clocks? > > #define ASPEED_RESET_XDMA 0 > #define ASPEED_RESET_MCTP 1 > -- > 2.20.1 >