Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2944198imm; Thu, 24 May 2018 19:36:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoVDvd1AmaeWVMCPb+79v3piYMOLU834xu4Ov5HhEsuIHtRlwX30YHsFalF2i+EzTkZ8uXc X-Received: by 2002:a17:902:294a:: with SMTP id g68-v6mr618896plb.110.1527215767275; Thu, 24 May 2018 19:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527215767; cv=none; d=google.com; s=arc-20160816; b=pPOTAa7JcRQdysRe1F5fsbsc97sef5x2nS1EsX9ak+DcWwDqNRSOtrAltyX9fGozDf wM7T2iKHDv5nyDmtvPHo81AQquqVdfbHAm4uIr3gEk3YeSY8xkhrOt+s8XvxL57bVBbi rJyCXj8DSi3UL9tC7ihOd/cfqdcjynsMlixG/DBAOLPOGCHdYA9EyAqrYImVHIV7Cw9d FXSgfDGJ6o1sMqp0ChVeCOsPgF65tOavOgfUeLeQeH8BspmSefsuGNjCC19KjOIHbP8k G8uKvnFXgxrxkjvtmmOyqo7tncp8LpQd2taG67Pw3xjDN3ziU5PQ6iE0rwAZJ8DO1FuH gDNg== 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 v16-v6si21905463pfn.77.2018.05.24.19.35.52; Thu, 24 May 2018 19:36:07 -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 S1031222AbeEXRum (ORCPT + 99 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(+) 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. -- 2.17.0