From: Eric Nelson <eric@nelint.com>
To: Lucas Stach <l.stach@pengutronix.de>, linux-clk@vger.kernel.org
Cc: anson.huang@nxp.com, clement.peron@devialet.com,
colin.didier@devialet.com, devicetree@vger.kernel.org,
festevam@gmail.com, kernel@pengutronix.de,
linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com,
linux-kernel@vger.kernel.org, mark.rutland@arm.com,
mturquette@baylibre.com, robh+dt@kernel.org,
s.hauer@pengutronix.de, sboyd@kernel.org, shawnguo@kernel.org,
tiny.windzz@gmail.com
Subject: Re: [PATCH] clk: imx6q: remove unsupported pll4_audio_div
Date: Mon, 11 Mar 2019 07:02:53 -0700 [thread overview]
Message-ID: <6eeb02d8-62fe-6b2a-d265-b437a02ef8d1@nelint.com> (raw)
In-Reply-To: <1552304271.2453.12.camel@pengutronix.de>
Hi Lucas,
On 3/11/19 4:37 AM, Lucas Stach wrote:
> Hi Eric,
>
> Am Sonntag, den 10.03.2019, 16:18 -0700 schrieb Eric Nelson:
>> The pll4_audio_div attempted to reflect one bit of a two-bit
>> divisor (AUDIO_DIV_LSB) in the CCM_ANALOG_MISC2 register.
>>
>> Unfortunately, this divisor is non-functional at least on the
>> latest silicon revisions and has been removed from the reference
>> manual.
>>
>> This is discussed in this NXP Community thread:
>>
>> https://community.nxp.com/thread/462806
>>
>> Remove the definition of pll4_audio_div to reflect this and
>> reparent the ssi, cko1, and ESAI/ASRC/SPDIF clocks to the
>> pll4_post_div clock.
>>
>>> Signed-off-by: Eric Nelson <eric@nelint.com>
>> ---
>> drivers/clk/imx/clk-imx6q.c | 7 +-
>> include/dt-bindings/clock/imx6qdl-clock.h | 127 +++++++++++++++---------------
>> 2 files changed, 66 insertions(+), 68 deletions(-)
>>
<snip>
>>
>> diff --git a/include/dt-bindings/clock/imx6qdl-clock.h b/include/dt-bindings/clock/imx6qdl-clock.h
>> index b3cef29..dea23a9 100644
>> --- a/include/dt-bindings/clock/imx6qdl-clock.h
>> +++ b/include/dt-bindings/clock/imx6qdl-clock.h
>> @@ -213,69 +213,68 @@
>>> #define IMX6QDL_CLK_CKO2 200
>>> #define IMX6QDL_CLK_CKO 201
>>> #define IMX6QDL_CLK_VDOA 202
>>> -#define IMX6QDL_CLK_PLL4_AUDIO_DIV 203
>>> -#define IMX6QDL_CLK_LVDS1_SEL 204
<snip>
>>> +#define IMX6QDL_CLK_LVDS1_SEL 203
>>> +#define IMX6QDL_CLK_LVDS2_SEL 204
>>> +#define IMX6QDL_CLK_LVDS1_GATE 205
<snip>
>
> You can not renumber the DT clock defines, as this breaks DT backward
> compatibility. You can however remove IMX6QDL_CLK_PLL4_AUDIO_DIV and
> leave a hole in the numbers, maybe with a comment about why it exists.
>
Okay. I wasn't aware of this requirement, and I'll send a V2.
It will also make the patch much smaller!
next prev parent reply other threads:[~2019-03-11 14:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-10 23:18 Eric Nelson
2019-03-11 11:37 ` Lucas Stach
2019-03-11 14:02 ` Eric Nelson [this message]
2019-03-11 15:39 ` [V2 0/2] ARM: imx6qdl: remove PLL4_AUDIO_DIV clock Eric Nelson
2019-03-11 15:59 ` Eric Nelson
2019-03-11 15:59 ` [V2 1/2] clk: imx6q: remove unsupported pll4_audio_div Eric Nelson
2019-03-11 16:38 ` Fabio Estevam
2019-03-11 18:35 ` Stephen Boyd
2019-03-11 20:48 ` Eric Nelson
2019-03-18 20:25 ` Stephen Boyd
2019-03-19 14:34 ` Aisheng Dong
2019-03-11 15:59 ` [PATCH 2/2] ARM: dts: imx6q: remove references to PLL4_AUDIO_DIV Eric Nelson
2019-03-11 16:39 ` Fabio Estevam
2019-03-11 14:20 ` [PATCH] clk: imx6q: remove unsupported pll4_audio_div kbuild test robot
2019-03-13 7:43 ` kbuild test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6eeb02d8-62fe-6b2a-d265-b437a02ef8d1@nelint.com \
--to=eric@nelint.com \
--cc=anson.huang@nxp.com \
--cc=clement.peron@devialet.com \
--cc=colin.didier@devialet.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=l.stach@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sboyd@kernel.org \
--cc=shawnguo@kernel.org \
--cc=tiny.windzz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®