Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2012234ybl; Thu, 9 Jan 2020 05:31:11 -0800 (PST) X-Google-Smtp-Source: APXvYqy2zKPbC6/uPh/7dTd36UpFiaH5K96eWy7kCoNWtPirwGPtdly4I36iGy+Kmu57XbbFX3i9 X-Received: by 2002:aca:a9c5:: with SMTP id s188mr3125550oie.154.1578576671249; Thu, 09 Jan 2020 05:31:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578576671; cv=none; d=google.com; s=arc-20160816; b=epY1fxhpcNJv/mRbb2qayoH2syyBVbzzsEipE6P9MmFJMIYe+3gI0Y82/m33s6a1Gb pBW+lw6PH8YqoEkIXNsI8XPHn6h9vUckMTcmUWPcWnYWGTy0EM738OHiGl/B+UWx24sM uveJ2XVRJfyENyijqX+UtQyXoOc+lrVnfRZ4mxSdCPWDirRagxwd+myQeyhvfDAD7hdJ s2faeRsC/NkLrdwZWFnHQiHjft7KUPrgTOqhoSsr/bB64ERY54SyV98XYSqeSAHjMD+L xPUS5tkbbnWPCUpAUFD09XkMe/mBekvlz5LYA37eebTITKpUxJB1qO9aLHyTzJeYNgvZ 2a0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=/rBG0TQpboOYHQ3dtsZ2LO09lSi5DlQHgDK1Z1Ip0gU=; b=HFdVSJZmBI1RQwtR8Z5yK3J0J6fpNpCE5dww1GzZmaKHvfJZAcCcT+nx4KDa+QOAJl Xgxaxjh1xSENGIf+NJGR29dtJeFEtNiX6U3SJ3yy981f4Qx48y9ovRrhzwEdXijtE5ev XqQmqujHwaZbUgpN9dbgvWQzSVFgVhXQ2TAom+9dOsd3cNHyIXx3DJe2pZZPV/7eKGzk YAP6Mi7O8KkgyS1ktaTOg24nEkeUJOvdESAXzwi55jjzUeLvsPhl8Iw38u7B4BMs8WDD 93g9JKuHbwzx8zBfLGKIMYPTJjv+eTScq4yisvs9WOxILJlzWcZxTwoah9Tn4KeYjQdO 9dbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=BCftgX9E; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i65si3769456oif.15.2020.01.09.05.30.59; Thu, 09 Jan 2020 05:31:11 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=BCftgX9E; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730537AbgAINN1 (ORCPT + 99 others); Thu, 9 Jan 2020 08:13:27 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:39987 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728974AbgAINN1 (ORCPT ); Thu, 9 Jan 2020 08:13:27 -0500 Received: by mail-wr1-f68.google.com with SMTP id c14so7334641wrn.7 for ; Thu, 09 Jan 2020 05:13:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=/rBG0TQpboOYHQ3dtsZ2LO09lSi5DlQHgDK1Z1Ip0gU=; b=BCftgX9EKTr00X5H7I/K7vBUiQorQS3fXvQVNfIZE7Z6WJ3Y+U4C9AA0MFcXkMM7uF qiubw+mjHA/9fB9cHwlCHLc4/svNqgftQC9XbBb/wq7sYV0Hie1T9QHrWQ3vQUNS77bd jDcmLRBkgD6fICBLnJdx1wcr1WE6c/TOY42irLjAZPQoZgm2b8+45ZQMNCJbIORF5fIL cIe4GYsFjeE8JYJxiV+hx9+h72c5ie4YUtOl+U2lku4oUzIJKc9TtZB8S7jQEd4MODSm vYMHyDVaH2DUUyGEgMo/Rfo8Jxdz63REA/ekA+P53DqTz3pYngAXWwyqNaDySvqdDv2V BtnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=/rBG0TQpboOYHQ3dtsZ2LO09lSi5DlQHgDK1Z1Ip0gU=; b=mJorVMNotSJi/FTwoUxioAhBF3Npj/26mQGbStT/h03Gt3v0e+6ypeG6GfTGD7QU1Y v8RHovDot0ds/n7P9OJl9346D70KOQy2/hRCVGO6DhO3Ult/GSDd20WPhmlo4D7sz7Ti 5kS/+SuGnCEbwAeX8+c+s2VQzCVnYeUDRpP/KDMgq0d+tRjgJfsBRnm8uF12F2XlKZUT yCWkbRADIGfqsU0Z1eg37H2F+hPhbLDi4S+/6SY9o6r6lQWo6YvPsfORLkhjY+wcFccu Ed/SPymFSmJKCGcw5Z4d+N6jfMaT3yc9vuESx7v31bEZqCynOq3TNcM/NjKlNXbWBjxx RraA== X-Gm-Message-State: APjAAAWsuBhlZI5n5A/Vw1rTeupBIcu4pIFJgtUHbf++kb0QCVAcaHzi CfloV8/jm9jkL3VJq6FQIgy+Gg== X-Received: by 2002:adf:fe86:: with SMTP id l6mr10525600wrr.252.1578575604924; Thu, 09 Jan 2020 05:13:24 -0800 (PST) Received: from [10.1.4.98] (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id q19sm2726293wmc.12.2020.01.09.05.13.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jan 2020 05:13:24 -0800 (PST) Subject: Re: [PATCH v6 1/2] dt-bindings: net: bluetooth: add interrupts properties To: Johan Hovold , Rob Herring Cc: 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 References: <20200109104257.6942-1-glaroque@baylibre.com> <20200109104257.6942-2-glaroque@baylibre.com> <20200109105305.GL30908@localhost> From: guillaume La Roque Message-ID: Date: Thu, 9 Jan 2020 14:13:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200109105305.GL30908@localhost> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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 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? > Johan Regards Guillaume