From patchwork Thu Jun 28 20:43:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 140481 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp29448ljj; Thu, 28 Jun 2018 13:44:57 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJKFPtwG/f5ktYCMBLScEQlCNEz3vXke3oBpyMFufaZjtPaTN6lx+ncIEnOxDG6xXY+te+2 X-Received: by 2002:a63:a44a:: with SMTP id c10-v6mr9929681pgp.198.1530218697559; Thu, 28 Jun 2018 13:44:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530218697; cv=none; d=google.com; s=arc-20160816; b=RI7oBE1mk6opeAVBPkpprCHgCeVTMlICILRLq4VhaXVmynz9AfJ435iy/tertIqM25 EmjRKEJ9g30Tpxj+UtjYLI1/5DgZDl77paCfhhsyfpidtkpDKZcIwa0eCOwSnPfwMlVC 9+yelxBxu5vT1NXPF+T4xeNHk2GqtuR3VAVrvcbJB6tUIuf3ByeZpVV/Q5Otvv3I0gPX vc7L3B5aWIIEUzeitZ2cNTx12qW/XGWR8Rr1z1bEXmHYLA2AZ8ZQKiVO9KEBASYc0LOq 0iIExdeEjJ/sEJqDY7ymsGZUFkY9vkDAnBJdEKLSy3IRNxrCRPCMyh2QmM5lzVVSY6oS nhdQ== 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=fW6oItWLNsuCW0xbS9vtuFs98GrEI3esnJPstkmnNyzzJx+7qWco+1hNypDhMOw1FJ BfOv8f1SPt1+VES3jdE89KTXA2ZpkLHs1wUQv5voEaxZaossUy/1N2Ek/QmcyYxHIHzi iFSlD81GNj1NkeL6T9GqCRoXcsyjXIjOx5tfsPy63XflDCrfryXL+/u2LqZwpw2bQyfF Rhxq+JDs4IU25aSKdgDauc4xxUJEu9dXG6nZSpIpqwpMCqGyFjtIsEULw8Yzo50KObze saW8mB9lZ+pd/FcPL3zu6aplTszLOiXmD7AInj+sdkJCBH1nzcwMFM4ol5q2Edni9Uhn qTGQ== 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 o32-v6si7347498pld.440.2018.06.28.13.44.57; Thu, 28 Jun 2018 13:44:57 -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 S966172AbeF1Uo4 (ORCPT + 31 others); Thu, 28 Jun 2018 16:44:56 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:38604 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754803AbeF1Unw (ORCPT ); Thu, 28 Jun 2018 16:43:52 -0400 Received: by mail-yw0-f194.google.com with SMTP id w13-v6so2637605ywa.5; Thu, 28 Jun 2018 13:43:52 -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=WhYEVbBVh3tT3kVArB86yGL0uhOhYNqwNJSnVvog0dwTIae1gsDBZGrEBwrv3B/SHb tPRMoH2OuYBwN9r50GwEP6EOs077Dqgs5sBUt/KTQpjU8ZrVfPIdHXToZoX8e4Kqfm7s eUEeUwWQXFDcrt2dFw52gf5Df+agF7aiCoPb4tKWj2DYueomdR4KuwOaS8E7K3EACm7y rGc/G5cGIGxS/mR6OKE96MaBc0mfHGutV2v8bT3uzutpSR8X8wwnQJdhfJfZ6gortV8J ws5GDSTGAwSaA3aESf7GeBC4q94AM9BDpMm9RqQ0NWUBiTkimm2HDrMqRGbIqbth9dBU qt+A== X-Gm-Message-State: APt69E2k2wc4//OeYvKpjpidgO8BMuNb3yV7Nqv6FOv/5j4xpw6wAquc nagUedqWPQHvdkgH4AuoTw== X-Received: by 2002:a0d:d981:: with SMTP id b123-v6mr1317270ywe.64.1530218632091; Thu, 28 Jun 2018 13:43:52 -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.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 13:43:51 -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 2/6] dt-bindings: pinctrl: add a 'pinctrl-use-default' property Date: Thu, 28 Jun 2018 14:43:40 -0600 Message-Id: <20180628204344.13973-3-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180628204344.13973-1-robh@kernel.org> References: <20180628204344.13973-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.