Message ID | 1370517749-29892-2-git-send-email-tushar.behera@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBCM7XVUQUEDBBVHIYGGQKGQEFNGD7XI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1D61625DEA for <linaro@patches.linaro.org>; Thu, 6 Jun 2013 11:36:53 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id m1sf2993756ves.11 for <linaro@patches.linaro.org>; Thu, 06 Jun 2013 04:36:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=/MY3qbywcQWToC1zpYTmyaJkpWYwdv2RHlobepSdwEc=; b=i7oXjFDlDFzK43Nw80ydgcGwnbYps6Dc5bFTskxNllMCMSIPVJywbWfn/OScfQG/Ia 8/k569uGsyNgdcDRygVAgM/HLq7+7IIs9fQOvpm8GXwPQbG0N76KzHkQn/qSWgKkrUaR 57a5nk1ajQ1nxw1YLeRq7v7r0/gkee7iJZ8bFjFGOBsPXQstDqpc+2mjH82vAgHfEwLE thpWXe4OKBaLHHYv5MgKu9tDc2K8zBKphj7tkoWuRbIyE89eqw9NtqJZgtk6jlsm5PJU ctO1G775e1Ui8bNTKZM3YaIm1QECo4/OZfafoe04gf6rtYwxOUc0XFygrvboL56EJfTc xR1Q== X-Received: by 10.52.16.142 with SMTP id g14mr8995046vdd.2.1370518612844; Thu, 06 Jun 2013 04:36:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.13.106 with SMTP id g10ls1174713qec.39.gmail; Thu, 06 Jun 2013 04:36:52 -0700 (PDT) X-Received: by 10.58.187.232 with SMTP id fv8mr5955865vec.50.1370518612655; Thu, 06 Jun 2013 04:36:52 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id ha3si529516vdb.69.2013.06.06.04.36.52 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 04:36:52 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ht11so1889061vcb.4 for <patchwork-forward@linaro.org>; Thu, 06 Jun 2013 04:36:52 -0700 (PDT) X-Received: by 10.220.170.72 with SMTP id c8mr326317vcz.14.1370518612555; Thu, 06 Jun 2013 04:36:52 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp63083vcb; Thu, 6 Jun 2013 04:36:51 -0700 (PDT) X-Received: by 10.66.157.229 with SMTP id wp5mr39392549pab.14.1370518611550; Thu, 06 Jun 2013 04:36:51 -0700 (PDT) Received: from mail-pb0-x232.google.com (mail-pb0-x232.google.com [2607:f8b0:400e:c01::232]) by mx.google.com with ESMTPS id pf4si48180949pbc.164.2013.06.06.04.36.51 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 04:36:51 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::232 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=2607:f8b0:400e:c01::232; Received: by mail-pb0-f50.google.com with SMTP id wy17so3157342pbc.37 for <patches@linaro.org>; Thu, 06 Jun 2013 04:36:51 -0700 (PDT) X-Received: by 10.68.226.39 with SMTP id rp7mr37637995pbc.97.1370518611112; Thu, 06 Jun 2013 04:36:51 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id dr6sm77362405pac.11.2013.06.06.04.36.47 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 04:36:50 -0700 (PDT) From: Tushar Behera <tushar.behera@linaro.org> To: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: mturquette@linaro.org, kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH 1/2] clk: samsung: Add MUX_FA macro to pass flag and alias Date: Thu, 6 Jun 2013 16:52:27 +0530 Message-Id: <1370517749-29892-2-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1370517749-29892-1-git-send-email-tushar.behera@linaro.org> References: <1370517749-29892-1-git-send-email-tushar.behera@linaro.org> X-Gm-Message-State: ALoCoQk3jGJbOPD0dyxBvWQpKJg4OR5Zs6O8j4AxTtJv34DWL76EEHSKSQ8Esww8fvMP7wCEAMhB X-Original-Sender: tushar.behera@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/clk/samsung/clk.h b/drivers/clk/samsung/clk.h index e4ad6ea..2f7dba2 100644 --- a/drivers/clk/samsung/clk.h +++ b/drivers/clk/samsung/clk.h @@ -144,6 +144,9 @@ struct samsung_mux_clock { #define MUX_F(_id, cname, pnames, o, s, w, f, mf) \ __MUX(_id, NULL, cname, pnames, o, s, w, f, mf, NULL) +#define MUX_FA(_id, cname, pnames, o, s, w, f, mf, a) \ + __MUX(_id, NULL, cname, pnames, o, s, w, f, mf, a) + /** * @id: platform specific id of the clock. * struct samsung_div_clock: information about div clock
Cpufreq driver for some Samsung platforms have not yet been designed as a platform driver, thereby they can only access clocks with an alias name. For EXYNOS4210, one such clock also requires a flag to be set, hence there is a need to create another macro that can handle both flag and alias. Signed-off-by: Tushar Behera <tushar.behera@linaro.org> --- drivers/clk/samsung/clk.h | 3 +++ 1 file changed, 3 insertions(+)