From patchwork Mon Jul 9 15:41:49 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: 141444 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2815016ljj; Mon, 9 Jul 2018 08:43:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdsH0WH5bjRVwt7F4vKrBGDNoEnWC3LZJlz/2LbLNzuGbUJgZ3NwA0onuckj2j6qyOgT7Q8 X-Received: by 2002:a63:714a:: with SMTP id b10-v6mr18799056pgn.73.1531151025236; Mon, 09 Jul 2018 08:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531151025; cv=none; d=google.com; s=arc-20160816; b=lJpt82iYeWQeQi8U+B2EWljnMSmYZBeJ2Z3Kgzsh+fOp5XwaNTmIZ1iQUZM+uMnvBo zrwmvrkMwWb6jHslRMggvGfy3Qumjbk+8zwMikQ9Rl6eTmadrR/pEqOWI/4FNRjEFdd4 dFEYlXYD/MW8ONI7/GBtqpzZKn17ttOOazuO94fvx9ZFs4eayIWYkdiD3bgffUihRsZE oHZ9xsZSrGbnYRwKqySuwxM543zcVztXOdbZ676PWT0fB8WDUi1rLlZ/TM7gPNVmWBUN E5hR7RzBrm3ZWpnDOmG38LbX+JEfCQAdFFI6I+5+9sJSbnXW6vfo8xbIqMbDOps2MFxf 6+UQ== 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=03fLRQWBWjrnrq//f5qAO73beSpbPCDyJ89HOkL1LXw=; b=ZGvdiY/qxITd7n0tPawVr6RFZpRGPg5VG7Ua9YEPAZZOUbbuW2k3Q6fzEvZVyO/79n IaeNdSk531flnXSHH66XG7UOfgYYXyCmYGX+wu76gjc02Ez6w6lq1jTRWiL1GqgIxQGD JstKcBvy0iFJQWml5wuzYDrJjtd5FwXwt4wEXCcfnV6D2BwGa4c9TlyY0D+dziWjL1wm rWkohKC5yRUEkTyYXkc3T+GlG0H2oArgC831T1qHKlNtZafSTA+uMLcyawH0i38oNotB ZoeL9NljBfh69dOXRumx06ItrW/4vxDvwjnbXNxPF2K8N2QtL7BmRfH+IcFSxgYxFZeR B90w== 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 r1-v6si14931890plb.172.2018.07.09.08.43.44; Mon, 09 Jul 2018 08:43:45 -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 S933753AbeGIPnm (ORCPT + 30 others); Mon, 9 Jul 2018 11:43:42 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:43123 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932867AbeGIPmC (ORCPT ); Mon, 9 Jul 2018 11:42:02 -0400 Received: by mail-oi0-f68.google.com with SMTP id b15-v6so36666070oib.10; Mon, 09 Jul 2018 08:42:02 -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=03fLRQWBWjrnrq//f5qAO73beSpbPCDyJ89HOkL1LXw=; b=Q2HH4gHxmP6vM/m8GZ2qSBKvuT1fv/R52qU0B/MCuGEyZ8VDeuR7JHAxNk/MA6hQ2H Lif0yEDQD1nL4VJ5+htjr9kYzVib1Gghzs9tf+6wZ6l++xofj7FWEDCcYNIqP/Hp7ooz 7HpUYdNOUxiwubERYaK+EJ2VPfRZ5BJY7BOZva4bgW1jNbUTtrXUDLdNE31g/Y/iLbEs dv7n5Hj/fZX064cDR38AgkmMSAhd0FxBbD4lQCMTscOC7L3OqbmtjC8jKx3EcKcTVOrQ pRTIA8IGVa8ylXl+KW0bpL7JdtzCAyGdabUWH2wQ7zofJiODsSjOK+0M2EPXCrqFqiZZ KtOQ== X-Gm-Message-State: APt69E3KIXmAkfm+tIfUfJnDLRQssduQYjjP9vNQ+XZ/oNfLChzv6oDO gc84u6YodPXijRhUUwbzyQ== X-Received: by 2002:aca:665b:: with SMTP id a88-v6mr24312433oic.101.1531150922149; Mon, 09 Jul 2018 08:42:02 -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 z196-v6sm30759391oig.12.2018.07.09.08.42.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 08:42:01 -0700 (PDT) From: Rob Herring To: Greg Kroah-Hartman Cc: Linus Walleij , Alexander Graf , Bjorn Andersson , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Joerg Roedel , Robin Murphy , Mark Brown , Frank Rowand , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, boot-architecture@lists.linaro.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 2/6] dt-bindings: pinctrl: add a 'pinctrl-use-default' property Date: Mon, 9 Jul 2018 09:41:49 -0600 Message-Id: <20180709154153.15742-3-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709154153.15742-1-robh@kernel.org> References: <20180709154153.15742-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.1 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.