Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp974244lqd; Thu, 25 Apr 2024 02:14:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUz8y9oOdJjmkZqRf0zVPpSKToMpC8jNXfUc9oBXPeGCeWWlWZsZEENC5E0IV/lGJ2AvFWhanqMPJRTHbM8/iYtohiyHxqsfibIN6V6fw== X-Google-Smtp-Source: AGHT+IFi2d8fxm30K2alYD3wkODWsYhIp8U2E8ROP9rYzfxS9M5IWJQAO17MyFktDC0KCBnduANb X-Received: by 2002:a05:6358:795:b0:183:645b:cfa4 with SMTP id n21-20020a056358079500b00183645bcfa4mr6669566rwj.16.1714036492150; Thu, 25 Apr 2024 02:14:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714036492; cv=pass; d=google.com; s=arc-20160816; b=QkONmJ17QYsnUj6C0Wlt+3XeGa2Go+qvchkhpLOPbCtA1uLK1jPOOF72qxtjvo53pW HApMiNgoPVaT0a11wPPn5XDf0Ot/tIv7pgk+cd6p3irhrQZ41dq4ByZJnsEiT6WjXhSF KM4riw7XSQO8rVSM52Q4Q6Qa31cIF2xfb0zHLvUvdlSoffMKdRK0tihbGcwHfShCb8uo 47vpcg1Acy/ETY9Gyp4uG9C453s/H2Sr6/sVk555ocqt1rAh4/drBL2uYH4KRaiPTVKm ectbh4kXvckL8Ug+ZzGWuBSKEeIeNwWscwnJUGlPp5PtlUxKEe8AGYFt9OhECGy+Zcnz GV/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=aMFlUt03OrSGQ9jcV4gNJQ98yi8IaKLhIUTcQkXPpi0=; fh=tTbE0NzsvoYQhDY6uUmMd69ZcdUV47YyV/e9bAo5IJo=; b=ewxIaUlXPOMqbXd4q16SZXqajMaR4RwtBGQpj7B5yX8eHryABuirwu+K+qE3umhqlE wUq35ASjoJHP5uOg3Rzg6z392VPejFfugw0rB+96rywGllaI7ZnPiSwpuN2EbPD/NTke YBiOXWXXAe+Gso3fu6Wu5Owfg+ZlKCYgzgRbMLsMRN6e83QF4GIDbN7BDFdn1xmKyasR LVSrTtiMZUc7o1zN7iPbRxEptVx4QKEk5up46sFUH4Af8xeO+xecCw8m8iq0dwFuMlFn NVzKHOy2zIPKVCB/tL4E35NEHs6QOVL2VeIDDMayQZxRzn8WylA0kxIFl7nqUoXrNZ4O vd0Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=daV4t5AK; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4064-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4064-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 17-20020a630a11000000b005cee03a5355si12489473pgk.518.2024.04.25.02.14.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 02:14:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4064-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=daV4t5AK; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4064-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4064-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B9FDC283ECA for ; Thu, 25 Apr 2024 09:14:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EDE383CBE; Thu, 25 Apr 2024 09:14:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="daV4t5AK" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E3C14757E1 for ; Thu, 25 Apr 2024 09:14:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714036487; cv=none; b=edVbPZYGLOAQCvb/TrfREmSExXXX2g9Wv+QJ9oavem7V6n3lFo4ncXm43Ys6usR/zYsz9v8cJ1kQdYuElSPOnBLr90KgAqAWEuF7CnaLUpe4Q86Za1wbRnzC6/b8i97nwH3cmpuabwNPDLf3bV7WC5jqmCaJV5ZE4EZ5ixf624g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714036487; c=relaxed/simple; bh=w8vkJ13wQnR6P5vkZuaf65m9YP32eb8GUkuIYdr5qs4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=V40mi4ncmgbppvBALXMC9rjfz3puzqWITiz7wz+HbjIwfYC28KWQUxu1opTsxRYUYUiStI+kCscu17MpTY9h1iw8Tjtq4zb5ZqsgI1xqQhNKZNEauHxczPu9yh1X+p/dpPm2GjDXcZSJm7iR7dd3Hv38RjMCH/kXDT/exmOu53Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=daV4t5AK; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-41a72f3a1edso6240795e9.2 for ; Thu, 25 Apr 2024 02:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714036484; x=1714641284; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=aMFlUt03OrSGQ9jcV4gNJQ98yi8IaKLhIUTcQkXPpi0=; b=daV4t5AKBKZPlqDQajBo+dI1VfzRn+wT/YoTSMajsaOPWPJusI8d45WnuyMoF6H/yx twe9O6/zBWKY/7YGFMEiudg5D6u+4WqZbAkhJ5MJlcFBSl2jYFuHN3A3F/cO0sodJgMa Jw8BsSIRq243DmYVHOLrtUU7XYuZcxXEUbZHGCoPLcZ+SozXSms8eYNk0I6SW+G+NaZB hIE4MIiKLDKuwiZJ/78XgyepZu5j4R0mXTJgNTCAToWXKXW8s+aTBWQl/V2MfMRUBEb2 KkRGneE0b9XJ6S/woQ5FUn2CjHiKCX5tMobWCOaD6yVzoaWBKi6GYM88dZ/kjc0NS0Z1 ufXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714036484; x=1714641284; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aMFlUt03OrSGQ9jcV4gNJQ98yi8IaKLhIUTcQkXPpi0=; b=xEwgUXeDdKGZZBl1aCuRjm83MCEmFNRM58uhQ2+CRH6RM/3ds+uDY4CtElzf8L9Yo/ eagwL/3aBCwEVu7iOX/OCv0rjwSKKrfxuvEhFNAvGRm4b1Q6Zbr+2SuYHOo70dFHfejA k40T6cPDlzQ4RGhavlDIT65zZHn+y8L9G82F5HI/3bFhth7WX05FFSFFtFeQYs7nWqUi wykHsV2KDeou4m8GkxNGpbQub/Z9qW6aa8EHXvw3GmnKa9SyELK5HBBi1ucXIhsVw3h7 nfJNy7HGBevP7l6U48Eu53tjoRVGHc6UQBV2COkaUPsSesXT+KG+lB/ZAN8dG2nLX/1o 2Ouw== X-Forwarded-Encrypted: i=1; AJvYcCU+j25GtafOHp79JdrduoM+Fl8dzYmt0HiyYP8HrSr2KBkvk0nCkhbyr9DMNq5q274Ld3kAiu3Ef6pXz7gS5pe5XKyUWCr2p7J4tejj1k6x X-Gm-Message-State: AOJu0Yz6UlIGK7vnc8Rhympr1/4nLDsyApGeWEIs7mBBuBpQGO/9300d w0KDlTnVE8Xyg72pA9BvRJaavZiMd8JeGSqVKwSkxpfPIw9/chxoIyO2vSotizg= X-Received: by 2002:a05:600c:4590:b0:418:f991:713f with SMTP id r16-20020a05600c459000b00418f991713fmr3793864wmo.23.1714036484262; Thu, 25 Apr 2024 02:14:44 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id g9-20020a05600c310900b0041aa79f27a0sm9676218wmo.38.2024.04.25.02.14.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Apr 2024 02:14:43 -0700 (PDT) Message-ID: Date: Thu, 25 Apr 2024 11:14:42 +0200 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] Bluetooth: qca: Correct property enable-gpios handling logic for WCN6750 and WCN6855 To: Bartosz Golaszewski , Wren Turkal Cc: Krzysztof Kozlowski , quic_zijuhu , luiz.dentz@gmail.com, luiz.von.dentz@intel.com, marcel@holtmann.org, linux-bluetooth@vger.kernel.org, kernel@quicinc.com References: <1713947712-4307-1-git-send-email-quic_zijuhu@quicinc.com> <0cba3838-917b-48af-ba8b-2ef60714943a@quicinc.com> <49cf0a3d-5f52-41a1-9858-692f48d06b88@kernel.org> <368e70e0-edc2-44fd-a9a2-72efa0d9f864@linaro.org> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3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9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 25/04/2024 10:30, Bartosz Golaszewski wrote: > On Thu, 25 Apr 2024 at 08:30, Wren Turkal wrote: >> >> On 4/24/24 11:05 PM, Krzysztof Kozlowski wrote: >>> On 25/04/2024 00:01, Wren Turkal wrote: >>>>>> >>>>>> 3) only care about the case property enable-gpios is not configured, >>>>>> the original BT driver design logic indeed matches with binging spec's >>>>>> requirements before bartosz's wrong change >>>>> >>>>> What? There is no such case according to bindings. I told you already >>>>> two times: Either change bindings or this is not valid. >>>> >>>> @krzysztof, I'm curious. There is no entry in the binding specifically >>>> for qca6390. Should there be? >>> >>> qca6390 is documented in the bindings, but you are right that it lacks >>> if:then: entry narrowing/choosing specific supplies and pins. It should >>> have one, indeed. >> >> Would creating an entry for the qca6390 hardware fix the issue you are >> worried about? >> >> Again, sorry for all the, what I assume are, basic questions. I am so >> far out of my depth here. I am just trying to figure out how to move >> forward. I really do appreciate your guidance here. >> > > Wren, Krzysztof: I cannot stop you from doing this but I'm afraid this > will complicate the power sequencing work unnecessarily. The QCA6390 > PMU bindings I'm proposing[1] are consumers of the BT enable GPIOs. In > my series I also create an entry for QCA6390 Bluetooth[2] but without > enable-gpios and with the inputs from the PMU, not host. Please > consider that if you decide to go with this. I don't have a near plan to describe QCA6390 supplies and pins, so don't worry. I also don't think Qualcomm BT understand what are bindings, so I don't expect patches from them. Best regards, Krzysztof