Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4863424imu; Wed, 19 Dec 2018 01:24:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/X+fK5u3UJg6buO3VgdncIRrtWuTB53znCOKs6mbrJCgSd0h8Xl2p7r+izorPY7s5Uk9kkA X-Received: by 2002:a17:902:2c83:: with SMTP id n3mr19776097plb.104.1545211443263; Wed, 19 Dec 2018 01:24:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545211443; cv=none; d=google.com; s=arc-20160816; b=GfitFbgCeRYrP7p2RIpDPtJDDapKgp/EkRCasbZSFCoEMS6S+/M4u9R38xjmQLW4Rb /Hzxqt8OrzMvMsymFcfsbnJnuGyaCtnXjsEzd/v7czxWa1jxdzT/4O2gMyEJi1rnxfvi yh1FNJMZ8rDmjXkYseucqWJGTRJmlBvJdasV8I2eWTXPJvGuLlS9gWzJlVhAxoQCFNJN kQ8UjsubNgwPojlnBI5hRIwFrhxG9OkecPlx4I2LKX8UrgvWFAzHkKgF+hRjJGstJ2Fw dd8vJOORzSfetMQht4x7aS3QNi/TkiNflyyz+PtlaX5CDk7sZ93PwwDYKKKgY7iA1gZw CUbw== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Y/Z6PgvJRJNswSRxzjtLy9xOxxC9dJobUigFXsk1lhY=; b=RdGeo8/YB5uhxHnfae1rCZcKgzlO61MqSPbOnCqeSZ1ZcR+d7iUqkuvyGmNQgpt0nK UWUyU6eNpFDQVaexDmg0VFftTk4ODyOHFcAPIj7rlxeeMTwlG5KQIxv+oZUcsbdhe10S 1cNhXL41HElUuCglqCDbe1Uw0XPnVbcbrufinCxviQrSrPNwv3XvOpMPPR3NvtgQAIWQ 2x9f3aPKXj5uOxUvNc40TLAZMpRhRT7KGsZgdF9U6S7NaZmFH60nH6jV4UJCBFVPX64P ENlOh0NK84DXj90s5cn+HKVriwsy/QF97GLU7RAf8lSS8zh5y3VkkOG7f0/If0uT4zSO jJsg== 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 z129si7925891pfz.13.2018.12.19.01.23.45; Wed, 19 Dec 2018 01:24:03 -0800 (PST) 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 S1728458AbeLSIhD (ORCPT + 99 others); Wed, 19 Dec 2018 03:37:03 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:54095 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727999AbeLSIhC (ORCPT ); Wed, 19 Dec 2018 03:37:02 -0500 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gZXLO-00017y-UF; Wed, 19 Dec 2018 09:36:42 +0100 Received: from ukl by ptx.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1gZXLN-000828-1D; Wed, 19 Dec 2018 09:36:41 +0100 Date: Wed, 19 Dec 2018 09:36:40 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Anson Huang Cc: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , Fabio Estevam , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx , linux-pwm@vger.kernel.org Subject: Re: [PATCH] ARM: dts: imx6sl: correct PWM ipg clock source Message-ID: <20181219083640.42jmibqzn2t3i4t2@pengutronix.de> References: <1545197799-9082-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1545197799-9082-1-git-send-email-Anson.Huang@nxp.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Cc: += linux-pwm] Hello, On Wed, Dec 19, 2018 at 05:41:31AM +0000, Anson Huang wrote: > From i.MX6SL Reference Manual, the PWMx's ipg clock > for registers access is from perclk, correct them. I assume this is related to the patch "pwm: imx: add ipg clock operation"? This patch doesn't fix a real problem because in practise perclk is already enabled, right? (I don't question the patch, just wonder how urgent it is.) > Signed-off-by: Anson Huang > --- > arch/arm/boot/dts/imx6sl.dtsi | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi > index e7524e7..4b4813f 100644 > --- a/arch/arm/boot/dts/imx6sl.dtsi > +++ b/arch/arm/boot/dts/imx6sl.dtsi > @@ -338,7 +338,7 @@ > compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm"; > reg = <0x02080000 0x4000>; > interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>; > - clocks = <&clks IMX6SL_CLK_PWM1>, > + clocks = <&clks IMX6SL_CLK_PERCLK>, > <&clks IMX6SL_CLK_PWM1>; > clock-names = "ipg", "per"; It's a bit irritating that IMX6SL_CLK_PERCLK is used for the "ipg" clk, not the "per" clk. Is this correct? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |