[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200107065800.6C85E207E0@mail.kernel.org>
Date: Mon, 06 Jan 2020 22:57:59 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
Rob Clark <robdclark@...il.com>, Sean Paul <sean@...rly.run>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
Subject: Re: [PATCH 10/12] clk: mux: Add support for specifying parents via DT/pointers
Quoting Stephen Boyd (2019-08-30 08:09:21)
> After commit fc0c209c147f ("clk: Allow parents to be specified without
> string names") we can use DT or direct clk_hw pointers to specify
> parents. Create a generic function that shouldn't be used very often to
> encode the multitude of ways of registering a mux clk with different
> parent information. Then add a bunch of wrapper macros that only pass
> down what needs to be passed down to the generic function to support
> this with less arguments.
>
> Note: the msm drm driver passes an anonymous array through the macro
> which seems to confuse my compiler. Adding a parenthesis around the
> whole thing at the call site seems to fix it but it must be wrong. Maybe
> it's better to split this patch and pick out the array bits there?
>
> Cc: Rob Clark <robdclark@...il.com>
> Cc: Sean Paul <sean@...rly.run>
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
> Signed-off-by: Stephen Boyd <sboyd@...nel.org>
> ---
Applied to clk-next
Powered by blists - more mailing lists