Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3995153imm; Mon, 14 May 2018 00:39:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpZTKTlFyjcScFdbxvEY7CzTRAGHCewpDKpkDop/3ycQVlo7OJCWLjGtHqyedlq9lpAxSSO X-Received: by 2002:a17:902:f83:: with SMTP id 3-v6mr8677947plz.336.1526283540642; Mon, 14 May 2018 00:39:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526283540; cv=none; d=google.com; s=arc-20160816; b=0uPUOwoJseZimj6VML5u1WhBFqRccw/aFZhkjqRjxPRA0batksu2sbp5Btitf3YqYi 04EVGI6r4Zkdh36zBZJrXdmPjCL1PjzEvnH5mmOXBieRhj+4evXbQ4zTJaIzzCXewCJB TgqZeFFjU15Ccsylgz1EBu+Pzp3TUbnX3gnW3KhMXpZu7E6yjp7se8Q2LelXv4HE48qD gtcyt4YW5TQeGyl786eEeNzqIs9hD2K9nXxbMyuliiBoJuu8RA08PuCrHIKXiOEAbszz 3B1qU2EQ6mBhOL7zQWT87i+78+3uF2a6YtLQKcJuq6qR4sADLyC0rkGuvVOMf1F/8FOw hiKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=J5ZThO9dste2k/uRd8POaOv5bGDRWTXmTiB/fOwywQ4=; b=nDBAHy+Sh98KZQovcETzGLGd7KUqRw7yBzFbs5PGIbO33n9U/kbXK08vWCm4qkw/jF Bo3FlOVvA77lplaE0Yj3BvVTGsyYwxABpUnUY/2eO3+gI5ZS6pzZOdzHq8UdIPkvKDxm lnPtGkWFDNhZDkjxPbuYUboIrIJ1leRfMAN2vwGkyZ2e+keVy02KoHkWbCzewMcjhxcz sWoPSMrzy0MaTd2K7BLWvacjqtjvWifhOjJRNC1b0BGj6y2Me7X4tzBUhJaVc9y2GR9n +kYyihnNkPrxgf6xHPKtA9joJuhx5KI8+NlJiHaw4DaP0xk2LkPpDs4AlQATlKIQdbbg t60g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3-v6si8694492plq.87.2018.05.14.00.38.46; Mon, 14 May 2018 00:39:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753149AbeENHhW (ORCPT + 99 others); Mon, 14 May 2018 03:37:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:50162 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752060AbeENHhT (ORCPT ); Mon, 14 May 2018 03:37:19 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id DF9FEAC12; Mon, 14 May 2018 07:37:17 +0000 (UTC) Subject: Re: [RFC PATCH] driver core: make deferring probe forever optional To: Linus Walleij , =?UTF-8?Q?S=c3=b6ren_Brinkmann?= Cc: Bjorn Andersson , Rob Herring , "linux-kernel@vger.kernel.org" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Greg Kroah-Hartman , Grant Likely , Mark Brown , Stephen Boyd , boot-architecture@lists.linaro.org, Linux ARM , Michal Simek , Jan Kiszka References: <20180501213114.20183-1-robh@kernel.org> <20180507183106.GF2259@tuxbook-pro> <91dad272-e07d-2ab6-2afa-538294e9cefa@suse.de> From: Alexander Graf Message-ID: Date: Mon, 14 May 2018 09:37:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/14/2018 12:01 AM, Linus Walleij wrote: > On Wed, May 9, 2018 at 11:44 AM, Alexander Graf wrote: >> On 05/07/2018 08:31 PM, Bjorn Andersson wrote: >>> Can you please name platform that has enough support for Alexander to >>> care about backwards and forwards compatibility but lacks a pinctrl >>> driver. >> ZynqMP is one example that immediately comes to my mind. I'm sure there are >> others too. > Why isn't that using drivers/pinctrl/pinctrl-zynq.c? > > How is it so very different from (old) Zynq as it is already using > the same GPIO driver? That one is very simple: ZynqMP is usually an AMP system where Linux doesn't have full knowledge of the overall system. IIUC they have a tiny microblaze (PMU) that does the actual full system configuration for peripherals that may interfere with each other. This architecture also allows for safety critical code to run alongside a (less safe) Linux system. I think we'll see architectures like this pop up more over time. TI Sitara has similar issues. I know that Jailhouse ran into exactly that problem before. I also know that during Linaro Connect Budapest even the OP-TEE people realized the current model is bad, because Linux may control pins/clocks/etc of devices that the secure world wants to use. So I actually believe we will see more SoCs in the future that may even start with Linux controllable pinctrl or no pinctrl driver but then will move to firmware controlled drivers once it starts being necessary. Alex