From patchwork Tue Jul 2 10:50:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 168314 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4089137ilk; Tue, 2 Jul 2019 03:54:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWWC7ABp4hQyf4m43zUvcAn8F1CAjPCSjaPx2DMgp/iC7F/werZu/kX4hYmDcNumq/bjAB X-Received: by 2002:a63:dc56:: with SMTP id f22mr30424286pgj.305.1562064856887; Tue, 02 Jul 2019 03:54:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562064856; cv=none; d=google.com; s=arc-20160816; b=D03teX9A3bQetga0pkYA3tl+wkn/n+uoDNn09K+eVU8ObM+/yo21zBmHFhlgqbMNiY Unx3cZ9N35uLiZQVSmvZwTtpMD/gyz8I0RAJI7KAFPbat/XGw0cM0gBvUGNw6lp7jRjI RitMW783OlJJRPCFwOJhdliTa82hGE+U2qAT69MdOeb30Mh4wJB/WNDFgV84lhSp8/JU +poZxlx31U9lRVcaVm5M2YR87Xor5c3Fn1xY8wsf3mxOkFI29Lez7Uu3dsdQR6ge1fF+ fWmiswhsOHDoWbfWJAaI0haEdUvz8JxeWKyxkac07+gRJqzFGpD7U1nnYlaG0SDptFKN MtmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cay2bOYVyYeef35n1zC0ltcSnGUGl+YBu4XK/CfELIw=; b=C+e1MCnRrpCn/d94gLE4DUUAnwpfyVOEvLrJ6hguzaSqz65+GWtQXolWsB22yANRvo Cy7u3uCsUr4rd73iIXSnxeKTkryqyQMPpb0OilMTGTEuKQ4lv5k22N/Xo9M07L6yTfFL P9a3YUjPAVCdM3JKg7ZptxO98qFJ5MLAPzipyzESoWPTFGb7u3CIafhXkvQbasoq4uBo u/7bNJhplOg65POfkkg1PzQpJqqfXtn9C/FVsz/NTSqH0bF8q7RkP9iyGy7RxgVqJtyG 7mlWiF6flWGNdKv45VKv7VnvPknSH0NdS8Z4oJ67TzJVhswJ6XP5FfbuVs6maqv6Yy2b jiYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZBJOYEI8; 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=pass (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 b5si2007094pjo.26.2019.07.02.03.54.16; Tue, 02 Jul 2019 03:54:16 -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; dkim=pass header.i=@kernel.org header.s=default header.b=ZBJOYEI8; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726917AbfGBKyP (ORCPT + 8 others); Tue, 2 Jul 2019 06:54:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:60938 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725767AbfGBKyP (ORCPT ); Tue, 2 Jul 2019 06:54:15 -0400 Received: from vkoul-mobl.Dlink (unknown [49.207.58.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 995A22146F; Tue, 2 Jul 2019 10:54:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562064854; bh=QahxEE1e5xL+s+T85GAfZ3GxoPDH1XXpx6ngsr75blY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZBJOYEI8jCnmaB52ByLJ+hQAzDtFVMxAvynvuUdjPJwgUyw/wLPGHWdy2I/T3g1A8 nUuZycPpW5Djy0e83FxiA4FzcNvgJWC3okX0+kQNFmxD5lNJKWgxoUWG9lAWhqXckz l/lUeYKMTRoAIUuHWfFU+L+pOKOIvEyPRyW3hg5M= From: Vinod Koul To: Linus Walleij Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Andy Gross , Rob Herring , Mark Rutland , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] dt-bindings: pinctrl: qcom: Document missing gpio nodes Date: Tue, 2 Jul 2019 16:20:43 +0530 Message-Id: <20190702105045.27646-2-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190702105045.27646-1-vkoul@kernel.org> References: <20190702105045.27646-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The bindings for msm8998-pinctrl was missing gpio-ranges and gpio-reserved-ranges, so document them as well Signed-off-by: Vinod Koul --- .../bindings/pinctrl/qcom,msm8998-pinctrl.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.20.1 Reviewed-by: Bjorn Andersson diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.txt index e70c79bbbc5b..280af41eb86e 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.txt @@ -40,6 +40,14 @@ MSM8998 platform. Definition: must be 2. Specifying the pin number and flags, as defined in +- gpio-ranges: + Usage: required + Definition: see ../gpio/gpio.txt + +- gpio-reserved-ranges: + Usage: optional + Definition: see ../gpio/gpio.txt + Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for a general description of GPIO and interrupt bindings. @@ -175,6 +183,8 @@ Example: interrupts = <0 208 0>; gpio-controller; #gpio-cells = <2>; + gpio-ranges = <&tlmm 0 0 175>; + gpio-reserved-ranges = <0 4>, <81 4>; interrupt-controller; #interrupt-cells = <2>;