Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757896AbbKSGvW (ORCPT ); Thu, 19 Nov 2015 01:51:22 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:22655 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757729AbbKSGvU (ORCPT ); Thu, 19 Nov 2015 01:51:20 -0500 X-AuditID: cbfec7f5-f79b16d000005389-0f-564d71664bfd Subject: Re: [RFD] Functional dependencies between devices To: Mark Brown References: <1623682.7KVblAB3KQ@vostro.rjw.lan> <564B224D.3050904@samsung.com> <20151117135549.GR31303@sirena.org.uk> Cc: "Rafael J. Wysocki" , Linux PM list , Greg Kroah-Hartman , Linux Kernel Mailing List , Alan Stern , Grant Likely , Rob Herring , Tomeu Vizoso , Thierry Reding , Dmitry Torokhov , Geert Uytterhoeven , Michael Turquette From: Andrzej Hajda Message-id: <564D7145.40300@samsung.com> Date: Thu, 19 Nov 2015 07:50:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-version: 1.0 In-reply-to: <20151117135549.GR31303@sirena.org.uk> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMIsWRmVeSWpSXmKPExsVy+t/xa7pphb5hBgu2sVtMffiEzWL+y052 i2e39jJZHPizg9GiefF6NovLu+awWXzuPcJocfGUq8WZ05dYLf7v2cFuMeH3BTaLvrWX2Cxu /+Zz4PV4f6OV3WPH3SWMHgs2lXpsWtXJ5nHn2h42j0OHOxg99s9dw+7R2/yOzWPL1XYWj9l3 fzB6fN4kF8AdxWWTkpqTWZZapG+XwJVx6dIW1oJerorlG76wNjB2cHQxcnJICJhIvF50gxHC FpO4cG89WxcjF4eQwFJGibUzLjNBOM8ZJY6sa2LtYuTgEBawkljyTg6kQURAWeLq970sILaQ QLnE2sl32EHqmQV6WCQa+y6wgyTYBDQl/m6+yQZi8wpoSFxc9hEsziKgKjH78TewZlGBCImJ ExpYIWoEJX5MvgcW5xQwluhvfQO2l1lAT+L+RS2QMLOAvMTmNW+ZJzAKzELSMQuhahaSqgWM zKsYRVNLkwuKk9JzjfSKE3OLS/PS9ZLzczcxQqLq6w7GpcesDjEKcDAq8fBuOOUTJsSaWFZc mXuIUYKDWUmEt+wSUIg3JbGyKrUoP76oNCe1+BCjNAeLkjjvzF3vQ4QE0hNLUrNTUwtSi2Cy TBycUg2MytNceC08RBZl+rxYaOH9MlQyLPbHj1tPDCZf1jC8cY9BweWIzXN20YX/n14+qsM+ v3du8sfyBVe2CX49xPCt+niDcv+2CJd1rYfstsuuS817uGXL5pSEbjP7LyZ5jd1e644418+s NmEwsnzQbp+2SLdD4PvO2oUCplWpcn6J0Yp15061RecrsRRnJBpqMRcVJwIAhn7f4KYCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1506 Lines: 37 On 11/17/2015 02:55 PM, Mark Brown wrote: > On Tue, Nov 17, 2015 at 01:49:17PM +0100, Andrzej Hajda wrote: > > Please fix your mail client to word wrap within paragraphs at something > substantially less than 80 columns. Doing this makes your messages much > easier to read and reply to. > >> On 10/27/2015 04:24 PM, Rafael J. Wysocki wrote: >> this scenario: >> - many clock providers, irq domains are not provided by devices, > That seems like something we can and possibly should change if we want. > >> - there are also dependencies between clock providers, ie. some clock provider >> requires clocks provided by another clock provider, so the entity is also not a >> device driver, > This is going to be really common but I'm not sure I see a problem with > it in terms of what Raphael is proposing - could you go into more detail > on the problem you see here? If clock provider is not a device driver and it depends on clocks of another clock provider you cannot 'translate' this dependency as dependency between devices, so this RFD does not cover them. Additionally if you look into kernel there are many calls in form 'clk_get(NULL, name)', it suggests that not only clock providers are consumers without underlying device driver. Regards Andrzej -- 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/