From patchwork Thu Jun 28 20:43:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 140475 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp28549ljj; Thu, 28 Jun 2018 13:43:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLzpPXIvJzcbxEmRZP13KAx26GrTIKtQb/ppWotLm/YmLoKipCqcwcnaOu3hmWlTxHzkVEH X-Received: by 2002:a65:4e09:: with SMTP id r9-v6mr9856628pgt.369.1530218630190; Thu, 28 Jun 2018 13:43:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530218630; cv=none; d=google.com; s=arc-20160816; b=FfqwLecjrYk4KhgBqgTO7Z8wizMZ8q2AC2fa8bXWkowlhiJyBWPOxE9U2rVy1u+Dgd 5MP72rLF5bD9opJHqDs8nOQL0Gr8iFhuHnlaTPZC2uNUnlrmkcFiHeRuMc6uzWXnWbzh 7Iv598mu1yuTfFuHAjapf0RuM5oxqNdX03nkR2VXgSH2fiX3uWzN4cte7bSQapyLN4tX 2S03Awmz4i/Cdg34iNL63BkRxJpkOjNLM3CUoVMXLPPlf8oSwh/GmLfpL4O6qIjPTQM9 NIpc2mQQMLM7adIsCid1eBOqgZgRmjAhMiBTNbB1lbniuxwH/kFQL+N94pyrL+wumtIu U+NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=/iXBychq/F/SVBJnJQFy6iio1O1XsdPJymDzr43s0dI=; b=vFJtYZ20kFDSXibGYDB4vd5DXMSoAtvFRK7Z6txcKsGIEgtUysadUNuYQd/DxK3S3k n1DLL3QH+SqOaeDu19zDdlPtT83yCQarZf0ZcQIkWOdzUuCLT4TJxVxEKBb7CzmrpAVf 3Yq356Z1fPEmo61uYpcdMReMTkZNm8CaOo7o9xnrVM0VOOR6QGyu7vCIVXgS1b3OzXjV xXBp7LWFkzQKXgmuzgsnh4apr5AJ0vPZ2RhMH3spuJO0Y2G+4b5+49wWQXMCPYLA2mDH +WbicYMjH5TPMinOuPLU20Iq7bTvSfVdcHOuaT0fTEYchgkgNMJZSsUGzKOcm3Hy2K+g 2EvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9-v6si7058008plt.232.2018.06.28.13.43.49; Thu, 28 Jun 2018 13:43:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754678AbeF1Unt (ORCPT + 5 others); Thu, 28 Jun 2018 16:43:49 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:37984 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753637AbeF1Uns (ORCPT ); Thu, 28 Jun 2018 16:43:48 -0400 Received: by mail-yb0-f193.google.com with SMTP id f12-v6so2533925ybp.5; Thu, 28 Jun 2018 13:43:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MBw/TUiTzAGrYRjToKJCmT0iIojVoEoD7cDXN8AgjeM=; b=G4O9jLbsOakH7IbCPfH0eo0xBFz19svkalP+GbyypB4tYoijzwNSR7Jndc9YS2xn1l glPOuJEd/t00LVJj3dtycwNdDz0mcoxh3NTpyfy2m357ruBYsIryOPVe8USlnVXR6jO3 nwllldTT36SLaiX1NkvzcOkf0gxuheroGEJMF2o34Urya1I0vyJ8r9eSqByNPH1r7sc/ 9Fm+T1u7K/9CMOKpK/c8g6gg0mvuJbECMAv7BqGwaEQFPZ60T1T+EpNL6NOT3HBDtDq4 L9bXSwChNzHd8yZkZrIkeatJs9WSA5Pn4hN2bU1B4eiRHDZpAB4LfJNAgYUDMeNtI/BY BDRQ== X-Gm-Message-State: APt69E2FqFQbP6GX2GaZkFzGOoi80eh/SJWt+CVzB1IpX+HC8YQYnPJQ cbo7WxVHtOox4AKl2rfl6A== X-Received: by 2002:a5b:451:: with SMTP id s17-v6mr5987573ybp.310.1530218627636; Thu, 28 Jun 2018 13:43:47 -0700 (PDT) Received: from localhost.localdomain (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.googlemail.com with ESMTPSA id o7-v6sm427913ywi.32.2018.06.28.13.43.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 13:43:46 -0700 (PDT) From: Rob Herring To: Greg Kroah-Hartman , Linus Walleij , Alexander Graf , Bjorn Andersson , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Joerg Roedel , Robin Murphy , Mark Brown , Frank Rowand Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, boot-architecture@lists.linaro.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 0/6] Make deferring probe forever optional Date: Thu, 28 Jun 2018 14:43:38 -0600 Message-Id: <20180628204344.13973-1-robh@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series came out of a discussion on the ARM boot-architecture list[1] about DT forwards and backwards compatibility issues. There are issues with newer DTs breaking on older, stable kernels. Some of these are difficult to solve, but cases of optional devices not having kernel support should be solvable. I tested this on a RPi3 B with the pinctrl driver forced off. With this change, the MMC/SD and UART drivers can function without the pinctrl driver. I left the dts change out this time. v2 of this series can be found here[2]. Rob [1] https://lists.linaro.org/pipermail/boot-architecture/2018-April/000466.html [2] https://lore.kernel.org/patchwork/project/lkml/list/?series=347413 Rob Herring (6): driver core: allow stopping deferred probe after init dt-bindings: pinctrl: add a 'pinctrl-use-default' property pinctrl: Support stopping deferred probe after initcalls iommu: Stop deferring probe at end of initcalls iommu: Remove IOMMU_OF_DECLARE PM / Domains: Stop deferring probe at the end of initcall .../admin-guide/kernel-parameters.txt | 9 +++ .../bindings/pinctrl/pinctrl-bindings.txt | 6 ++ drivers/base/dd.c | 57 +++++++++++++++++++ drivers/base/power/domain.c | 2 +- drivers/iommu/arm-smmu-v3.c | 2 - drivers/iommu/arm-smmu.c | 7 --- drivers/iommu/exynos-iommu.c | 2 - drivers/iommu/ipmmu-vmsa.c | 3 - drivers/iommu/msm_iommu.c | 2 - drivers/iommu/of_iommu.c | 21 +------ drivers/iommu/qcom_iommu.c | 2 - drivers/iommu/rockchip-iommu.c | 2 - drivers/pinctrl/devicetree.c | 15 +++-- include/asm-generic/vmlinux.lds.h | 2 - include/linux/device.h | 2 + include/linux/of_iommu.h | 4 -- 16 files changed, 88 insertions(+), 50 deletions(-) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Linus Walleij