Received: by 10.192.165.148 with SMTP id m20csp5036211imm; Tue, 1 May 2018 08:03:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZptRU7z7OY4WbB5u5Pgp944SFLJASWLW8uUL2i1rl0GYS9zKq+IudxjHK+ILvXS4Ee6tv8G X-Received: by 2002:a63:a002:: with SMTP id r2-v6mr974828pge.240.1525187016437; Tue, 01 May 2018 08:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525187016; cv=none; d=google.com; s=arc-20160816; b=0Ast1RrEnNzLUrALPTFl01OAgiiv0CpOnCiytntOWWKuxqw+PB1lV4u8wYZ87jIpMg 8of8/3nuAY3/ae45CXTutntJ+yZV4wHxcA+ijwf2Ws2u9vhSo6eMk2Fsk12Inigv30rx wu69H7V42zFScNWNjZLV0qPT4pznl6ALdRq1MZ+nEsy1BhjZ+wHBqHI2pF4IjrmMcX2r aoMp55Dq/mEOXAZf186cWj+/21NPh0Pa1so9Hp8z+nDrUc0/GsEd27YcVypFa0zORdQn qzFBo/zs6twlzMHr1lQhDJkeJBirmCndqR5Em41Qbm/aOSsglOql0f0kImf6h00+lDMt 0U9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=A9WmrwfKOaJXVW1yjvFGYbFzwOB0ptgSyxKytwdsEbU=; b=ZdLLdGw6FcWUdMAvTSh3k8Yx3MsLL+it6cVgRcBf1SNeAEtDBK+L6ZUkYHos/+fr1t VjzTcfrd6CZneOxBFfefeIyxzY4zj6CvuCCdvHMiDe2VuY0cljlWFF6HZxM9CkpC0D95 U3ZKpbHiAWNhjMXgczxSZLcKEn4kQwZUE2Ks61uBhQ+td3OKHh5lsgQJFT/g6tlLHAi1 R+GF6dhjsWKqz08P3tZ1YpLHFK+Q7QOjfgFXdiZxoA3p93lOjq8ji7Macd9jy2xkXKfO bFxveNDOGqUoBmnioB+n6Qkj5DoUJXTmeUuQf/Ic2C1Ixkt3Oo+6eRDh2UR8Mh5oNcWI FINA== ARC-Authentication-Results: i=1; mx.google.com; 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 n28si9841172pfh.210.2018.05.01.08.03.22; Tue, 01 May 2018 08:03:36 -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; 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 S1755995AbeEAPCk (ORCPT + 99 others); Tue, 1 May 2018 11:02:40 -0400 Received: from mail-ot0-f194.google.com ([74.125.82.194]:33165 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755443AbeEAPCi (ORCPT ); Tue, 1 May 2018 11:02:38 -0400 Received: by mail-ot0-f194.google.com with SMTP id l22-v6so13230302otj.0; Tue, 01 May 2018 08:02:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=A9WmrwfKOaJXVW1yjvFGYbFzwOB0ptgSyxKytwdsEbU=; b=UHiOFU9+ibFuE+dyYK2VqLVvh8hJeQJJ/ThmHG6QOZFjC9OfZMKM51Wyv9NXsRq91r d7wzOpErmbUT9F9pDa5u9gw/4frHluIaj6txmba1YAd36UYx1hoMxK0DUpfdD5/VNuqo ZgMZvQM2PfHmtG3QOQZsNPNAf3CBDn93inmY8dUBSb/IWLYRLy0uU7JhBA7NvyfafuUA EF7acoV+G603pMdEG7pJ+wUjeR0S5HDXzzWvmJq7jrD93H2kPIw82pIs21VICO27lGfI npqaogkydMTvh9N2e7tz1Bs1UJRPnDFkAKUjSBv8CcWvNWSprQuNlKc8gcA2VHgyNDij 2qAA== X-Gm-Message-State: ALQs6tDtcz8UIEySFoJan+8ozzkek4QYxmsp5wlgN4QSIIM4pHaDjhJB zkiVJPTcNSmHg+VV9/bcsg== X-Received: by 2002:a9d:7081:: with SMTP id l1-v6mr3164258otj.147.1525186957272; Tue, 01 May 2018 08:02:37 -0700 (PDT) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id t39-v6sm6123548otc.52.2018.05.01.08.02.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 May 2018 08:02:36 -0700 (PDT) Date: Tue, 1 May 2018 10:02:36 -0500 From: Rob Herring To: Jae Hyun Yoo Cc: Michael Turquette , Stephen Boyd , Joel Stanley , Andrew Jeffery , Mark Rutland , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, stable Subject: Re: [PATCH] clk:aspeed: Fix reset bits for PCI/VGA and PECI Message-ID: <20180501150236.GA15330@rob-hp-laptop> References: <20180426172232.12535-1-jae.hyun.yoo@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180426172232.12535-1-jae.hyun.yoo@linux.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 26, 2018 at 10:22:32AM -0700, Jae Hyun Yoo wrote: > This commit fixes incorrect setting of reset bits for PCI/VGA and > PECI modules. > > 1. Reset bit for PCI/VGA is 8. > 2. PECI reset bit is missing so added bit 10 as its reset bit. > > Signed-off-by: Jae Hyun Yoo > Fixes: 15ed8ce5f84e ("clk: aspeed: Register gated clocks") > Cc: stable > --- > drivers/clk/clk-aspeed.c | 4 ++-- > include/dt-bindings/clock/aspeed-clock.h | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/clk/clk-aspeed.c b/drivers/clk/clk-aspeed.c > index 5eb50c31e455..2c23e7d7ba28 100644 > --- a/drivers/clk/clk-aspeed.c > +++ b/drivers/clk/clk-aspeed.c > @@ -88,7 +88,7 @@ static const struct aspeed_gate_data aspeed_gates[] = { > [ASPEED_CLK_GATE_GCLK] = { 1, 7, "gclk-gate", NULL, 0 }, /* 2D engine */ > [ASPEED_CLK_GATE_MCLK] = { 2, -1, "mclk-gate", "mpll", CLK_IS_CRITICAL }, /* SDRAM */ > [ASPEED_CLK_GATE_VCLK] = { 3, 6, "vclk-gate", NULL, 0 }, /* Video Capture */ > - [ASPEED_CLK_GATE_BCLK] = { 4, 10, "bclk-gate", "bclk", 0 }, /* PCIe/PCI */ > + [ASPEED_CLK_GATE_BCLK] = { 4, 8, "bclk-gate", "bclk", 0 }, /* PCIe/PCI */ > [ASPEED_CLK_GATE_DCLK] = { 5, -1, "dclk-gate", NULL, 0 }, /* DAC */ > [ASPEED_CLK_GATE_REFCLK] = { 6, -1, "refclk-gate", "clkin", CLK_IS_CRITICAL }, > [ASPEED_CLK_GATE_USBPORT2CLK] = { 7, 3, "usb-port2-gate", NULL, 0 }, /* USB2.0 Host port 2 */ > @@ -297,7 +297,7 @@ static const u8 aspeed_resets[] = { > [ASPEED_RESET_JTAG_MASTER] = 22, > [ASPEED_RESET_MIC] = 18, > [ASPEED_RESET_PWM] = 9, > - [ASPEED_RESET_PCIVGA] = 8, > + [ASPEED_RESET_PECI] = 10, > [ASPEED_RESET_I2C] = 2, > [ASPEED_RESET_AHB] = 1, > }; > diff --git a/include/dt-bindings/clock/aspeed-clock.h b/include/dt-bindings/clock/aspeed-clock.h > index d3558d897a4d..8d69b9134bef 100644 > --- a/include/dt-bindings/clock/aspeed-clock.h > +++ b/include/dt-bindings/clock/aspeed-clock.h > @@ -45,7 +45,7 @@ > #define ASPEED_RESET_JTAG_MASTER 3 > #define ASPEED_RESET_MIC 4 > #define ASPEED_RESET_PWM 5 > -#define ASPEED_RESET_PCIVGA 6 > +#define ASPEED_RESET_PECI 6 You can't really be changing these as they represent an ABI. Is there no PCIVGA reset? > #define ASPEED_RESET_I2C 7 > #define ASPEED_RESET_AHB 8 > > -- > 2.17.0 >