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=-10.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 9DB81C2D0DB for ; Thu, 23 Jan 2020 15:30:11 +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 5A9A42064C for ; Thu, 23 Jan 2020 15:30:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ArL7lSDP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5A9A42064C 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+infradead-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.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=brdYcsQJo4WWTHf9K52VknFJ0bQ3Fk68nA3eSQPIvzk=; b=ArL7lSDPAdKbjV I7XUE4eprJHefZfPOsvfZ8Ag1IRDtRhqAY+kkLDZ0hwhfamAtnX2H6bIwCtWzwJH6/Gh4NkcZfzzt vJYUoFJuHJ+ItaP3QHssf/qqnIyDkzaEOcHpLApd8xohtfb6IG+b5G6WA6DBz+f+8y9VaBf1SoBTq u8x2iGAIhjO2EmLzL7vS8wplWB48Xsmn2Kb6FCoftOL0cotjrKi5yvurY1GsgSDZ0sCIJHfDg69rX RCmYLG61Sof1jinJeaXAYKJnH3qRkBIfNKkYKbOp/FVwboonL7cf67j8oVSWga3BoAPlqKloFQibs MMBFH/oMMtm/xEmXUt8Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iueQs-0000wT-2D; Thu, 23 Jan 2020 15:30:10 +0000 Received: from mail-ot1-f66.google.com ([209.85.210.66]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iueQn-0000mI-HL for linux-arm-kernel@lists.infradead.org; Thu, 23 Jan 2020 15:30:08 +0000 Received: by mail-ot1-f66.google.com with SMTP id b18so3128357otp.0 for ; Thu, 23 Jan 2020 07:30:05 -0800 (PST) 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:user-agent; bh=YHqBGj/ukTPkl69zvdBgkmcYaLWB1N0Qj6YD43sxU/8=; b=cFNWbsZa3xVEJKSAUmkAGYkZdX1TM9mCA930kw1Lx/1F9TVfjQzZmIIgEgtGy/tLZL TrSPRZ7QgtIWHMrj1DuC2l7hsBn49Hqrh+4B0HRWobSRakqP2FCLz0xMzSJyZM0WETZp 3oImrfekyTwF0iqmHucCu9ZooB1P2QXo7DFp5gXK6qmTWBa+j/tuDu7ZWY2Qc8KcgWQD ftbvQqUlnLrXb0T1Izayd8UmIrlpCm0ilzBPT3GzQiW0/3LkDhdK81v/m6CmcRkyPh+g 6KcETQsIM35chHEjajKFgUjLfkf16wvuAB5yEf3X455W5eDsbjC9PJUnU70KSZW08qFW EAAA== X-Gm-Message-State: APjAAAV8bYx3DLBsShnRHYJ+nF9OFdVq51fbO5duGwDxvrF6psK16WlU FK1DRZ63irAfiFvjcF794A== X-Google-Smtp-Source: APXvYqxkWG8AeF8EXXnGTWZ4IdGe6xCc6yw9d5YQpXCkxvBsnWb6O8ACMvnxGdINcohg5IvNyDKtDQ== X-Received: by 2002:a05:6830:4ca:: with SMTP id s10mr11737763otd.268.1579793404638; Thu, 23 Jan 2020 07:30:04 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id p24sm891368oth.28.2020.01.23.07.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 07:30:04 -0800 (PST) Received: (nullmailer pid 12956 invoked by uid 1000); Thu, 23 Jan 2020 15:30:02 -0000 Date: Thu, 23 Jan 2020 09:30:02 -0600 From: Rob Herring To: Olivier Moysan Subject: Re: [PATCH] dt-bindings: stm32: convert dfsdm to json-schema Message-ID: <20200123153002.GA14241@bogus> References: <20200123083432.21997-1-olivier.moysan@st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200123083432.21997-1-olivier.moysan@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200123_073005_577908_F95ED9DD X-CRM114-Status: GOOD ( 14.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, lars@metafoo.de, pmeerw@pmeerw.net, fabrice.gasnier@st.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org, linux-arm-kernel@lists.infradead.org, mcoquelin.stm32@gmail.com, knaack.h@gmx.de, perex@perex.cz, linux-stm32@st-md-mailman.stormreply.com, jic23@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jan 23, 2020 at 09:34:31AM +0100, Olivier Moysan wrote: > Convert the STM32 DFSDM bindings to DT schema format > using json-schema. > > Signed-off-by: Olivier Moysan > --- > The DT check still returns some warnings on this bindings: > dfsdm@4400d000: filter@4: 'st,adc-channels' is a required property > dfsdm@4400d000: filter@5: 'st,adc-channels' is a required property ... > > These warnings occur because some disabled nodes do not provides the > required properties. These nodes are included from SoC DT, > and do not provides by default the properties which are board dependent. We handle disabled nodes, but not when they are child nodes. > As workaround in DFSDM yaml bindings, the properties > (like st,adc-channels) could be defined as required, > only for the nodes which are in enabled state. We should handle this in the tooling, not the schemas. I entered an issue to track this[1]. > --- > .../bindings/iio/adc/st,stm32-dfsdm-adc.txt | 135 ------- > .../bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 332 ++++++++++++++++++ > 2 files changed, 332 insertions(+), 135 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.txt > create mode 100644 Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml Applied. [1] https://github.com/devicetree-org/dt-schema/issues/32 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel