Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2021386ybl; Thu, 9 Jan 2020 05:39:46 -0800 (PST) X-Google-Smtp-Source: APXvYqz4up2jj5wAq+N8MkPxudvrPbRD4NDfSqrFd0enqtPpitgRVQSt949puGDIDvoM6gmKssp3 X-Received: by 2002:a9d:65cb:: with SMTP id z11mr7933304oth.348.1578577186185; Thu, 09 Jan 2020 05:39:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578577186; cv=none; d=google.com; s=arc-20160816; b=D4i5O0RZLx3AhuP8HGWRHYMxSSu671JjzjI9hurvLJYeuItpCRCyIez15yvOlqX3Zt +oz9FuF5uEc0wXgk8NVCPS7ZMHExrEcBz//VEwLC/DNkDfzCqpW26CTTKVNioqCFUCph mfrbWgF1Ze+z8WLPCvqTkuK//r6B48IhcpYn641Kav/WhIDB9cGYYnvnsOZGHlZAvW2N DqIBSFFjQHmAOuwvQ9uH/z7qg9RmIxo4WnptCLjMN9jfmOV3ht14UzqTh541d4ByhIa8 G+5EdzQMN803VdSZtZ3USv/BMmPMZt3ItG3vZnlX5ZG5+VOD9uufIvpY2qBogjKO03xf rDUA== 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=ErcL1N2fmNI636PPVQLs5GTMAwUgd2f5seuvakUioCs=; b=u16Y5RHEiO1a+dHv1qryVLfGXkr8Ygs3cK0or5fSKs+V5z0JacyVVdDnz8KlCOSeHP 1YecSaQkLlI1i7RQem2an9lGcIsvPtjDyWPol6G4eyk8494kLPWUltHo4lxg0lnwRyrT tjoVA5i70o5cCz9Lye0SPf+aDURa890TgRbPCvdwj4GY3KUCnHLY2RCE7jPQ5WOpPIwu JuWw4ze8thVTqrQMxVe0MAGmQni/axCqhY8/nnOMlAcgN6bzP+iF50MSYV9LsU1aFG1S IZbUmraqZWvRPLmtMNmh2pLx/xp108XWbCulSVlPMygQdtTS+5Q6or3KffiQGiazN1Fc sMzQ== 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 w131si3471778oie.47.2020.01.09.05.39.32; Thu, 09 Jan 2020 05:39:46 -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 S1729020AbgAIN3K (ORCPT + 99 others); Thu, 9 Jan 2020 08:29:10 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:45595 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727861AbgAIN3K (ORCPT ); Thu, 9 Jan 2020 08:29:10 -0500 Received: by mail-lj1-f195.google.com with SMTP id j26so7192039ljc.12; Thu, 09 Jan 2020 05:29:08 -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=ErcL1N2fmNI636PPVQLs5GTMAwUgd2f5seuvakUioCs=; b=QcitNdlnK1P8XDsxpOgCJEwk8BBeULze+HvJMfvdQLstUAogkO0HRDXMxt23Xq8ZEq omkD9d+73f49SLK0dpWF2+fyJogSQb2sKjnkQBllazj9K6sfP8TeYqHSq99dZoJRfxeP Tz6FdqVBlVBOSt/NlFQ4up89rRSZDcpstAKFUNs6Y1MbzVpWcxo35CoafZdsFoA1rrYg THdYG47CGQWjWNMDbwQwTjtmQJqV2rYRVIvXvSqMTpkpGebkIaKBhL9jXhOI8VY+6pBg k4sa6qDKRscAFBfZAaYInptVWWKwfQwbgFVEeUd6tjLB5dji3vmnIOLzZJeyXGnUQ8Gn h4dA== X-Gm-Message-State: APjAAAX78+2GfWTcxOvQaXm0qmiM0y/RFuy8LSFbHhNHA+chhijaJxmg IH7YTBYrvbYPecAnFjVQoLU= X-Received: by 2002:a2e:84d0:: with SMTP id q16mr6321120ljh.138.1578576547878; Thu, 09 Jan 2020 05:29:07 -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 y25sm3094435lfy.59.2020.01.09.05.29.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2020 05:29:07 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.92.3) (envelope-from ) id 1ipXsD-0004Te-LT; Thu, 09 Jan 2020 14:29:17 +0100 Date: Thu, 9 Jan 2020 14:29:17 +0100 From: Johan Hovold To: guillaume La Roque Cc: Johan Hovold , Rob Herring , marcel@holtmann.org, johan.hedberg@gmail.com, devicetree@vger.kernel.org, linux-bluetooth@vger.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: <20200109132917.GM30908@localhost> References: <20200109104257.6942-1-glaroque@baylibre.com> <20200109104257.6942-2-glaroque@baylibre.com> <20200109105305.GL30908@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 02:13:23PM +0100, guillaume La Roque wrote: > > On 1/9/20 11:53 AM, Johan Hovold wrote: > > 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 > > not forgot marcel ask me a v6 Not much point in sending v6 before addressing feedback on v5. Especially as Marcel asked for a v6 with acks. ;) > for rob comment ok but it's not possible to support gpiod_to_irq on my > platform. > > if i deprecated it i need to update all DT with good interrupt number > right? Not sure. Perhaps just updating the binding is enough. Rob? Johan