Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1955434ybl; Thu, 9 Jan 2020 04:34:50 -0800 (PST) X-Google-Smtp-Source: APXvYqzcNowwm+V+x6xAeIJB6eav3tksThqIntfJMRkfG04Ey+MAfuwKRwrqMtEDnAmysXcBYhab X-Received: by 2002:a9d:7c8f:: with SMTP id q15mr8382466otn.140.1578573290288; Thu, 09 Jan 2020 04:34:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578573290; cv=none; d=google.com; s=arc-20160816; b=oyqd1OtvLiskhdIhD8/KN0Y4ki5lBg2CdoFxgCCabKQfaIqggiyyW3BC8/UU6hMtIx xE+ge/MJ4+S8lWhKRPG6wZcj85z4zNtMbb5+6pnriniyoeO438o6hzyMOqKVuD3ivtKv EufAyrM+1duFMvy4cngbm6dAos01RBo3dagQny4B6I2GHYr22zei3RXBeIRUyDyEbnKa G5ilmAUSmdlbC3Apm4qq/KWlVGdkFA+x/Q2uJI5JcR5mWjgCkR2M/3iuym7VdcbOLRLN igxmPWF9ZcV71J7S3AS3+ynDbNv6/qTZqRKY8wNaK7loGcePuUMByLFQclYWCPLHydjl JnlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=FfV01Lii6xRWmFZQZCmMxKJbbWsfZhJQ0W5lt1xJYG4=; b=Qy4dTsej0WTxfUqIENI60G9tYkULBtYR4852whbGYokAy/fFqDXcEVS7dpzdYLpEab gAozdvCACXjmPcpcPQoyoUOHySjFLHvPPyNDfRO9YsKyg33XDyLJMzpIPkdskbBcpj1D JP0ksOz2lOk7lH3cWybwBcgORAO+0P/46NJ+Yv84z7Izhm6rl7A8vh2vN8fCzcZ5zfN0 EwrH2NPY4Yso+dNA3k4f6FNgtik4yjg08yrHAJ8WxR5c6nwjHroaa/O+1Gbrh3KkFwDp BJjb9mUBcjYdF3JM5ocbfXYbgD5FG3Ov8tNrUarRXTCLf1WuEY37T5llYisXWZ/XYqTK uFlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9si3487596oie.20.2020.01.09.04.34.22; Thu, 09 Jan 2020 04:34:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729599AbgAIKw7 (ORCPT + 99 others); Thu, 9 Jan 2020 05:52:59 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:43148 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729609AbgAIKw6 (ORCPT ); Thu, 9 Jan 2020 05:52:58 -0500 Received: by mail-lj1-f195.google.com with SMTP id a13so6691336ljm.10; Thu, 09 Jan 2020 02:52:57 -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; bh=FfV01Lii6xRWmFZQZCmMxKJbbWsfZhJQ0W5lt1xJYG4=; b=JMREHEpOXmKGAg3ZaahAsAmvA8SIlModrp0/N6RLc9nE72UJiAOaQgj/J4mfoF6VNN 3PvVNTZCoAD7sRUzGMXv/fd0ptI5C3vWtlnzko2zdEVDXeMwekHq0+sdVyrztuFsk3oP sVSJjQ1i3hzQwvQD9kIGqSOPvQW/6+668WfzueM9GbNp3iOu1E3uC0Ru/TPZTgGITXd/ KKBi5GnZ3u/Z5caCYWqDZaWgrTwnk/VKn1zfsQscPPUUsqjgPROEY3QYs9wQClLnsBuD D+F2hcg7IW+nbbrp+9DBYmoJ3T05T4se5PUsFlooBPocZRoChLfahV4/XOeaDzyI8Fn0 YYUA== X-Gm-Message-State: APjAAAUk5XPCOGy7iqizNLgMb7vjgiN/C6segQ+1gZpqFZQLk2ZXAC5s TQ8u/5F4wcNBio1I2epwzjw= X-Received: by 2002:a2e:7818:: with SMTP id t24mr6225318ljc.195.1578567176374; Thu, 09 Jan 2020 02:52:56 -0800 (PST) Received: from xi.terra (c-14b8e655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.184.20]) by smtp.gmail.com with ESMTPSA id 138sm2931247lfa.76.2020.01.09.02.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2020 02:52:55 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.92.3) (envelope-from ) id 1ipVR3-0006WK-Ur; Thu, 09 Jan 2020 11:53:05 +0100 Date: Thu, 9 Jan 2020 11:53:05 +0100 From: Johan Hovold To: Guillaume La Roque , Rob Herring Cc: marcel@holtmann.org, johan.hedberg@gmail.com, devicetree@vger.kernel.org, linux-bluetooth@vger.kernel.org, johan@kernel.org, nsaenzjulienne@suse.de, linux-kernel@vger.kernel.org, khilman@baylibre.com Subject: Re: [PATCH v6 1/2] dt-bindings: net: bluetooth: add interrupts properties Message-ID: <20200109105305.GL30908@localhost> References: <20200109104257.6942-1-glaroque@baylibre.com> <20200109104257.6942-2-glaroque@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200109104257.6942-2-glaroque@baylibre.com> Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Thu, Jan 09, 2020 at 11:42:56AM +0100, Guillaume La Roque wrote: > add interrupts and interrupt-names as optional properties > to support host-wakeup by interrupt properties instead of > host-wakeup-gpios. > > Signed-off-by: Guillaume La Roque > --- > Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt > index c44a30dbe43d..d33bbc998687 100644 > --- a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt > +++ b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt > @@ -37,7 +37,9 @@ Optional properties: > - pcm-frame-type: short, long > - pcm-sync-mode: slave, master > - pcm-clock-mode: slave, master > - > + - interrupts: must be one, used to wakeup the host processor if > + gpiod_to_irq function not supported > + - interrupt-names: must be "host-wakeup" Looks like you forgot to address Rob's comment. If I understood him correctly you either need to stick with "host-wakeup-gpios" (and fix your platform) or deprecate it in favour of "interrupts": https://lkml.kernel.org/r/20191218203818.GA8009@bogus Johan