From patchwork Thu May 24 17:50:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 136759 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2526651lji; Thu, 24 May 2018 10:50:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpl3ZMylOkufpK8+n1VqZJOPHr21VkuDxtZg/xGB+w0giiH3McfhqkgsGohjGAV9t5ExWhj X-Received: by 2002:a65:5a88:: with SMTP id c8-v6mr6783687pgt.115.1527184244390; Thu, 24 May 2018 10:50:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527184244; cv=none; d=google.com; s=arc-20160816; b=jyIiCKmFWwCib4nB+ex+QQuLzda51CogDPzCJImV63xA7JJxq1mhpbq06FCuLav1YZ 6Gsgc/cFHNaODHSKdAV/nypYBgnURgMrELEBA9//NgoFoASdMfpJICPyLWxnDEwdJvFF 5ksKw5rZAJ2RAblCZFozEC9qNRIxpVB7UR//173sU3ms60kQOfXQHesy0mDRIWU/N4pz ZT8a6Z6BFAFOP+o/GucdIbzSr7WRxxTGbv0Zl7MIfs6IBD6NAzjEZo8JHj3PSFyX6Gtm x1BSo30U0RrED3v7V0GA9nzIeFNggo7ZhZyZk+Oadjsq0MQta6EzzeCArmDdTbwdog3C s0hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=CJeYDD9vOqDf9s/qcBXtz1esgVuGo62aEFZUJaijlu0=; b=x/vzFS+BHsZmD9oLmy8hXZPXTcvhqHZzUr2qGPJ/aJNywNArs0onl3srmZPdBaMlia omrU7zu/JTM+EcBFSYV/llEyf6QyL3LN7UT7aWa5t46mhBo5JOV78KuEYCHHDa0Pvsk2 +RkjkRUk8NVse0eTHa25RfRKB2eYmTtN891WPOeDaV9HUDf887EqM5ezOFzeQ4u8g6xy t7CVWD9OlmfWJU1u0XPdDqeAqi8g7/Z8Wo9dd6/9cMNrRwYQfIZ2h5VW5uSZ0W2/FNeM nGkVfYDmF8BiH3QM4NHlJuJIDU8WHUeeJvGTkYjUeHvYWMuOKUBV7ZxLAYhkEf2qaTgR ac6g== 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; 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 a81-v6si20903222pfj.300.2018.05.24.10.50.44; Thu, 24 May 2018 10:50:44 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031238AbeEXRum (ORCPT + 30 others); Thu, 24 May 2018 13:50:42 -0400 Received: from mail-yw0-f195.google.com ([209.85.161.195]:41479 "EHLO mail-yw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031150AbeEXRug (ORCPT ); Thu, 24 May 2018 13:50:36 -0400 Received: by mail-yw0-f195.google.com with SMTP id u71-v6so836443ywf.8; Thu, 24 May 2018 10:50:36 -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:in-reply-to :references; bh=CJeYDD9vOqDf9s/qcBXtz1esgVuGo62aEFZUJaijlu0=; b=hBTh7MVrfUz3CXjtfovOV+4QWgdkBtssVnMsuFGhQNGZx7iRcgawiPni0vjnCGaj2E nIzpVt4zGUZvValrKVMa1mzcyclYe8ie32A36/VyI0iqQR80hKb2aS2c3OJP+CwoGTco iULKIsu18ypU5KwqhKPEmIm4AbM+gA20MX0qbgCHhkppmLbKfqi0X5upmqCTTYL8NMWh /fGGxlcNH8hdJRrhawE72ByEyrz6tjBoF9O5n9+eTOBU36nKwFIJzw84BIvsx53IoafG 3caLOuBj1xpdivtoI/cSKrltmxraYa1iTjhiLK4Okz8X6fcENeipZp/0Slpv9vkUChFg IcoA== X-Gm-Message-State: ALKqPwdDhTdwBACHMUD1wPfRQuFtDPg+CeODQv8ME70BrH34Qu0UX/oB GGxfYCSiKkKGFAridbrOow== X-Received: by 2002:a81:8a04:: with SMTP id a4-v6mr4562159ywg.140.1527184235829; Thu, 24 May 2018 10:50:35 -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 v73-v6sm9183814ywa.92.2018.05.24.10.50.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 10:50:35 -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 v2 3/8] dt-bindings: pinctrl: add a 'pinctrl-use-default' property Date: Thu, 24 May 2018 12:50:19 -0500 Message-Id: <20180524175024.19874-4-robh@kernel.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524175024.19874-1-robh@kernel.org> References: <20180524175024.19874-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pin setup may be optional in some cases such as the reset default works or the pin setup is done by the bootloader. In these cases, it is optional for the OS to support managing the pin controller and pin setup. In order to support this scenario, add a property 'pinctrl-use-default' to indicate that the pin configuration is optional. Signed-off-by: Rob Herring --- .../devicetree/bindings/pinctrl/pinctrl-bindings.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.0 diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt index ad9bbbba36e9..cef2b5855d60 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt @@ -103,6 +103,12 @@ Optional properties: #pinctrl-cells: Number of pin control cells in addition to the index within the pin controller device instance +pinctrl-use-default: Boolean. Indicates that the OS can use the boot default + pin configuration. This allows using an OS that does not have a + driver for the pin controller. This property can be set either + globally for the pin controller or in child nodes for individual + pin group control. + Pin controller devices should contain the pin configuration nodes that client devices reference.