Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1782318rwb; Fri, 12 Aug 2022 06:51:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR7TFHdzsd8vt2ZZAXYPwJycU7r7CBfr5YHe38HaUEb0xra7GKLpkMNg9d+9yJnSyo3gdlyj X-Received: by 2002:a63:554a:0:b0:419:acae:721 with SMTP id f10-20020a63554a000000b00419acae0721mr2989031pgm.505.1660312260872; Fri, 12 Aug 2022 06:51:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660312260; cv=pass; d=google.com; s=arc-20160816; b=CTwJRj4MielOtAzaZVgyrPyu+3AGQXiqYScMEWInw9Uvo4iMlUg+PTFxfKCx1UwpGG 97QXQNzDuLq1AJoSJVNshNTglq8AABE9EJ5ixf0cjL7bPTWWsG6BzK234oYylwkHjMev OGRgusNnNjovEwRjB5vRamrlzhT8cyadfzwAC+NhzzJfkbLQC6NJB7dN2XU7+Mz3WVho rSxY6EpisnjpHWUFIXv7/pgS3cP5ijXgE5XAwJyKRLy2BJMCKsQG4uUbHpKE0nF0HrWc J26LyO31r8fqYr1ueIz1WLSeaAcFOqLQ2WPazEwhX8t20CK0/NtbgZiIDxMsZDMuOlj1 DmeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Nidv+/BQZd/PusygeCxcVcJlGxpsn20lmIu4M3juf98=; b=r2ep3YzeQnlgvc6Q+8ej1E+6Dy3h1mbkhBcHC7s7ZF/HWNycHvI0VJowqmDXsz5okn AVdWMwap5oT94pTw+61cvRNugPHl6BSdEECbOhDNZ2TAQn/uMJKOFJ0fy83Y0Xieiqe9 WEayJbOqnoEooHb+2HTLQnG4jKEW4Q8Yi7rBtgob/wF2WYnamSB1PacKb0ufw7YjWnVB HQqQFdZbtAaUAtyksJGqb5pcN/L+dKUQQ/0RFpFmGrVmMGo1Ot4Cocfn63J7TtCHNAjQ vSoHfGIgR9wfT54KH7mQRjH1bBmbLSlcocShWS8zfs0UzbZYueTjAnWitQNL7fiXNAs8 c6Tw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=fEE89I4x; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a632249000000b0041a67bc7f6asi2258960pgm.557.2022.08.12.06.50.47; Fri, 12 Aug 2022 06:51:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=fEE89I4x; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238702AbiHLNay (ORCPT + 99 others); Fri, 12 Aug 2022 09:30:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238553AbiHLNau (ORCPT ); Fri, 12 Aug 2022 09:30:50 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130070.outbound.protection.outlook.com [40.107.13.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB1A028709; Fri, 12 Aug 2022 06:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QdJIugOMMB5jNDezuA4jBEBXQeslDuQPoT8aVHmnS8C2D99M2PLU8aIhEtOR4o2I+dnpDIGWJjBHD+3DnQIt+ZwcKKqnEO/Mqo56v+TldmsJeS2GOhLvF3qHdWKNS2yBgTwSjqZ7vhHN4pMAgw+QAc1HNQXl5OyoDQA8GnePCzLpOSTMRrhKX+na0XuTr8+llSqZWst4+M60ctcaqLwgfCaPWnKfCBK4uLBZBwqHo+HMxjDFCICxZtEUjWkx8TvTlPHtKlTBWxWxzeAlRTTzvHANBulPzU36/mrmaSc53nB262ER4dIpE6CVYZvfGkXu7n6xs+8WPADiG1UwgAJ99A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Nidv+/BQZd/PusygeCxcVcJlGxpsn20lmIu4M3juf98=; b=QgdBf7rW9dTTXGv0zIcEekB+tev1M1Z2b6LsTPW5Q1IX7NNC8MCLeyksOXWaw10kwv7RMnL4S6YLKC7hDezP7I7ZqZlbKBsJ8GcjhkuYLa3a2NbGbsM1IgU31E+FFU8rfBI29E16wOpi3ha1p3lnzU8EAoESFySqAWQhu2HDH6woTXQBHECJ8hPZ8ryoN1PDmNOU6fce7dVm0Ja7Now3wTqTDNmNRt/bC5Opb8Fw3L7GAOYHYcRtfmXra8wyVFNqgXqwirL3YbIT5kG4H08eoLyV1prgTtG89aPiER98AiQbW4Eb+OkQLUr6qlCpglS8YqW3rMjDxit7Wubci4HXjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Nidv+/BQZd/PusygeCxcVcJlGxpsn20lmIu4M3juf98=; b=fEE89I4x5PhCtSQigEIXy8EwFlVuYEg78gM3wdp97gjZjaFbX+AArCgB096KUOq8Enh5pbWxGZIPZqL1n6pm8XxBa5vonlRAAwSKe17f0Ad4w4EaFgmCJoW4mgYRy6msHuV7TWAC0BOaYfRq1Xt2l8M1wIoAulN6drrF1fRxoQA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB8274.eurprd04.prod.outlook.com (2603:10a6:20b:3e8::23) by HE1PR0401MB2601.eurprd04.prod.outlook.com (2603:10a6:3:86::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.20; Fri, 12 Aug 2022 13:30:46 +0000 Received: from AM9PR04MB8274.eurprd04.prod.outlook.com ([fe80::747c:397f:a003:dbca]) by AM9PR04MB8274.eurprd04.prod.outlook.com ([fe80::747c:397f:a003:dbca%5]) with mapi id 15.20.5525.010; Fri, 12 Aug 2022 13:30:45 +0000 From: Shenwei Wang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, brgl@bgdev.pl, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Shenwei Wang Subject: [PATCH v5 1/3] dt-bindings: gpio: Add imx scu gpio driver bindings Date: Fri, 12 Aug 2022 08:30:10 -0500 Message-Id: <20220812133012.7283-2-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220812133012.7283-1-shenwei.wang@nxp.com> References: <20220812133012.7283-1-shenwei.wang@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SA0PR11CA0023.namprd11.prod.outlook.com (2603:10b6:806:d3::28) To AM9PR04MB8274.eurprd04.prod.outlook.com (2603:10a6:20b:3e8::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 20d6b33c-79b5-42d7-566d-08da7c66dc8a X-MS-TrafficTypeDiagnostic: HE1PR0401MB2601:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wOup1CC0d2pWSmk4WWw8RxnuUF5kHLvar3RtGtPa+Nzp9Ky+5mM8PlolDghq82nosLIOWPjBwoAHAPbtOlZvgaYtyzifJFWO2ysUIwjD1RtAPdtUkOqkzHxOpjyC7DIKI4Q7bGZv43q7O4FDJNdRk0hELWl90LzTW9G2uZUamDKyM4Z0nmKXPdwNU8wosQft9Z39aKCzriV1RZHDR00mrYz7XmmujC8NMv7bE16nWIiz/ny2ebIRML5Xvwcfal7ZmYwiYVWJ4nuBy7Hwlv/GXwSw6aF74oXOA4jR19DwrdHMi24xn3WGn9g+Yes1wKhmBXYRUnU8B6+PojdWBkthbuv6mDTlKIVhVtpTR3fstiLPOi2Tq2NXZ2ywwOuELSRNHBFnVo1xEiUTRVqpmb885qHfa2ZAPKub+6eVuKvl8bBCTx37LKMjUGtAqqjPQ/8LfExWaX/4lAVD/xKSvITVHQUBi9lUawzFJEcysZvq5SmolYQ/tPYSoMl2pTPlmF3aTjolrjS0+9RuPNTl6zeZg2dOuagCqcxLgLDmogzCJkGqzw20DylbLnVEo5H34i/zyK9guaN3x03TzheVvLacpRTVy6sjTCeV5JHEGn7BlziSkoMgYadG/eSn0U8suQQPMO5zSp2c7VVot8I5zNDdAvnESDhyPhdy/HCv+CjJ4fh6uSIId0ankZeM4WUqUM2BqV7VKXrXzSYekNZXML11+UP9wW0VnsFhtRJ3pB00genpjTQ3rD4ypYGd3Jn3VO4CLaRhrT7kHGn0X3DUPqmNalegfR+i3JFJVG3doWTgsJODWd7EeguPdp+1G/pUei8eIpEcGmZbIAILY8YrlD13JQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8274.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(396003)(376002)(136003)(366004)(39860400002)(478600001)(2906002)(26005)(55236004)(38100700002)(41300700001)(6666004)(38350700002)(52116002)(44832011)(6506007)(2616005)(6512007)(1076003)(186003)(66476007)(36756003)(66946007)(4326008)(966005)(6636002)(316002)(86362001)(66556008)(6486002)(8936002)(8676002)(7416002)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?+J7JFLgfETLM3zkNP27uYLoxUTxa9/Pv+qZ4jGcrtkE5Gxsad6+/dcNegSDH?= =?us-ascii?Q?HP5JBQd+97z2tlSTjunAYc/DXvj8SDLmfQVwbH4znTE1WdA/jdgBX9B4l/BY?= =?us-ascii?Q?uBJ0pwpHV0/DUCVN8eunFyr1JHK4QI7rB7BkicR2CUUk6nypqJ6QhE/kCJQ/?= =?us-ascii?Q?F7IK17aYU0UnErD5N+Mwf6puJGe8UV5gR8zP0y7nB5kW0CwWXjTnnTd02g4V?= =?us-ascii?Q?UOyjAAdBJFWZGDkBtR8ghlBgDgkW9IgkLwbePtR63EQ81HUCeHUvoyDjeP6a?= =?us-ascii?Q?uyiKFqSD6OF5NrCEL2lcEub99VeFg6RRJl+ej9ERm7ClUPe/mN2tRe1xrNGm?= =?us-ascii?Q?+P2s1OFoaD+XOdSvwcwKIgw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ascii?Q?22suLNXgNR2W5vifVVWnLy+RpDoDSBkePg0cxghVysGkid3NSj1tvqicEHIC?= =?us-ascii?Q?h/T3LukAtwVpFPYKPEbLrMSq7Thc2QTM/2ICvJ4it5tbtR2ib2hosmnShMKF?= =?us-ascii?Q?unqD9mfAr8yK1lth/OeQi1JOQNUu7ITeU5O/6fWxInP1Ymt1G95BhQaWbwWP?= =?us-ascii?Q?P2MoyZFJ8iRym6y9jtYjXmCzPnifntUOwdqUZWqtSsxPWAdSSJXbqH+2XaST?= =?us-ascii?Q?wEzDF0THWXjIaUsWaqcU9bTgLbHQJGjPDUFxVimoqWKwFD+2Qmfti3eAMWuF?= =?us-ascii?Q?tlseVyg0Wtx7drWr+MPqhyJIqkpMelReHkLRzZqCD8OI12oCq3xwOMBX9yHQ?= =?us-ascii?Q?9g=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 20d6b33c-79b5-42d7-566d-08da7c66dc8a X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8274.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2022 13:30:45.8970 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TyExgNkbwUWS4TF1yIabQJJYB1lVZjCiqzbHakJpC30vFbm72ZK1acojPJS5wMiXyn43o6p5wek+cr/vUlWhmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0401MB2601 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add binding document for the imx scu gpio driver. Signed-off-by: Shenwei Wang --- .../bindings/gpio/fsl,imx8qxp-sc-gpio.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml diff --git a/Documentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml new file mode 100644 index 000000000000..b7b32220935d --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/fsl,imx8qxp-sc-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO driver over IMX SCU firmware API + +maintainers: + - Shenwei Wang + +description: | + This module provides the standard interface to control the + resource pins in SCU domain on i.MX8 platforms. + +properties: + compatible: + enum: + - fsl,imx8qxp-sc-gpio + + "#gpio-cells": + const: 2 + + gpio-controller: true + +required: + - compatible + - "#gpio-cells" + - gpio-controller + +additionalProperties: false + +examples: + - | + gpio0: gpio { + compatible = "fsl,imx8qxp-sc-gpio"; + gpio-controller; + #gpio-cells = <2>; + }; -- 2.25.1