Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3181618rdb; Tue, 6 Feb 2024 09:20:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9Ick9UnZxVEjdSeeh0k2+jcHYY3j37lEwq+3E2ne9b0zrlrUZInQkzNUTTfbTe5PWKBUZ X-Received: by 2002:a17:906:32c4:b0:a38:4976:431e with SMTP id k4-20020a17090632c400b00a384976431emr738959ejk.37.1707240041420; Tue, 06 Feb 2024 09:20:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707240041; cv=pass; d=google.com; s=arc-20160816; b=HyMYtjRsdfBSVrTMAh+E8/iEfKREWgnWrpqnU5kRm29Ri/YvbC7s6XLyrRmP08wlKi 5JuHNMKk5b9bEJrSWmTKCTLXedsUvrVzodAjQgwcGVqnf1igbcwYD1PV7ks8lftyVp4K RumJ+Rdv4/nlYF9DKvPNEYg7WVrZ8/08NAgZ1tulzbByMR+ffZ1uWbNHszwAFrWVV3CD enzYUJSK+Rf+/VlkX8hcNGVHZvuTrdbn5N1vIxRDneEIDaC1Q2q06ysPqopPdQs55wtp rTJWoajehqN4oG9IS5cObADdHKJLe+TC0gMbExhnrnhxmXw7vy4JXO2TOYTw+gHiFLyJ W0Iw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=FEpDIST9h9yaifs/R99eDIKxr1oKIOjzVlU8EGHsrRE=; fh=SLmrr/v5+e9Nqcdp1VTt4+Dh1iFwuYj6EwO1AlB8gp8=; b=kBvn688hPDNJV4FfDw9OTcAE63RIxWXVj5EJdGim7bVdkxV1hgnhVvkY8cbUxkFqM9 XKeig89qT1Tfx+lpVC4M9iUUbAmqn6GCrxyh9MGgxN0Bx8pDpVmao33XYWhoq3pj7nrC tFJyzl7nuR9SbDcQit31O6MAw6htO2eZLExiwTK/BU1u9roxrxebSGo/4erB6zWRbdn3 MpssiAuL/alFoXXMy+II65ZFeBiBDj0Mx1fGxU6rkxEjk4c7Ye4xjB9hSAa+L3qfr/Rr 36N0rECU2wuag1oe8Z46hgZU1cVRgRW31ciZwXl/gaCbfO7v4IHOaL1Lb4XkRu2smShd zICQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iRO9Oygv; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-55361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCU/g5lihuZfAyV0zHDKBTVT7F+//DnI9Ctbferrg/JP2Q4nh7vzV7A6K+iVbR9/AkitA8FT9xcK5Gnm6F7kVyuZW8mN6aG+8B4P01IVVQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t25-20020a1709060c5900b00a37ebcff5e3si1269248ejf.620.2024.02.06.09.20.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 09:20:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iRO9Oygv; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-55361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2B9D91F259CB for ; Tue, 6 Feb 2024 17:20:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EC348F4E; Tue, 6 Feb 2024 17:20:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iRO9Oygv" Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (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 D9E5F6FAF; Tue, 6 Feb 2024 17:20:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707240033; cv=none; b=hmrzY81Hu/xGygW2rnmUit6+GKXRWOZZ43wADxsS5zurX3F0mqmSyzhlcNS1tdzMDYZ8vamTNQCq6oLdnZ2sP9kIWxT98Gd2fMdeg63kXRPc43rKwAIvpNkzndKqodesZt+VTAs3xvQTnfaN7DcUfZr9Qz0CL+zA4FF/0h2bdUg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707240033; c=relaxed/simple; bh=48zwX4cdRuvFsDRvDb1OTWbijEmDQqwVQ9OKmCBLNqs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=EHXTJnAIjvEd4ZyYSVdF7ZrOS5ojlG/NjDOCVDczddzZmVLrNd9v5dK7QFOPZj4Ha9ipBEXhTyoWOOuWQ8z5avc9yaghIUMDWGGrVOpThuNw9zzZepT1nlL6rCcNRCYDCkCukIGomVMXy8HCewgmC5Xg9o2UsHr3cyLQcKbCuLM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iRO9Oygv; arc=none smtp.client-ip=209.85.216.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-295c67ab2ccso4420847a91.1; Tue, 06 Feb 2024 09:20:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707240031; x=1707844831; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FEpDIST9h9yaifs/R99eDIKxr1oKIOjzVlU8EGHsrRE=; b=iRO9OygvfUmP0MVmTSXOMyFMiMoSYx8u9fao8DJK4rtljnIWvokWiotfIcOrf3+21/ CbtFwE4FwnmE58GJhz9OM/Rx3ZussX3pyFUInNC8KFNqLpMXtJ3pJ5aIWd1kSv33eIwC l+vnepCUxLcHE8Ywa9ENigumLs/oHEYiAkdxivPLVjYljRDVBXDPgcHfULekU48ULQih 1Y7562AF+D0/DOybp0SDnU4GtoFyGA+KUtkFAqSWYCLDd689QOUdvmAMtNANtiJSbyZY UizttDIkEw2TnyEGGr0FQCLR6f2YrUitztAH7fa80euivIfUeJ9UMyAfvOgN+JYAHPyT iwrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707240031; x=1707844831; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FEpDIST9h9yaifs/R99eDIKxr1oKIOjzVlU8EGHsrRE=; b=t3h8sFX72nmx/2rZ0neXfIR67zkCXQpg0TEbqcxslOtkInUpDBpJDxEW6UmIQeaJBV XOMuzSe0Ss9LW67j0Rts5uSwSdzaxIry37PDDgPTheIPM0XVoPGpS2s7b74BsV7kf2YT s/pUVIhGHkl+8/MuFKJ2LaJIYU9ge03zjnPf68Wb7WhMzyZWkPo6dyhSAupWz/6zjCx2 exqDbkKzlwf51kxoQmq6HMZLYCQsflGwwExVzXPbLBvf4Uusrbp0cx2lQtCSlYn0SYNQ v6VUKxAqVrg2u0ktVXrx2oSZCn/d0qam37puOMDZXaUC0C32f3x5iD0jvSTJMLyUpkcN xrBA== X-Gm-Message-State: AOJu0Yx3lIRaS359UOcPizjvbllQpRlEJH+WaARO5Oau4EcNHKZ3SUfL AZZCvnvfvKHvgWDzCaFTC5txsB+sH1PAvVt2OPhJVlj9cK6dxnfUAaZkOfIIG/0Ot9ydBPGgdbC tcTZdYaJEjOs3hSaDLiK8ZPhQGA== X-Received: by 2002:a17:90b:4c85:b0:296:2057:28c with SMTP id my5-20020a17090b4c8500b002962057028cmr175786pjb.31.1707240031006; Tue, 06 Feb 2024 09:20:31 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240205191828.998783-1-frut3k7@gmail.com> <7e2d927b-ce84-4939-8d0f-adfad2a3ef70@linaro.org> <70cdc60e-2f6c-49ca-914a-e28be4ac3714@linaro.org> In-Reply-To: <70cdc60e-2f6c-49ca-914a-e28be4ac3714@linaro.org> From: frut3k7 Date: Tue, 6 Feb 2024 18:20:19 +0100 Message-ID: Subject: Re: [PATCH 2/2] dt-bindings: trivial-devices: Add qca,spidev To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Guenter Roeck , Naresh Solanki , Patrick Rudolph , Peter Yin , Bjorn Helgaas , Michal Simek , Lakshmi Yadlapati , Lukas Wunner , Alexander Stein , Fabio Estevam , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 6, 2024 at 5:53=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 06/02/2024 17:34, frut3k7 wrote: > >>>>> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml= b/Documentation/devicetree/bindings/trivial-devices.yaml > >>>>> index 79dcd92c4a43..50efbdf2a735 100644 > >>>>> --- a/Documentation/devicetree/bindings/trivial-devices.yaml > >>>>> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml > >>>>> @@ -309,6 +309,8 @@ properties: > >>>>> - plx,pex8648 > >>>>> # Pulsedlight LIDAR range-finding sensor > >>>>> - pulsedlight,lidar-lite-v2 > >>>>> + # Qualcomm QCA4024 Multi-mode Bluetooth and 802.15.4 S= oC > >>>>> + - qca,spidev > >>>> > >>>> There is no such hardware as spidev and you even mentioned it is cal= led > >>>> QCA4024, not spidev. Please don't use that name but a real name. > >>>> > >>> The compatibility will be changed to "qca4024" and a new patch versio= n > >>> will be prepared. > >> > >> That would be ok except: > >> > >>> > >>>> Also, I have doubts that Bluetooth is a trivial device. Such devices > >>>> need supplies, have reset/powerdown GPIOs. > >> > >> this is not resolved. Bluetooth chips are not trivial devices. This on= e > >> particular exposes several interfaces to the host, needs a clock and > >> power supply. > >> > > Device is used over QUP4 SPI controller inside of IPQ8074: > > https://lore.kernel.org/all/20231123121324.1046164-1-robimarko@gmail.co= m/ > > I'm not sure if these pin settings should be upstreamed as they are > > specific to this platform: > > https://github.com/openwrt/openwrt/pull/14051/files#diff-ed3fbf0226fbdc= 76c9c160f2f2b9e988120df472480b9861abe7a46796558115R81-R111 > > Why do you think qca4024 is specific to this platform? Judging by > Qualcomm website: it is not. > Unfortunately, I do not have access to the documentation for this SoC. Currently, even after adding support, communication with the SoC is not possible. QAPI (Qualcomm API) support is missing. > Best regards, > Krzysztof >