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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 3FD6CC433E2 for ; Tue, 8 Sep 2020 20:26:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 C58672080A for ; Tue, 8 Sep 2020 20:26:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dJ3mlCPA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C58672080A 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=merlin.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=LE5z9VDesFK2/I7fCqunREN9KhxeTrT6/NsjM7TlXwQ=; b=dJ3mlCPADzKEkYZNIVG/A081W W4Gp3UVJV7TJFRwjZkiTk3a3Y1Ps5J/ogkq7R5X2zhZdzn+QwZBMwo9k0ie8q3vSiwZ032nGHwJuV Ru484bJo8+FekZkdXJtpMULxl+42Dv/TA/tgQMrbZmPkXP3+H44MuRhqLl9XVX/hzC/mrSxwkcBfn 8cPJsgdlkI2gN9I1ifozyzBAR0UJU9HStkb9tgobUMFCyC0kuG5CYPbmj50ApAf9hGcru/X3kYJVc iKJMlCx99mvgqxCUNEOIJDYTmALoQXOY5VscG5yDB/dahD6QZZcO+TqNMb67RzHaSzXFSfvX8CV5r qh/ek2m6Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFkBZ-0002oP-GL; Tue, 08 Sep 2020 20:25:49 +0000 Received: from mail-il1-f195.google.com ([209.85.166.195]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFkBX-0002ns-DA for linux-arm-kernel@lists.infradead.org; Tue, 08 Sep 2020 20:25:47 +0000 Received: by mail-il1-f195.google.com with SMTP id y2so176974ilp.7 for ; Tue, 08 Sep 2020 13:25:47 -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=jY9UdHICeYt7zlT7tUlhe4/kxIL9pAaiTbl/yxvrt4w=; b=ZB7hDS637/kg5W0ZgqX3O/9oKXfi8pcd/6zzTFQx4MPsbCW3oZTivzrD1nDfV9W5Fi Ju9D8/D3vzsEgLCGUJWfgQGWkTt/VfStEAVJ6uS//QWzcPzAafxxrQRJxonWB8LMZzuJ rfiUJTSdJprRuaLMjoU1BCZzZhE/Gb6XcBL5PqBVwcSmXHjjau6Prld7CaHaVg5d//Pr oCAQKV+yWh2BjnWMDeJrutawJGj0dUDHrPvZCdPs+DYx11ZeIjqFslglyQmFL66oFT3v 4UkK8BExi7/bABi0EIVPxKn0NUPNc2xA3VsUofpqm2RlQXlGQphzvR1j6bm5toB0E7+D 77SQ== X-Gm-Message-State: AOAM533A2n/sSB+7nWlHLgEDtuHWvgZYYqQ6+F1vy0ViDUA5wkwtlK8F ua3W8IJinnY91wjy8DVWDw== X-Google-Smtp-Source: ABdhPJzXNYzVQL4xww4DrKkNdGx47Rqhrl6WaRwl4ojNtm5QVw7UMlWvDjZnXk6bhRJ281tteQMOiw== X-Received: by 2002:a05:6e02:13ce:: with SMTP id v14mr527407ilj.79.1599596746781; Tue, 08 Sep 2020 13:25:46 -0700 (PDT) Received: from xps15 ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id c12sm148132ilm.17.2020.09.08.13.25.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 13:25:46 -0700 (PDT) Received: (nullmailer pid 850495 invoked by uid 1000); Tue, 08 Sep 2020 20:25:45 -0000 Date: Tue, 8 Sep 2020 14:25:44 -0600 From: Rob Herring To: Krzysztof Kozlowski Subject: Re: [PATCH 02/25] dt-bindings: iio: adc: exynos-adc: require second interrupt with touch screen Message-ID: <20200908202544.GB846754@bogus> References: <20200907161141.31034-1-krzk@kernel.org> <20200907161141.31034-3-krzk@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200907161141.31034-3-krzk@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200908_162547_445566_C1DD42AE X-CRM114-Status: GOOD ( 17.87 ) 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: devicetree@vger.kernel.org, Lars-Peter Clausen , linux-iio@vger.kernel.org, Jonathan Bakker , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Kukjin Kim , linux-arm-kernel@lists.infradead.org, Peter Meerwald-Stadler , Jonathan Cameron , =?utf-8?B?UGF3ZcWC?= Chmiel 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 Mon, Sep 07, 2020 at 06:11:18PM +0200, Krzysztof Kozlowski wrote: > The ADC in S3C/S5P/Exynos SoCs can be used also for handling touch > screen. In such case the second interrupt is required. This second > interrupt can be anyway provided, even without touch screens. This > fixes dtbs_check warnings like: > > arch/arm/boot/dts/s5pv210-aquila.dt.yaml: adc@e1700000: interrupts: [[23], [24]] is too long > > Signed-off-by: Krzysztof Kozlowski > --- > .../bindings/iio/adc/samsung,exynos-adc.yaml | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml > index cc3c8ea6a894..89b4f9c252a6 100644 > --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml > @@ -41,7 +41,10 @@ properties: > maxItems: 2 > > interrupts: > - maxItems: 1 > + description: > + ADC interrupt followed by optional touchscreen interrupt. > + minItems: 1 > + maxItems: 2 > > "#io-channel-cells": > const: 1 > @@ -107,6 +110,16 @@ allOf: > items: > - const: adc > > + - if: > + properties: > + has-touchscreen: > + true This evaluates as true if 'has-touchscreen' is not present too. You should use 'required' here. > + then: > + properties: > + interrupts: > + minItems: 2 > + maxItems: 2 > + > examples: > - | > adc: adc@12d10000 { > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel