From mboxrd@z Thu Jan 1 00:00:00 1970 From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth) Date: Sun, 23 Mar 2014 19:12:05 +0100 Subject: [PATCH v2] drm/i2c: tda998x: Change the compatible strings In-Reply-To: <20140323111903.51c73c82@armhf> References: <20140321115541.01cbbb06@armhf> <532C40B0.3000805@gmail.com> <20140323111903.51c73c82@armhf> Message-ID: <532F23F5.6020001@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 03/23/2014 11:19 AM, Jean-Francois Moine wrote: > On Fri, 21 Mar 2014 14:37:52 +0100 > Sebastian Hesselbarth wrote: >>> Required properties; >>> - - compatible: must be "nxp,tda998x" >>> + - compatible: may be "nxp,tda9989", "nxp,tda19988" or "nxp,tda19989" >> >> There is a "DT is ABI" policy and although there is no mainline Linux >> user of current compatible, the correct way would be to deprecate >> "nxp,tda998x" and introduce new compatibles. > > Pratically, what is this way? Currently, there is no effective way to deprecate a binding or compatible. You just add the one(s) that are more sensible and you mark the old one as DEPRECATED by simply writing it in the binding doc. The driver should support the old binding at least for a while. Sebastian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Hesselbarth Subject: Re: [PATCH v2] drm/i2c: tda998x: Change the compatible strings Date: Sun, 23 Mar 2014 19:12:05 +0100 Message-ID: <532F23F5.6020001@gmail.com> References: <20140321115541.01cbbb06@armhf> <532C40B0.3000805@gmail.com> <20140323111903.51c73c82@armhf> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140323111903.51c73c82@armhf> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jean-Francois Moine Cc: Russell King - ARM Linux , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On 03/23/2014 11:19 AM, Jean-Francois Moine wrote: > On Fri, 21 Mar 2014 14:37:52 +0100 > Sebastian Hesselbarth wrote: >>> Required properties; >>> - - compatible: must be "nxp,tda998x" >>> + - compatible: may be "nxp,tda9989", "nxp,tda19988" or "nxp,tda19989" >> >> There is a "DT is ABI" policy and although there is no mainline Linux >> user of current compatible, the correct way would be to deprecate >> "nxp,tda998x" and introduce new compatibles. > > Pratically, what is this way? Currently, there is no effective way to deprecate a binding or compatible. You just add the one(s) that are more sensible and you mark the old one as DEPRECATED by simply writing it in the binding doc. The driver should support the old binding at least for a while. Sebastian -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752583AbaCWSMU (ORCPT ); Sun, 23 Mar 2014 14:12:20 -0400 Received: from mail-ee0-f53.google.com ([74.125.83.53]:46550 "EHLO mail-ee0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752448AbaCWSML (ORCPT ); Sun, 23 Mar 2014 14:12:11 -0400 Message-ID: <532F23F5.6020001@gmail.com> Date: Sun, 23 Mar 2014 19:12:05 +0100 From: Sebastian Hesselbarth User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 To: Jean-Francois Moine CC: Russell King - ARM Linux , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] drm/i2c: tda998x: Change the compatible strings References: <20140321115541.01cbbb06@armhf> <532C40B0.3000805@gmail.com> <20140323111903.51c73c82@armhf> In-Reply-To: <20140323111903.51c73c82@armhf> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/23/2014 11:19 AM, Jean-Francois Moine wrote: > On Fri, 21 Mar 2014 14:37:52 +0100 > Sebastian Hesselbarth wrote: >>> Required properties; >>> - - compatible: must be "nxp,tda998x" >>> + - compatible: may be "nxp,tda9989", "nxp,tda19988" or "nxp,tda19989" >> >> There is a "DT is ABI" policy and although there is no mainline Linux >> user of current compatible, the correct way would be to deprecate >> "nxp,tda998x" and introduce new compatibles. > > Pratically, what is this way? Currently, there is no effective way to deprecate a binding or compatible. You just add the one(s) that are more sensible and you mark the old one as DEPRECATED by simply writing it in the binding doc. The driver should support the old binding at least for a while. Sebastian