[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <9938e4eb-45aa-bf68-dd64-bb0a23f99e3d@samsung.com>
Date: Mon, 26 Feb 2018 11:07:38 +0900
From: Jaehoon Chung <jh80.chung@...sung.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>,
Shawn Lin <shawn.lin@...k-chips.com>
Cc: linux-mmc@...r.kernel.org, devicetree <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Joachim Eastwood <manabian@...il.com>, dinguyen@...nel.org,
Will Deacon <will.deacon@....com>,
"xuwei (O)" <xuwei5@...ilicon.com>
Subject: Re: [PATCH 1/6] mmc: dw_mmc: remove the deprecated
"clock-freq-min-max" property
On 02/24/2018 01:16 AM, Andy Shevchenko wrote:
> On Fri, Feb 23, 2018 at 4:19 PM, Shawn Lin <shawn.lin@...k-chips.com> wrote:
>> On 2018/2/23 21:27, Andy Shevchenko wrote:
>>> On Fri, Feb 23, 2018 at 8:41 AM, Jaehoon Chung <jh80.chung@...sung.com>
>>> wrote:
>>>>
>>>> 'clock-freq-min-max' property had already deprecated.
>>>> Remove the 'clock-freq-min-max' property that is kept to maintain
>>>> the compatibility.
>>>
>>>
>>> Removing a property without telling the user what to expect is a bad
>>> idea and ABI breakage.
>>>
>>
>> What's the general process to remove a property?
>>
>> I guess we should do:
>> 1) deprecate it in the first place and remove it from all upstream DT
>> 2) wait some long enough days for expecting the stale of all old DTB
>> containing that property
>> 3) remove the functionality of the deprecated property from the driver
>> but still leave some warning there
>> 4) remove the left warning finally
>
> I don't know. Perhaps Rob can shed a light here.
> But I would really OK with removal of some of such properties from
> some drivers where it's more burden to keep them.
This property had deprecated about 8months ago.
I think that it was enough to keep this property for maintaining the compatibility.
I didn't remove this property without any alternative.
Best Regards,
Jaehoon Chung
>
>> And for the ABI breakage, we should add something in Documentation/ABI
>> /obsolete or Documentation/ABI/removed ?
>
Powered by blists - more mailing lists