From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 80251C6377A for ; Thu, 22 Jul 2021 02:52:14 +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 4B2DB6023F for ; Thu, 22 Jul 2021 02:52:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B2DB6023F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WqoSporDmiuP3Z7SvM9UGS3zWNc/ixuSGg7rNTEZDIU=; b=xZ6Muxa0KP3PP0 DZJpx0a/Cyjf8gPkqeQYXzb5CKOrQ0yPgsBwi4VOKINqwkKCtfhZs3reMt9CHsYMQFIIV62KKIYSD hs72lkfEMH544cKrHV01VQWUDP/27diBAaUb8tDsRNRp41WNzCpVJP5uxBA0GCAAgTU5qXjXVqFSV kP0z+8PFMBgwyTkjCn5SzOmIimoCZPc9FCrCHRbz4F8ReJVFcngbeRKMaze7kzGEJmTsmuPY5tXuk z7nwjNAQOR1uXFdBA+vXOVSJifdrENLcFnzYSZYdg8isDgDsyySOKTzaDI08XlJWS4VNt2bQJCjeC HRuDoRZ/rqDM36WPdJ8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6Ome-0003E4-0k; Thu, 22 Jul 2021 02:50:00 +0000 Received: from mail-il1-f182.google.com ([209.85.166.182]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6OmZ-0003D5-BC for linux-arm-kernel@lists.infradead.org; Thu, 22 Jul 2021 02:49:57 +0000 Received: by mail-il1-f182.google.com with SMTP id a7so4106741iln.6 for ; Wed, 21 Jul 2021 19:49: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:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ly5o922j67G1IXq1ypi6OqzfqSjxCsvlYjdGAIxs8gE=; b=FaKvYH/2bHCq5/oQxpbRTq0QKIbQM9zZF+cTcwbZBcH9Z6/iCIMZuDdIuHFDinCK+y AiFzOUpb0hEN5nbPOw9kg4hfgamjSjN/F0Ky/HOnDwYIsES5Vpk/CB37jmmGkBcGpRKN AZpGM1nttfenE5H60TeYKpNWq2eoub3wQluo1ffWHeT/nF67GMP9lOH9Vg9R5+V6SlL8 rTLxKasBcbaCl4HP7DqB2jVKP/5i7ZLBqG7NoqpeeFvukXo/GSddgHxyMqGuSSMHT+3U MZ4CsgY/ylrTSK8lKVz5YfqhypFX39Krp2cpIr+Oh7zcgkIYmBZ8O1TJjGLQIAL6I9DN a1xw== X-Gm-Message-State: AOAM532VLKdIZIOKnS0iZvUdiQEbhstwKzQ4+V0pY7nY5DSUJJDZNjnY UnsE5cu+bwGEW3iCULbA0g== X-Google-Smtp-Source: ABdhPJzZPP7A44sMHZC1b/h6EGSvvk8YysUZYSFuumu2XDsOuwoDJy2MLMZjGzpo3UvhdoVyLzateA== X-Received: by 2002:a92:cc85:: with SMTP id x5mr24785728ilo.266.1626922191804; Wed, 21 Jul 2021 19:49:51 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id n10sm4422616ile.82.2021.07.21.19.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 19:49:51 -0700 (PDT) Received: (nullmailer pid 3201410 invoked by uid 1000); Thu, 22 Jul 2021 02:49:48 -0000 Date: Wed, 21 Jul 2021 20:49:48 -0600 From: Rob Herring To: Dong Aisheng Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, kernel@pengutronix.de, dongas86@gmail.com, shawnguo@kernel.org Subject: Re: [PATCH 5/7] dt-bindings: soc: imx: add missing anatop binding Message-ID: <20210722024948.GA3198597@robh.at.kernel.org> References: <20210715082536.1882077-1-aisheng.dong@nxp.com> <20210715082536.1882077-6-aisheng.dong@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210715082536.1882077-6-aisheng.dong@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210721_194955_433080_6543A257 X-CRM114-Status: GOOD ( 19.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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jul 15, 2021 at 04:25:34PM +0800, Dong Aisheng wrote: > 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 Don't need maxItems. > + > +required: > + - compatible > + - reg > + > +additionalProperties: true This should be the case only for common schemas used by other schemas. > + > +examples: > + - | > + #include > + anatop: anatop@20c8000 { Drop unused labels. > + 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>; > + }; > -- > 2.25.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel