From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH 1/2] dt-bindings: GPIO: Add generic serializer binding Date: Wed, 27 Jan 2016 14:57:32 +0100 Message-ID: References: <1449863184-29668-1-git-send-email-afd@ti.com> <1449863184-29668-2-git-send-email-afd@ti.com> <566EF12C.4060509@ti.com> <566F4E9B.8090202@ti.com> <56840ED0.6070205@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <56840ED0.6070205-l0cyMroinI0@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Andrew F. Davis" Cc: Rob Herring , "linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Mark Brown , Alexandre Courbot , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-gpio@vger.kernel.org On Wed, Dec 30, 2015 at 6:05 PM, Andrew F. Davis wrote: > [Me] >> Compatible ranges from the specific to the more generic >> so compatible = "ti,74165", "pisosr"; is just fine. Something >> will match if there is a suitable driver. The OS may choose to >> provide something part-specific or something more generic. >> > > And so we won't need to have "ti,74165" in the driver itself, > if we just have "pisosr", then dts files can use what ever they > like to correctly identify the part then fall back to pisosr. > > compatible = "company,random_numbers_of_exact_part_actually_on_board", > "pisosr"; Exactly. Sorry for slow replies. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-spi" 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 S932710AbcA0N5h (ORCPT ); Wed, 27 Jan 2016 08:57:37 -0500 Received: from mail-ob0-f181.google.com ([209.85.214.181]:35777 "EHLO mail-ob0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932494AbcA0N5d (ORCPT ); Wed, 27 Jan 2016 08:57:33 -0500 MIME-Version: 1.0 In-Reply-To: <56840ED0.6070205@ti.com> References: <1449863184-29668-1-git-send-email-afd@ti.com> <1449863184-29668-2-git-send-email-afd@ti.com> <566EF12C.4060509@ti.com> <566F4E9B.8090202@ti.com> <56840ED0.6070205@ti.com> Date: Wed, 27 Jan 2016 14:57:32 +0100 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: GPIO: Add generic serializer binding From: Linus Walleij To: "Andrew F. Davis" Cc: Rob Herring , "linux-spi@vger.kernel.org" , Mark Brown , Alexandre Courbot , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "linux-gpio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 30, 2015 at 6:05 PM, Andrew F. Davis wrote: > [Me] >> Compatible ranges from the specific to the more generic >> so compatible = "ti,74165", "pisosr"; is just fine. Something >> will match if there is a suitable driver. The OS may choose to >> provide something part-specific or something more generic. >> > > And so we won't need to have "ti,74165" in the driver itself, > if we just have "pisosr", then dts files can use what ever they > like to correctly identify the part then fall back to pisosr. > > compatible = "company,random_numbers_of_exact_part_actually_on_board", > "pisosr"; Exactly. Sorry for slow replies. Yours, Linus Walleij