From patchwork Thu Jul 15 08:25:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 12379377 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60C9EC07E96 for ; Thu, 15 Jul 2021 08:31:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 251566127C for ; Thu, 15 Jul 2021 08:31:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 251566127C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=m+LBjhEw8JKzxBDAemepTmRAZJr8MRmmhvp0UtZmVCE=; b=5FJklGNWOkamp1 6uGdgtOXuQq5QgXea+YCjM3OsfzfsFqIU5Pfzbkq2bYE19pozH5xudKeQZDBspKA70a2T0GauWawS X7dPXn+3jfa8CR3c86NPJ1kWD+VVgtMQFnQop0cnxe6wtCNqAVyysBBgVWauQJLNkx8Tx4Fo6sBNe y7xOI9r0tyDKAFl9DdTmQQGHWj9ncpJva9bMSWOhyD/Sf4DLER5Nq+JgWr3mnEx6vyOWw8qP3AvHs wtTZaUPexkGmHG39qdRektWJklcDSTq7L5gzusUZ7FzFMP/HJqnQjJAot+07Q1hxLleMaJFXgdBIs yYEVKSzkF6aolGRxBR7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3wjD-00HVRi-RC; Thu, 15 Jul 2021 08:28:20 +0000 Received: from mail-eopbgr50064.outbound.protection.outlook.com ([40.107.5.64] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3whn-00HV4O-Ez for linux-arm-kernel@lists.infradead.org; Thu, 15 Jul 2021 08:26:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N0GeyV9LHuLNf3rjbVk6KtiqrGuAuVKFSyUjxnLMrvdreXFld3dwIBxS3KvtRdljI+gczf8nwvLkNnIsnFSjHRABAWtJSI00F8/SPeaSiE1ce0HRXpDW2bnczctfguhEsInlDaZA2ILWr+TW1/ix9WIJ13zFXg/yiRFQjkEhmgiUdcWWaiCEnVUL45H03SNQYctPd6YPusUKxVvIYBzvp2TlC4cRcg/DOhyv4MuR8zmhv9QqAwIlfONWiy9IrKSBBmuWOLw/TREC3BwWzIHGHnMc2cSsVQICJZT4iNAA5MBkJIJ88FXdzE/PN5ks4m23PHncz3+E2aMdO0++cr++Nw== 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-SenderADCheck; bh=F2v0scO4WWCTThQHk4e8mITe7syS9BubUzmhViTKhoU=; b=BcJdWDEYtEiKe9sa6kVjPeI+sFO1HUUbjNrgu9r3n8tpQbt/Lns4O03qn3mUJN0xS6mA5MFUXUelPeFwoOItsg7YrSGGhtUDRwM1SYnZUj69NlJ/JYSTelf3Dq/zWSXldY8I7RtK0IcLa7L6SEPK5qEY6vuFHreSYvZony3QJPKRwyZmYCfHW2SPw/lVSIH56UAMdJY0t8tACRYpD4rYQgsr1mBa7PxKfUofdDJCjzJe16fTMev5g1G/g8csNdCAEGEBb40EtxqL5c7DsFZiXwdtNvh9Nuak4EWeJ6Izhv9LxNBjpbO/7A1XdcRxb1Ic4fSyr+1/xCJZ3K+sC06G+A== 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=F2v0scO4WWCTThQHk4e8mITe7syS9BubUzmhViTKhoU=; b=VwpA21DlPQoBIe9vJ7njkMC41po0m7dOnQT0GWrjwkDF8Qacxgtms+fEI/6p0AjdIAIy4vHaZvvhEYzJFydBAp1rKpdEsPxQJoPIUDhCDhjJ60D1mBwMU+1RNkaxwjwEwpraYM+BzElRmGTg5ZddQ6udac36aN8w2kAbfxyxivg= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB8477.eurprd04.prod.outlook.com (2603:10a6:10:2c3::11) by DU2PR04MB8582.eurprd04.prod.outlook.com (2603:10a6:10:2d9::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.23; Thu, 15 Jul 2021 08:26:50 +0000 Received: from DB9PR04MB8477.eurprd04.prod.outlook.com ([fe80::9daa:ab21:f749:36d2]) by DB9PR04MB8477.eurprd04.prod.outlook.com ([fe80::9daa:ab21:f749:36d2%9]) with mapi id 15.20.4308.027; Thu, 15 Jul 2021 08:26:50 +0000 From: Dong Aisheng To: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, kernel@pengutronix.de, aisheng.dong@nxp.com, dongas86@gmail.com, robh+dt@kernel.org, shawnguo@kernel.org Subject: [PATCH 6/7] dt-bindings: soc: imx: add missing iomuxc gpr binding Date: Thu, 15 Jul 2021 16:25:35 +0800 Message-Id: <20210715082536.1882077-7-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210715082536.1882077-1-aisheng.dong@nxp.com> References: <20210715082536.1882077-1-aisheng.dong@nxp.com> X-ClientProxiedBy: SG2PR02CA0083.apcprd02.prod.outlook.com (2603:1096:4:90::23) To DB9PR04MB8477.eurprd04.prod.outlook.com (2603:10a6:10:2c3::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR02CA0083.apcprd02.prod.outlook.com (2603:1096:4:90::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.22 via Frontend Transport; Thu, 15 Jul 2021 08:26:47 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9f348072-03ea-4128-64f9-08d9476a4b11 X-MS-TrafficTypeDiagnostic: DU2PR04MB8582: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LdhSMNI6OdP6N22ips6zf2GpEOgV3JECdlFmjeXsvcNs4CACBYlLPzRTXhNfKQwFVdR9c5MMbr/mW6dk+UqKuA8UnSGRSyoA8Iod2G+dVrPFHaglkDK8zJLR2LJ4QCgftFzdanYbnnXLk6968Ta8Y2KUvlgYb2k+lL5kkxf5Xcit2q8HIaZdjRXgPb/ATDYW0K5ECW29pmHi259XyDKTOYY6HR9Wfv2ltI34RgwTIcH1UWjPSinriH3A6vu2Tu0ykOALobsG8oCUpt8fAluYxawk7JnYoRA/GcaaYWobSnmzlQeWCYfUX1SxVlMHO6IOlyngpC4gXPxnwuG3GZZGzkt6KBR7a8N2xk7os0mobegp+gGekDaA2mBYg1Xpj/pB5055P5Xvhr2HH4cNATWN0gWzV8VYTRdaur8PUGUBgohepD9GK5wDd+73g4CSs7RzXnBoqzNElPJPJ8OfIC7fRXzwfsfNc8Z6MMZ6um+1GJzE7VTg4XG1fdh2MgpfoWcE5vo2QDZCumSAPD4f3hsLfdaVTWqLX74p+336JrbqE86vIvxDsKIFGV7noT8iJjmIIBu0F1tyGmVnBsdm37OKghg9GRd1Sq175gmsCpr70a5L1fjApt+IJO6EnyoQOGVwPe7xJNEM1zVDEB/FoaCoUSOjVI71VGMmk57ueRfT+rq8e7kWL0u7WpKt+X6fdfNzJh/NGqlNjHh7EpEmCns603j0BXKmI9tjZup9aVWgqCnqILAYecTyaJyTq7sG9Gfhe2DYyRArRKziFHu8rBvUhfbFhFyZT6B4gzMReBY9rlTII2G/X3L07sm/4RqJXpqH X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR04MB8477.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66556008)(5660300002)(66476007)(966005)(36756003)(478600001)(1076003)(8676002)(66946007)(26005)(186003)(6486002)(956004)(316002)(8936002)(52116002)(2616005)(4326008)(38350700002)(6512007)(38100700002)(86362001)(6666004)(83380400001)(6916009)(2906002)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: iEsB5JgO6IjdYXJc+GYt7SpEPHUgCgEK172Mky5iNsgkKfWwLzhv08xQXNVCE8pazBWduEsFC5PcxAMW4rTphJxmOtnOwMrTzlPGjCyYixk1+NIkte4PV+4HSE8meXd9weiNB2pimDxWCDX+DtmWidR2AG5M3Yx/lA3r3PP96fiRR17gs9sXyU8N/VyMDeud0qh9tnIVjll3EoN2TmJ6Y5ckVDEholKLGrLRM3cOjJsf0dmWNkISdsKZvNpCPRsbQ9T4W4PWX1sAfVAVzGb9deTeq3NnnQoi+RhH14Wzub+HZ03foeXRvPMGUQoU1niDxSJR42HIBOwA9pPB1GIu/Pl6zbRzONqq+Hx5T3i/99AQPUNjJlsFQkLMIPnTgz8A1u6iR7/A6tYpjvuOxg9TntZDfYTMriG2KKsNfIThMYHfuOy8e5rWwUco1IUpP3OxyrVM/OQsWxP+Bx+WjufmPQkJCrpFMw1a829WeVJ5JlnAdbns0Dodgnb+h0MiwzTNjORegdZeM5Mqevyoa+8onzD2DtKSsXIq2XR1nZhLo/Iu8vCpsAzWKc7iiRLYMhhErjPXoBJ4X4tqJDXXtdo3ymZuz+F+9X3jyRtwg2NqEqoXHjRYaIz1eadwtn0xiO+/JupFNTHcROhAg55g7VDoTDsVE6Pqn++9HNOX9FQ2XXu3Eo3MmP7H18n/C+oFCrHGAYaVK5NMcc8PyqpDenF7SKgtjpMD0hRFVrwQ05toVzCKaF+dWq3R8JYyCcCg7Sg4MYtK1GtT5UT1w/5T3rSiUY22tzKF05FxsF5WkX6NSsRp3faQfI8ASBQdTAbru3lpofwVenvL8i3m6sWFJrk9PZIinC2MgZaJyk5ULvRFysIXwX0xJcjUe+AqRmKk0nCfDRMVa4pe2HAID8g+4rzEdl+yEf9nxPYw3of28Fkwor7JjiMWtwIVjwe7bg9m53iLUHdCmiHXyhVZD1jTgEFL3qWOpiooZZEtx5ZDm3XUNDZhCQvXm1sdo3MoyPsZj+LXm29OEBlCL6J3pjvlX5tpiuHig5wlvoGsUUv6YkxmjeCgxjN7XZEFsHtwfkPsPxmKcXsfnycHBrGp7CRONPMKJkU5+zmbEGrzKi/JBqEdMWbMDScXdKQFDJ/+f0lryJLLfKbxzR1osdQBhKTqY56lwg33FAoEdAjUHoUo3ZIoGd2S4SFicajtiTlRHUDFhm0ChzCuAOAxxSr3SuD4CzH8VSpsQjSdoKIXXK33AVg0fh5zMHVBGzepUvF/o0ykluQnaYguKFQeeh7h5h7XgtYrdXg+pW5KGE+l9jEjyGXvvf/NobsbA/oOBYunoXJR3RtT X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f348072-03ea-4128-64f9-08d9476a4b11 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB8477.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2021 08:26:50.3014 (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: b1OZJY2d+D8hRelNKu55nTYbolrPPoo7lujjilTrHqrNu6nVi8wtqA/n2xc5tmcLGYQE4xNdINZfPArW/cKBWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8582 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210715_012651_532108_4B9C7307 X-CRM114-Status: GOOD ( 12.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The General Purpose Registers IOMUXC_GPR are used to select operating modes for general features in the SoC, usually not related to the IOMUX itself. This binding doc is generated based on the exist usage in dts in order to fix dt schema check failures. Cc: Rob Herring Cc: Shawn Guo Signed-off-by: Dong Aisheng --- .../devicetree/bindings/soc/imx/fsl,gpr.yaml | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,gpr.yaml diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,gpr.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,gpr.yaml new file mode 100644 index 000000000000..832b6b7e7c33 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/imx/fsl,gpr.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/fsl,gpr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale IOMUX GPR binding + +maintainers: + - Dong Aisheng + +description: | + 32-bit general purpose registers - several (GPR0 to GPRn) 32-bit + registers according to SoC requirements for any usage. + + The General Purpose Registers IOMUXC_GPR are used to select operating + modes for general features in the SoC, usually not related to the IOMUX + itself. + +properties: + compatible: + oneOf: + - items: + - const: fsl,imx53-iomuxc-gpr + - const: syscon + - items: + - const: fsl,imx6q-iomuxc-gpr + - const: syscon + - const: simple-mfd + - items: + - enum: + - fsl,imx6sl-iomuxc-gpr + - fsl,imx6sll-iomuxc-gpr + - fsl,imx6sx-iomuxc-gpr + - fsl,imx6ul-iomuxc-gpr + - fsl,imx7d-iomuxc-gpr + - const: fsl,imx6q-iomuxc-gpr + - const: syscon + - items: + - const: fsl,imx7d-iomuxc-gpr + - const: fsl,imx6q-iomuxc-gpr + - const: syscon + - const: simple-mfd + - items: + - const: fsl,imx8mq-iomuxc-gpr + - const: fsl,imx6q-iomuxc-gpr + - const: syscon + - const: simple-mfd + - items: + - enum: + - fsl,imx8mm-iomuxc-gpr + - fsl,imx8mn-iomuxc-gpr + - fsl,imx8mp-iomuxc-gpr + - const: syscon + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: true + +examples: + - | + gpr: iomuxc-gpr@20e0000 { + compatible = "fsl,imx6q-iomuxc-gpr", "syscon", "simple-mfd"; + reg = <0x20e0000 0x38>; + };