From patchwork Thu Jul 15 08:25:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 12379375 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 48BCFC07E96 for ; Thu, 15 Jul 2021 08:30:51 +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 0C8BA6127C for ; Thu, 15 Jul 2021 08:30:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0C8BA6127C 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=IX6NlzSyV3PhQxqljif54YOcTo15XOkglvlQIKbZOng=; b=bimVCCvU+kGJEE CcrLXsTEsYRK4VQM5hXwvPdICRdb2SWJk6QJHbQFNUcDXNXGt5nkVUCjmNxC9quLgZqzuWss4SHBb vHkKnUwCEKmLa5zNDlRTD4EbdBbfs5AL6NoecfoA7NWSEKAGUrZUh9ftcMvVOIsX6NSJP29rG8umx VUJx81Oq8KeCu2nebLEqTXSiPO5Rm+yG2wrsB9374ZtWO6nyLnOoQ9oENnftqEVDlmmxtA9R7ZyBi ckAmnlsC5iRwxAD0J8mDakPLfP0KYhNRN1TNWdz++bWNQ3u4YnXc2dtGoNaKuCIl6vE1frYz7l2VR +UM4TtCZwR2od5c4xKSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3wik-00HVId-JH; Thu, 15 Jul 2021 08:27:50 +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 1m3whl-00HV4O-Ci for linux-arm-kernel@lists.infradead.org; Thu, 15 Jul 2021 08:26:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TWvQIwo22es9EUxvQX6BSBof9jk+/Ciqo0/lE+uguEETaoTATiPBhngEe7F+eFufAkPccg2YspK/9qxZrcrU4RdcHSB8oqFThqCyQAYBH4MEChXzMIdK1gEXbgh6cPHBl8B9nExXUUmxGb7oKNM1UyjRFJOXkbEUvcKLApRJZDTef6WgblGQoIeg3+WBSnR2BM36kqy3SKmpeKl8fGFL4yQ6OBe0CygC5vjiAHJ9wmin11cJMrRj8GOxYYVXG3A8YTpwm/q0zjhc6bUU22026MmmJN7af0TDgmOlh1jgKJ7MDhh8vezG+ZVrgJG4pXf9ZyE25zvtHKPNBlNvTc8fyA== 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=mRHIE3aOapYZCJTlmES2muyzsNdvJtLGYTc/OvjEmyw=; b=dDGzVJgl1cfKQuf3OrhycyLqzyFDzNaaLV8jOV3832/0TFP5BsVKhRCbBQVUKIg95USy337v6QNBNr85KRNyUdEyh9PldhSlOzXmCUs25L8himrCabVQQxdHHIQJQufCbBYmIWjhD12vm5Mvua+N7/448HWv10HBLIc3t8K9pZVryXaw5F+llSc9g/pYjQh7LHlx2XSBtNJ42Su1rcB3hpGPWd0muKulKmH5d2PqfKrly2W+x8kmZa/hZi7mB2/B/y0bHmQ2gi01wNQgM0b1CGv6QnkHEOju7rPGrFBoCyBAxxkkB1XCpQQlsPQDs0ZmrKqW462fabShNsbdHTzPPQ== 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=mRHIE3aOapYZCJTlmES2muyzsNdvJtLGYTc/OvjEmyw=; b=Ep1sJjVONa5T7hB+9mnmOB7h6cva2AGQqX4nbqqeDLak7RBdfYlSXozXyz8j61xxVv2UM1KZqrgldR/TgQv78brY6JuXtCuCkPtTWF0P60xgSj+U+kPdtp/dWZKi5DAH2STDPF5KTVIMGmxDgNdlP/a1IJpXGND9AwDvEsknd1M= 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:47 +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:47 +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 5/7] dt-bindings: soc: imx: add missing anatop binding Date: Thu, 15 Jul 2021 16:25:34 +0800 Message-Id: <20210715082536.1882077-6-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:44 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 825e85d1-d3f1-4c3f-2b3d-08d9476a4919 X-MS-TrafficTypeDiagnostic: DU2PR04MB8582: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3826; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HteyXPSiS22PUuuc1GN3LN8GpI7kJ/dMBaM1/zGnjCCS+UkhHclWf93KcGdKNwRUShzPFBjGe3tLnk71UstWYfjfr4O9R2e6/4F3goMXmuM/4c3E5ge/QVNOmtNVl7yi9IUf7C/HrJut0E+MD1NQhffxU+lYHcvydpEs6eEdbN42ZMK2EUN7RXCO/XBRozEYazrz03VzgUHXlMRWA11h2/1AS3kRp9JZMOhIrBZ1kXsso936NwBVZt0PCmW7xbTUDQJeDDoy92VM2jeo99aEylT3d+NrOJsjlqzE1b8clabRJln47ngN6AytjKSLnaQIjr3RSn/n43MFVp2QlwL//Vfs6/g5FuDodIEM4/lV/Wf7IWvwrW2MBPlI2YWVYHU+pmlZAXx/zPwbyvvfCy4PA4/+XhBK1CI/j6rwtMK0BNNGpn5g0zT79LV/GJBidGfYkIoZY9Ex8DUqVQoHrCYZ9WKig1/IGuKjaeB/to18HydG/BhTkB3EHD8875jDr7nUrLAdflNc8B0Vcvo//nCzg1fNlsRaEtguz15zhO1IYStrTEeT81oZAALGnroOe6kkqZPuNktCQsDqpr6TOoAMvT2lssiF/+dch1yggTIrkskH2LRiGpFgv1VVzeICGsLNDkLmHWaygIPnSgWvZ40xk7kgDWGy9JGIJW3NJA7Vvop1dusdvcVW9uvmyu6pvOvk++CWR+7XJNigheh4Gv0R4tx8SmdEPF8CB0ZOHGeWHceASl/beYrs8aKLJWSdL6qxPk5P0COxbmNNed4OZ5kXSQhJ3Ctxnw22wVMxCR59PYRhCmcyCSV6GJJtahcbjkdf 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: pOgryGp6g8XSj8oyGRqiiL/N6Y139pGiMp4j1RVDwnRSNPHf2+hPAV+lFVCFYxo6++WrMYbUfdBxj+fXf6h5SkqONg96oN90ON2jZfXedXWOzFMu1+Hq0kYT2MyM5UpSpgx07Y58V31XcgYKbZEPjnLiwTLhAKGpC4eVpCrL9zwrflXlTEapqDXpq0iCd3KOPhz2F2E1BL+hw6VU7S0i0Ye6ZLMefCO3REVr1HaPd1ZRlutpdWnEaRUrnDHdGG75fg+fkeFgeQegqQhIW1b200TlHzxuZiDjQM8A/3QHSigM39gDh8i8cpzgbTaWf1zJKwSN39lTm06OgxKbBgaCIeGrnD8TrEinHYQlOKWHizIbkTWaldwdB2WJQt4VDrtthDw8TiblJnF4V7KQlAKb8t31Tq9jzw13tVSFMjzzwIf8cVx9oftZLwnAdMPrRcxhI006A27umW/NQRERC9v1B7YVbVsAzl0nmY0kCg7CPlYsLy5GyCyyBY/OIIdpF3XAEpBYZAJREY3eMGCS1KFZPlJ4drzm5lXOyaNESUvgse5dkWXdPf4YUcYrv+6zAg9Sc9pi4Ozl1r3lSxW0nZkXQQ+kT7J5kHhyfhV9dkdYrNcjjJl7bqCJuCykvB3uqLt8nd9MimUtS2Qs62+siDwJ5MdU8VHevT65/hfpxna7qP+7HdzxgcfUM92H1peCkvCiaDiekR7NIARhmf2KIsaQXZ2n5YNrjT5OZpEZZMN2h2692l+QtKBoj7bRZn6TLc3SANhCgq4fCHQcR22/rWNaD1AlDOavbDSv5syfYIRFgifJbfsSDqfCy2vvmfFevbkf+p2jX2bPLdyknGmJCpciYXmty5YNIlwgG10m4JRApI9gIyumwW6v8Qpr95pDwDOPXYckxjnZ81ITJKruihHrHn6CKvToRj4x8GIJN34w6Zw+eZjc8cGMyRunIUSAWFqqeuKSA2SSXrL8+wzb6MPDcR75EAz5oU6/gMxhuwE2UZggKwUCwIFGEJ+XBXK2E703iK1uc6pjUeF5E330AcAPCzquQxzoC9FoIgngb3J4YFZZgzLLnxkvppqimLNgW6wDd179GAdkxc5F+LARvDfef0SLlmXrhHlDaIn44qUhpc7wQSTjdfYl6hJUuURal9xTAZIoEeHrbNB3XQuDz3O8L+FTqYxHZ9BV00SoGnoLAG4bjHWulIBwgyGGHmg3MEltxmA1Aw3L8q5Uaowmp90CtGSGTLyG3i3/fwF2vi0oc1FucZ5dYpdmdVO3TD6SyT4R1WG2UB9O3BGyeUUBbZBrO6bBNslWvlTx7awCnpKyXC0/IPdtQ6K64o1f6lWGNg3F X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 825e85d1-d3f1-4c3f-2b3d-08d9476a4919 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:47.0487 (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: kt7H5XWPTM9aYovHxTXc5bS8pNytQhdbjE9/vidmBwo4toclU+ctDAO/1wX36LOuG3I/fzIW2FDNrZGJaJtUuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8582 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210715_012649_511806_4E632560 X-CRM114-Status: GOOD ( 11.96 ) 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 Anatop is a system combo module which supports various analog functions like PLL, Regulators, LDOs, Sensors and etc. 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 --- .../bindings/soc/imx/fsl,anatop.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,anatop.yaml diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,anatop.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,anatop.yaml new file mode 100644 index 000000000000..f379d960f527 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/imx/fsl,anatop.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/fsl,anatop.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale Anatop binding + +maintainers: + - Dong Aisheng + +properties: + compatible: + oneOf: + - items: + - const: fsl,imx6q-anatop + - const: syscon + - const: simple-mfd + - items: + - enum: + - fsl,imx6sl-anatop + - fsl,imx6sll-anatop + - fsl,imx6sx-anatop + - fsl,imx6ul-anatop + - fsl,imx7d-anatop + - const: fsl,imx6q-anatop + - const: syscon + - const: simple-mfd + - items: + - enum: + - fsl,imx8mq-anatop + - fsl,imx8mm-anatop + - fsl,vf610-anatop + - const: syscon + - items: + - enum: + - fsl,imx8mn-anatop + - fsl,imx8mp-anatop + - const: fsl,imx8mm-anatop + - const: syscon + + reg: + maxItems: 1 + + interrupts: + items: + - description: Temperature Sensor + - description: PMU interrupt 1 + - description: PMU interrupt 2 + minItems: 1 + maxItems: 3 + +required: + - compatible + - reg + +additionalProperties: true + +examples: + - | + #include + anatop: anatop@20c8000 { + compatible = "fsl,imx6q-anatop", "syscon", "simple-mfd"; + reg = <0x020c8000 0x1000>; + interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>, + <0 54 IRQ_TYPE_LEVEL_HIGH>, + <0 127 IRQ_TYPE_LEVEL_HIGH>; + };