Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2014030yba; Thu, 25 Apr 2019 09:15:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqzphcy3oGE+E8wpP2khz2S7hlX2o+MYC9/L3Yz8B1nMbqPo0vNO+lm6h4An9nClW1sX4Ywp X-Received: by 2002:a65:6108:: with SMTP id z8mr37969455pgu.106.1556208914547; Thu, 25 Apr 2019 09:15:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556208914; cv=none; d=google.com; s=arc-20160816; b=hg8nEJxSmEZcu1hzN5z16VFHXi/jZs4/I0tDjMjsFDPQZNfaP2nfgAkp9au+x5asb3 TYz4AJFpeZO1/N3ZgOWNaCsR3+u8zwY+WahUx99qa/KKQlEUGIJOOGRmy8LFmPi8L54q IDA57xQHECeba1HlIuWMuHr1UI1j3P9VJ9+N6NIq8M81v9NK2S/qZchr4IAf4c9SWwnf YzXV10F/YAXWHg6rk2W4YpS9XDzEStmK7Wm2htWIKkGyCNCEZtKnJw/evyD0YuNwrljO d1yZQ5MIrb6BsvgqPNeWfHwzu2Iykx6/CY1GYfuvlbvtkG7InHPtj/HvXr6PgluiVDVs napg== 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; bh=kbFce9kqOYMXkwbYbsm3ItH4gOftYJ40LGsY5EDEySQ=; b=v5rnYmuxEl1q9Mo2Ud9cxF6YRRaJAcXqDPyPN8LcY/FOsuxDqToumQ855Jadh2AvC7 e+zooo8W3w/s3RzlCaPiCG0Jv+FQOH/H9gIPqOVh/a87on5iuA/EUzrXMK0snUVY10de 9P9GOFr8sHN0VrxoC2ivXHgcrGMviuLtFXpWAiNQnbKMZ+LM/x5+49B20rc3XPFGj6EQ h5P9z0WQEF6+LDEnlBKAs3K6diHfp7RibKGwtNk3Ta/hivrur8C6Qx4cRP9SYwb7Esn+ jPIxrncMS6XWdnqp9lnNDZYNWrHLlY8+Bok2W1bV6nvum/Obca5UiaBGtK+NeaGGOPjn Cd6A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r12si3245603pli.103.2019.04.25.09.14.59; Thu, 25 Apr 2019 09:15:14 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730143AbfDYKEE (ORCPT + 99 others); Thu, 25 Apr 2019 06:04:04 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:45563 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728108AbfDYKED (ORCPT ); Thu, 25 Apr 2019 06:04:03 -0400 Received: by mail-ot1-f66.google.com with SMTP id e5so18865093otk.12; Thu, 25 Apr 2019 03:04:02 -0700 (PDT) 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=kbFce9kqOYMXkwbYbsm3ItH4gOftYJ40LGsY5EDEySQ=; b=GpoFqo/8sRA0De9Y0/dmGa2mXcFCQXjMGI3KZAU3REuyrDN2NCc7FcRmUROkotWU7Z aifpUg1fraTA+7IHiNrps2eeeAGlVG2k0aKqRDzw/qMPy39gBkq9X0hhVsNJ2CF82cy1 8WOa8ez93mkUTu31MQ2XJWAw+dCp5umKPXtI5S0s696wA74ApxmULaLIGFWoK8dRmfuB UKWCHPspKh9jQBJEtquxCx59mUEqyi3iSr5D7zuT2/QjuZS00jxKK3BYLPHFJPkzuYtW A/zQ3Yls3s7BuF9yBa0OFuFN/gOWLocZfD7MXoDwf1i+l5J40bnC6THx/UT/gQ/1pWqG C4Xw== X-Gm-Message-State: APjAAAXHAKxl1xQVkH5mrCjC7bIcad5uY8I6x+NLOw1V45ZIeiAsR47o W1KqRDnPtNINlpnk2gf+3Dln0l15bshq/R5JN0g= X-Received: by 2002:a9d:6e17:: with SMTP id e23mr23121690otr.65.1556186641899; Thu, 25 Apr 2019 03:04:01 -0700 (PDT) MIME-Version: 1.0 References: <1556185703-26243-1-git-send-email-vabhav.sharma@nxp.com> In-Reply-To: <1556185703-26243-1-git-send-email-vabhav.sharma@nxp.com> From: "Rafael J. Wysocki" Date: Thu, 25 Apr 2019 12:03:51 +0200 Message-ID: Subject: Re: [PATCH v2] clk: qoriq: Add clockgen support for lx2160a To: Vabhav Sharma Cc: "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" , "linux-pm@vger.kernel.org" , "sboyd@kernel.org" , "mturquette@baylibre.com" , "rjw@rjwysocki.net" , "viresh.kumar@linaro.org" , Yogesh Narayan Gaur , Andy Tang 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 Thu, Apr 25, 2019 at 11:48 AM Vabhav Sharma wrote: > > From: Yogesh Gaur > > Add clockgen support for lx2160a. > Added entry for compat 'fsl,lx2160a-clockgen'. Well, if I'm expected to apply this, the above is a bit terse. It looks like the patch makes the qoriq-cpufreq driver handle some new hardware, but the changelog doesn't say much about that. I'm guessing that the clockgen support added here makes it possible for qoriq-cpufreq to handle this chip, is that correct? > Signed-off-by: Tang Yuantian > Signed-off-by: Yogesh Gaur > Signed-off-by: Vabhav Sharma > Acked-by: Scott Wood > Acked-by: Stephen Boyd > Acked-by: Viresh Kumar > --- > Changes for v2: > - Subject line updated > > drivers/clk/clk-qoriq.c | 12 ++++++++++++ > drivers/cpufreq/qoriq-cpufreq.c | 1 + > 2 files changed, 13 insertions(+) > > diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c > index 3d51d7c..1a15201 100644 > --- a/drivers/clk/clk-qoriq.c > +++ b/drivers/clk/clk-qoriq.c > @@ -570,6 +570,17 @@ static const struct clockgen_chipinfo chipinfo[] = { > .flags = CG_VER3 | CG_LITTLE_ENDIAN, > }, > { > + .compat = "fsl,lx2160a-clockgen", > + .cmux_groups = { > + &clockgen2_cmux_cga12, &clockgen2_cmux_cgb > + }, > + .cmux_to_group = { > + 0, 0, 0, 0, 1, 1, 1, 1, -1 > + }, > + .pll_mask = 0x37, > + .flags = CG_VER3 | CG_LITTLE_ENDIAN, > + }, > + { > .compat = "fsl,p2041-clockgen", > .guts_compat = "fsl,qoriq-device-config-1.0", > .init_periph = p2041_init_periph, > @@ -1427,6 +1438,7 @@ CLK_OF_DECLARE(qoriq_clockgen_ls1043a, "fsl,ls1043a-clockgen", clockgen_init); > CLK_OF_DECLARE(qoriq_clockgen_ls1046a, "fsl,ls1046a-clockgen", clockgen_init); > CLK_OF_DECLARE(qoriq_clockgen_ls1088a, "fsl,ls1088a-clockgen", clockgen_init); > CLK_OF_DECLARE(qoriq_clockgen_ls2080a, "fsl,ls2080a-clockgen", clockgen_init); > +CLK_OF_DECLARE(qoriq_clockgen_lx2160a, "fsl,lx2160a-clockgen", clockgen_init); > CLK_OF_DECLARE(qoriq_clockgen_p2041, "fsl,p2041-clockgen", clockgen_init); > CLK_OF_DECLARE(qoriq_clockgen_p3041, "fsl,p3041-clockgen", clockgen_init); > CLK_OF_DECLARE(qoriq_clockgen_p4080, "fsl,p4080-clockgen", clockgen_init); > diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c > index 4295e54..81f0288 100644 > --- a/drivers/cpufreq/qoriq-cpufreq.c > +++ b/drivers/cpufreq/qoriq-cpufreq.c > @@ -284,6 +284,7 @@ static const struct of_device_id node_matches[] __initconst = { > { .compatible = "fsl,ls1046a-clockgen", }, > { .compatible = "fsl,ls1088a-clockgen", }, > { .compatible = "fsl,ls2080a-clockgen", }, > + { .compatible = "fsl,lx2160a-clockgen", }, > { .compatible = "fsl,p4080-clockgen", }, > { .compatible = "fsl,qoriq-clockgen-1.0", }, > { .compatible = "fsl,qoriq-clockgen-2.0", }, > -- > 2.7.4 >