Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4481717ybl; Mon, 13 Jan 2020 14:38:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwkyJU5bQhiKT/5oQsPk6Q67XRM3jQ5jctLsTf5YEtmPCc5/bGzDWsjDlkXpBk/qnvsDKW4 X-Received: by 2002:a05:6830:16d1:: with SMTP id l17mr14041502otr.21.1578955106999; Mon, 13 Jan 2020 14:38:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578955106; cv=none; d=google.com; s=arc-20160816; b=u4mTs0YDetvnLasbcbNLpM/ipMaTcHxTdyN7nWv3LLCMx6xHX8SVD95aIaodyJztzp rNZY+UBhmbKn3BBBZXPvYJhIspRRtGa/uzDkap5EX7pX22am988vNYfkM++h45uXzmfV 6c1Zu3qQ5um4kRH5u9kbl2avRAZ16pqMV0rCxOvML2hBDHx8cSyn6wT+R5AOZ+M8lTIb ojAnPHMOBOv7IXL/PNHyoHx1veUb+t5cFHSaQjNq6yFOXA6dKFLBn+6NxvTBZcQHwK9w BwFxpTKVkngDlDuklTX5mtGY5SwJWRWfHvFUAq1BWuGWaVPJyElJB2d/HC2V70ldl5GV j4Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=zw6iSRepM4LG+d/YXuCQ8oJD6o1KO8WeOLqBNcecU20=; b=TE5HKQZDSHa2aneeo2Zgp9Fc35ONC13r5MxXeCDoaVeYIb1B3lVKjXra9DHX83Of9o YwisP6XUX563RCp4iV5hcngF0ueW3j25m4+MTAHsyzACwMMw8UBjfhVtcyL2Xnmr4xdf jnM7iqOyYr6unDBGL+Jql8uYVNDNwexN75FME5hnrWkd4uJ2DJROdmwEynEZVwGrSAOe tWcr45Ha2/Tcnn69h0GPVzBCu0Zz0BYeG621VIcC/lF7Sf73x5gwo5TeAtjhHVfKmsQx wq/FyI34zzeNrRBHp45AtgMKPbL2hOfIhdvR/ladDiMDjqNwXibLc3yRx0m91dXQ2VQn 2LpA== 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 z16si7662439otk.80.2020.01.13.14.38.00; Mon, 13 Jan 2020 14:38:26 -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 S1728813AbgAMWh2 (ORCPT + 99 others); Mon, 13 Jan 2020 17:37:28 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:39487 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728714AbgAMWh1 (ORCPT ); Mon, 13 Jan 2020 17:37:27 -0500 Received: by mail-oi1-f193.google.com with SMTP id a67so9955889oib.6 for ; Mon, 13 Jan 2020 14:37:27 -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=zw6iSRepM4LG+d/YXuCQ8oJD6o1KO8WeOLqBNcecU20=; b=jRwIm6YW4h+c2HhPvtFWz1jQyaT0m03tl/KDYKOg9EJtd63gIomedXTJ8y5KIo2aie R33CX6JCZZ6Wu/pM5LFMaRQ2Vv4AhQ2NF/ZjFOurxmpwd8YFmnaWOrq2+RYiaXxIjmyA YqNKBhLw0MhCIGaTSFem5USOHaPzTc0GBxv+19LHdAmMq5HL1GeKS4GaRsmxczhiCNfA cIRMeehJ8fUZRB6NDDdlkHfg3F1ystbDRJ3M6Wvdqp94yX92RPH35OfdY9KURrVyzqLk 0qcckm4P2CSjas9/o7FQFt0gCH0J1Soe2FqNwC29ymGXiTYIIVGEBnEEtum44RVAuvMP EPfA== X-Gm-Message-State: APjAAAXyY62iAoD37C6pTmOIj3BNi9aO+pUUpTP6Y+fka7rrwGUExFQf u89+6fyvEb6EeWjTsx4hKFOzXDk= X-Received: by 2002:aca:b808:: with SMTP id i8mr14039717oif.66.1578955046907; Mon, 13 Jan 2020 14:37:26 -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 n6sm3333922otl.67.2020.01.13.14.37.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2020 14:37:26 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 220b00 by rob-hp-laptop (DragonFly Mail Agent v0.11); Mon, 13 Jan 2020 16:37:25 -0600 Date: Mon, 13 Jan 2020 16:37:25 -0600 From: Rob Herring To: Johan Hovold Cc: guillaume La Roque , 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: <20200113223725.GA22169@bogus> References: <20200109104257.6942-1-glaroque@baylibre.com> <20200109104257.6942-2-glaroque@baylibre.com> <20200109105305.GL30908@localhost> <20200109132917.GM30908@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200109132917.GM30908@localhost> User-Agent: Mutt/1.10.1 (2018-07-13) 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:29:17PM +0100, Johan Hovold wrote: > 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? Correct. Just need to reflect in the binding which way is preferred. If it's a case of update all the dts files, then we often just don't document the old way. Rob