Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1013520pxk; Thu, 10 Sep 2020 05:01:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzW94nZ0EtPM5JfkHw96oA+a9nzCkepnyFNWl6IDdZZ5z/0stGZA2lVG74+E0Bj5DOr5jCU X-Received: by 2002:a17:906:eced:: with SMTP id qt13mr8201642ejb.357.1599739279763; Thu, 10 Sep 2020 05:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599739279; cv=none; d=google.com; s=arc-20160816; b=yceDNpJ5UgoHx93WKaFtZu3KYc0/lQ1aw4QeemMemRTGwyGRq8AAUUeDtPuS4hH8Ok CZlGmOm9w2WixGr6l15wG3xDJJiyOegdAFBlhKoFgOsAr9qhJrs95fA8cm2js25xUCvn FnpCWtIODpX9YhNKOvzd8PvjrnwsI1I1IZzzeUVZNu3DpSA2F/cRRtgQS3AzU8o+EIsb KK+iAlpC/cykr22cDIorvBaLfe+N+wyInxED/XaXnI5vYpsHZH/Kc7mvVE8qLJ5IcsdP cD7fMXTlR5aR/Ohc1kcyFgmzD7/0SyxctUkdiziMt4Cn6VB5YqfVc2H0cNvwGLZPirTv yhMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=uPvhMhxIfKYGP+eaPxuduQJwKPZMPAOeZ1UcYFAdnFk=; b=jlE1JTvFwr0gtyfmVHTXX4TPORamUhDKg2QGLjydtujJ07eYiowdVoPjiWb9BdvaMg /mbJvi5ZHphI/AFtbmMUUlYRdR0/PHvlhL28em8fVkez3D+8//MHTHMRQkGkQZBiMTeq 7HPiAzoENGnmWIu94eArhp6SOEdi9hTTna5Er/oLE+/NL4cKs9dMqWg1Z/6ujP2jFhNV tW5w184Dp2KfeDIDPEogq8EpF+cgXY6Kzue7foW4J9GB3o2c8yTrpqKMcHqdKRMBcBYh 630a55ZWd+anmpVyYOCEfYN/gnjhZXSUYqAvcTsPgS28sjcxixHr176CYMH/1hUOuO6A p2VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R+2PJqwv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v2si3460071ejy.65.2020.09.10.05.00.54; Thu, 10 Sep 2020 05:01:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R+2PJqwv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730486AbgIJL7X (ORCPT + 99 others); Thu, 10 Sep 2020 07:59:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:40194 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730544AbgIJLzb (ORCPT ); Thu, 10 Sep 2020 07:55:31 -0400 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BDE0E2075B; Thu, 10 Sep 2020 11:55:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599738931; bh=gPPcyn/tq/4FUyBAZRHDVT1Hgp+0p85nxiUqeEM9stk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=R+2PJqwvb/POPURnczQeZytNBDYrwNG3cB3AxjkMkIDgQ2PiA/mtKTPP9OocKvh3P tCdzJDhwilBH0uR9FbsthykDsqEQTJL43DvQfiq0598xDxbq5GkCAKt0EwHNelHHEk QKAMCW5EyF/wN8ScDWDAtYYVf53p29eWzzesmjHQ= Received: by mail-ed1-f48.google.com with SMTP id g4so6044279edk.0; Thu, 10 Sep 2020 04:55:30 -0700 (PDT) X-Gm-Message-State: AOAM530so6r8TNeqlaylpuph2Ypc/7lSeivC5ylmR59aX/SQlgVk0bB7 8nCVM/XXzLmH/0lDHj0n/LXZAeUAK8Hiw2Wxllc= X-Received: by 2002:a05:6402:180a:: with SMTP id g10mr8750346edy.18.1599738929240; Thu, 10 Sep 2020 04:55:29 -0700 (PDT) MIME-Version: 1.0 References: <20200907161141.31034-1-krzk@kernel.org> <20200907161141.31034-3-krzk@kernel.org> <20200908202544.GB846754@bogus> In-Reply-To: <20200908202544.GB846754@bogus> From: Krzysztof Kozlowski Date: Thu, 10 Sep 2020 13:55:17 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 02/25] dt-bindings: iio: adc: exynos-adc: require second interrupt with touch screen To: Rob Herring Cc: Kukjin Kim , Jonathan Cameron , Lars-Peter Clausen , Peter Meerwald-Stadler , Jonathan Bakker , =?UTF-8?Q?Pawe=C5=82_Chmiel?= , linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , linux-iio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 8 Sep 2020 at 22:25, Rob Herring wrote: > > 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. I see, thanks. I'll send a v2. Best regards, Krzysztof