Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752470AbbFDItG (ORCPT ); Thu, 4 Jun 2015 04:49:06 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:36760 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750849AbbFDIs7 (ORCPT ); Thu, 4 Jun 2015 04:48:59 -0400 MIME-Version: 1.0 In-Reply-To: <20150604052536.DA31EC40548@trevor.secretlab.ca> References: <1429604702-14157-1-git-send-email-ricardo.ribalda@gmail.com> <1429604702-14157-2-git-send-email-ricardo.ribalda@gmail.com> <20150604052536.DA31EC40548@trevor.secretlab.ca> From: Ricardo Ribalda Delgado Date: Thu, 4 Jun 2015 10:48:37 +0200 Message-ID: Subject: Re: [PATCH 2/2 v2] of/platform: Use platform_device interface To: Grant Likely Cc: Rob Herring , Rob Herring , Andrew Morton , Bjorn Helgaas , Vivek Goyal , Jakub Sitnicki , Mike Travis , Jiang Liu , Thierry Reding , "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 Content-Length: 1164 Lines: 35 Hello Grant On Thu, Jun 4, 2015 at 7:25 AM, Grant Likely wrote: > > I think I tried that too and then ran in to a problem where drivers will > fail if a different device 'owns' the resource. > > For example, if device-a and device-b have overlapping regions, device-a > gets registered first and claims the region. device-b tries to claim the > region, fails, but is allowed to continue anyway. When driver-b tries to > bind to device-b, and does a request_resource(), it will fail because > device-a already owns it. I don't have a good solution for that other > than to completely disable insert_resource() when using devicetree. If someone is following this conversation I have already replied in [PATCH v5 2/4] base/platform: Continue on insert_resource() error Message-ID: Regards! > > g. -- Ricardo Ribalda -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/